[oi-dev] IPS package

G B g_patrickb at yahoo.com
Mon May 11 15:12:09 UTC 2020


 
Thanks everyone.  I moved the installation from /opt to /opt/local and it completed successfully.
root at pluto:/# pkg install racket at 7.7
           Packages to install:  1
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                1/1   23542/23542  130.7/130.7      --

PHASE                                          ITEMS
Installing new actions                   25819/25819
Updating package state database                 Done 
Updating package cache                           0/0 
Updating image state                            Done 
Creating fast lookup database                   Done 


    On Monday, May 11, 2020, 9:36:42 AM CDT, G B <g_patrickb at yahoo.com> wrote:  
 
  I created a new local repo. Then set it to search first:
root at dsg11:/# pkg set-publisher --sticky --search-before openindiana.org -g file:///my-localrepo mylocalpublisher
root at dsg11:/# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
mylocalpublisher              origin   online F file:///my-localrepo/
openindiana.org              origin   online F http://pkg.openindiana.org/hipster/
hipster-encumbered              origin   online F http://pkg.openindiana.org/hipster-encumbered/


root at pluto:/# pkg install racket at 7.7
Creating Plan (Checking for conflicting actions): -
pkg install: The requested change to the system attempts to install multiple actions
for dir 'opt' with conflicting attributes:

    1 package delivers 'dir group=bin mode=0755 owner=root path=opt':
        pkg://mylocalpublisher/racket@7.7,5.11:20200511T142327Z
    1 package delivers 'dir group=sys mode=0755 owner=root path=opt':
        pkg://openindiana.org/SUNWcs@0.5.11,5.11-2020.0.1.19662:20200503T194230Z


These packages cannot be installed together. Any non-conflicting subset
of the above packages can be installed.



    On Monday, May 11, 2020, 9:30:43 AM CDT, G B via oi-dev <oi-dev at openindiana.org> wrote:  
 
 I attempted to create an IPS package of Racket, the programming language, and everything seemed to have worked correctly.  But when I tried to install it from my local repository it fails.
root at pluto:/# pkg install racket

pkg install: The following pattern(s) only matched packages that are not available
for the current image's architecture, zone type, and/or other variant:
        racket

These are the steps I used:# pkgsend generate racket | pkgfmt > racket.p5m.1
# cat racket_manifest
set name=pkg.fmri value=racket at 7.7,5.11-0
set name=pkg.description value="Racket programming language"
set name=pkg.summary value="Racket is a general-purpose programming language as well as the world’s first ecosystem for language-oriented programming."
set name=variant.arch value=$(ARCH)
# pkgmogrify racket.p5m.1 racket_manifest | pkgfmt > racket.p5m.2
# pkgdepend generate -md racket racket.p5m.2 | pkgfmt > racket.p5m.3
# pkgdepend resolve -m racket.p5m.3# pkglint racket.p5m.3.re# pkgrepo create local-repository
# pkgrepo -s local-repository set publisher/prefix=localpublisher
# pkgsend -s local-repository publish -d racket racket.p5m.3.res# pkg set-publisher -p local-repository# pkg install racketThen I get the error shown above. This is on OpenIndiana 2020504. The working directory is racket and the tree is /racket/opt/racket-7.7

Thanks.

 



_______________________________________________
oi-dev mailing list
oi-dev at openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20200511/990a950e/attachment-0005.html>


More information about the oi-dev mailing list