vickycq 写道:
执行以下指令将结果全部复制贴上来
代码:
dpkg -l | grep 'libc6\|libgcc1'
aptitude why-not libc6:i386
aptitude why-not libgcc1:i386
cat /etc/apt/sources.list
另尝试将 /var/lib/apt/lists/ 中的内容全部移除,再执行一次 apt update,再尝试安装所需软件包。
代码:
sudo rm -r /var/lib/apt/lists/*
sudo apt update
root@darnell:/home/darnell#
dpkg -l | grep 'libc6\|libgcc1'ii libc6:amd64 2.19-0ubuntu6.9 amd64 Embedded GNU C Library: Shared libraries
iU libc6:i386 2.19-0ubuntu6.9 i386 Embedded GNU C Library: Shared libraries
rc libc6-i386 2.15-0ubuntu10.15 amd64 Embedded GNU C Library: 32-bit shared libraries for AMD64
ii libgcc1:amd64 1:4.9.3-0ubuntu4 amd64 GCC support library
darnell@darnell:~$ sudo apt-get install aptitude
[sudo] password for darnell:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
您可能需要运行“apt-get -f install”来纠正下列错误:
下列软件包有未满足的依赖关系:
aptitude : 依赖: aptitude-common (= 0.6.8.2-1ubuntu4) 但是它将不会被安装
依赖: libboost-iostreams1.54.0 但是它将不会被安装
依赖: libcwidget3 但是它将不会被安装
依赖: libept1.4.12 但是它将不会被安装
libc6:i386 : 依赖: libgcc1:i386 但是它将不会被安装
nylas : 依赖: git
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
darnell@darnell:~$ cat /etc/apt/sources.list# deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted
# See
http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## 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.
## 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.
## 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.
## 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
deb-src
http://extras.ubuntu.com/ubuntu trusty main
deb-src
http://mirrors.163.com/ubuntu/ trusty restricted main universe #Added by software-properties
deb
http://mirrors.163.com/ubuntu/ trusty multiverse universe main restricted
sudo rm -r /var/lib/apt/lists/*
sudo apt update
这两步执行了也没办法