apt-get 安装快门失败

apt-get 安装快门失败

在kali linux中,我使用以下命令安装shutter:

apt-get install shutter 

但我收到错误:

root@kali-linux:~# sudo apt-get install shutter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package shutter is not available, but is referred to by another 
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'shutter' has no installation candidate

这是我的/etc/apt/sources.list:

root@kali-linux:~# cat /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free

我从下载包Debian 快照:

root@kali-linux:~/Downloads# dpkg -i shutter_0.94-1_all.deb
Selecting previously unselected package shutter.
(Reading database ... 382080 files and directories currently installed.)
Preparing to unpack shutter_0.94-1_all.deb ...
Unpacking shutter (0.94-1) ...
dpkg: dependency problems prevent configuration of shutter:
shutter depends on libgnome2-perl; however:
Package libgnome2-perl is not installed.
shutter depends on libgnome2-vfs-perl; however:
Package libgnome2-vfs-perl is not installed.
shutter depends on libgnome2-wnck-perl; however:
Package libgnome2-wnck-perl is not installed.
shutter depends on libgnome2-gconf-perl; however:
Package libgnome2-gconf-perl is not installed.
shutter depends on libwww-mechanize-perl; however:
Package libwww-mechanize-perl is not installed.
shutter depends on libimage-magick-perl; however:
Package libimage-magick-perl is not installed.
shutter depends on libproc-simple-perl; however:
Package libproc-simple-perl is not installed.
shutter depends on libfile-which-perl; however:
Package libfile-which-perl is not installed.
shutter depends on libsort-naturally-perl; however:
Package libsort-naturally-perl is not installed.
shutter depends on libgtk2-imageview-perl; however:
Package libgtk2-imageview-perl is not installed.
shutter depends on libgnome2-canvas-perl; however:
Package libgnome2-canvas-perl is not installed.
shutter depends on libgtk2-unique-perl; however:
Package libgtk2-unique-perl is not installed.
shutter depends on libproc-processtable-perl; however:
Package libproc-processtable-perl is not installed.
shutter depends on libpath-class-perl; however:
Package libpath-class-perl is not installed.
shutter depends on libnet-dropbox-api-perl; however:
Package libnet-dropbox-api-perl is not installed.
shutter depends on libx11-protocol-other-perl; however:
Package libx11-protocol-other-perl is not installed.
dpkg: error processing package shutter (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-3) ...
Processing triggers for gnome-menus (3.13.3-11) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.3-2) ...
Errors were encountered while processing:
 shutter

然后我尝试命令

apt-get -f install 

root@kali-linux:~/Downloads# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  shutter
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 17.7 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 382932 files and directories currently installed.)
Removing shutter (0.94-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-3) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

How to install it?

答案1

快门已从卡利移除,可能是因为它已从 Debian 10 中删除,因为它依赖于正在删除的库(请参阅#870418了解详情)。

如果你真的想要该软件包,您可以尝试手动安装Debian 快照,及其依赖项。您还可以帮助将其移植到较新的库,并将其重新引入 Debian 10,从那里它将自动重新引入 Kali。

相关内容