[OpenIndiana-discuss] clear obsolete pkg listing
alan.coopersmith at oracle.com
Sun Feb 19 17:00:29 UTC 2012
On 02/19/12 08:42 AM, Anil Jangity wrote:
> I just upgraded from 134b to 151a2. It seems there is a "r" flag (rename) under Obsolete column. So, if the package was renamed, why do I still see this under old name? Is there a way to clear them?
> I am guessing this might be because there are some packages that are dependent on others, under the old package name?
Yes - you should be able to use pkg search to find them, as shown
in the examples in pkg(1) man page:
Example 8 Search for Packages that Depend on the Specified
Search for installed packages that depend on package/pkg.
$ pkg search -l 'depend::package/pkg'
INDEX ACTION VALUE PACKAGE
incorporate depend package/pkg at 0.5.11-0.169
pkg:/consolidation/ips/ips-incorporation at 0.5.11-0.169
require depend package/pkg at 0.5.11-0.169 pkg:/system/install at 0.5.11-0.169
require depend package/pkg at 0.5.11-0.169
pkg:/package/pkg/system-repository at 0.5.11-0.169
I wouldn't be surprised if "developer/sunstudioexpress (opensolaris.org)
0.2009.3.1-0.111" is at fault as the renaming from SUNW* names to the
new multipart names happened at 133, well after the build 111 that was from,
and many of the packages do appear to be things like libraries & build tools
that the developer/compiler package would need.
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the OpenIndiana-discuss