Shutter

apt-get 安裝快門失敗

  • April 16, 2018

在 kali linux 中,我使用以下命令安裝快門:

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?

Shutter已從 Kali中刪除,可能是因為它已從 Debian 10 中刪除,因為它依賴於被刪除的庫(有關詳細資訊,請參閱#870418)。

如果你真的想要這個包,你可以嘗試從Debian 快照手動安裝它,以及它的依賴項。您還可以幫助將其移植到較新的庫並將其重新引入 Debian 10,然後它將自動重新引入 Kali。

引用自:https://unix.stackexchange.com/questions/438073