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.
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.
FS#6726 - repo-add from pacman3 leaves .PKGINFO in current directory
|
DetailsOn parsing the command line arguments, repo-add from pacman3 (using the version from testing here) tries to extract .PKGINFO from the arguments that are files:
if ! tar xf "$arg" .PKGINFO 2>&1 >/dev/null; then This line actually extracts .PKGINFO to the current working directory and does not delete it afterwards, which causes repo-add to leave the .PKGINFO for the last package it checks. Using `tar xOf ...' instead should solve this. I also wonder if the stdout/stderr redirection is correct that way, at least it does not work for me. Using `... &> /dev/null' instead fixes this. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 30 March 2007, 03:33 GMT
Reason for closing: Fixed
Additional comments about closing: In CVS
Friday, 30 March 2007, 03:33 GMT
Reason for closing: Fixed
Additional comments about closing: In CVS
Comment by Aaron Griffin (phrakture) -
Wednesday, 28 March 2007, 15:30 GMT
Good catch. I'll fix this up tonight.
repo-add.diff