Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#35303 - [pacman] paccache does not delete packages

Attached to Project: Pacman
Opened by John (graysky) - Wednesday, 15 May 2013, 08:08 GMT
Last edited by Allan McRae (Allan) - Wednesday, 15 May 2013, 08:17 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info: Running `paccache -vrk 2` reports that it deleted packages but I believe that they remain on my file system.

pacman 4.1.1-1

Steps to Reproduce:

1) paccache -vrk 2
2) Inspect the contents of /var/cache/pacman/pkg to find >2 versions of packages. For example:

% paccache -vrk 2
==> Privilege escalation required
xargs: Cannot open input file `/dev/fd/63': No such file or directory

==> finished: 37 packages removed (diskspace saved: 156.04 MiB)


% find /var/cache/pacman/pkg -name 'linux-3*.xz'
/var/cache/pacman/pkg/linux-3.9.2-1-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/linux-3.9-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/linux-3.8.11-1-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/linux-3.8.4-1-i686.pkg.tar.xz
/var/cache/pacman/pkg/linux-3.8.6-1-i686.pkg.tar.xz

If I repeat the remove command, I get the same output (report of removing 37 packages) which is different from previous version. In previous versions, the script reports nothing to remove.

This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 15 May 2013, 08:17 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#35173 

Loading...