Re: [Pkgutil-users] pkgutil 2.2 not handling missing catalog entries correctly
Status: Beta
Brought to you by:
bonivart
|
From: Peter B. <bon...@op...> - 2011-01-28 16:50:27
|
On Fri, Jan 28, 2011 at 12:43 PM, Mark R Bannister <ma...@pr...> wrote: > Hi Peter, > > I've hit a snag with pkgutil whereby when using packages in the catalog that depend on packages not in the catalog (that are, for example, part of the Solaris installation), the "not in catalog" response from parse_catalog() is incorrectly ignored resulting in a misleading "cyclic dependency error". This affects package installs, removes and the --deptree option. > > The fix is simply to find all mode 6 calls to parse_catalog() and process a "not in catalog" response in exactly the same way as a "none" response. After all, in order to determine dependencies, if a package is not in the catalog it must be treated as if it has no dependencies. Thank you Mark, I will apply your patch and test it. /peter |