rpm database hosed following updates from Mandriva 2007 One - Mandrake

This is a discussion on rpm database hosed following updates from Mandriva 2007 One - Mandrake ; Today I installed Mandriva 2007 "One" on an old system. It's going to be a server for a couple of processes that don't do very much, so the old 512 Mb Athlon 800Mhz system is good enough. Especially with a ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: rpm database hosed following updates from Mandriva 2007 One

  1. rpm database hosed following updates from Mandriva 2007 One

    Today I installed Mandriva 2007 "One" on an old system.

    It's going to be a server for a couple of processes that don't
    do very much, so the old 512 Mb Athlon 800Mhz system is good
    enough. Especially with a new system disk (an unused 40 Gb spare.)
    Also I wanted to see what 2007 was like, since it had
    not previously been installed on any of my systems.

    Ran memtest86+ for several hours, 3 full passes no errors.
    Scanned the (previously unused) disk for bad blocks.
    Booted Mandriva 2007 "One" from CDROM
    Picked the install option on the screen
    When it finished, rebooted from Disk
    Started a terminal
    set up urpmi to get all pieces from the USC ftp mirror
    drakconf
    software
    selected all updates containing "m" (presumably all updates,
    surely there's a better way to do this but I didn't see
    an option to show all updates without categorization, as it
    was in Mandriva 2006 and earlier.)
    It trundled for a long time and along the way gave a warning
    about libgtk_linux... having an invalid signature. Let it
    go on anyway.
    When it was done something was wrong with rpm, it wasn't showing many
    packages and threw an error message part way through an "rpm -qa"
    and stopped. (Sorry, didn't write down the message, something about
    a lookup failing, no indication which package was involved.)
    Did "rpm --rebuild" once (some more messages)
    Again (clean this time)
    Now rpm -qa doesn't throw any errors but it still doesn't show
    the majority of the packages installed. It seems to hang up
    somewhere in the locales, about a zillion were installed but only
    7 show up now. Other things not listed are the package that supplies
    "gawk" (present, but not as far as RPM knows).

    Is there some way out of this, or should I just throw in the towel and
    reinstall?

    Thanks,

    David Mathog

  2. Re: rpm database hosed following updates from Mandriva 2007 One

    On Wed, 24 Jan 2007 14:58:34 -0800, David Mathog wrote:
    > Today I installed Mandriva 2007 "One" on an old system.
    >


    > Is there some way out of this, or should I just throw in the towel and
    > reinstall?


    Yeah, I tried the samething just to see what would happen. Mandriva
    One is just a live cd and not what you are used to getting on the old
    cd set. My solution was to download the 4 cd set and do a clean
    install from there.

  3. Re: rpm database hosed following updates from Mandriva 2007 One

    David Mathog wrote:
    > Today I installed Mandriva 2007 "One" on an old system.


    > set up urpmi to get all pieces from the USC ftp mirror


    > When it was done something was wrong with rpm,


    > Is there some way out of this, or should I just throw in the towel and
    > reinstall?


    It may be that something was wrong with rpm (and urpmi and
    rpmdrake) before you started updating. Those three were buggy
    in the install package that shipped, and I suspect they were
    buggy in the One package as well. You might try BitTwister's
    routine, posted several times in this forum:

    QUOTE
    Typical install for me is to cut mirror new release
    main, main_update, contrib, contrib_updates, plf free, plf non
    free selections from
    http://easyurpmi.zarb.org/ and paste it into a script.

    Just after install and login runlevel 1 or 3,
    run /mcc/ to disable the removable media,
    run the script to set the mirrors,
    urpmi rpm --auto
    urpmi urpmi --auto
    urpmi rpmdrake --auto

    Get the kernel name with
    rpm -qa 'kernel*'
    then update to latest kernel with
    urpmi --update kernel

    Then get all updates
    urpmi --auto-select --auto
    END QUOTE

    Note the updates individually for rpm, urpmi, and rpmdrake
    before moving ahead with serious updates...

    Cheers!

    jim b.

    --
    Unix is not user-unfriendly; it merely
    expects users to be computer-friendly.

  4. Re: rpm database hosed following updates from Mandriva 2007 One

    James D. Beard wrote:
    > You might try BitTwister's routine, posted several times in
    > this forum:


    That did the trick. I didn't quite understand what was supposed to
    happen at the MCC step so I just removed the /etc/urpmi.cfg and worked
    through the rest. This time I picked a different mirror and it also
    had a bad signature on libgtk_linux_fb_2.0._0, which caused the

    urpmi --auto-select --auto

    to quit. The "fix" was to do:

    urpmi --no-verify-rpm libgtk_linux_fb_2.0._0

    on that one package and then do the auto-select again.

    Thanks,

    David Mathog

  5. Re: rpm database hosed following updates from Mandriva 2007 One

    On Fri, 26 Jan 2007 09:43:08 -0800, David Mathog wrote:
    > James D. Beard wrote:
    >> You might try BitTwister's routine, posted several times in
    >> this forum:

    >
    > That did the trick. I didn't quite understand what was supposed to
    > happen at the MCC step so I just removed the /etc/urpmi.cfg and worked
    > through the rest.


    The mcc step was to disable any removable media. That way you do not
    get asked to insert cd X when doing updates or what not. Pacakges
    would come from the mirror instead of you shuffling cds once in
    awhile.

+ Reply to Thread