Debian

為什麼 Linux 防火牆 GUI Gufw 不在 Debian 視窗鍵搜尋中?

  • July 2, 2017

指南推薦使用 Gufw 防火牆 GUI。我安裝了它apt

gufw/oldstable,oldstable,now 12.10.0-1 all [installed]
 graphical user interface for ufw

鍵入ẁindow key + gufw,我看不到應用程序。僅通過終端訪問是gufw不夠的。我在想為什麼+如何解決這個問題,因為我在Linux中系統地使用了太少的防火牆。

安裝和測試安裝的包

  1. 研究包masi@masi:$ apt search gufw
Sorting... Done
Full Text Search... Done
gufw/oldstable,oldstable,now 12.10.0-1 all [installed]
 graphical user interface for ufw
  1. 按方法安裝apt install gufw
  2. 我正在考慮兩個包(17.04 和 12.10)的輸出,apt show -a gufw所以我的系統中有一些衝突 - 出於某種原因gufw,終端啟動 gufw 12.10
Package: gufw
Source: gui-ufw
Version: 17.04.1-1.1
Installed-Size: 3,376 kB
Maintainer: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
Depends: python3:any (>= 3.3.2-2~), ufw (>= 0.34~rc), gir1.2-gtk-3.0, policykit-1, gir1.2-webkit2-4.0, python3-gi, net-tools
Homepage: http://gufw.org/
Tag: admin::configuring, implemented-in::python, interface::graphical,
interface::x11, network::firewall, role::program, scope::utility,
security::firewall, uitoolkit::gtk, use::configuring, x11::application
Section: admin
Priority: optional
Download-Size: 842 kB
APT-Sources: http://ftp.fr.debian.org/debian/ unstable/main amd64 Packages

Package: gufw
Source: gui-ufw
Version: 12.10.0-1
Installed-Size: 1,328 kB
Maintainer: Devid Antonio Filoni <d.filoni@ubuntu.com>
Depends: python (>= 2.6.6-7~), ufw (>= 0.31.1), gir1.2-gtk-3.0, gir1.2-polkit-1.0, notify-osd | notification-daemon, policykit-1, python-dbus, python-gobject, gnome-icon-theme-symbolic
Homepage: https://launchpad.net/gui-ufw
Tag: admin::configuring, implemented-in::python, interface::x11,
network::firewall, role::program, scope::utility, security::firewall,
uitoolkit::gtk, use::configuring, x11::application
Section: admin
Priority: optional
Download-Size: 261 kB
APT-Manual-Installed: yes
APT-Sources: http://ftp.fi.debian.org/debian/ jessie/main amd64 Packages
  1. 的輸出apt-cache policy gufw
gufw:
 Installed: 12.10.0-1
 Candidate: 12.10.0-1
 Version table:
     17.04.1-1.1 0
       200 http://ftp.fr.debian.org/debian/ unstable/main amd64 Packages
 *** 12.10.0-1 0
       500 http://ftp.fi.debian.org/debian/ jessie/main amd64 Packages
       500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
       100 /var/lib/dpkg/status
  1. 的輸出dpkg -l gufw
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
 +++-===============================-====================-====================-====================================================================
ii  gufw                            12.10.0-1            all                  graphical user interface for ufw

我執行以下操作並得到sudo apt -t unstable install gufw

[sudo] password for masi: 
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 situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gsettings-desktop-schemas : Breaks: gnome-settings-daemon (< 3.19.92) but 3.14.2-3+deb8u1 is to be installed
                            Breaks: mutter (< 3.19.92) but 3.14.4-1~deb8u1 is to be installed
gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.11.90) but 1.4.4-2.1+deb8u2 is to be installed
libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.4.4-2.1+deb8u2 is to be installed
libgstreamer1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.11.1) but 1.4.4-2.1+deb8u2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

作業系統:Debian 8.7

相關錯誤:gufw:桌麵條目不顯示在桌面環境中

Debian Stretch 是在幾週前發布的。將整個系統升級到該系統似乎是解決難題的最簡單解決方案。

該錯誤已在 Debian Stretch 的版本中修復,而舊的穩定版本 Jessie 仍停留在近五年前的版本上。

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