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#9279 - updatesync does not correctly delete packages

Attached to Project: Pacman
Opened by Alex Merry (pippin) - Monday, 21 January 2008, 01:47 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 February 2008, 16:34 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version 3.1.0
Due in Version 3.1.2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

If you use the command line
updatesync del repo.db.tar.gz package-name
updatesync will not delete the package, but instead give an error.

There are two issues: line 147 uses $1 instead of $option (so picks up "del" every time), and line 119 checks for the existence of the file given by $option, despite the fact that it is not a filename in this case.

The attached diff fixes these problems.
This task depends upon

Closed by  Dan McGee (toofishes)
Saturday, 02 February 2008, 16:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in maint commit b1103a3eaf0c6bb2982ac90000628baa2d5c2079
Comment by Roman Kyrylych (Romashka) - Monday, 21 January 2008, 08:08 GMT
AFAIR gensync and updatesync are deprecated in favour of repo-add/repo-remove

Loading...