我正在尝试安装不同的软件包,但即使在sudo apt-get -f install
.以下是我的/etc/apt/sources.list
文件:
#
# deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
#
#deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
#deb http://ftp.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
##################
## Debian Stable ##
##################
# Stable
deb http://http.us.debian.org/debian/ squeeze main contrib non-free
# Stable Sources
deb-src http://http.us.debian.org/debian/ squeeze main contrib non-free
# Security Updates http://www.debian.org/security/
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy-updates main
deb-src http://ftp.debian.org/debian/ wheezy-updates main
答案1
你的 中已经混合了wheezy
和 完整的。它们可以一起使用,但您应该正确设置固定。squeeze
sources.list
最有可能的是,您应该将squeeze(oldstable)更改为wheezy(current stable)并将整个系统升级到stable,可以找到有关升级的文档这里