我刚刚为 GIMP 的开发版本添加了一个 PPA 存储库,但出现此错误:
$ apt-get update && apt-get upgrade
...
The following packages have been kept back:
gimp gimp-data libgegl-0.0-0 libgimp2.0
Run Code Online (Sandbox Code Playgroud)
为什么以及如何解决它以便我可以使用最新版本而不是我现在拥有的版本?
我刚刚安装了 Ubuntu Gnome 16.04。我告诉它保存我的文件 - 有效。有些软件必须重新安装。现在,当我运行时,sudo apt-get update我看到:
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 …Run Code Online (Sandbox Code Playgroud) 我正在尝试尽可能自动化我的设置。
为此,我有要安装的软件包列表,例如: bansheewireshark audacity Thunderbird Thunderbird-lightning caliber deluge unison-gtk usb-creator-kde ding digikam Chromium-browser blankbit soundconverter kdenlive firefox-kde-support vlc kwrite openjdk -6-jre icedtea6-plugin virtualbox virtualbox-guest-additions-iso。
我想编写一个小的 bash 脚本来调用 apt-get 来安装这些包,只有当它们尚未安装时。
目前我有这个,但它不起作用:
dpkg -s "$1" > /dev/null 2>&1 || apt-get -y install "$1",(其中 $1 是列表)
我想从我的电脑上完全卸载 Haguichi 和 Hamachi。
我怎样才能做到这一点?
在下面的输出中,什么automatic意思?
$apt search exfat
Sorting... Done
Full Text Search... Done
exfat-fuse/focal,now 1.3.0-1 amd64 [installed,automatic]
read and write exFAT driver for FUSE
exfat-utils/focal,now 1.3.0-1 amd64 [installed,automatic]
utilities to create, check, label and dump exFAT filesystem
Run Code Online (Sandbox Code Playgroud)
在这种情况下,是否有关于apt(以及apt系列工具)输出的任何类似/其他输出细节需要了解?任何参考都会很棒。
automatic可以用哪些其他值来代替?我搜索过:
apt -qq list | grep installed | grep -v automatic
apt-file/focal,focal,now 3.2.2 all [installed]
aptitude/focal,now 0.8.12-1ubuntu4 amd64 [installed]
base-passwd/focal,now 3.5.47 amd64 [installed]
console-setup/focal,focal,now 1.194ubuntu3 all [installed]
dash/focal,now 0.5.10.2-6 amd64 [installed]
diffutils/focal,now 1:3.7-3 amd64 [installed]
Run Code Online (Sandbox Code Playgroud)
我没有看到manual …