You are not logged in.

#1 2015-10-15 09:33:18

sakishrist
Member
Registered: 2012-03-04
Posts: 42

Old packages automatically removed from cache?

Hello *,

I have run in to one of those issues where I need to downgrade to get to a stable point because of broken packages.

Thing is, my cache does not contain any older packages. I can not find a service that would do this and I'm out of ideas on what could be causing this. I cannot think of anything else other than a service, since I do not clean the cache myself.

Any ideas on what I could try to figure this out?

Thanks!

Offline

#2 2015-10-15 09:37:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Old packages automatically removed from cache?

As far as I know, unless you deleted them, they stay there.  Several programs including pacman itself can do this but again, a user needs to run them.  Try the ARM to retrieve older packages.  See the wiki for arch rollback machine.

Offline

#3 2015-10-15 10:30:51

sakishrist
Member
Registered: 2012-03-04
Posts: 42

Re: Old packages automatically removed from cache?

Thanks. Yes, that's what I've done. But I would really like to solve the main problem. Any ideas on what I could look for?

I have done this to see if paccache or anything that cleans the cache is mentioned anywhere with no success:
sudo grep -R paccache /etc/
sudo find /etc/ -iname *paccache*
sudo grep -R 'pacman -Sc' /etc/

Could yaourt be causing this?

Offline

#4 2015-10-15 11:28:09

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Old packages automatically removed from cache?

There is to my knowledge no service or software that clean the cache automatically. Pacman has an option to do this (-c). Maybe you have used this option inadvertently?

Last edited by olive (2015-10-15 11:28:30)

Offline

#5 2015-10-15 13:59:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: Old packages automatically removed from cache?

Do you use pacman to update, or one of the wrappers?

Offline

#6 2015-10-15 14:13:37

sakishrist
Member
Registered: 2012-03-04
Posts: 42

Re: Old packages automatically removed from cache?

Sometimes I use yaourt -Syu. That's why I was suspecting it to be the culprit.

Off-topic: I'll make sure to find a nice postcard.

Offline

#7 2015-10-15 22:54:05

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: Old packages automatically removed from cache?

sakishrist wrote:

Sometimes I use yaourt -Syu. That's why I was suspecting it to be the culprit.

It is - I'm not sure if you can tell it to stop.

Off-topic: I'll make sure to find a nice postcard.

Thanks!

Offline

#8 2015-10-15 23:13:31

Blasphemist
Member
From: Colorado
Registered: 2013-01-17
Posts: 160

Re: Old packages automatically removed from cache?

It's my understanding that using yaourt for updating or installing packages from the repositories does not change how the package cache is used from how is done by pacman. Yaourt does control how packages are cached or not when installing or updating packages from the AUR. So I'd start from the information at this link to work this out.
https://wiki.archlinux.org/index.php/Pa … kage_cache


Simple and Open

Offline

#9 2015-10-15 23:16:24

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: Old packages automatically removed from cache?

Blasphemist wrote:

It's my understanding that using yaourt for updating or installing packages from the repositories does not change how the package cache is used from how is done by pacman. Yaourt does control how packages are cached or not when installing or updating packages from the AUR. So I'd start from the information at this link to work this out.
https://wiki.archlinux.org/index.php/Pa … kage_cache

I have seen a screenshot of yaourt asking to clear the cache after a "yaourt -Syu".   Perhaps that has changed.

Offline

#10 2015-10-15 23:45:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: Old packages automatically removed from cache?

I would say that it is a shell script, so one could just check.  But then I just tried.  I'd recommend that one bring a hefty supply of breadcrumbs before they try that themselves.  I ran out.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

Board footer

Powered by FluxBB