[oi-dev] How to kill old sfe package meta-data?

Till Wegmüller toasterson at gmail.com
Thu Aug 30 21:43:20 UTC 2018


Hrmm ips does aparently not keep any Manifests locally. Which is not
nice. One would assume that IPS would keep more data in it's sate
database. Considering it always tries to ensure the system is in a
specific state.

I think there might be a way IPS could continue working even if the
remote deletes manifests.

try pkg update first before installing or uninstalling anything

lets see if the makers of IPS had the same Idea i just had.

On 8/30/18 11:23 PM, Gordon Ross wrote:
> root at vm530gwr# pkg -R /mnt publisher
> PUBLISHER                   TYPE     STATUS P LOCATION
> userland                    origin   online F
> file:///tank/ws/oi-userland/i386/repo/
> openindiana.org <http://openindiana.org> (non-sticky) origin   online F
> http://pkg.openindiana.org/hipster/
> sfe            (disabled)   origin   online F
> http://sfe.opencsw.org/localhostoih/
> root at vm530gwr# pkg -R /mnt uninstall library/mpc
> 
> Errors were encountered while attempting to retrieve package or file
> data for
> the requested operation.
> Details follow:
> 
> http protocol error: Unknown error code: 404 reason: Not Found
> URL:
> 'http://sfe.opencsw.org/localhostoih/manifest/0/sfe%2Flibrary%[email protected]%2C5.11-0.151.1.5%3A20120727T204712Z'
> (happened 4 times)
> 
> root at vm530gwr> 
> 
> On Thu, Aug 30, 2018 at 5:12 PM Till Wegmüller <toasterson at gmail.com
> <mailto:toasterson at gmail.com>> wrote:
> 
> 
>     did you try http://sfe.opencsw.org/localhostoih ?
>     On 8/30/18 11:08 PM, Gordon Ross wrote:
>     > Yeah, thought to try that, but can't find an origin URI that works
>     for this.
>     >
>     >
>     > On Thu, Aug 30, 2018 at 5:03 PM Till Wegmüller
>     <toasterson at gmail.com <mailto:toasterson at gmail.com>
>     > <mailto:toasterson at gmail.com <mailto:toasterson at gmail.com>>> wrote:
>     >
>     >     Hi Gordon
>     >
>     >     You will need to add sfe as publisher for IPS to be happy.
>     >     After uninstall you can remove sfe again.
>     >
>     >     Have you deleted the /var/pkg/cache by any chance?
>     >
>     >     Greetings
>     >     Till
>     >
>     >     On 8/30/18 10:49 PM, Gordon Ross wrote:
>     >     > People will probably want to see:
>     >     >
>     >     > # pkg -R /mnt publisher
>     >     > PUBLISHER                   TYPE     STATUS P LOCATION
>     >     > userland                    origin   online F
>     >     > file:///tank/ws/oi-userland/i386/repo/
>     >     > openindiana.org <http://openindiana.org>
>     <http://openindiana.org> <http://openindiana.org>
>     >     (non-sticky) origin   online F
>     >     > http://pkg.openindiana.org/hipster/
>     >     >
>     >     >
>     >     > On Thu, Aug 30, 2018 at 4:46 PM Gordon Ross
>     >     <gordon.w.ross at gmail.com <mailto:gordon.w.ross at gmail.com>
>     <mailto:gordon.w.ross at gmail.com <mailto:gordon.w.ross at gmail.com>>
>     >     > <mailto:gordon.w.ross at gmail.com
>     <mailto:gordon.w.ross at gmail.com> <mailto:gordon.w.ross at gmail.com
>     <mailto:gordon.w.ross at gmail.com>>>>
>     >     wrote:
>     >     >
>     >     >     I have a system that apparently had an sfe publisher at some
>     >     point.
>     >     >     Now attempts to update userland components run into
>     problems:
>     >     >
>     >     >         # pkg -R /mnt install
>     system/virtualization/open-vm-tools
>     >     >         system/virtualization/open-vm-tools-desktop
>     >     >         Creating Plan (Evaluating mediators): -
>     >     >         Errors were encountered while attempting to retrieve
>     >     package or
>     >     >         file data for
>     >     >         the requested operation.
>     >     >         Details follow:
>     >     >
>     >     >         The requested operation requires that one or more
>     package
>     >     >         repositories are
>     >     >         configured for publisher 'sfe'.
>     >     >         Use 'pkg set-publisher' to add new package
>     repositories or
>     >     >         restore previously
>     >     >         configured package repositories for publisher 'sfe'.
>     >     >
>     >     >
>     >     >     I tried to get rid of the sfe stuff but can't figure out
>     how. 
>     >     Ideas?
>     >     >
>     >     >         root at vm530gwr# pkg list |grep sfe
>     >     >         driver/network/sfe                              
>     >     >          0.5.11-2017.0.0.16842      i--
>     >     >         sfe/library/gmp (sfe)                            
>     >     >         5.0.5-0.151.1.5            i--
>     >     >         sfe/library/mpc (sfe)                            
>     >     1.0-0.151.1.5
>     >     >                      i--
>     >     >         sfe/library/mpfr (sfe)                          
>     >     >          3.1.1-0.151.1.5            i--
>     >     >
>     >     >         root at vm530gwr# pkg uninstall sfe/library/mpc
>     sfe/library/gmp
>     >     >         sfe/library/mpfr
>     >     >         Creating Plan (Finding local manifests): |
>     >     >         Errors were encountered while attempting to retrieve
>     >     package or
>     >     >         file data for
>     >     >         the requested operation.
>     >     >         Details follow:
>     >     >
>     >     >         The requested operation requires that one or more
>     package
>     >     >         repositories are
>     >     >         configured for publisher 'sfe'.
>     >     >         Use 'pkg set-publisher' to add new package
>     repositories or
>     >     >         restore previously
>     >     >         configured package repositories for publisher 'sfe'.
>     >     >         #
>     >     >
>     >     >
>     >     > _______________________________________________
>     >     > oi-dev mailing list
>     >     > oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
>     <mailto:oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>>
>     >     > https://openindiana.org/mailman/listinfo/oi-dev
>     >     >
>     >
>     >     _______________________________________________
>     >     oi-dev mailing list
>     >     oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
>     <mailto:oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>>
>     >     https://openindiana.org/mailman/listinfo/oi-dev
>     >
>     >
>     > _______________________________________________
>     > oi-dev mailing list
>     > oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
>     > https://openindiana.org/mailman/listinfo/oi-dev
>     >
> 
>     _______________________________________________
>     oi-dev mailing list
>     oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
>     https://openindiana.org/mailman/listinfo/oi-dev
> 
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
> 




More information about the oi-dev mailing list