首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >包依赖被破坏了吗?

包依赖被破坏了吗?
EN

Ask Ubuntu用户
提问于 2013-09-14 17:13:15
回答 1查看 3.6K关注 0票数 0

我无法安装VLC媒体播放器,甚至无法更新我的计算机。我得到了

此错误可能是由于缺少或无法安装的所需的附加软件包造成的。此外,不允许同时安装的软件包之间可能存在冲突。

然后我点击更多的细节

以下软件包具有未满足的依赖关系:

代码语言:javascript
复制
vlc: Depends: vlc-nox (= 2.0.8-0ubuntu0.13.04.1) but 2.0.8-0ubuntu0.13.04.1 is to be installed
Depends: libavcodec-extra-53 (>= 6:0.8.6) but it is not going to be installed
Depends: libavutil-extra-51 (>= 6:0.8.6) but it is not going to be installed
Depends: libc6 (>= 2.15) but 2.17-0ubuntu5 is to be installed
Depends: libfreetype6 (>= 2.2.1) but 2.4.11-0ubuntu1 is to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.7.3-1ubuntu1 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.4+dfsg-0ubuntu9.3 is to be installed
Depends: libqtgui4 (>= 4:4.7.0~beta1) but 4:4.8.4+dfsg-0ubuntu9.3 is to be installed
Depends: libsdl-image1.2 (>= 1.2.10) but it is not going to be installed
Depends: libstdc++6 (>= 4.6) but 4.7.3-1ubuntu1 is to be installed
Depends: libtar0 but it is not going to be installed
Depends: libva-x11-1 (> 1.0.15~) but it is not going to be installed
Depends: libxcb-keysyms1 (>= 0.3.9) but it is not going to be installed
Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.7.dfsg-13ubuntu2 is to be installed

我怎么才能解决这个问题?谢谢。

当我使用终端更新系统时,我得到

代码语言:javascript
复制
Fetched 817 kB in 29s (27.7 kB/s)
N: Ignoring file 'duinsoft.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: GPG error: http://www.duinsoft.nl debs Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E18CE6625CB26B26
W: GPG error: http://us.archive.ubuntu.com raring Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch http://ppa.launchpad.net/screenlets/...amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/screenlets/...-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead. 

来源清单

代码语言:javascript
复制
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ raring main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ raring-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://us.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://us.archive.ubuntu.com/ubuntu/ raring universe
deb http://us.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ raring-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://us.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://us.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ raring-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://us.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-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 raring partner
# deb-src http://archive.canonical.com/ubuntu raring 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 raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
deb http://ppa.launchpad.net/noobslab/noobslab-conky/ubuntu precise main
# deb-src http://ppa.launchpad.net/noobslab/noobslab-conky/ubuntu precise main

遵循指示后

代码语言:javascript
复制
W: GPG error: http://www.duinsoft.nl debs Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E18CE6625CB26B26
W: Failed to fetch http://ppa.launchpad.net/screenlets/ppa/ubuntu/dists/raring/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/screenlets/ppa/ubuntu/dists/raring/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
cyberproxy@Paradox:~$  sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  efibootmgr grub-efi-amd64-bin kde-l10n-engb
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
N: Ignoring file 'duinsoft.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
EN

回答 1

Ask Ubuntu用户

发布于 2013-09-14 18:41:48

尝试删除您的apt列表,并创建一个新的列表:

删除旧的清单:

sudo rm -r /var/lib/apt/lists && sudo mkdir -p /var/lib/apt/lists/partial

生成一个新的:

sudo apt-get update

现在,您应该能够通过运行以下命令来安装缺少的依赖项:

sudo apt-get install -f

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/345536

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档