[oi-dev] IPS package

G B g_patrickb at yahoo.com
Mon May 11 13:30:57 UTC 2020


 I started over and got farther, but now it has a conflict:
root at pluto:/# pkgsend generate racket | pkgfmt > racket.p5m.1
root at pluto:/# pkgmogrify racket.p5m.1 racket_manifest | pkgfmt > racket.p5m.2
root at pluto:/# pkgdepend generate -md racket racket.p5m.2 |pkgfmt > racket.p5m.3
root at pluto:/# pkgdepend resolve -m racket.p5m.3
root at pluto:/# pkglint racket.p5m.3.res 
Lint engine setup...
Starting lint run...
WARNING pkglint.action005.1       obsolete dependency check skipped: unable to find dependency pkg:/SUNWcs at 0.5.11-2020.0.1.19662 for pkg:/racket at 7.7,5.11
WARNING pkglint.action005.1       obsolete dependency check skipped: unable to find dependency pkg:/system/library/math at 0.5.11-2020.0.1.19662 for pkg:/racket at 7.7,5.11
WARNING pkglint.action005.1       obsolete dependency check skipped: unable to find dependency pkg:/system/library at 0.5.11-2020.0.1.19662 for pkg:/racket at 7.7,5.11
root at pluto:/# pkgrepo create myrepo
root at pluto:/# pkgrepo -s myrepo set publisher/prefix=site
root at pluto:/# pkgsend -s myrepo publish -d racket racket.p5m.3.res 
pkg://site/racket@7.7,5.11:20200511T131012Z
PUBLISHED
root at pluto:/# pkgrepo info -s myrepo
PUBLISHER PACKAGES STATUS           UPDATED
site      1        online           2020-05-11T13:13:21.398732Z
root at pluto:/# 
root at pluto:/# pkg set-publisher -p myrepo
pkg set-publisher:
  Updated publisher(s): site
root at pluto:/# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
openindiana.org              origin   online F http://pkg.openindiana.org/hipster/
hipster-encumbered              origin   online F http://pkg.openindiana.org/hipster-encumbered/
site                        origin   online F file:///myrepo/
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://site/racket@7.7,5.11:20200511T131012Z
    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.



Changed the manifest:
root at pluto:/# cat racket_manifest 
set name=pkg.fmri value=racket at 7.7
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.opensolaris.zone value=global value=nonglobal
set name=variant.arch value=i386
root at pluto:/# 


    On Monday, May 11, 2020, 7:53:38 AM CDT, G B <g_patrickb at yahoo.com> wrote:  
 
  My guess is the manifest.  Do I need more than just this?
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)



    On Monday, May 11, 2020, 7:50:26 AM CDT, G B <g_patrickb at yahoo.com> wrote:  
 
  root at pluto:/# pkg install -v racket at 7.7,5.11-0

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 at 7.7,5.11-0



    On Monday, May 11, 2020, 7:43:49 AM CDT, Volker A. Brandt <vab at bb-c.de> wrote:  
 
 G B via oi-dev writes:
> 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

It's always a good idea to do a verbose run, and give the specific 
version of the package you want to install.  In your case:

  # pkg install -v racket at 7.7,5.11-0

This should give you more detailed error messages.  Maybe we can then
figure out what the problem is.


Regards -- Volker
--
------------------------------------------------------------------------
Volker A. Brandt        Consulting and Support for Solaris-based Systems
Brandt & Brandt Computer GmbH                  WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: vab at bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20200511/021dbee2/attachment-0005.html>


More information about the oi-dev mailing list