Я недавно переустановил VLC от Центра программного обеспечения Ubuntu и когда я пытаюсь использовать программное обеспечение Updater для установки обновлений, я получаю следующее сообщение об ошибке:
pkg: unrecoverable fatal error, aborting:
reading files list for package 'vlc-plugin-video-splitter:amd64': Input/output
E: Sub-process /usr/bin/dpkg returned an error code (2)
Я попробовал выполняющую проблему, стреляющую в шаги:
sudo apt-get purge vlc
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
sudo rm /usr/bin/dpkg/ vlc-plugin-video-splitter
Я получаю следующее сообщение об ошибке:
rm: cannot remove '/usr/bin/dpkg/': Not a directory
rm: cannot remove 'vlc-plugin-video-splitter': No such file or directory.
Это происходит каждый раз, когда я устанавливаю VLC и попытку установить обновления из программного обеспечения Updater.
Я выполнил шаги, которые были предложены Вами, и выводы следующие:
sudo dpkg --configure -a
прекрасен.
Вывод sudo apt update
:
Hit:1 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic InRelease
Hit:2 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic-updates InRelease
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic-security InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Вывод sudo apt list --upgradable
:
libsnmp-base/bionic-updates,bionic-updates 5.7.3+dfsg-1.8ubuntu3.3 all [upgradable from: 5.7.3+dfsg-1.8ubuntu3.1]
libsnmp30/bionic-updates 5.7.3+dfsg-1.8ubuntu3.3 amd64 [upgradable from: 5.7.3+dfsg-1.8ubuntu3.1]
linux-generic/bionic-updates 4.15.0.64.66 amd64 [upgradable from: 4.15.0.62.64]
linux-headers-generic/bionic-updates 4.15.0.64.66 amd64 [upgradable from: 4.15.0.62.64]
linux-image-generic/bionic-updates 4.15.0.64.66 amd64 [upgradable from: 4.15.0.62.64]
linux-signed-generic/bionic-updates 4.15.0.64.66 amd64 [upgradable from: 4.15.0.62.64]
Вывод sudo apt upgrade
:
pkg: unrecoverable fatal error, aborting:
reading files list for package 'vlc-plugin-video-splitter:amd64': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
Вывод sudo apt-get remove vlc
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vlc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Я нажал на раздел Installed Центра программного обеспечения Ubuntu ничто. Никакой VLC в списке.
Мое резервное копирование не работает. Я проверил и выполнил шаги, упомянутые для установки двуличности, которую я сделал. и это - тот же вывод как ранее.
$ sudo apt install duplicity
[sudo] password for seshagiri:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
librsync1 python-fasteners python-lockfile python-monotonic python-six
Suggested packages:
python-paramiko python-pexpect python-urllib3 python-oauthlib python-boto
ncftp python-cloudfiles lftp python-gdata tahoe-lafs python-swiftclient
python-lockfile-doc
The following NEW packages will be installed:
duplicity librsync1 python-fasteners python-lockfile python-monotonic
python-six
0 upgraded, 6 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/262 kB of archives.
After this operation, 1,402 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package librsync1:amd64.
dpkg: unrecoverable fatal error, aborting:
reading files list for package 'vlc-plugin-video-splitter:amd64': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
vlc-plugin-video-splitter
.Теперь, когда я выполняю Обновления, я получаю следующее сообщение об ошибке:
$ sudo apt-get update
Get:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Get:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://dl.google.com/linux/chrome/deb stable Release [943 B]
Get:5 http://in.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Get:7 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]
Reading package lists... Error!
E: Unable to parse package file /var/lib/dpkg/status (1)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
Я искал решение на этом сайте и заключительной проблеме, которую я имею, теперь это:
Failed to load package list
This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
E:Unable to parse package file /var/lib/dpkg/status (1), W:You may want to run apt-get update to correct these problems, E:The package cache file is corrupted.
Можно ли помочь, поскольку много обновлений накапливается, и я не могу установить что-нибудь?
Что Вы действительно пытаетесь сделать со строкой 4? Похоже, что Вы пытаетесь удалить/usr/bin/dpkg? Не хорошая идея!!!
попробуйте следующее:
sudo dpkg --configure -a
sudo apt update
sudo apt upgrade
Вы могли также попробовать:
sudo apt-get remove vlc
, Если Вы установили VLC от центра программного обеспечения, почему Вы не удаляете его от центра программного обеспечения также?
Вы получили следующее сообщение об ошибке:
E: Unable to parse package file /var/lib/dpkg/status (1)
E: The package cache file is corrupted
Для решения его открывают терминал и тип:
sudo rm /var/lib/dpkg/status
sudo apt update
Эта команда безопасна, потому что резервный файл состояния существует в /var/lib/dpkg/status-old
.