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 being removed by the latest updates

Help for Current Versions of MX
TinyCritter
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 26, 2019 8:12 pm

[SOLVED] gufw being removed by the latest updates

#1

Post by TinyCritter » Sat Aug 10, 2019 11:16 am

Hello :) Eadwine asked me to create a separate thread for this, so here it is.

When I used the MX updater's full upgrade to install the latest ones yesterday-ish, it seems like my version of gufw was removed completely in the process. I used the terminal command sudo aptitude install gufw to reinstall it -- the first solution didn't change anything, so I hit 'n' for the next one, which reverted a few packages to their previous version and successfully brought it back. I don't have the text from that copied or screenshotted, sadly. I could try to replicate it in order to get more info on that part, though I'm kind of hesitant to do something that would break my system :/

The updater at this point is still wanting to uninstall gufw:

Code: Select all

  full upgrade
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Calculating upgrade...
  The following packages were automatically installed and are no longer required:
     gir1.2-javascriptcoregtk-4.0 (2.24.3-1~mx17+1)
     gir1.2-soup-2.4 (2.56.0-2+deb9u2)
     libenchant1c2a (1.6.0-11+b1)
     libjavascriptcoregtk-4.0-18 (2.24.3-1~mx17+1)
     ufw (0.35-4)
  Use 'apt autoremove' to remove them.
  The following packages will be REMOVED:
     gir1.2-webkit2-4.0 (2.24.3-1~mx17+1)
     gufw (17.04.1-1.1)
     libwebkit2gtk-4.0-37 (2.24.3-1~mx17+1)
  The following packages will be upgraded:
     gir1.2-javascriptcoregtk-4.0 (2.18.6-1~deb9u1 => 2.24.3-1~mx17+1)
     libjavascriptcoregtk-4.0-18 (2.18.6-1~deb9u1 => 2.24.3-1~mx17+1)
  2 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
  Need to get 4,936 kB of archives.
  After this operation, 46.4 MB disk space will be free. 
I'm not really sure how to resolve this, as I'm an extreme novice with linux OSes in general. I definitely don't have any backport or test repos enabled, either - at least not according to MX's repo manager.

That's probably not enough information to arrive at any kind of helpful conclusion, so if more is needed I can provide it, as long as I know where to look or what commands to input to get it.
Last edited by TinyCritter on Sun Aug 18, 2019 2:28 am, edited 1 time in total.

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

Re: gufw being removed by the latest updates

#2

Post by Stevo » Sat Aug 10, 2019 12:49 pm

It won't happen if you stick to approved repositories. There's another ongoing thread where it's due to a bogus higher version of a package from deb-multimedia, so you should try the suggested aptitude method there of untangling the libraries.

turtlebay777
Forum Regular
Forum Regular
Posts: 496
Joined: Sat Apr 14, 2018 2:40 pm

Re: gufw being removed by the latest updates

#3

Post by turtlebay777 » Sat Aug 10, 2019 1:28 pm

Stevo wrote:
Sat Aug 10, 2019 12:49 pm
There's another ongoing thread where it's due to a bogus higher version of a package from deb-multimedia, so you should try the suggested aptitude method there of untangling the libraries.
It was on that thread that the Mod told him to post separately because he had a " different computer so the answer may be different "!

Exact wording but it was in dark red/maroon -

Code: Select all

Mod note: Please make a thread for your personal issue with this, otherwise the overview gets lost.

Same problem, different computers, could be a different cause. Thanks.
Poor guy, either way he can't win as he's told to follow the other person's instructions.

viewtopic.php?f=104&p=520327#p520327

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

Re: gufw being removed by the latest updates

#4

Post by Stevo » Sat Aug 10, 2019 1:32 pm

Yet using the same method:

Code: Select all

sudo aptitude install gufw
and its multiple solutions will help solve the case in both instances. That's why I suggested looking at the first thread and reading how I suggested using aptitude. You can see how it turned up that deb-multimedia library that was the culprit there, and how it will fix it.

User avatar
asqwerth
Developer
Posts: 4979
Joined: Sun May 27, 2007 5:37 am

Re: gufw being removed by the latest updates

#5

Post by asqwerth » Sat Aug 10, 2019 1:46 pm

Follow Stevo's instructions, ie the aptitude command above from the other thread, but post problems, terminal output etc in this thread.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

TinyCritter
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 26, 2019 8:12 pm

Re: gufw being removed by the latest updates

#6

Post by TinyCritter » Sat Aug 10, 2019 2:07 pm

