[OmniOS-discuss] Problem updating ms-omniti local repo
Lopez, Javier
javier.lopez at trixter.de
Tue Jun 23 16:54:13 UTC 2015
Hello again,
I didn't notice that the server managing the updating process was running r151012 ... I'm sorry for that.
I've upgraded it to the r151014. So now:
>>>
# pkg info pkg
Name: package/pkg
Summary: Image Packaging System
Description: The Image Packaging System (IPS), or pkg(5), is the software
delivery system used on Oracle Solaris. This package contains
the core command-line components and pkg.depotd server.
Category: System/Packaging
State: Installed
Publisher: omnios
Version: 0.5.11
Branch: 0.151014
Packaging Date: April 2, 2015 06:43:07 PM
Size: 11.75 MB
FMRI: pkg://omnios/package/pkg@0.5.11-0.151014:20150402T184307Z
<<<
I've tried again following your instructions. The problem updating the repo is still here, I get the message:
>>>
# pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /mnt/rpm-repo/omnios/ms.omniti.com/ -m all-timestamps '*'
Processing packages for publisher omniti-ms ...
Retrieving catalog 1/1 omniti-ms 115.63 kB
Unable to retrieve package data for publisher 'omniti-ms' from one
of the following origin(s):
http://pkg.omniti.com/omniti-ms/
The catalog retrieved from one of the origin(s) listed above only
contains package data for: ms.omniti.com.
This is either a result of invalid origin information being provided
for publisher 'omniti-ms', or because the wrong publisher name was
provided when this publisher was added.
Retrieving and evaluating 1492 package(s)...
PROCESS ITEMS GET (MB) SEND (MB)
network/iftop 1/1492 0/6591 0/19490
pkgrecv: 'open' failed for transaction ID '1376680458_pkg%3A%2F%2Fms.omniti.com%2Fnetwork%2Fiftop%401.0.2%2C5.11-0.151006%3A20130816T191418Z': The specified FMRI, 'pkg://ms.omniti.com/network/iftop@1.0.2,5.11-0.151006:20130816T191418Z', already exists or has been restricted.
pkgrecv: Cached files were preserved in the following directory:
/var/tmp/pkgrecv-T0Njj3
Use pkgrecv -c to resume the interrupted download.
<<<
As you can see, the initial error is the same as the one I sent to you earlier. This is the error you told me to ignore earlier, and the process does still run but is stopped by the error above as it tries to retrieve packages. Sometimes it is able to retrieve and evaluate a number of packages before it halts.
Are you able to get all the packages even when you get the initial error when you're trying to update the repo? This is the big question for me.
In case this helps, I did the same process with another repo and it works fine:
>>>
# pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /mnt/rpm-repo/omnios/r151014/ -m all-timestamps '*'
Processing packages for publisher omnios ...
Retrieving and evaluating 1882 package(s)...
PROCESS ITEMS GET (MB) SEND (MB)
Completed 865/865 225.9/225.9 541.2/541.2
<<<
If I try again nothing happens (because it is already updated?)
>>>
# pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /mnt/rpm-repo/omnios/r151014/ -m all-timestamps '*'
Processing packages for publisher omnios ...
Retrieving and evaluating 1882 package(s)...
<<<
Before:
>>>
# pkgrepo info -s /mnt/rpm-repo/omnios/r151014/
PUBLISHER PACKAGES STATUS UPDATED
omnios 1016 online 2015-06-14T16:01:01.659806Z
<<<
After:
>>>
# pkgrepo info -s /mnt/rpm-repo/omnios/r151014/
PUBLISHER PACKAGES STATUS UPDATED
omnios 1016 online 2015-06-23T16:19:00.901415Z
<<<
Thank you so much for your time. :)
Regards Javier.
----- Original Message -----
From: "Volker A. Brandt" <vab at bb-c.de>
To: "Javier Lopez" <javier.lopez at trixter.de>
Cc: omnios-discuss at lists.omniti.com, "Trixter IT Dept" <it at trixter.de>
Sent: Wednesday, June 17, 2015 4:15:26 PM
Subject: Re: [OmniOS-discuss] Problem updating ms-omniti local repo
Hi Javier!
> Sorry I forgot to specify we are running 151014
Same here:
pkg in# uname -a
SunOS nfs 5.11 omnios-170cea2 i86pc i386 i86pc
# cat /etc/release
OmniOS v11 r151014
Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
Use is subject to license terms.
# pkg version
1427212657
> I think we had a small misunderstanding though: I don't have a
> problem with creating the repo, I in fact having it working now. I
> used your advice from your second email:
Ah, that is good.
> However, from the beginning, I've had a problem with updating it. I
> continue to receive this error message:
>
> #> pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*'
> Processing packages for publisher omniti-ms ...
> Retrieving catalog ' http://pkg.omniti.com/omniti-ms/ '...
> Unable to retrieve package data for publisher 'omniti-ms' from one
> of the following origin(s):
> http://pkg.omniti.com/omniti-ms/
> The catalog retrieved from one of the origin(s) listed above only
> contains package data for: ms.omniti.com.
> This is either a result of invalid origin information being provided
> for publisher 'omniti-ms', or because the wrong publisher name was
> provided when this publisher was added.
Yes, this message is annoying. I tried to explain what I think why
this message appears. However, the repository is good despite the
message. Just ignore it.
> | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d
> /pkg/ms.omniti.com/ --clone
>
> We ran into a problem with this command-- "pkgrecv: Illegal option
> --p". Any idea what is going on here?
Maybe your pkgrecv simply does not have the -p option. Your version of
pkg(5) might be too old. This is the version I have in my 151014 system:
# pkg info pkg
Name: package/pkg
Summary: Image Packaging System
Description: The Image Packaging System (IPS), or pkg(5), is the software
delivery system used on Oracle # uname -a
SunOS nfs 5.11 omnios-170cea2 i86pc i386 i86pc
# cat /etc/release
OmniOS v11 r151014> However, from the beginning, I've had a problem with updating it. I
> continue to receive this error message:
>
> #> pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*'
> Processing packages for publisher omniti-ms ...
> Retrieving catalog ' http://pkg.omniti.com/omniti-ms/ '...
> Unable to retrieve package data for publisher 'omniti-ms' from one
Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
Use is subject to license terms.
# pkg version
1427212657
> I think we had a small misunderstanding though: I don't have a
> problem with creating the repo, I in fact having it working now. I
> used your advice from your second email:
Ah, that is good.
> However, from the beginning, I've had a problem with updating it. I
> continue to receive this error message:
>
> #> pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*'
> Processing packages for publisher omniti-ms ...
> Retrieving catalog ' http://pkg.omniti.com/omniti-ms/ '...
> Unable to retrieve package data for publisher 'omniti-ms' from one
> of the following origin(s):
> http://pkg.omniti.com/omniti-ms/
> The catalog retrieved from one of the origin(s) listed above only
> contains package data for: ms.omniti.com.
> This is either a result of invalid origin information being provided
> for publisher 'omniti-ms', or because the wrong publisher name was
> provided when this publisher was added.
Solaris. This package contains
the core command-line components and pkg.depotd server.
Category: System/Packaging
State: Installed
Publisher: omnios
Version: 0.5.11
Branch: 0.151014
Packaging Date: Thu Apr 2 18:43:07 2015
Size: 11.75 MB
FMRI: pkg://omnios/package/pkg@0.5.11-0.151014:20150402T184307Z
What does "pkg info pkg" show on your box?
Regards -- Volker
--
------------------------------------------------------------------------
Volker A. Brandt Consulting and Support for Oracle Solaris
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"
More information about the OmniOS-discuss
mailing list