Johnny Ljunggren Posted October 21, 2008 Report Share Posted October 21, 2008 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 Quote Link to comment Share on other sites More sharing options...
tyme Posted October 21, 2008 Report Share Posted October 21, 2008 (edited) 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 October 21, 2008 by tyme Quote Link to comment Share on other sites More sharing options...
Johnny Ljunggren Posted October 21, 2008 Author Report Share Posted October 21, 2008 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 Quote Link to comment Share on other sites More sharing options...
tyme Posted October 21, 2008 Report Share Posted October 21, 2008 (edited) 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 October 21, 2008 by tyme Quote Link to comment Share on other sites More sharing options...
David Batson Posted October 22, 2008 Report Share Posted October 22, 2008 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 22, 2008 Report Share Posted October 22, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.