Unable to upgrade because of lack of rpmlib package

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 29th, '12, 21:29

I have just installed mageia 2 and want to upgrade to development version.
I was following the instructions given in the wiki, I have changed the repository information but the process doesnt continue because it could not find package rpmlib, I cannot even find the package to install from install or remove GUI app.
Where can I get this rpm?
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby jkerr82508 » Aug 29th, '12, 23:26

The procedure is slightly different if you want to upgrade from Mageia 2:

http://article.gmane.org/gmane.linux.mageia.devel/18223

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Unable to upgrade because of lack of rpmlib package

Postby alf » Aug 29th, '12, 23:47

Or just wait a few days; the alpha release of MGA3 is coming soon.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 30th, '12, 14:36

I tried that too but for proceeding rpmlib couldnot be installed, and since I added cauldron repos I couldnot install any software every software requires rpmlib, I dont know why!
Is there anyway to revert the repos
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby digigold » Aug 30th, '12, 15:28

Have you successfully completed the /usr move?
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 30th, '12, 15:34

/usr means creating symlinks or
the below given process?

Run urpmi --auto-update --skip '/filesystem|ncurses/' to install everything that can be installed. Some packages will not be installable! Do not be alarmed. To get all the RPMs cached locally for after you convert the filesystem, you can run an additional urpmi --auto-select command (the packages will fail to install, but that is expected).
Ensure that latest dracut is installed. Run urpmi dracut to make sure (it may have been excluded in the --auto-update if it was in a transaction with other packages that could not be installed).
Ensure that you do not have zapata installed (rpm -e zapata). These packages have conflicts not handled in the conversion routine.
Generate a new initrd and include the conversion script: dracut -f -a convertfs. Make sure you are currently running the latest kernel when you run this. If you have installed a newer kernel but not yet rebooted, then you will be generating an initrd for the current kernel, not the one you will use on next boot! Either adjust the command accordingly to include the initrd and kernel name specifically or just reboot first.
If you run lilo, make sure to tell it about the new initrd by running lilo
If you have /usr on a separate partition
Ensure there is enough free space to hold /bin, /sbin, /lib and /lib64 content.
If your /usr is mounted readonly, change your /etc/fstab to mount it rw.
Reboot.
At the bootloader prompt, edit the command line and append: rw rd.convertfs (without the quotes) to your command line and then boot.
Your system should boot as normal with a slight delay while content is migrated.
Once booted, install the remaining updates.
Finally regenerate the initrd again: dracut -f (some problems were found when going back into the initrd at shutdown/reboot if this stage was not done)
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 30th, '12, 15:36

if symlinks had to be done, can you please explain how to do, where to put symlinks?
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby digigold » Aug 30th, '12, 15:51

Best thing to do is read Colin Guthrie's wiki on the /usr move here: https://wiki.mageia.org/en/Feature:UsrMove
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 30th, '12, 15:58

Well, I read that many times, I'm asking because, I don't understand that. I'm not an expert, so please explain what to do.
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby digigold » Aug 30th, '12, 16:12

#1 Run urpmi --auto-update --skip '/filesystem|ncurses/' to install everything that can be installed. Some packages will not be installable! Do not be alarmed. To get all the RPMs cached locally for after you convert the filesystem, you can run an additional urpmi --auto-select command (the packages will fail to install, but that is expected).
#2 Ensure that latest dracut is installed. Run urpmi dracut to make sure (it may have been excluded in the --auto-update if it was in a transaction with other packages that could not be installed).
[/color[color=#FF4000]]#3 Ensure that you do not have zapata installed (rpm -e zapata). These packages have conflicts not handled in the conversion routine.
#4 Generate a new initrd and include the conversion script: dracut -f -a convertfs. Make sure you are currently running the latest kernel when you run this. If you have installed a newer kernel but not yet rebooted, then you will be generating an initrd for the current kernel, not the one you will use on next boot! Either adjust the command accordingly to include the initrd and kernel name specifically or just reboot first.
#5 If you run lilo, make sure to tell it about the new initrd by running lilo
#6 If you have /usr on a separate partition
A) Ensure there is enough free space to hold /bin, /sbin, /lib and /lib64 content.
B) If your /usr is mounted readonly, change your /etc/fstab to mount it rw.
#7 Reboot.
#8 At the bootloader prompt, edit the command line and append: rw rd.convertfs (without the quotes) to your command line and then boot.
#9 Your system should boot as normal with a slight delay while content is migrated.
#10 Once booted, install the remaining updates.
#11 Finally regenerate the initrd again: dracut -f (some problems were found when going back into the initrd at shutdown/reboot if this stage was not done)

Does the color help... :mrgreen:
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Unable to upgrade because of lack of rpmlib package

Postby digigold » Aug 30th, '12, 16:14

If you are still unsure about the above, you might want to avoid cauldron.
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 30th, '12, 16:37

ok that means I dont have to create symlinks before this process, when I'm doing the above process, after 1st step it said couldnt install some packages because of rpmlib so that means I can proceed further. I'll try and let you know, thanx for the help
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby digigold » Aug 30th, '12, 16:53

No worries, happy to help. The only goofy thing that I've had happen is occasionaly if I install a KDE app from source, it occasionally sets up everything in /usr/local/share/foo/bar/ so I just setup a symbolic link for the directory. e.g.
Code: Select all
# ln -sv /usr/local/share/foo/bar /usr/share/foo/bar
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 31st, '12, 00:22

I have continued with the procedure giiven in https://wiki.mageia.org/en/Feature:UsrM ... ease_Notes. but nothing changed I mean I rebooted with rw rd.convertfs option after generating initrd but I dont think it worked!! Still the same problem couldnt update because of lack of package rpmlib.
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby Ken-Bergen » Aug 31st, '12, 01:47

pahnin wrote: Still the same problem couldnt update because of lack of package rpmlib.
As there is no rpmlib package and never has been could you post the exact error message or a screen shot of it?

Also post the contents of /etc/urpmi/urpmi.cfg
In code tags please.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Aug 31st, '12, 20:53

P.S: Since I can't post directly cause it has so many urls, I pasting it on pastebin. Thanks

This is cat /etc/urpmi/urpmi.cfg

http://pastebin.com/NFvscAME
#######################################################
after adding rw rd.convertfs to the boot command,
I tried updating with urpmi --auto-update
and this happend

http://pastebin.com/MHUqdt8j


Hope thats helpful to solve my problem
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23

Re: Unable to upgrade because of lack of rpmlib package

Postby pahnin » Sep 1st, '12, 12:17

I found that rpmlib package here http://pkgs.org/download/kobo-rpmlib
but could not install it

Code: Select all
[root@localhost Downloads]# urpmi kobo-rpmlib-0.3.6-1.el6.noarch.rpm
A requested package cannot be installed:
kobo-rpmlib-0.3.6-1.el6.noarch (due to unsatisfied python(abi)[== 2.6])
Continue installation anyway? (Y/n) y

While some packages may have been installed, there were failures.
A requested package cannot be installed:
kobo-rpmlib-0.3.6-1.el6.noarch (due to unsatisfied python(abi)[== 2.6])
Continue installation anyway?
pahnin
 
Posts: 10
Joined: Aug 29th, '12, 21:23


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron