huoooooo 发表于 2017-3-9 15:54:07

ubuntu 16.04 apt install xxx

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
apt-utils : Depends: apt (= 1.2.12~ubuntu16.04.1) but 1.2.15ubuntu0.2 is installed.

with Firefly-rk3288_Ubuntu_1604_2016_10181203_Beta.7z.

huoooooo 发表于 2017-3-10 18:05:09

cat /etc/apt/sources.list
# deb cdrom:/ xenial main multiverse restricted universe

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates restricted multiverse universe main

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-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://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-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-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports 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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security restricted multiverse universe main
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-backports restricted universe multiverse main
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

huoooooo 发表于 2017-3-10 18:11:31

本帖最后由 huoooooo 于 2017-3-10 18:13 编辑

是源出问题了吗?表示随便安装什么都报上面的错,说是依赖于其他的一些包,而这些包是不可安装的或不会被安装的,求授业解惑。:\敬礼

isle 发表于 2017-3-13 10:57:21

apt.conf 删了么?

huoooooo 发表于 2017-3-15 09:08:47

isle 发表于 2017-3-13 10:57
apt.conf 删了么?

删了的

isle 发表于 2017-3-15 09:16:07

提示你: apt-get -f install运行了么

huoooooo 发表于 2017-3-15 11:42:04

isle 发表于 2017-3-15 09:16
提示你: apt-get -f install运行了么

自然,还是报同样的信息。

isle 发表于 2017-3-16 09:16:14

手动安装 apt (= 1.2.12~ubuntu16.04.1)
页: [1]
查看完整版本: ubuntu 16.04 apt install xxx