Re: [Pkgutil-users] pkgutil bug -U not honouring -T
Status: Beta
Brought to you by:
bonivart
|
From: Peter B. <bon...@op...> - 2010-10-01 13:08:13
|
On Tue, Aug 3, 2010 at 1:41 PM, <ma...@pr...> wrote: > Using pkgutil 2.1 on an i386 machine: > > # pkgutil -T sparc:5.10 -W . -U > => Fetching new catalog and descriptions (http://www.grangefields.co.uk/mirrors/csw/current/i386/5.10) if available ... > --12:32:56-- http://www.grangefields.co.uk/mirrors/csw/current/i386/5.10/catalog > => `./catalog.www.grangefields.co.uk_mirrors_csw_current_i386_5.10' > > ... downloads the i386 catalogue, ignoring the -T argument. > > # pkgutil -T sparc:5.10 -W . -d pca > => Fetching new catalog and descriptions (http://www.grangefields.co.uk/mirrors/csw/current/sparc/5.10) if available ... > --12:33:29-- http://www.grangefields.co.uk/mirrors/csw/current/sparc/5.10/catalog > => `./catalog.www.grangefields.co.uk_mirrors_csw_current_sparc_5.10' > > ... fetches the sparc catalogue, honouring the -T argument. I think this is mostly a question of not checking properly for valid combos of arguments. When you use -T and -d together, which makes sense, it works as expected. -- /peter |