Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244013

Re: freeing up some space

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: freeing up some space
Date 2022-01-15 17:00 +0100
Message-ID <DFTDb-6L2-1@gated-at.bofh.it> (permalink)
References <DEu4a-6fh-11@gated-at.bofh.it> <DEv0e-6O5-1@gated-at.bofh.it> <DEx21-89Q-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Ma, 11 ian 22, 16:32:20, Roy J. Tellason, Sr. wrote:
> On Tuesday 11 January 2022 02:25:47 pm Cindy Sue Causey wrote:
> > On 1/11/22, Roy J. Tellason, Sr. <roy@rtellason.com> wrote:
> > > So I'm poking around with mc,  and happened across /var/cache/apt/archives
> > > which has a LOT of *.deb files in it, and which seems to include many
> > > versions of the same package,  some of them many years old,  going all the
> > > way back to 2013.  I guess I've been running debian a little longer than I'd
> > > thought...
> > >
> > > Is it okay to just delete older versions of these files?  Or should I be
> > > doing something using one of the package management tools?  
> 
> Apparently the info about what's in this directory is also stored in 
> some database somewhere,  so just going in there and deleting a bunch 
> of stuff will probably break something...

[citation needed]
 
> Somebody (maybe more than one somebody) suggested a "clean" option,  
> but apparently that will get rid of *ALL* of those files.  I'd kinda 
> prefer to keep the most recent of any of them that are still being 
> used.  In perusing the docs for aptitude,  I see that there's an 
> option in there to "clean obsolete files",  which sounds like it'll do 
> just that.  I don't see such an option in apt-get,  or elsewhere (so 
> far).

The manpage for apt-get just doesn't refere to them as "obsolete" but 
"largely useless"[1].

Regarding aptitude, you might want to take note of the difference 
between "obsolete files" and "obsolete packages". Both are interesting 
for your needs, especially after a dist/full-upgrade.

[1] just because a package can't be downloaded anymore from any 
/configured/ repository doesn't actually mean it's useless or obsolete.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

freeing up some space "Roy J. Tellason, Sr." <roy@rtellason.com> - 2022-01-11 19:30 +0100
  Re: freeing up some space Dan Ritter <dsr@randomstring.org> - 2022-01-11 20:00 +0100
  Re: freeing up some space Brian <ad44@cityscape.co.uk> - 2022-01-11 20:00 +0100
  Re: freeing up some space Cindy Sue Causey <butterflybytes@gmail.com> - 2022-01-11 20:30 +0100
    Re: freeing up some space David Wright <deblis@lionunicorn.co.uk> - 2022-01-11 21:10 +0100
    Re: freeing up some space "Roy J. Tellason, Sr." <roy@rtellason.com> - 2022-01-11 22:40 +0100
      Re: freeing up some space "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-11 22:50 +0100
      Re: freeing up some space Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-15 17:00 +0100
  Re: freeing up some space "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-11 21:10 +0100
    Re: freeing up some space Kent West <westk@acu.edu> - 2022-01-11 22:10 +0100
      Re: freeing up some space "c. marlow" <debian@cwm030.com> - 2022-01-11 23:20 +0100
        Re: freeing up some space "c. marlow" <debian@cwm030.com> - 2022-01-11 23:30 +0100
        Re: freeing up some space Dan Ritter <dsr@randomstring.org> - 2022-01-11 23:40 +0100
    Re: freeing up some space Brian <ad44@cityscape.co.uk> - 2022-01-12 00:20 +0100
      Re: freeing up some space David Wright <deblis@lionunicorn.co.uk> - 2022-01-12 00:30 +0100
      Re: freeing up some space Greg Wooledge <greg@wooledge.org> - 2022-01-12 00:30 +0100
  Re: freeing up some space Marco Möller <talby@debianlists.mobilxpress.net> - 2022-01-11 23:10 +0100
    Re: freeing up some space Ralph Katz <ralph@ralphkatz.com> - 2022-01-12 04:20 +0100
  Re: freeing up some space David Christensen <dpchrist@holgerdanske.com> - 2022-01-12 05:10 +0100
    Re: freeing up some space "Roy J. Tellason, Sr." <roy@rtellason.com> - 2022-01-12 17:00 +0100
  Re: freeing up some space David Wright <deblis@lionunicorn.co.uk> - 2022-01-12 06:50 +0100
    Re: freeing up some space "Roy J. Tellason, Sr." <roy@rtellason.com> - 2022-01-12 17:10 +0100

csiph-web