我不知道如何处理这个错误vlc-plugin-video-splitter。

我不知道如何处理这个错误vlc-plugin-video-splitter。

我最近从 Ubuntu 软件中心重新安装了 VLC,当我尝试使用软件更新程序安装更新时,收到以下错误消息:

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)

我尝试了以下故障排除步骤:

  1. sudo apt-get purge vlc

  2. sudo apt-get clean

  3. sudo apt-get update && sudo apt-get upgrade

  4. 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 并尝试从软件更新程序安装更新时都会发生这种情况。

我按照您建议的步骤进行操作,输出如下:

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.

我点击了已安装Ubuntu 软件中心部分没有任何内容。列表中没有 VLC。

我的备份不起作用。我检查并按照所述步骤安装了 duplicity。这是与之前相同的输出。

$ 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.

你能帮忙吗,因为很多更新堆积如山,我无法安装任何东西?

我确实按照故障排除步骤操作,并且确实在一定程度上解决了问题。同时我的硬盘崩溃了,我在 5 天前更换了它。感谢所有帮助解决问题的专家。谢谢大家。

答案1

您到底想用第 4 行做什么?看起来您正在尝试删除 /usr/bin/dpkg ?这不是一个好主意!!!

请尝试以下操作:

sudo dpkg --configure -a
sudo apt update
sudo apt upgrade 

您还可以尝试:

sudo apt-get remove vlc

如果您从软件中心安装了 VLC,为什么不从软件中心将其卸载呢?

答案2

您收到以下错误消息:

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

相关内容