apt-get

Debian:“apt install build-essential”因未满足依赖关系而失败
apt-get

Debian:“apt install build-essential”因未满足依赖关系而失败

使用 Debian Stretch v9.11。 我尝试安装 build-essential,但由于未满足依赖关系而失败: sudo apt install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situat...

Admin

损坏的 Debian 软件包并使用 apt-get -f 进行修复
apt-get

损坏的 Debian 软件包并使用 apt-get -f 进行修复

当我们安装一个deb最终导致安装中断的软件包时,究竟发生了什么,以及如何apt-get -f补救这种情况(而不是在安装过程中发生这种情况)? 例子: 1)我们安装从以下网址下载的 ferdi 包https://github.com/getferdi/ferdi/releases/tag/v5.3.3: $ dpkg -i ferdi.deb Selecting previously unselected package ferdi. (Reading database ... 180829 files and directories currently...

Admin

sudo apt-get update 无法创建临时文件
apt-get

sudo apt-get update 无法创建临时文件

尝试这样做sudo apt-get update,每次运行时都会得到此响应: Get:1 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1814 B] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Err:1 http://repo.radeon.com/rocm/apt/debian xenial InRelease Couldn't create temporary file ...

Admin

Mongodb 2.6 软件包已从 Mongo Repo 中删除?
apt-get

Mongodb 2.6 软件包已从 Mongo Repo 中删除?

我正在尝试从 Mongo 存储库构建 Mongodb 2.6.7,但现在无法下载它们,就像上周我能够下载的那样…… root@591d529e0497:/# echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen root@591d5...

Admin

使用 apt-get update 时出错
apt-get

使用 apt-get update 时出错

Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' 这是我面临的错误。 ...

Admin

存储库没有发布文件(Kubuntu)
apt-get

存储库没有发布文件(Kubuntu)

我已附加使用 sudo apt-get update 时收到的消息的屏幕截图。 我以前尝试过使用存储库,但没有成功。现在我希望摆脱这些消息。 关于去哪里删除这些条目,有什么建议吗?可能是我必须编辑的配置文件。 E: The repository 'http://ppa.launchpad.net/falk-t-j/qtsixa/ubuntu disco Release' does not have a Release file. N: Updating from such a repository can't be done securely, a...

Admin

ppa:ondrej/php 中未找到 PHP 7.0 软件包
apt-get

ppa:ondrej/php 中未找到 PHP 7.0 软件包

我在 Ubuntu 机器上安装 PHP 7.2 时遇到了一些问题。我使用的 Ubuntu 发行版是 Ubuntu 14.04.6 LTS / trusty,我使用 Vagrant 安装的。 正如几乎每个网站上所写,我通过执行以下操作添加了 ppa:ondrej/php repo: sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get upgrade 然后,我尝试安装 PHP 7.2: sudo apt-get install php7.2 问题似乎是由于 ...

Admin

从 ubuntu 17.04 升级到一些新的受支持版本
apt-get

从 ubuntu 17.04 升级到一些新的受支持版本

正如你所看到的,我是一个 Linux 菜鸟。我还没有升级我的 ubuntu 17.04,这让我很头疼。我根本不能使用 apt-get。我想这背后的原因是我的版本缺乏支持。我尝试遵循一些教程,包括这个:https://help.ubuntu.com/community/EOLUpgrades 无论我做什么或是否更新 sources.list,apt-get 似乎仍然不受支持。 例如,如果我运行 apt-get update,我会得到以下响应: Reading package lists... Done W: The repository 'http://p...

Admin

BeagleBoneBlack 和 Debian 8 的 apt-get 问题
apt-get

BeagleBoneBlack 和 Debian 8 的 apt-get 问题

当我更新运行 Debian 8 的 BeagleBone Black 时,出现以下信息: root@bbb-one:~# apt-get update Hit http://security.debian.org jessie/updates InRelease Hit http://repos.rcn-ee.com jessie InRelease Ign http://ftp.us.debian.org jessie InRelease Get:1 http://security.debian.org jessie/updates/main armhf...

Admin

无法更新 Raspberry PI(apt-get)
apt-get

无法更新 Raspberry PI(apt-get)

我无法再更新我的 Raspberry PI(带有 Raspbian Stretch 的 Raspberry PI 1 Model B)。sudo apt-get update告诉我包文件存在一些问题。我不太了解 apt-get 及其工作原理,所以我无法提供更多信息。 这是我之前尝试过的: pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB] Get:2 http://mirrordirec...

Admin

如何让 debian apt 正确找到软件包来安装 sudo
apt-get

如何让 debian apt 正确找到软件包来安装 sudo

我刚刚使用完整光盘映像 (debian-9.8.0-amd64-xfce-CD-1) 安装了 debian 9,并在 Windows 10 主机的 64 位环境中的 VirtualBox 上进行安装。在安装过程中,我取消选中桌面环境和 xfce 复选框。我保留实用程序复选框处于选中状态。我这样做是因为我想留下一个轻量级安装以用作本地服务器。 尝试使用 apt 安装“sudo”包。 我已经注释掉了 CD-rom 源并将这些源添加到/etc/apt/sources.list; deb http://security.debian.org/debian-se...

Admin

apt-get update 在 debian 中失败
apt-get

apt-get update 在 debian 中失败

猫/etc/apt/sources.list deb http://deb.debian.org/debian jessie main deb http://deb.debian.org/debian jessie-updates main deb http://security.debian.org jessie/updates main 然后 apt-get update 失败。 如果我删除第二行,则上述命令可以正常工作。 我检查了存储库,没有名为 jessie-updates 的文件夹。 我们有许多需要 apt-get 更新的 docker...

Admin

为什么“apt”不再存储下载的软件包?
apt-get

为什么“apt”不再存储下载的软件包?

我以前习惯apt将下载的包存储在其中/var/cache/apt/archives/,但现在不再这样做了,我不知道为什么。 依我之见,配置是这样设置的: # apt-config dump | grep -i cache Dir::Cache "var/cache/apt"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Binary::apt::APT::Cache "";...

Admin

在 Debian 中对 apt 软件包进行分组
apt-get

在 Debian 中对 apt 软件包进行分组

我很好奇(并且到处搜索,如果我错过了一个显而易见的地方,我很抱歉)在 Debian 中--virtual安装 apt 包时是否有任何与 Alpine Linux 等效的标志或选项。 在 Alpine Linux 上安装依赖项/库时,您可以使用它--virtual来分组并在之后卸载它们。与容器一起使用非常方便,可以优化最终图像大小,而不会忘记一些。 ...

Admin

如何使用 apt-get 在 Ubuntu 16 上安装 R 3.5.1?
apt-get

如何使用 apt-get 在 Ubuntu 16 上安装 R 3.5.1?

我使用以下命令在 Ubuntu 16 上安装了 R sudo apt-get install r-base 但是安装的 R 版本是 3.2.3,现在已经很旧了。我想知道是否有办法调整 apt-get 来安装最新版本的 R? 多谢 ...

Admin