Problems with upgrade from F8 to F10

Place to discuss Fedora and/or Red Hat
Post Reply
User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Problems with upgrade from F8 to F10

Post by Basher52 » Fri Dec 26, 2008 10:36 am

ssh wont start:

error while loading shared libraries: libplc4.so: cannot open shared object file: No such file or directory.

Ain't this typical for me, everything just fails what ever I am doing lol

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Dec 26, 2008 10:58 am

Hmmm, it doesn't seem to be all that common but it does look like someone else ran into the same issue when they upgraded from FC8 to F9:

https://fcp.surfsite.org/modules/newbb/ ... 3&forum=10

I have upgraded several FC7 machines to F10 without any trouble. I know that's of absolutely no help to you though. :) Does the rpm command work for you? If so what do you get when you do an "rpm -q nspr" and an "rpm -V nspr"?

User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Dec 26, 2008 11:10 am

nope rpm wont work, neither yum update
oh forgot, I can boot into F10 though and kernel is: 2.6.27.5-117.fc10.i686

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Dec 26, 2008 11:42 am

If I were in your situation I would assume the error message really is related to the nspr package and hope that was the only package preventing rpm/yum from working, then install the F10 version of that package without using the rpm command.

While booted in F10 I would mount the F10 DVD then find and install the nspr RPM without actually using the rpm command:

Code: Select all

# cd /
# rpm2cpio /dvdpath/Packages/nspr-4.7.2-2.fc10.i386.rpm | cpio -idv
That's it (change "dvdpath" to whatever the real mount point is, I don't have my DVDs with me at the moment so I don't know what it mounts on off the top of my head). Then if the rpm command does start working you will want to install the F10 package again so the rpm database gets updated. (rpm -Uvh it).

User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Dec 26, 2008 12:01 pm

nope that wont work either :(
same message but it added some afterwards: cpio: premature end of archive

and what is this command supposed to do?
(i can search for it, but asking you is so much faster :P)

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Dec 26, 2008 12:06 pm

Ok then I would boot into rescue mode and "not" chroot to /mnt/sysimage after getting a shell. Copy the libraries from the rescue file system to the proper directory by doing this in rescue mode:

Code: Select all

# cp -a /lib/libnspr4.so /mnt/sysimage/lib
# cp -a /lib/libplc4.so /mnt/sysimage/lib
# cp -a /lib/libplds4.so /mnt/sysimage/lib
Those are the 3 files included in that package. You might check the dates/times/sizes for differences to see if it looks like they never did get upgraded prior to copying. Then reboot back into F10 and see if the commands work. Again, if they do work I would reinstall the nspr package using the RPM command so the database is up to date.

The previous commands I asked you to do was "rpm2cpio" which basically extracts the files from the rpm into a "cpio" archive (much like a tar archive), then we just piped it to the "cpio" command to extract. Since the rpm2cpio command also relies on those libraries it didn't work. Rescue mode should work for sure.

User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Dec 26, 2008 12:53 pm

yep that made the ssh to work :) You are good at this... VERY good :)

but my centerim wont work tho: (its a client for ICQ in case you don't know)
centerim: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory.
seems there are more files that hasn't been installed as they should.

hehe, when F11 is out I'm gonna call you, get you over here and you can upgrade the system, THEN it'll work lol


is there a way to re-update it all so it can fix files that haven't been installed properly? even though the systems I use work, there might be problems that I can't detect right now until I do the next upgrade.
Like...


UPDATE: forgot I cant start X either... it seems to start fine... the blue screen, oops, the blue sun shows up but that's it, the mouse pointer works but is just wont start.

oh and another thing, how do I shut the "nice" little start screen to NOT show, I wanna see all the OK/FAILED rows that the old Fedora's showed.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Dec 26, 2008 1:17 pm

If you want to see all the "OK" messages on just a single boot all you have to do is press the "ESC" key during boot. You can turn it off permanently by editing your /etc/grub.conf and taking out the "rhgb" and "quiet" params. Although there probably is a good way I don't know off the top of my head to make sure all your RPM packages got upgraded. At least not without more time to think about it.

I did notice not everything gets updated even with a "yum update" after the upgrade and I had to manually upgrade some packages that were giving me trouble. I also have to say that Fedora 10 has been a much bigger pain in the butt than the last few releases.

I'm not quite sure what type of X problem you are having.

User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Dec 26, 2008 1:41 pm

I'll do a yum update now and get back with that result
thx for getting the sshd working :)
now you get back to your family :)
as you probably understood by now, PCs ARE!!! my family :P

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Dec 26, 2008 2:00 pm

I'm actually at work today. :) I'm taking all next week off though.

User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Dec 26, 2008 2:23 pm

work on this "sunday"? well for us Sweeds this is a Sunday :P
think some of you call it boxing day, what ever that stands for lol

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Dec 26, 2008 4:42 pm

Sunday? You guys really are mixed up over there aren't you? :)

User avatar
Basher52
guru
guru
Posts: 913
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Dec 26, 2008 4:50 pm

ok...ok.. not a SUNDAY but as we call it... a "red" day thus a off work day
like a true Sunday :)


btw.. you shouldn't be here, get back to your family :)

Ice9
guru
guru
Posts: 577
Joined: Thu Jan 09, 2003 12:40 am
Location: Belgium
Contact:

Post by Ice9 » Sat Dec 27, 2008 1:25 pm

I did notice not everything gets updated even with a "yum update" after the upgrade and I had to manually upgrade some packages that were giving me trouble. I also have to say that Fedora 10 has been a much bigger pain in the butt than the last few releases.
Are you guys forced to use yum nowadays, no apt for rpm anymore?
I used yum om one of those netbooks I tested (with linpus lite as an OS) and I didn't feel like it did more than apt.
I wonder why the rpm people chose to replace apt with yum????

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sun Dec 28, 2008 12:47 am

I don't know the reason and whatever the reason was it was a dumb one. yum still isn't even close to what apt was when they started using it. I finally had to give up apt with F9 and F10 because they've pretty much crippled it to where it doesn't make yum look so bad. Ah well, life sucks and then you die. :)

Post Reply