Stevo wrote:
Sat Aug 10, 2019 12:49 pm
It won't happen if you stick to approved repositories. There's another ongoing thread where it's due to a bogus higher version of a package from deb-multimedia, so you should try the suggested aptitude method there of untangling the libraries.
I'm pretty sure I haven't changed my respositories from the default/approved ones since I started using MX as my main OS several months ago. I mimicked what pemartins did in the other recent gufw thread, I'll post the outputs here:

Code: Select all

$ inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb https://mirrors.xtom.com/mx-packages/antix/stretch/ stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mirrors.xtom.com/mx-packages/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 

Code: Select all

$ apt policy libjavascriptcoregtk-4.0-18
libjavascriptcoregtk-4.0-18:
  Installed: 2.18.6-1~deb9u1
  Candidate: 2.18.6-1~deb9u1
  Version table:
 *** 2.18.6-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

Code: Select all

$ apt policy libwebkit2gtk-4.0-37
libwebkit2gtk-4.0-37:
  Installed: 2.18.6-1~deb9u1
  Candidate: 2.18.6-1~deb9u1
  Version table:
 *** 2.18.6-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
Fwiw, these outputs are from after I rolled back a few packages after gufw was removed, using the terminal command 'sudo aptitude install gufw' (and used solution 2, which involved reverting a few things) - and I forgot to copy the text/output from when it was broken. As of right now when I check for updates using the MX Updater, I still get the following (after applying the aptitude command from the other thread):

Code: Select all

  full upgrade
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Calculating upgrade...
  The following packages were automatically installed and are no longer required:
     gir1.2-javascriptcoregtk-4.0 (2.24.3-1~mx17+1)
     gir1.2-soup-2.4 (2.56.0-2+deb9u2)
     libenchant1c2a (1.6.0-11+b1)
     libjavascriptcoregtk-4.0-18 (2.24.3-1~mx17+1)
     ufw (0.35-4)
  Use 'apt autoremove' to remove them.
  The following packages will be REMOVED:
     gir1.2-webkit2-4.0 (2.24.3-1~mx17+1)
     gufw (17.04.1-1.1)
     libwebkit2gtk-4.0-37 (2.24.3-1~mx17+1)
  The following packages will be upgraded:
     gir1.2-javascriptcoregtk-4.0 (2.18.6-1~deb9u1 => 2.24.3-1~mx17+1)
     libjavascriptcoregtk-4.0-18 (2.18.6-1~deb9u1 => 2.24.3-1~mx17+1)
  2 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
  Need to get 4,936 kB of archives.
  After this operation, 46.4 MB disk space will be freed.
Earlier I had tried going past the first and second solutions that aptitude suggested just to see what they were, but they seemed more and more complex and less likely to work, so I stuck with #2.

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

Re: gufw being removed by the latest updates

#7

Post by Stevo » Sat Aug 10, 2019 2:20 pm

I would suggest keep going on with the aptitude solutions. Back when I would break my system a lot, sometime it would take twenty or thirty until it got to the one that fixed everything. You want one that allows the new packages as well as gufw to install, which a normal MX system has no problems doing.

TinyCritter
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 26, 2019 8:12 pm

Re: gufw being removed by the latest updates

#8

Post by TinyCritter » Sun Aug 11, 2019 4:11 pm

Hey again - so I decided to install the updates which end up removing gufw for a second time, if just to get the text from the 'sudo aptitude install gufw' suggested solutions.

I went through well over 90 different ones (probably 120ish), but each one after the third just became increasingly complex, some involving anywhere between 18 to 29 steps, and all of them removing or downgrading multiple packages.

The first solution looked like:

Code: Select all

$ sudo aptitude install gufw
The following NEW packages will be installed:
  gir1.2-webkit2-4.0{a} gstreamer1.0-libav{a} gufw libavfilter6{a} libwebkit2gtk-4.0-37{a} 
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.8 MB/13.6 MB of archives. After unpacking 54.5 MB will be used.
The following packages have unmet dependencies:
 libavutil55 : Breaks: libavfilter6 (< 7:3.4) but 7:3.3.4-1mx17+2 is to be installed
 libavutil55:i386 : Breaks: libavfilter6 (< 7:3.4) but 7:3.3.4-1mx17+2 is to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     gir1.2-webkit2-4.0 [Not Installed]                 
2)     gstreamer1.0-libav [Not Installed]                 
3)     gufw [Not Installed]                               
4)     libavfilter6 [Not Installed]                       
5)     libwebkit2gtk-4.0-37 [Not Installed]               



