root@kali:~# apt-get install Shutter 正在阅读包裹清单...完成 构建依赖树 读取状态信息...完成 您可能需要运行“apt-get -f install”来纠正这些问题: 以下软件包具有未满足的依赖关系: 快门:取决于:libgnome2-perl,但不会安装它 依赖:libgnome2-vfs-perl 但不会安装它 依赖:libgnome2-wnck-perl 但不会安装它 依赖:libgnome2-gconf-perl 但不会安装它 取决于: 佩尔马吉克 依赖:libproc-simple-perl 但不会安装它 取决于: libfile-which-perl 但不会安装它 依赖:libsort-naturally-perl 但不会安装它 依赖:libgtk2-imageview-perl 但不会安装它 依赖:libgnome2-canvas-perl 但不会安装它 取决于: libgtk2-unique-perl 但不会安装它 依赖:libproc-processtable-perl 但不会安装它 依赖:libpath-class-perl 但不会安装它 依赖:libjson-perl 但不会安装它 依赖:libjson-xs-perl 但不会安装 依赖:libnet-dropbox-api-perl 但不会安装 推荐:libgoo-canvas-perl,但不会安装 E:未满足的依赖关系。尝试不使用任何软件包的“apt-get -f install”(或指定解决方案)。 root@kali:~# apt-get -f install 正在阅读包裹清单...完成 构建依赖树 读取状态信息...完成 纠正依赖关系...完成 以下软件包已自动安装,不再需要: ax25-节点驯鹿鹿角castxml令人毛骨悚然的dff gccxml gir1.2-clutter-gst-2.0 gir1.2-gkbd-3.0 gir1.2-xkl-1.0 gnome-图标-主题-符号 gtk2-engines gucharmap inguma libasn1-8-heimdal libavcodec-ffmpeg56 libavdevice-ffmpeg56 libavfilter-ffmpeg5 libavformat-ffmpeg56 libavresample-ffmpeg2 libavutil-ffmpeg54 libax25 libbasicusageenvironment0 libbind9-90 libboost-atomic1.58.0 libboost-chrono1.58.0 libboost-date-time1.58.0 libboost-filesystem1.58.0 libboost-python1.58.0 libboost-python1.61.0 libboost-system1.58.0 libboost-thread1.58.0 libcamel-1.2-54 libclutter-gst-2.0-0 libcrypto++9v5 libdbus-1-dev libdns100 libexporter-tiny-perl libgconf2-4 libgdict-1.0-9 libgif4 libgnome2-0 libgnome2-bin libgrilo-0.2-1 libgroupsock1 libgssapi3-heimdal libgtkglext1 libgucharmap-2-90-7 libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhunspell-1.3-0 libhx509-5-heimdal libical1a libilmbase6v5 libisc95 libisccc90 libisccfg90 libjansson4 libjasper1 libkdc2-heimdal libkrb5-26-heimdal liblist-moreutils-perl liblivemedia23 libllvm3.7 liblouis9 liblwres90 libntdb1 libopenexr6v5 libopenjpeg5 libpff1 libpgm-5.1-0 libpoppler57 libpostproc-ffmpeg53 libprotobuf-lite9v5 libpth20 libpython3.4-minimal libpython3.4-stdlib libqmi-glib1 libquvi-scripts libquvi7 libregfi0 libroken18-heimdal libsodium13 libstreamanalyzer0v5 libstreams0v5 libswresample-ffmpeg1 libswscale-ffmpeg3 libtask-weaken-perl libtre5 libtrio2 libusageenvironment1 libusbmuxd2 libuv1 libwebp5 libwebpdemux1 libwebpmux1 libwebrtc-音频-处理-0 libwind0-heimdal libwireshark6 libwiretap5 libwsutil6 libx265-68 libyara3 libzip2 libzmq3 multiforceroxygen5-图标-主题 python-apsw python-bluez python-characteristic python-ctypeslib python-dbus-dev python-distlib python-主导 python-ecdsa python-flickrapi python-googleapi python-instagram python-jwt python-lzma python-lzo python-magic python-ntdb python-oauth2client python-oauthlib python-opengl python-pyatspi python-pyexiv2 python-pyexiv2-doc python-pyqtgraph python-qt4-gl python-qt4-phonon python-requests-oauthlib python-requests-toolbelt python-rsa python-tidylib python-tweepy python-uritemplate python-yapsy python3.4 python3.4-minimalratproxy ruby-rainbow ruby-rexec ruby2.2-dev 系统配置打印机 使用“apt autoremove”删除它们。 将安装以下附加软件包: libart-2.0-2 libbonoboui2-0 libbonoboui2-common libclass-accessor-perl libclass-数据可继承-perl libclass-方法修饰符-perl libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdata-random-perl libfile-which-perl libgd-perl libgnome2-canvas-perl libgnome2-gconf-perl libgnome2-perl libgnome2-vfs-perl libgnome2-wnck-perl libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgtk2-imageview-perl libgtk2-unique-perl libgtkimageview0 libimage-magick-perl libimage-magick-q16-perl libjson-perl libjson-xs-perl libmouse-perl libnet-dropbox-api-perl libnet-oauth-perl libpath-class-perl libproc-processtable-perl libproc-simple-perl libsort-naturally-perl libtypes-serialiser-perl libunique-1.0-0 libwnck-common libwnck22 perlmagick 推荐套餐: imagemagick-doc libmojolicious-perl 将安装以下新软件包: libart-2.0-2 libbonoboui2-0 libbonoboui2-common libclass-accessor-perl libclass-数据可继承-perl libclass-方法修饰符-perl libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdata-random-perl libfile-which-perl libgd-perl libgnome2-canvas-perl libgnome2-gconf-perl libgnome2-perl libgnome2-vfs-perl libgnome2-wnck-perl libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgtk2-imageview-perl libgtk2-unique-perl libgtkimageview0 libimage-magick-perl libimage-magick-q16-perl libjson-perl libjson-xs-perl libmouse-perl libnet-dropbox-api-perl libnet-oauth-perl libpath-class-perl libproc-processtable-perl libproc-simple-perl libsort-naturally-perl libtypes-serialiser-perl libunique-1.0-0 libwnck-common libwnck22 perlmagick 0 个升级,40 个新安装,0 个删除,391 个未升级。 1 未完全安装或拆卸。 需要获取 0 B/4,190 kB 的档案。 此操作后,将使用 16.3 MB 的额外磁盘空间。 你想继续吗? [是/否] 是 apt-listchanges:APT_HOOK_INFO_FD 环境变量定义不正确 (Dpkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD 应大于 2)。 E: 子进程 /usr/bin/apt-listchanges --apt ||测试$? -ne 10 返回错误代码 (1) E:运行脚本 /usr/bin/apt-listchanges --apt || 失败测试$? -ne 10 root@kali:~# /usr/bin/apt-listchanges --apt ||测试$? -ne 10 apt-listchanges:APT_HOOK_INFO_FD 环境变量未定义 (Dpkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD 是否设置为 20?) 根@kali:~#
如何解决依赖性问题并安装快门?
答案1
也许这可以帮助你:
mv /etc/apt/apt.conf.d/20listchanges.dpkg-new /etc/apt/apt.conf.d/20listchanges
apt-get -f install
如果这没有帮助,请尝试重新启动或将此行添加到/etc/apt/apt.conf.d/20listchanges
:
DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20";