我无法更新系统中的任何内容。我使用终端,结果如下。
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package libnepomukutils4 needs to be reinstalled, but I can't find an archive for it.
然后我下载libnepomukutils4
并尝试安装它,但出现此错误
这是您的软件管理系统的重大故障。请使用 synaptic 检查损坏的打包程序,检查文件权限和文件的正确性
/etc/apt/sources.list
,然后使用以下命令重新加载软件信息:sudo apt-get update
和sudo apt-get update -f
所以我打开突触并按照它的要求做,但我无法克服这个错误
The following errors occured
E: The package libnepomukutils4 needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
/etc/apt/sources.list 的内容
# deb cdrom:[Lubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution. deb http://mirror.telepoint.bg/ubuntu/ trusty main restricted deb-src
http://mirror.telepoint.bg/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution. deb http://mirror.telepoint.bg/ubuntu/ trusty-updates main restricted deb-src http://mirror.telepoint.bg/ubuntu/
trusty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team. deb http://mirror.telepoint.bg/ubuntu/ trusty universe deb-src
http://mirror.telepoint.bg/ubuntu/ trusty universe deb
http://mirror.telepoint.bg/ubuntu/ trusty-updates universe deb-src
http://mirror.telepoint.bg/ubuntu/ trusty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team. deb http://mirror.telepoint.bg/ubuntu/ trusty multiverse deb-src http://mirror.telepoint.bg/ubuntu/ trusty
multiverse deb http://mirror.telepoint.bg/ubuntu/ trusty-updates
multiverse deb-src http://mirror.telepoint.bg/ubuntu/ trusty-updates
multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team. deb http://mirror.telepoint.bg/ubuntu/ trusty-backports main restricted
universe multiverse deb-src http://mirror.telepoint.bg/ubuntu/
trusty-backports main restricted universe multiverse
deb http://mirror.telepoint.bg/ubuntu/ trusty-security main restricted
deb-src http://mirror.telepoint.bg/ubuntu/ trusty-security main
restricted deb http://mirror.telepoint.bg/ubuntu/ trusty-security
universe deb-src http://mirror.telepoint.bg/ubuntu/ trusty-security
universe deb http://mirror.telepoint.bg/ubuntu/ trusty-security
multiverse deb-src http://mirror.telepoint.bg/ubuntu/ trusty-security
multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu trusty main
答案1
您的/etc/apt/sources.list
格式不正确。删除文件中的所有内容,然后粘贴以下内容:
# deb cdrom:[Lubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirror.telepoint.bg/ubuntu/ trusty main restricted
deb-src http://mirror.telepoint.bg/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.telepoint.bg/ubuntu/ trusty-updates main restricted
deb-src http://mirror.telepoint.bg/ubuntu/ trusty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.telepoint.bg/ubuntu/ trusty universe
deb-src http://mirror.telepoint.bg/ubuntu/ trusty universe
deb http://mirror.telepoint.bg/ubuntu/ trusty-updates universe
deb-src http://mirror.telepoint.bg/ubuntu/ trusty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.telepoint.bg/ubuntu/ trusty multiverse
deb-src http://mirror.telepoint.bg/ubuntu/ trusty multiverse
deb http://mirror.telepoint.bg/ubuntu/ trusty-updates multiverse
deb-src http://mirror.telepoint.bg/ubuntu/ trusty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirror.telepoint.bg/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.telepoint.bg/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirror.telepoint.bg/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.telepoint.bg/ubuntu/ trusty-security main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
然后,运行sudo apt-get update
和sudo apt-get install -f
。