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

Thread: package manager crashes

  1. #1
    Join Date
    Jun 2009
    Location
    Pune city, India
    Posts
    127

    Default package manager crashes

    Hello,

    Installed OpenSuSe 11.1 two days ago.
    Performed audio codec updates via pkg manager i.e. yast2
    Now when I run it, I get error.
    I tried running via root as well now. Same error.
    Error > Accesing the Package management Failed
    System management is locked by the application with pid 5745 (usr/lib/YaST2/bin/y2base). Close this application before trying again.


    How can I repair it?

    Regards,
    Amey.

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

    Default Re: package manager crashes

    You have the package manager open somewhere, or it has terminated abnormally. Therefore the process y2base still exists. And therefore the packagemanager cannot start. A reboot solves this matter.
    If you are very sure you're not installing anything in a terminal window or in the console, you could also do:
    su -c 'kill -9 5745'
    The command will ask you for your rootpassword and terminate the process. After that you can enter the package manager again.
    ° 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 2009
    Location
    Pune city, India
    Posts
    127

    Default Re: package manager crashes

    Quote Originally Posted by Knurpht View Post
    You have the package manager open somewhere, or it has terminated abnormally. Therefore the process y2base still exists. And therefore the packagemanager cannot start. A reboot solves this matter.
    If you are very sure you're not installing anything in a terminal window or in the console, you could also do:
    su -c 'kill -9 5745'
    The command will ask you for your rootpassword and terminate the process. After that you can enter the package manager again.
    Thanx for quick reply. I tried to restart my laptop and then tried to kill the app using that command.

    Now when I start the app, it shows ok tick to Target system and 2nd option also reaches 100% and it stucks. I never see next page.

    now I am getting following error when I forcefuly close the proess in GUI mode

    /sbin/yast2: line 437: 5679 Killed $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
    Any hints?

    Regards,
    Amey.

  4. #4

    Default Re: package manager crashes

    I have a similar problem. I have don a new install of openSuSE 11.1 inside VirtualBox and when I run zypper refresh I get the following error:

    linux-o1up:~ # zypper refresh
    Repository 'openSUSE-11.1-Non-Oss' is up to date.
    Repository 'openSUSE-11.1-Oss' is up to date.
    Repository 'openSUSE-11.1-Update' is up to date.
    Building repository 'openSUSE-11.1-Update' cache [done]
    Error building the cache:
    'repo2solv.sh' '-o' '/var/cache/zypp/solv/repo-update/solv' '/var/cache/zypp/raw/repo-update'
    /usr/bin/repo2solv.sh: line 305: 6189 Broken pipe ( echo '<rpmmd>'; for i in primary.xml* susedata.xml*;
    do
    test -s "$i" || continue; case $i in
    *.gz)
    gzip -dc "$i"
    ;;
    *.bz2)
    bzip2 -dc "$i"
    ;;
    *)
    cat "$i"
    ;;
    esac; echo; break;
    done; for i in susedata.xml*;
    do
    test -s "$i" || continue; case $i in
    *.gz)
    gzip -dc "$i"
    ;;
    *.bz2)
    bzip2 -dc "$i"
    ;;
    *)
    cat "$i"
    ;;
    esac; break;
    done; echo '</rpmmd>' )
    6191 | grep -v '\?xml'
    6192 | sed '1i\<?xml version="1.0" encoding="UTF-8"?>'
    6193 Segmentation fault | rpmmd2solv $parser_options > $primfile

    Skipping repository 'openSUSE-11.1-Update' because of the above error.
    Some of the repositories have not been refreshed because of an error.



    I have tried a second install from a different DVD (the first one was from an ISO) inside VMWare and I got the same result. Does anybody know what is wrong. I have tried to rebuild the rpm db, but that did not help.

    JK

  5. #5
    Join Date
    Jun 2009
    Location
    Pune city, India
    Posts
    127

    Default Re: package manager crashes

    Quote Originally Posted by sco1984 View Post
    Hello,

    Installed OpenSuSe 11.1 two days ago.
    Performed audio codec updates via pkg manager i.e. yast2
    Now when I run it, I get error.
    I tried running via root as well now. Same error.
    Error > Accesing the Package management Failed
    System management is locked by the application with pid 5745 (usr/lib/YaST2/bin/y2base). Close this application before trying again.


    How can I repair it?

    Regards,
    Amey.
    Hello,

    What I did just now is unplugged ethernet cable and ran Yast2.
    It showed errors and I said ok.
    I removed auto refresh for all repo and kept only 1 repo i.e. packman.
    It seems working now.
    I also deleted all junk from /tmp/ may be that helped dunno!

    Regards,
    Amey.

  6. #6
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    208

    Default Re: package manager crashes

    Having the same problem here. I just reinstalled 11.1 32 bit today. My computers do not have direct internet access so I mirror the openSUSE repos (Oss, NonOss, Updates) from kernel.org. I had a complete sync this morning. When I add the Update repo I get the following error in /var/log/messages.

    kernel: rpmmd2solv[3391]: segfault at b7d0e9f4 ip b7f4c95d sp bfba4058 error 4 in libc-2.9.so[b7ed9000+155000]

  7. #7
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    208

    Default Re: package manager crashes

    32 vs 64 bit

    So far none of my 64 bit 11.1 computers are having any problems with the update repo. I know from the past that when I do not have a good copy of the repo I see checksum errors on the repo files. I am not getting checksum errors on the 32bit repo, so the problem must have been caused before checksums were calculated and the files were signed. Is anyone that is having problems on 64bit?

    Dave

  8. #8

    Default Re: package manager crashes

    I have just done an update and now it works. something must have been broken in the repo.

  9. #9

    Default Re: package manager crashes

    Update zypper by hand:

    Code:
    wget http://download.opensuse.org/update/11.1/rpm/i586/libzypp-5.29.6-0.1.1.i586.rpm
    wget http://download.opensuse.org/update/11.1/rpm/i586/satsolver-tools-0.13.6-0.1.1.i586.rpm
    
    rpm -U libzypp-5.29.6-0.1.1.i586.rpm satsolver-tools-0.13.6-0.1.1.i586.rpm
    
    zypper ref -f

  10. #10
    Join Date
    Jul 2008
    Location
    Rio de Janeiro, Brazil
    Posts
    4

    Default Re: package manager crashes

    to wewillnow:

    "Update zypper by hand:..."

    works and resolved this issue in two different oss 11.1 installations.

    thanks a lot!

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
  •