You are not logged in.

#1 2022-04-15 13:51:12

mocambo
Member
Registered: 2017-09-24
Posts: 27

Paccache doesn't delete packages from another arch

Hello !

This bug probably is not specific to Archlinux32. Currently my repositories are switched to 'pentium4' arch (after transition from Manjaro i686). Now I discovered in /var/cache/pacman/pkg about 1.16Gb of 'i686' package archives downloaded before transition to 'pentium4'. When performing 'paccache -dv', it sees only 'pentium4' and 'any' packages. All 'i686', even package archives of uninstalled programs remain untouched.

I experimented also with arch specified:

# paccache -dvk0 -a i686
...
==> finished dry run: 960 candidates (disk space saved: 1.16 GiB)   // All i686 package archives, even those that are installed and not subject to deletion

# paccache -dvk1 -a i686
==> no candidate packages found for pruning

# paccache -dvu -a i686
==> no candidate packages found for pruning

My goal is to delete all older cached package archives, but last 3 versions of installed packages. The easiest way to just remove all files containing "i686" string. But the only problem, that some installed programs have only 'i686' version archived and doesn't have any newer upgrade from 'pentium4' repository.

Offline

#2 2022-04-15 15:23:32

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: Paccache doesn't delete packages from another arch

Sounds like paccache from pacman-contrib is not adapted to Arch32's subarchitectures..

Offline

#3 2022-04-15 19:19:38

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,179

Re: Paccache doesn't delete packages from another arch

# pacman -Sc

...opens a session which will delete all uninstalled packages.  It's what I used after I transistioned from i868 to penium4 back in the day., an d last time I checked I still have a handful of i686 packages left over.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB