LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 16 'Oh No Something has gone wrong' (http://www.linuxquestions.org/questions/fedora-35/fedora-16-oh-no-something-has-gone-wrong-912796/)

terry-duell 11-10-2011 05:06 AM

Fedora 16 'Oh No Something has gone wrong'
 
Hullo All,
For some previous Fedora releases I have tried using preupgrade and for Fedora 14 and 15 I have used clean installs.
A clean install is trouble free, but does cause a lot of hassle if you have quite a few non standard applications and libraries, so I thought I'd give preupgrade a try again to go from Fedora 15 to 16.
I cloned my system disc so that I could readily go back to Fedora 15 if I had any trouble, so it was a bit of an experiment.
The preupgrade went OK, but after the reboot and Fedora 16 was installed, I ended up with a screen which announced 'Oh no something has gone wrong. A problem has occurred and the system can't recover. Please contact a system administrator'.
Not a very helpful message.
I booted Fedora 15 and did a bit of searching, and found various bits of advice.
This is what I did, and my system is now OK. At this stage I am not 100% sure if all the steps I took are necessary, as there were a few tries before it was all sorted.
Firstly, when you get that 'Oh no...message', reboot and choose the 'recovery' option that grub offers. That will put you into a text mode.
I ran the following commands...

rm -rf ~/.gnome
rm -rf ~/.metacity
rm -rf ~/.gnome2
rm -rf ~/.gconf
rm -rf ~/gconfd

I also got rid of gnome-shell,

rpm -e gnome-shell --nodeps

A reboot was successful, but as gnome-shell couldn't be started, I was in the default desktop, just like Fedora 14.
I then used the 'Add/remove software' tool to remove all nvidia drivers/libraries etc.
I then installed gnome-shell.
A reboot put me back where I should have been after the upgrade, into the normal gnome-shell desktop whatnot.
There was one other issue that I found, and that is the cups server is not started at boot, and that was fixed by...

sudo service cups start

Thus far, all seems to be OK.

Although I had problems with this approach, and others as well it seems, the problems were pretty simple to fix, and once started the upgrade process can go ahead while you do something else. Overall, I would say it was much easier than the hands-on work I have needed to do previously to get a clean install to how I want it.

Hope this helps.

Cheers,
Terry

syg00 11-10-2011 05:14 AM

Oh god, time to upgrade again .... *AGAIN*.
I need Fedora for some of what I do, but this is getting to be a PITA.

No wonder I'm tending to (only) rolling upgrade systems.

John VV 11-10-2011 03:37 PM

did you read the release notes ?
https://docs.fedoraproject.org/en-US...tes/index.html
there are a lot of changes , as usual.


I gave up on upgrading years ago . Fresh installs are best
Just set up the drive so that your data is NOT on the same partitions as the OS

terry-duell 11-10-2011 04:54 PM

Quote:

Originally Posted by John VV (Post 4521002)
I gave up on upgrading years ago . Fresh installs are best
Just set up the drive so that your data is NOT on the same partitions as the OS

Hullo John,
I would agree that fresh installs are best in that there is usually no problem with the install, but provided you only need a basic installation or one that is not far removed.
If you need non-standard apps and a lot of non-standard libs for package building and the whatnot, then the work needed post clean install can be a long drawn out business, and that is why I have experimented (again) with the preupgrade.
Perhaps the best approach would be some way of capturing all the non-standard stuff, do a clean install, then automate the installation of the extras...but I don't know how to do that.
If some bright spark could figure out how that could be done, that would be nice.

Cheers,
Terry

syg00 11-10-2011 05:40 PM

Quote:

Originally Posted by John VV (Post 4521002)
I gave up on upgrading years ago . Fresh installs are best
Just set up the drive so that your data is NOT on the same partitions as the OS

Me too generally. However, I note a change in base [ug]id ranges. Wonder how ugly that might get with a common (currently allocated) /home partition as I use .... hmmm
Quote:

Originally Posted by terry-duell
Perhaps the best approach would be some way of capturing all the non-standard stuff, do a clean install, then automate the installation of the extras...but I don't know how to do that.
If some bright spark could figure out how that could be done, that would be nice.

The install guide has instructions on getting the package list you need to re-install. Largely manual, but works o.k.

RockDoctor 11-10-2011 05:59 PM

You can install your first user (via firstboot) with a custom uid/gid. Been there, done that, it seems to work for me. However, Ubuntu (and a number of other distros) have been using 1000 as the base uid/gid for quite a while now. Now that F16 has been officially released, I've decided to bite the bullet and reset ownership of all the misc data files owned by user:group 500:500.

syg00 11-10-2011 06:05 PM

Yeah, I've been thinking on that.
By "common" I meant common to the two Fedora releases. I flip-flop the system partitions (with the common /home) when I do an "upgrade". In need I fallback to the old system while I sort the new one out.
Nothing a backup or two can't solve .... :p

birger 11-15-2011 03:58 PM

If you are running x86_64 try removing the i686 version of caribou and installing the x86_64 version. That fixed it for me. There is a conflict between the two packages so they won't coexist anymore.

terry-duell 11-15-2011 11:44 PM

Quote:

Originally Posted by birger (Post 4524911)
If you are running x86_64 try removing the i686 version of caribou and installing the x86_64 version. That fixed it for me. There is a conflict between the two packages so they won't coexist anymore.

Yes, running x86_64, but no i686 version of caribou installed.

Cheers,
Terry

terry-duell 11-18-2011 03:56 PM

Quote:

Originally Posted by syg00 (Post 4521073)
[snip]The install guide has instructions on getting the package list you need to re-install. Largely manual, but works o.k.

Sorry to have to ask this, but can you please point me to where these instructions are in the installation guide?
I have been through the fc16 installation guide a number of times and blowed if I can find this.

Cheers,
Terry

syg00 11-18-2011 08:31 PM

Before: see section 9.10.2 (F16)
After: see section 18.2

terry-duell 11-18-2011 11:16 PM

Quote:

Originally Posted by syg00 (Post 4527992)
Before: see section 9.10.2 (F16)
After: see section 18.2

Bonza! It was there all the time :-)

Many thanks for that.

Cheers,
Terry

therefump 11-24-2011 09:50 PM

Hi,
Excellent suggestions on the original post. I did remove all the files and then uninstalled gnome-shell. I then got the original Fedora 14 screens. I then tried re-installing gnome-shell and it complained about the 32bit caribou package. I removed that, reinstalled gnome-shell and it's dependent 64 bit caribou package and all works well.

Roy

Linux_420 12-05-2011 01:21 AM

I upgraded from F15 to F16 a few days ago. I tried upgrading w/ yum from bash. I imported the GPG key as outlined in the Tutorial hosted at redhat but I think I needed to do it for my other repositories also. I'm really not sure what went wrong. The upgrade stopped and gave me a hit to either not check the key or skip broken packages. I skipped broken and the upgrade finished but when I rebooted everything looked the same. I did a version check and was still at F15. If it was just packages from other repos that was the problem I'm not sure why the upgrade finished, but I was left at F15. I was lazy and didn't feel like watching the green text roll by for a third time so I installed preupgrade (so I'm sure it was the most recent version). I used it & it worked fine. Maybe due to the recent gtk-3 upgrade & other major changes in the distro an old version of preupgrade wouldn't work. I'm assuming it doesn't upgrade itself when it upgrades your OS considering it didn't even delet the directories it created for the upgrade. Next time i'm going to image my drive to be sure considering everything I have on my /sda1 partition is less than 7 gig. & evrything else is on /sda2. The only person I have discussed upgrading Fedora with said he upgrades from a DVD.

I tried upgrading from F13 to F16 on a fileserver the same day & it failed. The distros were so far apart that there were too many differences.

Links:
http://fedoraproject.org/wiki/Upgrad...dora_using_yum

http://fedoraproject.org/wiki/Upgrading#PreUpgrade

RockDoctor 12-05-2011 08:10 PM

Quote:

Originally Posted by Linux_420 (Post 4542271)
I tried upgrading from F13 to F16 on a fileserver the same day & it failed. The distros were so far apart that there were too many differences.

Skipping releases is not supported; if you're going to upgrade rather than reinstall, you should do it one release at a time. That said, I don't believe I've ever successfully upgraded, even stepwise, from F(n) to F(n+3). YMMV


All times are GMT -5. The time now is 06:52 AM.