On 07/24/18 08:16 PM, Reginald Beardsley via openindiana-discuss wrote:

Can anyone explain what's going on here:

# pkg search openoffice
INDEX      ACTION VALUE                                     PACKAGE
pkg.fmri   set    openindiana.org/desktop/office/openoffice 
pkg:/desktop/office/openoffice@4.1.2-2016.0.1.0
# pkg install openoffice
No updates necessary for this image.
# pkg info openoffice
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try querying remotely instead:

         openoffice


pkg goes through the usual gyrations of making a plan, etc and then says no updates are 
needed.  Running "find / -name '*office*' " does not find an executable.


Per pkg(1) 'info' command works only for installed packages. If the package is missing (which is what `pkg` is saying here), one has to add '-r' option:

{global} newman@lenovo:~ $ pkg info -r openoffice
          Name: desktop/office/openoffice
         State: Not installed (Obsolete)
     Publisher: openindiana.org
       Version: 4.1.2
        Branch: 2016.0.1.0
Packaging Date: July  5, 2018 at 09:52:00 PM
          Size: 0.00 B
FMRI: pkg://openindiana.org/desktop/office/openoffice@4.1.2-2016.0.1.0:20180705T215200Z

Also, note the 'State' field.

Michal

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to