fucking the white bunny rabbit

this blog is a feature

fedora 9 upgrade

with 4 comments

Yesterday I tried to upgrade from fedora 8 to fedora 9 using anaconda and DVD…As usually something went wrong: anaconda crashed during installation..fortunatly during post-install process…

Right now I have a mixed system:

[root@sboing ~]# yum list installed | grep fc8 | wc -l
254
[root@sboing ~]#

…and I try to use a bash powered script to clean and fix it:

[root@sboing ~]# for x in `yum list installed | grep fc8 | awk '{print $1}' `; do yum remove "${x%.*}*fc8" ; echo "yum remove " ${x%.*}*fc8; done

and after :)


[root@sboing ~]# yum list installed | grep fc8 | wc -l
26
[root@sboing ~]#

Now all seems working, except for the Nvidia video card :-/ I’m waiting next nvidia closed drivers….
Update 29/05/2008@13:26 Today official NVidia driver are on livna fedora repository… \o/


Written by whitenoise

May 23, 2008 at 12:50 pm

4 Responses

Subscribe to comments with RSS.

  1. Using package-cleanup from yum-utils there is an easier way:

    # package-cleanup –cleandupes

    :-)

    José Matos

    May 23, 2008 at 1:31 pm

  2. your solution is really better than mine :)

    Thanks for your suggestion :)

    whitenoise

    May 23, 2008 at 1:44 pm

  3. You can’t always go by the fc# in the package name. In fact there are a number packages from previous releases that didn’t have to be updated and still contain the release they came from.

    For example, here are some figures from my system with a fresh F9 install:

    $ rpm -qa | grep fc6 | wc -l
    3
    $ rpm -qa | grep fc7 | wc -l
    4
    $ rpm -qa | grep fc8 | wc -l
    18
    $ rpm -qa | grep fc9 | wc -l
    1166

    Now I’m not saying you don’t have any lingering packages from F8… just that some of them might be fine.

    Scott Dowdle

    May 24, 2008 at 6:58 am

  4. Yes, I know. To avoid removing of important fc8 packages, I ask to my colleague who have a fresh installation to give me a list of fc8 packages :) and as you can see in my command, I didn’t use -y…it was crappy press y or n for 250 time…but this permit me to have maximum control :)

    by the way I know my solution was a bit dirty :)

    Luca

    whitenoise

    May 24, 2008 at 9:33 am


Leave a Reply