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

Thread: Zypper won't download any packages

  1. #1
    Join Date
    Dec 2010
    Location
    Belgium, Europe
    Posts
    192

    Default Zypper won't download any packages

    Zypper seems unable to reach the openSUSE servers. I am currently on a network that may or may not block certain traffic, so I don't know if their firewall is in the way. I am able to browse the web without any problems. Sometimes Zypper downloads proceed eventually, but the download is doggone slow. I did this:

    Code:
    pdedecker@linux-qhij:~/Desktop> sudo zypper up
    ^CDownload (curl) error for 'http://download.opensuse.org/source/distribution/11.4/repo/oss/content':
    Error code: User abort
    Error message: Callback aborted
    
    Abort, retry, ignore? [a/r/i/?] (a):
    Apparently Zypper has trouble downloading this URI, but if I open it in Chrome it loads perfectly without any problems. How can I find the root of this problem?

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Zypper won't download any packages

    Can't tell much from the output you've posted other than that you aborted the process manually. However, if this seems to be the only repo that's giving you a problem, you can safely disable it. Most people don't need the source code. Show the output of

    Code:
    zypper lr -d

  3. #3
    Join Date
    Dec 2010
    Location
    Belgium, Europe
    Posts
    192

    Default Re: Zypper won't download any packages

    Code:
    #  | Alias                                   | Name                                    | Enabled | Refresh | Priority | Type   | URI                                                                                                 | Service
    ---+-----------------------------------------+-----------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------------------------+--------
     1 | Emulators:Wine                          | Emulators:Wine                          | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.4/                            |        
     2 | Updates-for-openSUSE-11.4-11.4-0        | Updates for openSUSE 11.4 11.4-0        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                                                           |        
     3 | devel:languages:haskell:platform-2010.2 | devel:languages:haskell:platform-2010.2 | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/haskell:/platform-2010.2/openSUSE_11.4/ |        
     4 | ftp-ftp.uni-erlangen.de-732a8715        | Packman                                 | Yes     | No      |   99     | rpm-md | ftp://ftp.uni-erlangen.de/pub/mirrors/packman/suse/openSUSE_11.4/                                   |        
     5 | games                                   | games                                   | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_11.4/                                      |        
     6 | google-chrome                           | google-chrome                           | Yes     | No      |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                                 |        
     7 | home:garloff:Webcam                     | home:garloff:Webcam                     | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/garloff:/Webcam/openSUSE_Factory/                   |        
     8 | libdvdcss repository                    | libdvdcss repository                    | Yes     | No      |   99     | rpm-md | http://opensuse-guide.org/repo/11.4/                                                                |        
     9 | openSUSE-11.4-11.4-0                    | openSUSE-11.4-11.4-0                    | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-hp_DVD_RW_AD-7586H_SHA1905895,/dev/sr0                           |        
    10 | openSUSE-11.4-OssopenSUSE-11.4-Oss      | openSUSE-11.4-OssopenSUSE-11.4-Oss      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss                                             |        
    11 | openSUSE:11.4:Contrib                   | openSUSE:11.4:Contrib                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard/                         |        
    12 | openSUSE:11.4:NonFree                   | openSUSE:11.4:NonFree                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                                        |        
    13 | openSUSE:Factory:Contrib                | openSUSE:Factory:Contrib                | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/standard/                      |        
    14 | openSUSE_11.4                           | ATI                                     | Yes     | No      |   99     | rpm-md | http://linux.ioda.net/mirror/ati/openSUSE_11.4/                                                     |        
    15 | repo-debug                              | openSUSE-11.4-Debug                     | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                                      |        
    16 | repo-debug-update                       | openSUSE-11.4-Update-Debug              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/11.4/                                                     |        
    17 | repo-non-oss                            | openSUSE-11.4-Non-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                                        |        
    18 | repo-oss                                | openSUSE-11.4-Oss                       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                                            |        
    19 | repo-source                             | openSUSE-11.4-Source                    | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/11.4/repo/oss/                                     |

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

    Default Re: Zypper won't download any packages

    Please try

    Code:
    su -
    rpmdb --rebuilddb
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Dec 2010
    Location
    Belgium, Europe
    Posts
    192

    Default Re: Zypper won't download any packages

    The update process still appears to be blocked.

    Code:
    linux-qhij:~ # rpmdb --rebuilddb
    linux-qhij:~ # exit
    logout
    pdedecker@linux-qhij:~/Desktop> sudo zypper up
    root's password:

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

    Default Re: Zypper won't download any packages

    What happens if you start
    Yast > Online Update
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

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

    Default Re: Zypper won't download any packages

    Quote Originally Posted by caf4926 View Post
    What happens if you start
    Yast > Online Update
    You could try

    Code:
    su -
    zypper clean --all
    and is it the same if you do

    Code:
    su -
    zypper up
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

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

    Default Re: Zypper won't download any packages

    On 07/09/2011 09:36 AM, pdedecker wrote:
    >
    > pdedecker@linux-qhij:~/Desktop> sudo zypper up


    don't use sudo, instead become root with "su -" _then_ use zipper

    --
    DD
    -Caveat-Hardware-Software-

  9. #9
    Join Date
    Dec 2010
    Location
    Belgium, Europe
    Posts
    192

    Default Re: Zypper won't download any packages

    Quote Originally Posted by caf4926 View Post
    What happens if you start
    Yast > Online Update
    It takes a really long time for the repositories to update and then I see the "Patches" screen. I'm still getting the same results if I use su - and clean the repo information first using zypper clean --all.

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

    Default Re: Zypper won't download any packages

    It takes a really long time for the repositories to update and then I see the "Patches" screen.
    And can you run the patches?
    Leap 15_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
  •