View Full Version : RPM in Linux
i have SuSE Linux 7, haven't updated RPM and it won't let me install a lot of things. Even when they are .src.rpm or .i386.rpm they will not install. I get the message 'only packages with major numbers <=3 are supported'
RPM 4 (source code) wont work!
If you haven't updated your version of rpm do it. They have upgraded rpm since SuSE 7 came out and apps ment for it will not install on what you have. Consider updating to SuSE 7.2 though as there are so many improvements and advances plus it has been super stable for me.
I haven't got enough £££ for SuSE 7.2 and RPM wont install!I get errors when I try to run make.
You shouldn't have to compile it.Goto http://www.suse.com and look in there updates section for 7.0 You should find an updated rpm there as an rpm.
will my (possibly broken) version install thge RPM for a new version of RPM
aha...
I installed BerkeleyDB 3.3 from the source last night and tried to install RPM-4.0.2 from sources.
./configure worked perfectly, but make brought up an error. I hacked libs/dbconfig.c and found out that it tried to include the Berkeley DB header file (db.h) from db3/db.h.
My copy of the DB was in /usr/local/BerkeleyDB.3.3/ so I altered it appropriately to refer to the [correct] location of db.h which was /usr/local/BerkeleyDB.3.3/include/db.h Make ran with no probs and make install went smoothly.
BUT
I tried to install an RPM which wouldn't work before and it said it couldn't find the packages index? rpm --version returned 4.0.2 and rpm --initdb didn't display anything. I tried rpm --rebuilddb --dbpath /var/lib/rpm No errors. Tried to install the rpm again and it said:
Cannot find packages index in /var/local/lib/rpm
???
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.