Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] gufw firewall cannot be installed

Help for Current Versions of MX
User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 70
Joined: Fri Nov 09, 2018 5:15 am

[SOLVED] gufw firewall cannot be installed

#1

Post by pemartins » Wed Aug 07, 2019 2:00 pm

I had gufw firewall installed and noticed it was gone, when I tried to install it again this error message occurred:

Code: Select all

Reading package lists...
Building dependency tree...
Reading state information...
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:
 gufw : Depends: gir1.2-webkit2-4.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Is there a way to fix this?

Code: Select all

System:    Host: pemartins-X55U Kernel: 4.19.0-5-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-18.3_x64 Continuum March 14  2018 
Machine:   Type: Laptop System: ASUSTeK product: X55U v: 1.0 serial: <root required> 
           Mobo: ASUSTeK model: X55U v: 1.0 serial: <root required> UEFI: American Megatrends 
           v: X55U.423 date: 08/06/2013 
CPU:       Topology: Dual Core model: AMD E2-1800 APU with Radeon HD Graphics bits: 64 type: MCP 
           L2 cache: 512 KiB 
           Speed: 1429 MHz min/max: 850/1700 MHz Core speeds (MHz): 1: 849 2: 957 
Graphics:  Device-1: AMD Wrestler [Radeon HD 7340] driver: radeon v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: radeon resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD PALM (DRM 2.50.0 / 4.19.0-5-amd64 LLVM 7.0.0) 
           v: 3.3 Mesa 18.2.6 
Audio:     Device-1: AMD Wrestler HDMI Audio driver: snd_hda_intel 
           Device-2: AMD FCH Azalia driver: snd_hda_intel 
           Sound Server: ALSA v: k4.19.0-5-amd64 
Network:   Device-1: Ralink RT5390 Wireless 802.11n 1T/1R PCIe driver: rt2800pci 
           IF: wlan0 state: up
           Device-2: Qualcomm Atheros AR8161 Gigabit Ethernet driver: alx 
           IF: eth0 state: down
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 465.76 GiB used: 64.32 GiB (13.8%) 
           ID-1: /dev/sda vendor: Seagate model: ST500LM012 HN-M500MBB size: 465.76 GiB 
Partition: ID-1: / size: 103.59 GiB used: 64.32 GiB (62.1%) fs: ext4 dev: /dev/sda5 
           ID-2: swap-1 size: 3.59 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 67.1 C mobo: N/A gpu: radeon temp: 68 C 
           Fan Speeds (RPM): cpu: 3500 
Info:      Processes: 227 Uptime: 1h 24m Memory: 3.45 GiB used: 1.61 GiB (46.6%) Shell: bash 
           inxi: 3.0.33 
Last edited by pemartins on Sat Aug 10, 2019 2:41 pm, edited 1 time in total.

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 490
Joined: Sun Mar 17, 2019 3:37 pm

Re: gufw firewall cannot be installed

#2

Post by Head_on_a_Stick » Wed Aug 07, 2019 2:26 pm

Can we please see the output of

Code: Select all

apt policy
aptitude why-not gir1.2-webkit2-4.0
Thanks!
"Direct action is the logical, consistent method of anarchism." — Emma Goldman

User avatar
fehlix
Developer
Posts: 4922
Joined: Wed Apr 11, 2018 5:09 pm

Re: gufw firewall cannot be installed

#3

Post by fehlix » Wed Aug 07, 2019 3:22 pm

pemartins wrote:
Wed Aug 07, 2019 2:00 pm
I had gufw firewall installed and noticed it was gone, when I tried to install it again this error message occurred:
Gufw Firewall comes pre-installed with MX-18.3. So you might have uninstalled it, by installing an incompatible package.
Please post "Quick System Info" (not only the partial info.)
Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 70
Joined: Fri Nov 09, 2018 5:15 am

Re: gufw firewall cannot be installed

#4

Post by pemartins » Wed Aug 07, 2019 4:47 pm

Here you go:

Code: Select all

$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://repository.spotify.com stable/non-free i386 Packages
     release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=i386
     origin repository.spotify.com
 500 http://repository.spotify.com stable/non-free amd64 Packages
     release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=amd64
     origin repository.spotify.com
 500 http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo stretch/non-free i386 Packages
     release v=17.0,o=MX repository,a=mx,n=stretch,l=MX repository,c=non-free,b=i386
     origin ftp.cica.es
 500 http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo stretch/non-free amd64 Packages
     release v=17.0,o=MX repository,a=mx,n=stretch,l=MX repository,c=non-free,b=amd64
     origin ftp.cica.es
 500 http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo stretch/main i386 Packages
     release v=17.0,o=MX repository,a=mx,n=stretch,l=MX repository,c=main,b=i386
     origin ftp.cica.es
 500 http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo stretch/main amd64 Packages
     release v=17.0,o=MX repository,a=mx,n=stretch,l=MX repository,c=main,b=amd64
     origin ftp.cica.es
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 100 http://deb.debian.org/debian stretch-backports/main i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=i386
     origin deb.debian.org
 100 http://deb.debian.org/debian stretch-backports/main amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=amd64
     origin deb.debian.org
 500 http://security.debian.org stretch/updates/non-free i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=i386
     origin security.debian.org
 500 http://security.debian.org stretch/updates/non-free amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org stretch/updates/contrib i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=i386
     origin security.debian.org
 500 http://security.debian.org stretch/updates/contrib amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org stretch/updates/main i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.pt.debian.org/debian stretch/non-free i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=i386
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch/non-free amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=amd64
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch/contrib i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=i386
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch/contrib amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=amd64
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch/main i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=i386
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch/main amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch-updates/main i386 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=i386
     origin ftp.pt.debian.org
 500 http://ftp.pt.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin ftp.pt.debian.org
 500 https://brave-browser-apt-release.s3.brave.com trusty/main amd64 Packages
     release o=. trusty,a=trusty,n=trusty,l=. trusty,c=main,b=amd64
     origin brave-browser-apt-release.s3.brave.com
 500 http://ftp.cica.es/mirrors/Linux/MX-Packages/antix/stretch stretch/main i386 Packages
     release v=3.1,o=repo.antixlinux.com,a=stretch,n=stretch,l=antiX repository,c=main,b=i386
     origin ftp.cica.es
 500 http://ftp.cica.es/mirrors/Linux/MX-Packages/antix/stretch stretch/main amd64 Packages
     release v=3.1,o=repo.antixlinux.com,a=stretch,n=stretch,l=antiX repository,c=main,b=amd64
     origin ftp.cica.es
Pinned packages:
---

Code: Select all

$ aptitude why-not gir1.2-webkit2-4.0
Not currently installed
The candidate version 2.24.1-2~mx17+1 has priority optional
No dependencies require to remove gir1.2-webkit2-4.0
---

Code: Select all

System:    Host: pemartins-X55U Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18.3_x64 Continuum March 14  2018 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: ASUSTeK product: X55U v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: X55U v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: X55U.423 date: 08/06/2013 
Battery:   ID-1: BAT0 charge: 37.9 Wh condition: 38.6/47.5 Wh (81%) model: ASUSTek K55--44 
           status: Charging 
CPU:       Topology: Dual Core model: AMD E2-1800 APU with Radeon HD Graphics bits: 64 type: MCP 
           arch: Bobcat L2 cache: 512 KiB 
           flags: lm nx pae sse sse2 sse3 sse4a ssse3 svm bogomips: 6787 
           Speed: 1627 MHz min/max: 850/1700 MHz Core speeds (MHz): 1: 1489 2: 1516 
Graphics:  Device-1: AMD Wrestler [Radeon HD 7340] vendor: ASUSTeK driver: radeon v: kernel 
           bus ID: 00:01.0 
           Display: x11 server: X.Org 1.19.2 driver: radeon resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD PALM (DRM 2.50.0 / 4.19.0-5-amd64 LLVM 7.0.0) 
           v: 3.3 Mesa 18.2.6 direct render: Yes 
Audio:     Device-1: AMD Wrestler HDMI Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:01.1 
           Device-2: AMD FCH Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 
           Sound Server: ALSA v: k4.19.0-5-amd64 
Network:   Device-1: Ralink RT5390 Wireless 802.11n 1T/1R PCIe vendor: Foxconn driver: rt2800pci 
           v: 2.3.0 port: f100 bus ID: 01:00.0 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros AR8161 Gigabit Ethernet vendor: ASUSTeK driver: alx 
           v: kernel port: e000 bus ID: 02:00.0 
           IF: eth0 state: down mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 465.76 GiB used: 59.94 GiB (12.9%) 
           ID-1: /dev/sda vendor: Seagate model: ST500LM012 HN-M500MBB size: 465.76 GiB 
