Я сталкиваюсь с проблемами, обновляющими Ubuntu. Это показывает, что у меня есть некоторые обновления, но это всегда дает мне "поврежденные пакеты" уведомление. Я попробовал несколько разных вещей для разрешения моих вопросов включая следующее:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo dpkg --configure -a
и
sudo apt-get -f install
Напрасно.
Когда я ввожу:
sudo apt-get upgrade
Я получаю следующее:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libframe6 : Depends: libx11-& but it is not installable
E: Unmet dependencies. Try using -f.
Я также попробовал
sudo rm /var/crash/*
Так как это устранило подобную проблему в прошлом, но я все еще озадачен относительно того, что сделать отсюда.
Править:
Вот еще некоторый вывод из Окна терминала, когда я пытаюсь сделать некоторый поиск и устранение неисправностей.
humberto@DellServer:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-66 linux-headers-4.4.0-66-generic linux-headers-4.4.0-67
linux-headers-4.4.0-67-generic linux-image-4.4.0-66-generic
linux-image-4.4.0-67-generic linux-image-extra-4.4.0-66-generic
linux-image-extra-4.4.0-67-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libframe6
The following packages will be upgraded:
libframe6
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0 B/39.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 18625 package 'gnome-session-canberra':
error in 'Version' field string '.30-2.1ubuntu1': version number does not start with digit
dpkg: error: parsing file '/var/lib/dpkg/status' near line 29408 package 'libframe6:amd64':
'Depends' field, invalid package name 'libx11-&': character '&' not allowed (only letters, digits and characters '-+._')
E: Sub-process /usr/bin/dpkg returned an error code (2)
humberto@DellServer:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libframe6 : Depends: libx11-& but it is not installable
E: Unmet dependencies. Try using -f.
humberto@DellServer:~$ sudo apt-get clean
humberto@DellServer:~$ sudo apt-get autoremove libframe6
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgeis1 : Depends: libframe6 (>= 2.2.4) but it is not going to be installed
libgrail6 : Depends: libframe6 (>= 2.5.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).