sudo apt-get install 无法安装 plank 和其他应用程序

罗比菲尔南多

在这里我想安装 plank (ppa:docky-core/stable),但是当我尝试

sudo apt-get install plank

它没有工作,我也尝试安装另一个应用程序仍然没有工作,并显示此消息。我也试过这个命令,sudo rm /var/lib/apt/lists/* -vf但仍然没有工作

这是消息: 图像

这是sources.list 的输出

# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial 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/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://us.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://us.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.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 http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://us.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 main restricted
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-src http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb http://download.virtualbox.org/virtualbox/debian xenial contrib
# deb-src http://download.virtualbox.org/virtualbox/debian xenial contrib

任何人都可以帮助我吗?

奥利姆容

好的,我明白了。您的 Visual Studio Code(终端名称为code出现故障,导致其他软件包无法安装。因此,请执行以下步骤:

sudo dpkg --remove --force-all code

如果失败:

sudo rm -i /var/lib/dpkg/info/code.*
sudo dpkg --remove --force-remove-reinstreq code

确认 Apt 已修复。以下命令不应返回任何错误:

sudo apt-get update

积分到这里

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法使用 sudo apt-get install 安装或找到 python-pip 和 python-requests

来自分类Dev

sudo apt-get install和sudo apt install有什么区别

来自分类Dev

sudo apt-get install和sudo apt-f install返回错误

来自分类Dev

sudo apt-get install无法正常工作

来自分类Dev

无法sudo apt-get install ubuntu-desktop --reinstall

来自分类Dev

Ubuntu sudo apt-get upgrade和sudo apt-get install之间的区别?

来自分类Dev

是否建议同时执行“sudo apt-get install”、“sudo snap install”和“pip install --user”?

来自分类Dev

sudo apt-get install -f install和sudo apt-get install -f有什么区别?

来自分类Dev

sudo apt-get install -f install和sudo apt-get install -f有什么区别?

来自分类Dev

通过apt-get`sudo apt-get install openblas-dev`安装openblas

来自分类Dev

在执行sudo apt-get install <app>之后,应用程序将存储到哪里?

来自分类Dev

无法安装(sudo apt --fix-broken install)

来自分类Dev

sudo,apt-get,install和fakeroot命令代表什么?

来自分类Dev

“ sudo apt-get install cuda”和“ sudo apt-get install nvidia-cuda-toolkit”之间有区别吗?

来自分类Dev

从下载的 .deb 文件安装和从命令“sudo apt-get install”安装有什么区别?

来自分类Dev

sudo npm install -g npm和sudo apt-get install npm之间的区别

来自分类Dev

无法使用sudo apt-get和非官方的ppa添加应用程序:无法锁定目录

来自分类Dev

无法使用sudo apt-get和非官方的ppa添加应用程序:无法锁定目录

来自分类Dev

我通过获取源代码安装了程序,然后运行`sudo make install`;。如何使“ apt-get”了解它?

来自分类Dev

我通过获取源代码安装了程序,然后运行`sudo make install`;。如何使“ apt-get”了解它?

来自分类Dev

sudo apt-get install npm错误

来自分类Dev

无法“sudo apt install”任何东西

来自分类Dev

恢复Ubuntu安装-'sudo apt-get install -f'之后,Ubuntu吞噬了自己

来自分类Dev

安装flask-cache 的sudo apt-get install 命令是什么?

来自分类Dev

错误“ sudo apt-get -f安装”

来自分类Dev

无法锁定管理目录(sudo apt-get upgrade和&apt-get update)

来自分类Dev

由于jdk问题而无法sudo apt-get -f install

来自分类Dev

软件管理器无法安装软件包。互联网连接正常。sudo apt-get install fluidsynth不起作用

来自分类Dev

sudo apt-get无法正常工作

Related 相关文章

  1. 1

    无法使用 sudo apt-get install 安装或找到 python-pip 和 python-requests

  2. 2

    sudo apt-get install和sudo apt install有什么区别

  3. 3

    sudo apt-get install和sudo apt-f install返回错误

  4. 4

    sudo apt-get install无法正常工作

  5. 5

    无法sudo apt-get install ubuntu-desktop --reinstall

  6. 6

    Ubuntu sudo apt-get upgrade和sudo apt-get install之间的区别?

  7. 7

    是否建议同时执行“sudo apt-get install”、“sudo snap install”和“pip install --user”?

  8. 8

    sudo apt-get install -f install和sudo apt-get install -f有什么区别?

  9. 9

    sudo apt-get install -f install和sudo apt-get install -f有什么区别?

  10. 10

    通过apt-get`sudo apt-get install openblas-dev`安装openblas

  11. 11

    在执行sudo apt-get install <app>之后,应用程序将存储到哪里?

  12. 12

    无法安装(sudo apt --fix-broken install)

  13. 13

    sudo,apt-get,install和fakeroot命令代表什么?

  14. 14

    “ sudo apt-get install cuda”和“ sudo apt-get install nvidia-cuda-toolkit”之间有区别吗?

  15. 15

    从下载的 .deb 文件安装和从命令“sudo apt-get install”安装有什么区别?

  16. 16

    sudo npm install -g npm和sudo apt-get install npm之间的区别

  17. 17

    无法使用sudo apt-get和非官方的ppa添加应用程序:无法锁定目录

  18. 18

    无法使用sudo apt-get和非官方的ppa添加应用程序:无法锁定目录

  19. 19

    我通过获取源代码安装了程序,然后运行`sudo make install`;。如何使“ apt-get”了解它?

  20. 20

    我通过获取源代码安装了程序,然后运行`sudo make install`;。如何使“ apt-get”了解它?

  21. 21

    sudo apt-get install npm错误

  22. 22

    无法“sudo apt install”任何东西

  23. 23

    恢复Ubuntu安装-'sudo apt-get install -f'之后,Ubuntu吞噬了自己

  24. 24

    安装flask-cache 的sudo apt-get install 命令是什么?

  25. 25

    错误“ sudo apt-get -f安装”

  26. 26

    无法锁定管理目录(sudo apt-get upgrade和&apt-get update)

  27. 27

    由于jdk问题而无法sudo apt-get -f install

  28. 28

    软件管理器无法安装软件包。互联网连接正常。sudo apt-get install fluidsynth不起作用

  29. 29

    sudo apt-get无法正常工作

热门标签

归档