web-dev-qa-db-fra.com

Impossible de mettre à jour procps le 12.04

Si j'exécute apt-get upgrade, l'erreur suivante apparaît:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  procps
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/235 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 237, in <module>
    main()
  File "/usr/bin/apt-listchanges", line 48, in main
    debs = apt_listchanges.read_apt_pipeline(config)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 83, in read_apt_pipeline
    return map(lambda pkg: filenames[pkg], order)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 83, in <lambda>
    return map(lambda pkg: filenames[pkg], order)
KeyError: 'procps'
Setting up procps (1:3.2.8-11ubuntu6.2) ...
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 procps
E: Sub-process /usr/bin/dpkg returned an error code (1)

Et cat /etc/sysctl.d/*.conf /etc/sysctl.conf | Sudo sysctl -p - renvoie:

kernel.printk = 4 4 1 7
error: "net.ipv6.conf.all.use_tempaddr" is an unknown key
error: "net.ipv6.conf.default.use_tempaddr" is an unknown key
error: "Invalid argument" setting key "kernel.kptr_restrict"
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.tcp_syncookies = 1
error: "kernel.yama.ptrace_scope" is an unknown key
vm.mmap_min_addr = 65536
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.default.autoconf = 0
net.ipv6.conf.eth0.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.eth0.accept_ra = 0
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.default.autoconf = 0
net.ipv6.conf.eth0.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.eth0.accept_ra = 0

Quelqu'un at-il une idée de ce qui pourrait aller de travers?

3
s1lv3r

essayez d’abord de renommer votre procps.conf

Sudo mv /etc/init/procps.conf /etc/init/procps.conf.old

si cela fonctionne, sinon, la dernière solution consiste à télécharger procps (1: 3.3.3-2ubuntu7) et libprocps0 (1: 3.3.3-2ubuntu7), puis à les installer manuellement.

Vous pouvez les télécharger depuis -

http://packages.ubuntu.com/saucy/procps

et

http://packages.ubuntu.com/saucy/libprocps

Leur mise à jour peut résoudre le problème comme mentionné ici https://bugs.launchpad.net/ubuntu/+source/procps/+bug/115764 . c'est un bug bien connu, visitez le lien fourni.

j'espère que cette fois ça va marcher.

8
Sukupa91