FS#5696 - srcpac fails if there is nothing to update

Attached to Project: Pacman
Opened by Julien MISCHKOWITZ (wain) - Saturday, 28 October 2006, 09:44 GMT
Last edited by Allan McRae (Allan) - Thursday, 28 August 2008, 04:30 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To Jason Chu (jason)
Architecture All
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

srcpac fails when upgrading if there is nothing to update:

$ srcpac -Su
error: no targets specified
usage: pacman {-S --sync} [options] [package]
options:
-c, --clean remove old packages from cache directory (use -cc for all)
-d, --nodeps skip dependency checks
-f, --force force install, overwrite conflicting files
-g, --groups view all members of a package group
-i, --info view package information
-l, --list list all packages belonging to the specified repository
-p, --print-uris print out download URIs for each package to be installed
-s, --search search remote repositories for matching regexps
-u, --sysupgrade upgrade all packages that are out of date
-w, --downloadonly download packages but do not install/upgrade anything
-y, --refresh download fresh package databases from the server
--ignore <pkg> ignore a package upgrade (can be used more than once)
--config <path> set an alternate configuration file
--noconfirm do not ask for any confirmation
--noprogressbar do not show a progress bar when downloading files
-v, --verbose be verbose
-r, --root <path> set an alternate installation root
-b, --dbpath <path> set an alternate database location

This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 28 August 2008, 04:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  Looks fixed to me...
Comment by Andrew Fyfe (space-m0nkey) - Friday, 13 April 2007, 17:18 GMT
A rediffed patch, the file above wouldn't apply cleanly.
Comment by Allan McRae (Allan) - Wednesday, 20 August 2008, 16:01 GMT
This appears to have been fixed with the commit here:
http://projects.archlinux.org/?p=srcpac.git;a=commitdiff;h=97a94ddd
Comment by Dan McGee (toofishes) - Thursday, 28 August 2008, 04:00 GMT
Close this? I'll leave it up to you Allan, you seem to have found something that matches.

Loading...