Accept this solution? [Y/n/q/?] 
there was another warning after trying to go through with it, which I forgot (again!) to grab the text from, but which basically said that multiple things would break if I went through with it.

The second one (which I used a second time to get gufw back) was:

Code: Select all

The following actions will resolve these dependencies:

     Install the following packages:                                                          
1)     gir1.2-webkit2-4.0 [2.18.6-1~deb9u1 (oldstable)]                                       
2)     libwebkit2gtk-4.0-37 [2.18.6-1~deb9u1 (oldstable)]                                     

     Keep the following packages at their current version:                                    
3)     gstreamer1.0-libav [Not Installed]                                                     
4)     libavfilter6 [Not Installed]                                                           

     Downgrade the following packages:                                                        
5)     gir1.2-javascriptcoregtk-4.0 [2.24.3-1~mx17+1 (mx, now) -> 2.18.6-1~deb9u1 (oldstable)]
6)     libjavascriptcoregtk-4.0-18 [2.24.3-1~mx17+1 (mx, now) -> 2.18.6-1~deb9u1 (oldstable)] 



Accept this solution? [Y/n/q/?]  
This one doesn't really work as a long-term solution though, because as soon as it's done, MX Updater wants to upgrade

Code: Select all

 gir1.2-javascriptcoregtk-4.0 (2.18.6-1~deb9u1 => 2.24.3-1~mx17+1)
     libjavascriptcoregtk-4.0-18 (2.18.6-1~deb9u1 => 2.24.3-1~mx17+1) 
and also remove gufw/ufw in the process, simultaneously.

The third solution was:

Code: Select all

The following actions will resolve these dependencies:

      Install the following packages:                                       
1)      libva-drm2:i386 [2.3.0-2~mx17+1 (mx)]                               
2)      libva-x11-2:i386 [2.3.0-2~mx17+1 (mx)]                              
3)      libva2:i386 [2.3.0-2~mx17+1 (mx)]                                   
4)      libwebpmux3:i386 [0.6.1-2~mx17+1 (mx)]                              
5)      libx265-146:i386 [2.6-3~mx17+1 (mx)]                                

      Downgrade the following packages:                                     
6)      libavcodec57 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]       
7)      libavcodec57:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]  
8)      libavresample3 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]     
9)      libavresample3:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]
10)     libavutil55 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]        
11)     libavutil55:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]   
12)     libswresample2 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]     
13)     libswresample2:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)] 
and every suggestion after that (until about 100 at least, at which point I stopped) had more and more steps, removing or downgrading quite a lot of packages each time.

I feel like at this point I might have to just do a clean reinstall of MX, although I've tweaked it so much over the half year I've been using it that it would probably take quite a while to get it back to this state. I did try snapshotting the system earlier, but it seemed like it would take about half a day of maxing out every core of my CPU in order to create the snapshot, for some reason.

Any ideas?

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

Re: gufw being removed by the latest updates

#9

Post by Stevo » Sun Aug 11, 2019 5:42 pm

The third solution returns your system to a normal MX 18.3 state, that's what you want:

Code: Select all

The following actions will resolve these dependencies:

      Install the following packages:                                       
1)      libva-drm2:i386 [2.3.0-2~mx17+1 (mx)]                               
2)      libva-x11-2:i386 [2.3.0-2~mx17+1 (mx)]                              
3)      libva2:i386 [2.3.0-2~mx17+1 (mx)]                                   
4)      libwebpmux3:i386 [0.6.1-2~mx17+1 (mx)]                              
5)      libx265-146:i386 [2.6-3~mx17+1 (mx)]                                

      Downgrade the following packages:                                     
6)      libavcodec57 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]       
7)      libavcodec57:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]  
8)      libavresample3 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]     
9)      libavresample3:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]
10)     libavutil55 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]        
11)     libavutil55:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]   
12)     libswresample2 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)]     
13)     libswresample2:i386 [7:3.4.2-1~mx17+1 (now) -> 7:3.3.4-1mx17+2 (mx)] 
You have some newer ffmpeg packages from the test repo that have since been superceded by ffmeg 4.1.4, and they can safely be dowgraded. Please edit the title of the first post in this thread to add [SOLVED] if this works as it should.

User avatar
strider
Forum Novice
Forum  Novice
Posts: 3
Joined: Mon Jul 15, 2019 9:46 am

Re: gufw being removed by the latest updates

#10

Post by strider » Sun Aug 11, 2019 5:50 pm

is this typical of MX - i am still trying to get access to another laptop to try MX and hate to crash the one that is working perfectly using another distro - but am very interested in MX. thanks.

Post Reply

Return to “MX Help”