Если я выполняю apt-get upgrade
, я получаю следующую ошибку:
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)
И cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sudo sysctl -p -
возвращает:
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
Кто-нибудь знает, что может быть не так? ?
сначала попробуйте переименовать ваш procps.conf как
sudo mv /etc/init/procps.conf /etc/init/procps.conf.old
, если он работает, хорошо, в противном случае последний обходной путь - это загрузить procps (1: 3.3.3-2ubuntu7) и libprocps0 (1: 3.3 .3-2ubuntu7) затем их установка вручную.
Вы можете скачать их с -
http://packages.ubuntu.com/saucy/procps
и
http://packages.ubuntu.com/saucy/libprocps0
Их обновление может устранить проблему, как указано здесь https://bugs.launchpad.net/ubuntu/+ source / procps / + bug / 1157643 . Это хорошо известная ошибка, перейдите по приведенной ссылке.
Надеюсь, на этот раз это сработает.