Partition: ID-1: / size: 103.59 GiB used: 59.94 GiB (57.9%) fs: ext4 dev: /dev/sda5 
           ID-2: swap-1 size: 3.59 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 73.5 C mobo: N/A gpu: radeon temp: 73 C 
           Fan Speeds (RPM): cpu: 3800 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://ftp.cica.es/mirrors/Linux/MX-Packages/antix/stretch/ stretch main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release-trusty.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ trusty main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.pt.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.pt.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           3: deb-src http://ftp.pt.debian.org/debian/ stretch main contrib non-free
           4: deb http://deb.debian.org/debian/ stretch-backports main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo/ stretch main non-free
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com/ stable non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 197 Uptime: 24m Memory: 3.45 GiB used: 1.39 GiB (40.2%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 490
Joined: Sun Mar 17, 2019 3:37 pm

Re: gufw firewall cannot be installed

#5

Post by Head_on_a_Stick » Wed Aug 07, 2019 4:56 pm

Try debugging the resolver:

Code: Select all

apt install -s -o Debug::pkgProblemResolver=yes gufw
"Direct action is the logical, consistent method of anarchism." — Emma Goldman

User avatar
Stevo
Developer
Posts: 20151
Joined: Fri Dec 15, 2006 8:07 pm

Re: gufw firewall cannot be installed

#6

Post by Stevo » Wed Aug 07, 2019 5:13 pm

Probably unrelated, but Ubuntu Xenial (for the Brave browser repo) is closer to MX 17/18 than Trusty, which dates back to the beginning of 2014. And the Xenial version does work.

User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 70
Joined: Fri Nov 09, 2018 5:15 am

Re: gufw firewall cannot be installed

#7

Post by pemartins » Wed Aug 07, 2019 6:12 pm

Here it is, thank you all for the help:

Code: Select all

$ apt install -s -o Debug::pkgProblemResolver=yes gufw
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) gir1.2-webkit2-4.0:amd64 < none -> 2.24.1-2~mx17+1 @un uN Ib >
Broken gir1.2-webkit2-4.0:amd64 Depends on libwebkit2gtk-4.0-37:amd64 < 2.18.6-1~deb9u1.0 @ii mK > (>= 2.23.91)
  Considering libwebkit2gtk-4.0-37:amd64 9 as a solution to gir1.2-webkit2-4.0:amd64 0
  Holding Back gir1.2-webkit2-4.0:amd64 rather than change libwebkit2gtk-4.0-37:amd64
Investigating (1) gufw:amd64 < none -> 17.04.1-1.1 @un puN Ib >
Broken gufw:amd64 Depends on gir1.2-webkit2-4.0:amd64 < none | 2.24.1-2~mx17+1 @un uH >
  Considering gir1.2-webkit2-4.0:amd64 0 as a solution to gufw:amd64 9999
    Reinst Failed early because of libwebkit2gtk-4.0-37:amd64
  Considering gir1.2-webkit2-4.0:amd64 0 as a solution to gufw:amd64 9999
  Considering gir1.2-webkit2-4.0:amd64 0 as a solution to gufw:amd64 9999
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:
 gufw : Depends: gir1.2-webkit2-4.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
---

@Stevo I followed the installation instructions at Brave's website for Debian 9.

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 490
Joined: Sun Mar 17, 2019 3:37 pm

Re: gufw firewall cannot be installed

#8

Post by Head_on_a_Stick » Thu Aug 08, 2019 6:50 am

Can we see

Code: Select all

apt policy libwebkit2gtk-4.0-37
You could update & upgrade the system and then try installing gufw again, perhaps your package database is outdated.
"Direct action is the logical, consistent method of anarchism." — Emma Goldman

User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 70
Joined: Fri Nov 09, 2018 5:15 am

Re: gufw firewall cannot be installed

#9

Post by pemartins » Thu Aug 08, 2019 1:22 pm

Here you go:

Code: Select all

$ apt policy libwebkit2gtk-4.0-37
libwebkit2gtk-4.0-37:
  Installed: 2.18.6-1~deb9u1.0
  Candidate: 2.24.1-2~mx17+1
  Version table:
     2.24.2-1~bpo9+1 100
        100 http://deb.debian.org/debian stretch-backports/main amd64 Packages
     2.24.1-2~mx17+1 500
        500 http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo stretch/main amd64 Packages
 *** 2.18.6-1~deb9u1.0 100
        100 /var/lib/dpkg/status
     2.18.6-1~deb9u1 500
        500 http://ftp.pt.debian.org/debian stretch/main amd64 Packages
Just did a sudo apt update && sudo apt dist-upgrade but no changes, the error prevails while trying to install gufw.

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 490
Joined: Sun Mar 17, 2019 3:37 pm

Re: gufw firewall cannot be installed

#10

Post by Head_on_a_Stick » Thu Aug 08, 2019 3:33 pm

pemartins wrote:
Thu Aug 08, 2019 1:22 pm

Code: Select all

 *** 2.18.6-1~deb9u1.0 100
        100 /var/lib/dpkg/status
That's been installed from a .deb so try

Code: Select all

sudo apt update
sudo aptitude install libwebkit2gtk-4.0-37=2.24.3-1~mx17+1
sudo aptitude install gufw
The commands may offer several different solutions, go through them all and post them here if you're not sure.

EDIT: versions updated.
Last edited by Head_on_a_Stick on Thu Aug 08, 2019 4:53 pm, edited 3 times in total.
"Direct action is the logical, consistent method of anarchism." — Emma Goldman

Post Reply

Return to “MX Help”