Results 1 to 8 of 8

Thread: Repopulate package information after system crash and restarting from Gnome

  1. #1
    Join Date
    Aug 2009
    Location
    Singapore
    Posts
    6

    Red face Repopulate package information after system crash and restarting from Gnome

    Hi,

    I have upgraded my laptop to OpenSuse 11.2 few weeks ago. It was fine until last Tuesday, when a system crash occurred during a kernel security update. I think something went wrong with my network connection. I was working on my code and suddenly I lost my base tools such as /bin/ls and /bin/cd. So I tried to restart and got a kernel panic as my kernel was partially broken.

    I tried rescue the system, however it did not work. After that I thought I could fix it by reinstalling the OS with minimal server configuration over my existing root partition. (Since I didnt have any other computer or live cd at that time and I was rushing for a demo, I could not reinstall the missing components one by one. And reinstalling the minimal server made sense then )

    Almost everything went fine ( i needed to do little things like creating gdm user). Now I can use my system and all my applications. But as expected, the pre installed packages in my system now cannot be seen by YaST Software Manager. Is there a way to repopulate the package list?

    Another question is, I cannot restart the computer from a Gnome session. Whenever I restart or shutdown, i go back to the login screen, then I press Ctrl+Alt+F1 which starts the restart progress. How can I fix this?

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Repopulate package information after system crash and restarting from Gnome

    su terminal

    Code:
    rpmdb --rebuilddb
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Aug 2009
    Location
    Singapore
    Posts
    6

    Default Re: Repopulate package information after system crash and restarting from Gnome

    Thanks for the reply. However it still does not include lots of applications such as OpenOffice and many tools from PacMan. What could be the reason?

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Repopulate package information after system crash and restarting from Gnome

    It's rather difficult to say, because quite honestly it's difficult to know exactly what has taken place.
    If a package exists / is installed you can find it with

    rpm -qi <packagename>

    Eg: rpm -qi MozillaFirefox
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    palladium NNTP User

    Default Re: Repopulate package information after system crash and restartingfrom Gnome

    mrantims wrote:

    > What could be the reason?


    as caf said, it is really impossible to know what actually happened
    during the inturrepted (i guess) kernel update...so, probably the
    easiest thing to do is to just restore from your latest backup image..

    --
    palladium

  6. #6
    Join Date
    Aug 2009
    Location
    Singapore
    Posts
    6

    Default Re: Repopulate package information after system crash and restarting from Gnome

    I see. Thanks. Btw, anyone has any idea about the second problem?

  7. #7
    palladium NNTP User

    Default Re: Repopulate package information after system crash and restartingfrom Gnome

    mrantims wrote:
    > Btw, anyone has any idea about the second problem?


    that symptom can point to several different potential problems:

    -graphics incompatibilities
    -jumbled up and therefore conflicting configuration files
    -wrong/too many/or not enough kernel parameters,
    -hardware weakness or failure (especially weak or over taxed power
    supply, heat problems, CPU over driven and/or over volted)
    -and that is just to get started...plus there is a known gnome bug
    which just popped up last week [with the new kernel iirc], the fix for
    which is not on the street yet--but i think that was mostly for shutdown..

    if you wanna chase it you probably need to start by using the forum's
    advanced search feature...and see if you can narrow down to your exact
    symptoms...otherwise, happy experimenting..

    again, if you had a stable system last week, your easiest path is to
    restore from a last week backup image..

    --
    palladium

  8. #8
    Join Date
    Aug 2009
    Location
    Singapore
    Posts
    6

    Default Re: Repopulate package information after system crash and restarting from Gnome

    Thank you very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •