Jump to content

Warning when installing RPM's over http


Johnny Ljunggren
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Edited by tyme
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.
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.
I'll see how much work it will be to use wget before installing. Thanks

wget http://server/rpm/somepackage.rpm
rpm -Uvh somepackage.rpm

Edited by tyme
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...