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

Thread: zypper ps hangs forever

  1. #1
    Join Date
    Dec 2008
    Location
    Istanbul
    Posts
    12

    Default zypper ps hangs forever

    Hello,

    zypper ps on my 11.4 box hangs forever and so does zypper up.

    I'm quite sure it's something I did wrong because my 5 other machines are doing fine with zypper ps.

    I've tried "strace zypper ps" on a working machine and compare to my broken one. It show me it hangs just before those lines:

    read(7, "p1\0R0\0cinit\0u0\0Lroot\0\nfcwd\0tDIR\0"..., 4096) = 4096
    read(7, "o.1\0\nfmem\0tREG\0k1\0n/lib64/ld-2.1"..., 4096) = 4096
    read(7, "11\0tunix\0nsocket\0\nf12\0tFIFO\0k1\0n"..., 4096) = 4096
    read(7, "/ld-2.11.3.so\0\nf0\0tunix\0n/dev/lo"..., 4096) = 4096
    ....

    On my broken machine it stops there and wait forever:
    read(7,

    I don't really know whereto start to sort this one out.

    Any zypper guru to point me on which packages and tools are involved in this
    or maybe somebody to explain what this line means in strace:
    read(7, "p1\0R0\0cinit\0u0\0Lroot\0\nfcwd\0tDIR\0"..., 4096) = 4096

    Thank you.

  2. #2
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    1,711

    Default Απ: zypper ps hangs forever

    Maybe a bug. Could you give your features of your operating system?
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

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

    Default Re: zypper ps hangs forever

    Please post result of

    Code:
    zypper lr -d
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Dec 2008
    Location
    Istanbul
    Posts
    12

    Default Re: zypper ps hangs forever

    uname -a:
    Linux devil 2.6.37.1-1.2-xen #1 SMP 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

    cat /etc/SuSE-release:
    openSUSE 11.4 (x86_64)
    VERSION = 11.4
    CODENAME = Celadon

    zypper if zypper:
    Dpot: @System
    Nom: zypper
    Version: 1.5.3-3.2
    Arch: x86_64
    Fabricant: openSUSE

    sorry could'nt find a way to attach file so I pasted here
    zypper lr -d:
    # | Alias | Nom | Activ | Rafrachir | Priorit | Type | URI | Service
    --+-------------------------------+--------------------------------+--------+------------+----------+----------+---------------------------------------------------------------------------------+--------
    1 | backup | backup | Oui | Non | 99 | rpm-md | Index of /repositories/Archiving:/Backup/openSUSE_11.4 |
    2 | download.opensuse.org-non-oss | Dpt principal (NON-OSS) | Oui | Non | 99 | yast2 | Index of /distribution/11.4/repo/non-oss |
    3 | download.opensuse.org-oss | Dpt principal (OSS) | Oui | Non | 99 | yast2 | Index of /distribution/11.4/repo/oss |
    4 | download.opensuse.org-update | Dpt principal de mise jour | Oui | Oui | 99 | rpm-md | Index of /update/11.4 |
    5 | perldevel | perldevel | Oui | Non | 99 | rpm-md | Index of /repositories/devel:/languages:/perl/openSUSE_11.4 |
    6 | repoperso | repoperso | Oui | Non | 99 | plaindir | dir:///root/repo |

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

    Default Re: zypper ps hangs forever

    Use Yast > Software > Repositories
    to delete number 6

    Then do

    Code:
    zypper clean --all
    Is it ok now
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Dec 2008
    Location
    Istanbul
    Posts
    12

    Default Re: zypper ps hangs forever

    I did
    zypper rr 6
    zypper clean --all

    zypper ps still hangs.

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

    Default Re: zypper ps hangs forever

    As su do

    Code:
    rpmdb --rebuilddb
    Is zypper working otherwise?
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #8
    Join Date
    Dec 2008
    Location
    Istanbul
    Posts
    12

    Default Re: zypper ps hangs forever

    did rpmdb --rebuilddb

    zypper ps still hangs

    Maybe it was not clear I just have issue for zypper ps.
    The other functionalities of zypper are working.
    zypper se, zypper ls work ok

    zypper rm will remove package and then hang (I guess there is a zypper ps after removal of a pacakge)
    zypper hang when he search for the running processes using deleted files.

  9. #9

    Default Re: zypper ps hangs forever

    Had the same problem. Zypper stalled with five timezone rpm's and a wine update. The solution was to:
    (1) create a local directory
    (2) Using YaST->system->Software Repositories->add. Choose "local directory" in the media screen, then specify the local directory as a repository.
    (3) Run zypper update and record the URL listed as the offending file in the zypper update error message.
    (4) Abort zypper update
    (5) Manually download the listed file by entering the URL in Firefox.
    (6) Move or copy the file into the local repository. (You may wish to temporarily redefine the default download directory in Firefox).
    (7) Repeat from step 3. until all the offending files have been manually downloaded.
    (8) Zypper update will be able to complete the update session using the files in the local repository.

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

    Default Re: zypper ps hangs forever

    This seems to be isolated to a few. I certainly have not experienced this.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

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
  •