LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2018, 11:56 AM   #16
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909

Quote:
Originally Posted by forgetmenot View Post
None of those recommended packages appear to be installed on my system.

I check this by invoking 'dpkg -l <package_name>'. Correct?
Oh well, there goes that theory.

You don't have Suggests set to true?

Code:
apt-config dump | grep Suggests
Also, does your system complain if you try a simple:

Code:
apt purge mesa-utils
 
Old 11-28-2018, 03:06 PM   #17
forgetmenot
LQ Newbie
 
Registered: Sep 2018
Posts: 17

Original Poster
Rep: Reputation: Disabled
Here's what I get

$
Code:
apt-config dump | grep Suggests
>
Code:
APT::Install-Suggests "0";


#
Code:
apt purge mesa-utils
>
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  compton dconf-cli libconfig9 mate-indicator-applet
  mate-indicator-applet-common python3-psutil python3-setproctitle
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  mate-tweak* mesa-utils*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1,124 kB disk space will be freed.
Do you want to continue? [Y/n]
 
Old 11-28-2018, 03:35 PM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909
Thanks. So "Suggests" isn't the problem.

I assumed for the last command that your system did not have mate-tweak installed. Could you purge mate-tweak, confirm that mesa-tools still isn't listed in the packages recommended for auto removal, and then try purging mesa-tools again. I would like to see if apt complains that anything else on your system is preventing its removal.
 
Old 11-28-2018, 03:51 PM   #19
forgetmenot
LQ Newbie
 
Registered: Sep 2018
Posts: 17

Original Poster
Rep: Reputation: Disabled
No I've been able to remove mesa-utils with no objections from apt.

https://i.imgur.com/PjwPDuq.png


By the way, do you know why mate-tweak and mesa-utils were marked by '*'?

Last edited by forgetmenot; 11-28-2018 at 03:52 PM.
 
Old 11-28-2018, 04:01 PM   #20
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909
Quote:
Originally Posted by forgetmenot View Post
No I've been able to remove mesa-utils with no objections from apt.

https://i.imgur.com/PjwPDuq.png

By the way, do you know why mate-tweak and mesa-utils were marked by '*'?
Ah, well in that case I have not got much further with explaining what you're seeing. Sorry about that. There will be some sort of logical explanation as to why mesa-utils is excluded from the dependencies marked "to be autoremoved", but I just can't see it. Your frustration is justified, unless you can find a good explanation for this behaviour. I assume that you have had a good trawl of the web to see if anyone has encountered and/or discussed the issue? You could also create a bug report for apt.

The asterisk in the output indicates that the package's configuration files will also be removed (i.e. it is a purge, not just a remove).
 
Old 11-29-2018, 11:21 PM   #21
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 422
Blog Entries: 16

Rep: Reputation: Disabled
I think you may find the following page informative: https://www.debian.org/doc/manuals/a...s05s05.en.html. Specifically, the: APT::AutoRemove::RecommendsImportant; and APT::AutoRemove::SuggestsImportant options, which disallow package auto-removal based on Recommends and Suggests if True (they're True by default, at least on my recent-ish Debian 9 installation).

I was able to replicate the OP's scenario on my local Debian. I couldn't bring myself to see if removing all Suggested rdepends of mesa-utils would allow the autoremoval of mesa-utils itself. But it did autoremove as soon as I uninstalled each Recommended dependency and then set APT::AutoRemove::SuggestsImportant "false".

Temporarily, I set 'APT::AutoRemove::RecommendsImportant "false" and a scary list of possible auto-removals was presented, at which point I reversed that setting.

I'm a little concerned that finding any documentation about this behavior was tricky to locate. May be just a local problem...
 
Old 11-30-2018, 01:15 AM   #22
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,759

Rep: Reputation: 566Reputation: 566Reputation: 566Reputation: 566Reputation: 566Reputation: 566
aptitude is my tool of choice for this type of thing, but i donít think itís installed by default on Stretch.
Code:
aptitude why mesa-utils
or use the ncurses interface and look around.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 12 04-25-2019 08:33 AM
LXer: Finding Out Package Dependencies With apt-rdepends On Debian/Ubuntu LXer Syndicated Linux News 0 12-19-2011 07:50 AM
Track down unused dependencies KMBS Slackware 5 02-11-2010 09:15 AM
apt not removing dependencies JetJock Debian 11 06-18-2005 03:09 AM
how do I "apt-get install" without removing dependencies? suse2166 Linux - Software 4 12-26-2004 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration