[bug-notifications] [pkg_get 0003026]: package installation from testing fails with: Need TWO args to newer_rev
Mantis Bug Tracker
noreply at opencsw.org
Sat Feb 28 17:02:20 CET 2009
The following issue has been CLOSED
======================================================================
http://opencsw.org/mantis/view.php?id=3026
======================================================================
Reported By: skayser
Assigned To:
======================================================================
Project: pkg_get
Issue ID: 3026
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2009-01-18 18:10 CET
Last Modified: 2009-02-28 17:02 CET
======================================================================
Summary: package installation from testing fails with: Need
TWO args to newer_rev
Description:
Tried to install a package from testing as described on
http://mirror.opencsw.org/testing.html, but after download the catalog and
descriptions files pkg-get just says: Need TWO args to newer_rev.
======================================================================
----------------------------------------------------------------------
(0005491) skayser (administrator) - 2009-01-18 18:14
http://opencsw.org/mantis/view.php?id=3026#c5491
----------------------------------------------------------------------
Doh, forgot the version information again ...
# pkginfo -x CSWpkgget
CSWpkgget pkg_get - CSW version of automated package download tool
(all) 4.0.1,REV=2008.12.15
----------------------------------------------------------------------
(0005495) harpchad (reporter) - 2009-01-21 19:09
http://opencsw.org/mantis/view.php?id=3026#c5495
----------------------------------------------------------------------
This occurs for me as well when using the testing catalog. It looks like
it's because the testing catalog does not have all packages in it, so
get_remote_pkgversion returns null for the package version of packages it
didn't find. This causes newer_rev to be called with a single argument
(local revision, no remote revision). I attached a patch that makes
get_remote_pkgversion return 0 for the revision when it doesn't find a
revision in the catalog.
----------------------------------------------------------------------
(0005590) phil (manager) - 2009-02-28 17:02
http://opencsw.org/mantis/view.php?id=3026#c5590
----------------------------------------------------------------------
i think this is either as chad says, or the LC_ALL bug/issue.
I dont like chad's patch, because it IS an ERROR to have missing
dependancies.
so.. closing this.
PS: at one point, I'm going to allow "shadow repository", which will fix
this issue; you'll be able to set testing as that repository so it will all
work out nicer in the future.
Issue History
Date Modified Username Field Change
======================================================================
2009-01-18 18:10 skayser New Issue
2009-01-18 18:14 skayser Note Added: 0005491
2009-01-21 19:09 harpchad Note Added: 0005495
2009-01-21 19:09 harpchad File Added: pkgget_get_remote_pkgversion.patch
2009-02-28 17:02 phil Note Added: 0005590
2009-02-28 17:02 phil Status new => closed
======================================================================
More information about the bug-notifications
mailing list