Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Zypper, Yast both broken after trying to update

  1. #1

    Default Zypper, Yast both broken after trying to update

    The last thing I remember doing was "zypper patch". That went well I think, and it said something like that zypper itself was updated, so I should run it again. I think after doing that, the system froze, so I rebooted. Eventually I discovered that zypper no longer worked. At first it complained about some library being too short (the size was 0, so it is correct there), and now it complains the library doesn't exist at all, which it doesn't.

    Code:
    zypper:error while loading shared libraries: libzypp.so.810: cannot open shared object file: No such file or directory
    Since every guide out there for installing or reinstalling zypper involves using yast, I tried that...and yast also does not work. When I go into Software, and then try Online Update, Software Management, or any of those options, nothing happens and an error shows on the command line:

    Code:
    Error while creating client module online_update
    Or instead of online_update, it may say sw_single, or add-on, or checkmedia.

    I tried using rpm -i to install an .rpm that has the missing zypper library, libzypp-8.12.6-3.5.i586.rpm. But that tells me that it conflicts with file from install of libzypp-8.13.1-0.2.3.i586. So I went in search of that version file, and I found it in a delta rpm. I tried using rpm to install THAT file, and it said that the package was already installed.

    The system as a whole works, so I'm not in immediate crisis, but at some point I'm going to want yast and/or zypper to work again. Any help you can give is extremely appreciated. I'd rather fix it than a whole reinstall.

    openSUSE 11.4, std kernel
    Core 2 Duo, 2 GB RAM

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Zypper, Yast both broken after trying to update

    On 01/30/2012 08:26 PM, rob g wrote:
    > I'd rather fix it than a whole reinstall.


    please show us the terminal input/output from

    Code:
    zypper lr -d
    uname -a
    cat /etc/SuSE-release
    copy/paste the in/output back to this thread using the instructions
    here: http://goo.gl/i3wnr

    and tell us the desktop environment and version in use...please

    --
    DD http://tinyurl.com/DD-Caveat
    Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

  3. #3

    Default Re: Zypper, Yast both broken after trying to update

    Code:
    linux-rtd:~ # zypper lr -d
    zypper: error while loading shared libraries: libzypp.so.810: cannot open shared object file: No such file or directory
    Code:
    linux-rtd:~ # uname -a
    Linux linux-rtd 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 i686 i686 i386 GNU/Linux
    Code:
    linux-rtd:~ # cat /etc/SuSE-release
    openSUSE 11.4 (i586)
    VERSION = 11.4
    CODENAME = Celadon
    As for desktop environment, I'm using KDE 4.6.00 (4.6.0) "release 6", but could just as easily use the command line if needed.

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Zypper, Yast both broken after trying to update

    On 01/30/2012 09:16 PM, rob g wrote:
    > linux-rtd:~ # zypper lr -d
    > zypper: error while loading shared libraries: libzypp.so.810: cannot open shared object file: No such file or directory


    oh (slaps forehead!!) hmmmm you have broken both yast and zypper (just
    like in your subject line)

    i will sit back now and hope to learn how to fix that without a reinstall..

    how did you break it? installing from factory, playground, unstable,
    tumbleweed and etc? or what?

    --
    DD
    Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

  5. #5

    Default Re: Zypper, Yast both broken after trying to update

    System was originally installed from distro DVD. I don't recall if I had done any zypper patch or zypper update prior to this. The last time I tried an update, I think it froze the whole system so I had to hard reboot. I don't recall if I did anything else to the system before noticing zypper and yast no longer worked....I don't think I did. certainly I've not done anything intentionally to zypper. I believe the patch somehow is to blame.

  6. #6
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,042

    Default Re: Zypper, Yast both broken after trying to update

    On Mon, 30 Jan 2012 20:16:03 +0000, rob g wrote:

    > zypper: error while loading shared libraries: libzypp.so.810: cannot
    > open shared object file: No such file or directory


    Try pulling the file libzypp-*.rpm from your installation DVD and
    installing it with:

    rpm -ihv libzypp*.rpm

    (You should be able to do that as root from the mounted DVD).

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  7. #7

    Default Re: Zypper, Yast both broken after trying to update

    Thanks for the help!

    I found the .rpm, copied it to my root dir, and tried it:

    Code:
    linux-rtd:~ # rpm -ihv libzypp-8.12.1-3.3.i586.rpm
    error: Failed dependencies:
            satsolver-tools = 0.16.1 is needed by libzypp-8.12.1-3.3.i586

  8. #8
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,042

    Default Re: Zypper, Yast both broken after trying to update

    On Mon, 30 Jan 2012 21:26:03 +0000, rob g wrote:

    > Thanks for the help!
    >
    > I found the .rpm, copied it to my root dir, and tried it:
    >
    >
    > Code:
    > --------------------
    > linux-rtd:~ # rpm -ihv libzypp-8.12.1-3.3.i586.rpm
    > error: Failed dependencies:
    > satsolver-tools = 0.16.1 is needed by libzypp-8.12.1-3.3.i586
    >
    > --------------------


    You'll the need to install that package as well.

    It might be worthwhile to just rerun the installation after verifying the
    media - it seems that there's a fair bit that's missing on this system
    that should have been installed on the first install.

    The other option is to follow the chain of dependencies until zypper
    runs, and then make sure you've got 12.1 repos enabled and run 'zypper
    dup' - that might resolve it. But a reinstall might be easier.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  9. #9

    Default Re: Zypper, Yast both broken after trying to update

    Well, let me be clear that zypper and yast *DID* work just fine at some point. So, the original install was perfectly fine. And I think I did a few zypper patch's a few times in the past (I think). And even the first time I ran it this last time...it ran perfectly fine. It is just NOW hosed.

    I'm not sure what you mean by running 'zypper dup', because running zypper with any parameter gives the same missing .so error.

    So you mean boot from the 11.4 install DVD and just run it again, so as to *repair* things, or do you mean a complete wipe/reinstall of the OS?

    (By the way, I haven't mentioned this, but I do specifically want to stay with 11.4. I already have a 12.1 install, and I need 11.4 for testing purposes.)

    How do I get the chain of dependencies?

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Zypper, Yast both broken after trying to update

    On 2012-01-30 23:06, rob g wrote:
    >
    > Well, let me be clear that zypper and yast *DID* work just fine at some
    > point. So, the original install was perfectly fine. And I think I did
    > a few zypper patch's a few times in the past (I think). And even the
    > first time I ran it this last time...it ran perfectly fine. It is just
    > NOW hosed.


    Maybe investigating the zypper logs would show light on the mystery. My
    guess is that the "zypper patch" operation failed or aborted midways.


    > I'm not sure what you mean by running 'zypper dup', because running
    > zypper with any parameter gives the same missing .so error.


    No, that later.

    You have to cd to the directory holding the original rpms in the DVD. No
    need to copy them to the hard disk. There, using the rpm command as Jim
    told you, you will have to reinstall the missing things. If it complains
    that satsolver-tools or whatever is needed, you have to add that rpm to the
    same command line, ie, two packages or more on it. Repeat the procedure
    till it doesn't complain and runs.

    Then try to run zypper. If it runs, then try "zypper verify".

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 4 123 ... 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
  •