Tugger the SLUGger!SLUG Mailing List Archives

[slug-chat] Re: [SLUG] Open Government- No linux interface for BAS lodgement.


<quote who="Matthew Dalton">

> (moved to slug-chat)

Rock out.

> I thought you'd have something to say in reply to Dean Hamstead's
> enquiry about a "nice quick way of detecting and removing  old library
> versions". Doesn't Debian have a utility that can give you all of the
> library packages that nothing depend on?

I didn't think of that... Yeah, orphan. It's pretty cool.

  apt-get --purge remove `deborphan`

That'll give you a list of what it's going to remove. If you just type
'deborphan', it spews out a list. Here's what mine just did:

  lazarus: ~
  $ apt-get --purge remove `deborphan`
  Reading Package Lists... Done
  Building Dependency Tree... Done
  The following packages will be REMOVED:
    libgal2* libgd-gif1* libnautilus0* mozilla-dev* 
  0 packages upgraded, 0 newly installed, 4 to remove and 0  not upgraded.
  Need to get 0B of archives. After unpacking 72.0MB will be freed.
  Do you want to continue? [Y/n] y
  (Reading database ... 51127 files and directories currently installed.)
  Removing libgal2 ...
  Removing libgd-gif1 ...
  Removing libnautilus0 ...
  Removing mozilla-dev ...

Sweet. There's also cruft, but it's very much in development, and isn't
really what you'd call a standard Debian tool yet. :)

> I swear that Paul guy sounded like he's about 13 years old.

Supposedly, he's not. :)

- Jeff


-- jdub@xxxxxxxxxxx ------------------------------- http://lwn.net/daily/ --

     "Just because I sit in front of a terminal all day doesn't mean I      
      couldn't hunt you down and rightiously kick your ass to feed my
          newfound cannabalism." - Darwinian System Administration