SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-01-11 14:02:53

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

sudo apt-get remove --auto-remove --> it doesn't!

 11 Jan 14 | 10:15:59 ~
    $ sudo apt-get install --no-install-recommends wajig
{snip}
The following extra packages will be installed:
  python3-apt
The following NEW packages will be installed:
  python3-apt wajig
{snip}
Do you want to continue [Y/n]? y
{snip}
 11 Jan 14 | 10:16:21 ~
    $ 

Last edited by Sector11 (2014-01-11 14:04:38)

Offline

Be excellent to each other!

#2 2014-01-11 15:06:57

ratcheer
#! Junkie
From: central Alabama
Registered: 2013-07-23
Posts: 338

Re: sudo apt-get remove --auto-remove --> it doesn't!

My understanding seems to match yours. Maybe you should open a bug.

Tim

Offline

#3 2014-01-11 15:28:04

g33zr
#! Die Hard
From: Never Never Land
Registered: 2013-02-19
Posts: 635

Re: sudo apt-get remove --auto-remove --> it doesn't!

I've experienced a similar issue when I remove a app, but can't seem to remove the dependencies.

Offline

#4 2014-01-11 17:04:53

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: sudo apt-get remove --auto-remove --> it doesn't!

Offline

#5 2014-01-11 17:19:27

Unia
#! Octo-portal-pussy
From: The Netherlands
Registered: 2010-07-17
Posts: 4,634
Website

Re: sudo apt-get remove --auto-remove --> it doesn't!

Offline

#6 2014-01-11 17:30:54

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 3,207

Re: sudo apt-get remove --auto-remove --> it doesn't!


Point & Squirt

Offline

#7 2014-01-11 17:39:22

Unia
#! Octo-portal-pussy
From: The Netherlands
Registered: 2010-07-17
Posts: 4,634
Website

Re: sudo apt-get remove --auto-remove --> it doesn't!

Huh?

Offline

#8 2014-01-11 19:25:25

g33zr
#! Die Hard
From: Never Never Land
Registered: 2013-02-19
Posts: 635

Re: sudo apt-get remove --auto-remove --> it doesn't!

@ hhh: good point and well taken. I recently borked #! by being perhaps overzealous with removing apps and dependencies. On the other hand, the fresh install was...ah..."refreshing"!  big_smile

Offline

#9 2014-01-12 01:43:07

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: sudo apt-get remove --auto-remove --> it doesn't!

Hi Sextor wink Happy new year!

There is a nice tool for cleaning up the dependency mess:

sudo apt-get install deborphan
sudo orphaner --purge

also available as gtkorphan for the GUIs smile

Offline

#10 2014-01-12 10:54:21

vic
#! by Default
From: /grill
Registered: 2009-02-13
Posts: 3,361

Re: sudo apt-get remove --auto-remove --> it doesn't!

Thanks for the orphaner tool tip machinebacon, will be useful after an install & tweak spree   big_smile


Time to move on!#

Offline

#11 2014-01-14 15:31:52

g33zr
#! Die Hard
From: Never Never Land
Registered: 2013-02-19
Posts: 635

Re: sudo apt-get remove --auto-remove --> it doesn't!

@machinebacon: Yes, many thanks. It works! big_smile

Offline

#12 2014-01-17 04:52:53

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: sudo apt-get remove --auto-remove --> it doesn't!

john@raffles3:~$ sudo apt-get install --no-install-recommends  wajig
The following extra packages will be installed:
  dselect
Suggested packages:
  fping reportbug apt-move dpkg-repack gkdebconf lynx gnome-terminal
  gnome-tasksel vrms apt-show-versions
The following NEW packages will be installed:
  dselect wajig
-------
john@raffles3:~$ sudo apt-get remove --auto-remove wajig
The following packages will be REMOVED:
  dselect wajig
0 upgraded, 0 newly installed, 2 to remove and 9 not upgraded.
Removing wajig ...
Removing dselect ...
Processing triggers for man-db ...

Offline

#13 2014-01-17 13:37:17

wuxmedia
wookiee madclaw
From: Back in Blighty
Registered: 2012-03-09
Posts: 1,478
Website

Re: sudo apt-get remove --auto-remove --> it doesn't!

Offline

#14 2014-01-17 15:39:58

wmdiem
#! CrunchBanger
Registered: 2008-12-26
Posts: 187

Re: sudo apt-get remove --auto-remove --> it doesn't!

Offline

#15 2014-01-17 18:04:49

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: sudo apt-get remove --auto-remove --> it doesn't!

I think apt errs on the side of caution when removing singly listed packages.  The autoremove option, on the other hand, has always seemed to be too zealous for me.  Many times if I use autoremove, I find that some program somewhere doesn't function, and I end up re-installing several packages.  This is probably because I sometimes build new software from source.  I also have a few games that require 32 bit libraries - so the autoremove option doesn't usually work for me.  However, that means I usually have about 200 packages in the autoremove list after a year of use...

--- I noticed a potential problem with the rollback script.  It might not function as expected if you use the logrotate log compression utility, since you may have several dpkg.log.x.gz files rather than just a single dpkg.log file... I don't know perl, but it might be better to include a more general method which would include all possible 'standard' log files...

Last edited by retf (2014-01-17 18:05:45)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo