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#35514 - pacman -U allows installing packages without a pkgrel

Attached to Project: Pacman
Opened by Andrew Gregory (andrewgregory) - Tuesday, 28 May 2013, 03:35 GMT
Last edited by Allan McRae (Allan) - Tuesday, 15 October 2013, 02:47 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version git
Due in Version 4.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

pacman -U will happily install a package with a version with no release but then can't read the resulting db entry because it requires the directory to include the release number.

Steps to Reproduce:

cat <<PKGINFO > .PKGINFO
pkgname = test
pkgver = 1
PKGINFO

bsdtar -cf test.pkg.tar .PKGINFO
sudo pacman -U test.pkg.tar
pacman -Qi test
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 15 October 2013, 02:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit e049bb8b
Comment by Allan McRae (Allan) - Tuesday, 28 May 2013, 03:41 GMT
I would have assumed the arch field was needed too.

Confirming what is minimally required currently and checking for that in upgrade operations is a good idea!
Comment by Allan McRae (Allan) - Tuesday, 28 May 2013, 03:41 GMT
  • Field changed: Due in Version (Undecided → 4.2.0)
Targeted for 4.2.0. If this is a nicely self contained patch, we can look at 4.1.x.
Comment by Allan McRae (Allan) - Monday, 14 October 2013, 11:13 GMT

Loading...