AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1151950

Kitchen's questions

Martin Hope
Kitchen
Asked: 2020-12-24 22:04:06 +0800 CST

apt-get -f install 安全吗?

  • 7

我正在使用 Ubuntu 20.04。我从Oracle 网站下载了适用于 Ubuntu 19.10 / 20.04 的 VirtualBox ,然后dpkg -i virtualbox-6.1_6.1.16-140961~Ubuntu~eoan_amd64.deb在终端中使用:安装它。现在我需要安装缺少的依赖项。

我怎么知道依赖项是安全的?他们来自哪里?它们来自 Ubuntu 官方存储库、VirtualBox 还是第三方?

结果sudo apt-get -f:

Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libfprint-2-tod1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libdouble-conversion3 libpcre2-16-0 libpython2-stdlib libpython2.7-minimal
  libpython2.7-stdlib libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5opengl5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5x11extras5
  libsdl1.2debian libxcb-xinerama0 libxcb-xinput0 python-is-python2 python2
  python2-minimal python2.7 python2.7-minimal qt5-gtk-platformtheme
  qttranslations5-l10n
Suggested packages:
  qt5-image-formats-plugins qtwayland5 python2-doc python-tk python2.7-doc
  binfmt-support
The following NEW packages will be installed
  libdouble-conversion3 libpcre2-16-0 libpython2-stdlib libpython2.7-minimal
  libpython2.7-stdlib libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5opengl5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5x11extras5
  libsdl1.2debian libxcb-xinerama0 libxcb-xinput0 python-is-python2 python2
  python2-minimal python2.7 python2.7-minimal qt5-gtk-platformtheme
  qttranslations5-l10n
0 to upgrade, 24 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 14.5 MB of archives.
After this operation, 62.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]

编辑:“ 1 not fully installed or removed”是 virtualbox 包本身。我现在已经删除了 virtualbox usingsudo apt-get remove --purge virtualbox并重新安装了 using apt install virtualbox,它已经自动安装了所需的依赖项。我知道这些是安全的,并且来自 Ubuntu 官方存储库,因为我没有启用其他不受支持的第三方存储库(这些选项在软件和更新中心未选中)。

apt
  • 1 个回答
  • 983 Views
Martin Hope
Kitchen
Asked: 2020-11-27 07:42:10 +0800 CST

PPA purge 似乎没有删除 PPA?

  • 0

我做了:

sudo ppa-purge ppa:cybermax-dexter/sdl2-backport

并得到:

Updating packages lists
W: The repository 'http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu xenial Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found [IP: 91.....]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Warning:  apt-get update failed for some reason

当我查看软件和更新-> 其他软件时,PPA 仍然存在,也在sources.list.d文件夹中,但不在sources.list文件中。

我意识到 W: 部分是因为 PPA 与xenial. 但我仍然不明白这两个 E: 部分是什么意思,以及如何清除 PPA。

我可以手动删除,但我想确保我已经清除了所有相关文件等,因为它是第三方,我不希望任何不可靠的东西留在我的电脑上......?顺便说一句,我是菜鸟,所以可能对此有点无知...

谢谢你的时间!

ppa apt 16.04 purge
  • 1 个回答
  • 438 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve