battery botched f11 to f12 upgrade (macppc-ibookG4)

Sam Varshavchik mrsam at courier-mta.com
Thu Jun 10 11:08:09 UTC 2010


Joel Rees writes:

> Ran for ten or twenty minutes and finished with no output. 
> 
> No news is good news in this case? Or bad?

Correct. That's good news.

>> Weed those 
>> out. For what's left, run rpm -q again to get the version of both the old 
>> and the new package, then rpm -e the old one.
> 
> Ouch. About fifty, sixty packages. That matches the guess I had on how far it had gotten before the battery gave out. (Poor, abused battery. Probably hates me.)

This is in the ballpark of what to expect.

> {talking-to-myself}
> Do I dare try to use grep to feed that to a loop, or should I do this by hand? And would it be safer to delete the new ones, instead, assuming that, since I never got close to the cleanup phase, none of the old packages would have been deleted.
> 
> Anyway, I need to look at what's there.
> {talking-to-myself.}

You can take the output of uniq, grab the dupes, turn that into a script 
that runs 'rpm -q'.

This will emit the old version and the new version of each package. I pull 
that into emacs, manually go down the list and nuke the new version, leaving 
the list of old version, and then turn it into a script that runs rpm -e on 
what's left, the old versions.

This is not something that I've done just on one occasion. More than once 
borked an upgrade myself, this is what I had to do. I know the drill.

>> Until you do these steps, attempting to deal with your upgrade is just 
>> spinning your wheels.
>> 
>> Step 4: grab and burn a Fedora install DVD. Boot it, and tell it to upgrade 
>> your existing Fedora installation.
> 
> Well, I'm not sure why you suggest that. Extra tools in the DVD? Or just the time actually spent in a mixed state with the netinstall CD, downloading and installing at the same time? Or do you just mean that I should avoid preupgrade? 

Well you said your preupgrade is running of disk space on /var. This method 
installs off the DVD, avoiding that.

I've never understood the appeal of preupgrade. I have a bunch of machines. 
It's faster for me to torrent a DVD image once. Takes very little time, then 
I use it to upgrade each machine, then let it update itself with the few 
bits from Everything that's not on the DVD cut.

Seems to me it's going to take much longer to have every machine download 
the individual packages, separately once for each machine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100610/5499391a/attachment-0001.bin 


More information about the users mailing list