Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Library hell after update

  1. #11

    Default Re: Library hell after update

    Yes, I have removed the repositories. Can I also do a zypper dup from the command line in an xterm window, or do I really have to boot in console mode for this?

    Almost everything (except gimp and okular) runs on my system, even though it was mistreated: KDE4, xine, libreoffice, yast, wine applications, various browsers. So it would be a lot more convenient if I could surf the net while zypper fixes the problem.

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

    Default Re: Library hell after update

    With your internet, don't run zypper dup

    Look through software management, view by repositories and by default it should select 'system' rather than any one repo

    This image shows what I mean: http://dl.dropbox.com/u/10573557/Sof...d_packages.png
    But we are not really looking for orphaned packages, but do you see the the packages, some show with RED and other with BLUE
    Where you see that, click the check box by that package.
    A red package will roll back (or it could be orphaned and need deleting)
    Blue will update

    work through, you don't need to do it all at one time
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

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

    Default Re: Library hell after update

    On 2011-04-27 07:06, masala wallah wrote:
    >
    > Yes, I have removed the repositories. Can I also do a zypper dup from
    > the command line in an xterm window, or do I really have to boot in
    > console mode for this?


    Run this:

    Code:
    -----------------
    rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day}; \
    %{BUILDTIME:day}; %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \
    %{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}\n" \
    | sort | cut --fields="2-" --delimiter=\; \
    | tee rpmlist.csv | less -S

    or

    rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \
    %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \
    %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" \
    | sort | cut --fields="2-" > rpmlist
    -----------------


    The first version is for importing into an spreadsheet, the second for a
    terminal or editor.

    It generates a large list with all your packages, with columns of info,
    that allow identifying packages by procedence. When you find one that
    doesn't belong to 11.2, display that package in YaST package management,
    get to the tab version, and click on the proper version.

    One by one. It is tedious, but it works, and minimizes what you have to
    download.

    This is very similar to what Caf tells you, but in my experience is more
    complete.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  4. #14

    Default Re: Library hell after update

    On 04/26/2011 07:36 PM, caf4926 wrote:
    >
    > Boot to level 3
    > http://dl.dropbox.com/u/10573557/YaS...ial%20Boot.png
    > then
    > http://tinyurl.com/26p3xbf
    >
    > Login as root
    >
    > Do the following:
    >
    >
    > Code:
    > --------------------
    > zypper rr 6
    > --------------------


    snip
    Shouldn't he do a
    zypper rr 1
    as well before doing a zypper dup?

    --
    Kevin Miller
    Juneau, Alaska
    http://www.alaska.net/~atftb
    "In the history of the world, no one has ever washed a rented car."
    - Lawrence Summers

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

    Default Re: Library hell after update

    On 2011-04-28 00:09, Kevin Miller wrote:
    > On 04/26/2011 07:36 PM, caf4926 wrote:


    > Shouldn't he do a
    > zypper rr 1
    > as well before doing a zypper dup?


    Yes, but I would also go the slow route I recommended.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #16

    Default Re: Library hell after update

    I have followed the advice: Removed the wrong repositories and downgrade (by selecting "upgrade") all packages that were derived from the wrong repositories.

    This worked reasonably well until it was glibc's turn.

    Amazingly, the yast software management tool did not notice any problems when I selected glibc for upgrade. It downloaded, installed and thus killed the system rather completely.

    I can now boot only to runlevel 3. At the command line, much will not work because the glibc is broken. And if I leave the machine unattended for a few minutes, screen blackens and the whole machine goes into brick mode (I guess it cannot recover from a power saving mechanism). Failsafe mode is pretty much the same.

    I try to retype a typical error message:

    zypper: symbol lookup error: /usr/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteraturIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4

    What has happened? Is there anything to do short of a complete reinstall (in a country where nobody has ever heard of openSUSE, and people have a habit of negotiating you into something you don't want).


    Oh, had I just done nothing.

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

    Default Re: Library hell after update

    On 2011-05-05 09:06, masala wallah wrote:
    > What has happened? Is there anything to do short of a complete
    > reinstall (in a country where nobody has ever heard of openSUSE, and
    > people have a habit of negotiating you into something you don't want).


    Again: follow the slow route I wrote about 2011-04-27

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  8. #18

    Default Re: Library hell after update

    That's what I did: grepped for all 11.3 packages in the log file generated by your advanced spell and then selected them for update in graphical yast (after removing the spurious repositories).

    But now it seems that I came to a state where (I guess) libstdc++ does no longer fit to libc or glibc. Result is that almost nothing, in particular nothing graphical, works anymore. I do get a command line in single user mode, and rpm seems to run, though zypper or yast (command line version) do not.

    Therefore, it seems, no repair is possible any longer.

  9. #19

    Default Re: Library hell after update

    While I was typing the previous message, I tried in parallel a really desparate plan:

    I had identified libstdc++45;4.5.0_20100604-1.12 as the likely culprit, because it is one of the spurious 11.3 packages installed on the system. Amazingly, when I downgraded from glibc 2.11.2-2.4.i686 (11.3) to glibc 2.10.1-10.9.1.i686 (11.2), yast allowed my to do so without warning of the imanent conflict with libstdc++45.

    Maybe, yast was mistaken, and thus I downloaded libstdc++44-4.4.1_20090817-2.3.4.i586.rpm and tried to force it onto the system, removing the 45 version brutally (rpm -e --nodeps) despite the hundreds of dependencies; after installation of the lower 44 version, everything seems to be fine again; in any case, X and KDE are running.

    It seems I escaped narrowly (main reason of success: rpm the program is probably written in C, not C++). I will now proceed with the slow route you suggested to get the system rid of all remaining 11.3 packages. But this is going to take a couple of more days: I can hardly download more than 100 to 200 Mbytes in one working unit (3 hours internet cafe).

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

    Default Re: Library hell after update

    On 2011-05-05 09:06, masala wallah wrote:
    > zypper: symbol lookup error: /usr/libstdc++.so.6: undefined symbol:


    Is that the error you got? because that is not the correct file, it is
    "/usr/lib/libstdc++.so.6".

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

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