Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: How to fix broken Yast?

  1. #1

    Default How to fix broken Yast?

    Hi. After a package download process was quitted unexpectedly on my opensuse 11.1 installation


    (read the full story here: Help! Can't launch kwin! [OMG] - openSUSE Forums)

    I can't get Yast to work. Neither GUI YaST2, nor commandline YaST. When I click on a package to update it, YaST hangs. (There are two spinning balls near to the cursor, and nothing happens)

    I tried a forced reinstall of all my *yast* packages which I have installed via zypper, but still no luck.



    Any ideas, or do I need to reformat? Thanks in advance!

    PS.: It doesn't work for other users neither.
    http://forums.opensuse.org/general-chit-chat/416281-new-ways-handling-plasmoid-installation-update.html

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,471
    Blog Entries
    14

    Default Re: How to fix broken Yast?

    Looks like your RPM database is corrupt. Try this:
    Open a terminal window and do:
    ~/>su -c 'rpm --rebuilddb'
    Enter your rootpassword when prompted for.

    This will take a while. As the statement says it rebuilds the RPM package database. The 'su -c' executes is with root-privileges.

    Good luck, let us know how you got on.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

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

    Default Re: How to fix broken Yast?

    Have you tried Yast from level 3

    At the grub boot screen, pause the boot by moving the down arrow
    Now move it back to the default boot and press Backspace until all the kernel boot arguments are gone. Now just type the number: 3
    Hit enter

    At the CLI login, login as user with username and pass
    Then type su (enter) and then the root password
    Hit enter a couple of times

    Now type: yast

    If it works, it will start a basic yast navigated by keyboard.
    Filter by repo and select 'System'
    Then choose to Update All in this list Unconditionally
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4

    Default Re: How to fix broken Yast?

    I downloaded & installed all the packages (5.5 GB packages, any with 1Mb/s internet it isn't that easy!) And still no luck. Yast2 hangs when trying to update libqt4.
    It may seem strange, but I tried removing/installing with kde4-kipi-plugins package and it works perfectly.


    Is reformatting the only cure ?
    http://forums.opensuse.org/general-chit-chat/416281-new-ways-handling-plasmoid-installation-update.html

  5. #5

    Default Re: How to fix broken Yast?

    I downloaded & installed all the packages (5.5 GB packages, any with 1Mb/s internet it isn't that easy!) And still no luck. Yast2 hangs when trying to update libqt4.
    It may seem strange, but I tried removing/installing with kde4-kipi-plugins package and it works perfectly.


    Is reformatting the only cure ?

    PS.: When I try to update libqt4 to 4.5.2 via zypper, it says a lot of kde4 packages need to change architecture from x86_64 to i586. Maybe YaST2 works ok, but I just didn't have time to let it 'think' about the dependencies? (I mean, it needs much more time than zypper to find all the dependencies)


    PS.: I am sorry about partial double-post, but I can only edit messages until 10 mins they have been posted.
    http://forums.opensuse.org/general-chit-chat/416281-new-ways-handling-plasmoid-installation-update.html

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

    Default Re: How to fix broken Yast?

    download the libqt4 package in question manually via your web browser
    then do from a su terminal:

    Code:
    rpm -Uhv *package_name --force
    remember the TAB button will auto complete after you type a couple of the letters of the package name
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: How to fix broken Yast?

    Code:
    warnec@linux-mrpe:~/Pobrane> rpm -Uhv libqt4-4.5.1+4.5.2.20090611-1.1.x86_64.rpm --force
    błąd: Niespełnione zależności:
            libqt4 = 4.4.3 jest wymagany przez (zainstalowany) libqt4-sql-4.4.3-4.8.2.x86_64
            libqt4 = 4.4.3 jest wymagany przez (zainstalowany) libqt4-qt3support-4.4.3-4.8.2.x86_64
            libqt4 = 4.4.3 jest wymagany przez (zainstalowany) libqca2-2.0.1-10.2.x86_64
            libqt4 = 4.4.3 jest wymagany przez (zainstalowany) qt4-qtscript-0.1.0-3.1.x86_64
            libqt4 = 4.4.3 jest wymagany przez (zainstalowany) libqt4-x11-4.4.3-4.8.2.x86_64
            libqt4 = 4.4.3 jest wymagany przez (zainstalowany) libqt4-devel-4.4.3-4.8.2.x86_64
    błąd = error
    Niespełnione zależności = Unsatisfied dependencies
    jest wymagany przez = is required by
    zainstalowany = installed

    PS.: Maybe I should try to force installing of this package via zypper? Zypper seems to be working (I mean, it doesn't hang like YaST2).

    BTW, why to the libqt4 dependencies make me change architecture of most of my packages from 64-bit to 32-bit? I don;t get it. Why should it be needed?
    http://forums.opensuse.org/general-chit-chat/416281-new-ways-handling-plasmoid-installation-update.html

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

    Default Re: How to fix broken Yast?

    If I recall correctly you have been messing with QT repo's
    Help! Can't launch kwin! [OMG] - openSUSE Forums
    I advised you against QT45 and you said:
    I'm sorry to say that, but I don't care So far qt45 proved (at least for me) to display GUI without any errors
    How about posting your repo's

    Code:
    zypper lr --details
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  9. #9

    Default Re: How to fix broken Yast?

    Ok, but I don't think it's my fault (I mean, my selection of repos)
    Before the update to 4.3b2, it all worked correctly. But here you go:

    Code:
    warnec@linux-mrpe:~> zypper lr --details
    #  | Alias                        | Nazwa                                          | Włączono | Odśwież | Priorytet | Typ    | Adres URL                                                                            | Serwer                                                           
    ---+------------------------------+------------------------------------------------+----------+---------+-----------+--------+--------------------------------------------------------------------------------------+-------                                                           
    1  | 11.1 - VideoLan              | 11.1 - VideoLan                                | Tak      | Tak     |   99      | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/11.1/                             |                                                                  
    2  | Anubisg1                     | Anubisg1                                       | Tak      | Tak     |   96      | rpm-md | http://download.opensuse.org/repositories/home:/anubisg1/openSUSE_11.1               |                                                                  
    3  | KDE_4.2                      | KDE 4.2                                        | Tak      | Tak     |   80      | rpm-md | http://download.opensuse.org/repositories/KDE:/42/openSUSE_11.1/                     |                                                                  
    4  | KDE_4.2_-_Community          | KDE 4.2 - Community                            | Tak      | Tak     |   80      | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.1_KDE_42/ |                                                                  
    5  | KDE_Qt45                     | Qt 4.5.x development snapshots (openSUSE_11.1) | Tak      | Tak     |   75      | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt45/openSUSE_11.1/                   |                                                                  
    6  | Kadu_repository              | Kadu repository                                | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/home%3a/Fisiu/openSUSE_11.1/               |                                                                  
    7  | Libdvdcss repository         | Libdvdcss repository                           | Tak      | Tak     |   99      | rpm-md | http://suse.linuxin.dk/repo/11.1/                                                    |                                                                  
    8  | X11:XGL-KDE4_Factory         | X11-XGL Factory                                | Tak      | Tak     |   70      | rpm-md | http://download.opensuse.org/repositories/X11%3a/XGL/openSUSE_11.1_KDE4_Factory      |                                                                  
    9  | devel_translation            | Tools for translators (openSUSE_11.1)          | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/devel:/translation/openSUSE_11.1/          |                                                                  
    10 | openSUSE 11.1-0              | openSUSE 11.1-0                                | Nie      | Nie     |   99      | yast2  | cd:///?devices=/dev/sr0                                                              |                                                                  
    11 | openSUSE-11.1-Java_1         | openSUSE-11.1-Java                             | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/Java%3a/packages/openSUSE_11.1/            |                                                                  
    12 | openSUSE-11.1-OpenOffice.org | openSUSE-11.1-OpenOffice.org                   | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.1/      |                                                                  
    13 | openSUSE-11.1-Packman        | openSUSE-11.1-Packman                          | Tak      | Tak     |   95      | rpm-md | http://packman.jacobs-university.de/suse/11.1/                                       |                                                                  
    14 | openSUSE-11.1-Updates        | openSUSE-11.1-Updates                          | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/update/11.1                                             |                                                                  
    15 | openSUSE-11.1-Wine           | openSUSE-11.1-Wine                             | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.1/             |                                                                  
    16 | openSUSE11-1-sdlmame         | openSUSE11-1-sdlmame                           | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/home:/vtlmks/openSUSE_11.1/                |                                                                  
    17 | openSUSE:11.1                | openSUSE:11.1                                  | Tak      | Tak     |   97      | yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/                             |                                                                  
    18 | openSUSE:11.1:Update         | openSUSE:11.1:Update                           | Tak      | Tak     |   97      | rpm-md | http://download.opensuse.org/update/11.1/                                            |
    19 | openSUSE_11.1-Kernel         | openSUSE 11.1-Kernel                           | Tak      | Tak     |   99      | rpm-md | http://download.opensuse.org/repositories/Kernel%3a/Vanilla/openSUSE_11.1/           |
    20 | openSUSE_11.1-Nvidia         | openSUSE 11.1-Nvidia                           | Tak      | Tak     |   97      | rpm-md | http://download.nvidia.com/opensuse/11.1/                                            |
    21 | repo-debug                   | openSUSE-11.1-Debug                            | Nie      | Nie     |  100      | NONE   | http://download.opensuse.org/debug/distribution/11.1/repo/oss/                       |
    22 | repo-non-oss                 | openSUSE-11.1-Non-Oss                          | Tak      | Tak     |  100      | yast2  | http://download.opensuse.org/distribution/11.1/repo/non-oss/                         |
    23 | repo-oss                     | openSUSE-11.1-Oss                              | Tak      | Tak     |  100      | yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/                             |
    24 | repo-source                  | openSUSE-11.1-Source                           | Nie      | Nie     |  100      | NONE   | http://download.opensuse.org/source/distribution/11.1/repo/oss/                      |
    25 | repo-update                  | openSUSE-11.1-Update                           | Tak      | Tak     |  100      | rpm-md | http://download.opensuse.org/update/11.1/                                            |
    yes = tak
    włączono = enabled
    typ = type
    priorytet = priority
    odśwież = refresh
    adres = adress
    nazwa = name'

    PS.: I know I don't need the 'Kernel' repository, I was just too lazy to remove it until now
    http://forums.opensuse.org/general-chit-chat/416281-new-ways-handling-plasmoid-installation-update.html

  10. #10

    Default Re: How to fix broken Yast?

    I wonder how many other things have been forced.

    forced = broken

    I would run a zypper verify
    Though with that many ridiculous repositories being used. I would hope you knew how to undo the mess you create.

    I think you need to step back a bit and just run OSS, Non-oss, Packman and update for a little while maybe keep your 42 and nvidia.

    There is many repos I'm dubious about. You even have kernel higher than update, you can't expect people to support you when you have things like this.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

Page 1 of 2 12 LastLast

Posting Permissions

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