Results 1 to 9 of 9

Thread: zypper halt while "Reading installed packages..."

  1. #1

    Default zypper halt while "Reading installed packages..."

    I installed opensuse-12.3-x86_64 on my laptop. When using zypper to search some packages, zypper halt with "Reading installed packages...". I cleaned all caches with "zypper clean -a", but zypper still can't work. Furthmore, the software manager of Yast can't work yet!

  2. #2
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    254

    Default AW: zypper halt while "Reading installed packages..."

    zypp it...

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,469
    Blog Entries
    2

    Default Re: zypper halt while "Reading installed packages..."

    Don't know if applies to you but I've found that zypper is going online to silently refresh the repo cache. Depending on which repos and the sizes plus etwork variables this can take awhile.

    To verify this might be your issue (which would mean everything is working properly) manually refresh your repos so you can see what is happening before your actual zypper operation or disable refresh.

    To manually refresh before searching
    Code:
    zypper ref
    zypper se foobar
    To disable refresh, eg because you just refreshed your cache earlier in the day
    Code:
    zypper --no-remote se foobar
    HTH,
    TSU

  4. #4

    Default Re: zypper halt while "Reading installed packages..."

    Quote Originally Posted by tsu2 View Post
    Don't know if applies to you but I've found that zypper is going online to silently refresh the repo cache. Depending on which repos and the sizes plus etwork variables this can take awhile.
    It does that before outputting "Reading installed packages...", so this can't really be the issue.

    @duanhuiqiang:
    You could try to run "sudo zypper clean -a" to clean up all caches.

  5. #5

    Default Re: zypper halt while "Reading installed packages..."

    Thank you, all! The problem is solved. The update rep made the trouble. Now I change all repositories to official, Zypper works well.

  6. #6
    Join Date
    Jul 2013
    Location
    Sao paulo, Brazil
    Posts
    5

    Default Re: zypper halt while "Reading installed packages..."

    One year later...

    The link with the solution

    http://blog.mohammadzadeh.info/index...ding-installed

    is broken.

    Could someone post the solution here, just for completeness?

    Tks

  7. #7

    Default Re: zypper halt while "Reading installed packages..."

    Quote Originally Posted by estomagado View Post
    Could someone post the solution here, just for completeness?
    IIRC it was something like this:
    - disable all repos
    - enable the repos one by one and call zypper to find out which one causes the problem
    - then remove that repo and enable the other ones again

    Afterwards you might try to add that offending repo again.

    But I never had this problem myself, not even in this further year...

  8. #8

    Default Re: zypper halt while "Reading installed packages..."

    Code:
    zypper -vvv [OPTIONS] [ARGUMENTS]
    To make it more verbose.

    Also

    Code:
    --no-refresh
    to avoid refreshing the repos, unless of course you have disabled auto refresh already by using the -R option, see

    Code:
    zypper help mr
    for more info.
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  9. #9

    Default Re: zypper halt while "Reading installed packages..."

    Quote Originally Posted by jetchisel View Post
    Also

    Code:
    --no-refresh
    to avoid refreshing the repos, unless of course you have disabled auto refresh already by using the -R option, see
    But the problem this thread was about was _not_ caused by refreshing the repos.
    zypper hang afterwards, when "Reading installed packages...".

    And there were a few similar thread at the time.

    Using the "--disable-system-resolvables" option would have avoided that hang, but that's not very helpful either when installing packages f.e.

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
  •