Help - Search - Members - Calendar
Full Version: Warning when installing RPM's over http
MandrivaUsers.org > Advanced Topics > Networking
Johnny Ljunggren
hello

I have set up some systems that will install RPM's over http from a central server
The command I use is rpm -Uvh http://server/rpm/somepackage.rpm

After the installation is finished I always get this warning (different numbers though):
warning: u 0x8003faa0 ctrl 0x8004e0d0 nrefs != 0

Does anyone know what it means and possibly how to get rid of it?

Johnny
tyme
Download the package locally first and then install it (wget works well). trying to install it over the network like you are doing creates a high likelihood of data corruption, as the data isn't getting verified like it normally would with a local save (dropped packets == trouble). I would also recommend using urpmi instead of plain old rpm.

if you are managing several systems, and happen to have Mandriva Corporate Server, you might want to read up on urpmi --parallel.
Johnny Ljunggren
Thanks for the quick reply

The systems run on their own dedicated network and there are usually around 10-15 machines so I'm not too concerned about network problems. It has worked so far but will it create problems in this situation as well?

The rpm's in question are inhouse rpm's and only about ten different packages so I'm not sure what I will gain by using urpmi. I'd be happy to learn though.

I'll see how much work it will be to use wget before installing. Thanks
tyme
QUOTE (Johnny Ljunggren @ Oct 21 2008, 03:55 PM) *
It has worked so far but will it create problems in this situation as well?
It all has to do with data packets getting lost or corrupted. This can happen in any environment, though it's less common in simpler networks or when not reaching across the web.
QUOTE
The rpm's in question are inhouse rpm's and only about ten different packages so I'm not sure what I will gain by using urpmi.
If you don't have to worry about dependencies, then you probably wouldn't have too much to gain.
QUOTE
I'll see how much work it will be to use wget before installing. Thanks

CODE
wget http://server/rpm/somepackage.rpm
rpm -Uvh somepackage.rpm
David Batson
Some days ago I downloaded some rpm's from one of Mandriva's mirrors and saved them for a reinstall of Mandriva at a later date. After I reinstalled Mandriva, I right-clicked on each of the rpm files that I had saved and chose Open with Software Installer. When the install started I received an error message that there was no key. What is this "key" and where is it? Should I have downloaded some "key" file along with the rpms?

I asked the same question at the official forum and did not receive a reply.
ianw1974
It's a gpg key, and when you normally download with urpmi it pulls the key from the mirror so that it knows the signature for the downloaded rpm is safe.

With other distros you get prompted once for the gpg key the first time you download a package with their package manager (yum for example), and then you are fine for the future. Same applies with Mandriva I believe.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.