Results 1 to 6 of 6

Thread: OpenSuse 13.1 Zypper Repo Issue

  1. #1

    Default OpenSuse 13.1 Zypper Repo Issue

    Hello Community,

    I am having a lot of pain with OpenSuse. Coming from a Centos environment things are much different.

    When doing a zypper refresh or zypper update I get a of
    Code:
    Error code: Connection failed
    Error message: Failed connect to download.opensuse.org:80; Operation now in progress
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): i
    Do you want to disable the repository openSUSE_13.1_OSS permanently? [yes/no] (no): 
    Skipping repository 'openSUSE_13.1_OSS' because of the above error.
    But the server has a perfectly fine internet connection. I fyou look below the zypper install zabbix-agent fails, but I can wget the file.

    I would be very grateful for some assistance in troubleshooting that package management system as I get these errors even when using yast instead of zypper.

    Regards,

    Rudolf

    Code:
    1 new package to install.
    Overall download size: 174.2 KiB. After the operation, additional 637.8 KiB will be used.
    Continue? [y/n/? shows all options] (y): y
    Retrieving package zabbix-agent-2.2.6-1.1.x86_64                                                                                     (1/1), 174.2 KiB (637.8 KiB unpacked)
    Retrieving: zabbix-agent-2.2.6-1.1.x86_64.rpm .....................................................................................................................[error]
    Download (curl) error for 'http://download.opensuse.org/repositories/server:/monitoring/openSUSE_13.1/x86_64/zabbix-agent-2.2.6-1.1.x86_64.rpm':
    Error code: Connection failed
    Error message: Failed connect to download.opensuse.org:80; Operation now in progress
    
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): ^CTD-DB1:~ # 
    TD-DB1:~ # 
    TD-DB1:~ # 
    TD-DB1:~ # 
    TD-DB1:~ # 
    TD-DB1:~ # wget http://download.opensuse.org/repositories/server:/monitoring/openSUSE_13.1/x86_64/zabbix-agent-2.2.6-1.1.x86_64.rpm
    --2014-09-01 16:39:29--  http://download.opensuse.org/repositories/server:/monitoring/openSUSE_13.1/x86_64/zabbix-agent-2.2.6-1.1.x86_64.rpm
    Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2001:67c:2178:8::13
    Connecting to download.opensuse.org (download.opensuse.org)|195.135.221.134|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://ftp5.gwdg.de/pub/opensuse/repositories/server:/monitoring/openSUSE_13.1/x86_64/zabbix-agent-2.2.6-1.1.x86_64.rpm [following]
    --2014-09-01 16:39:29--  http://ftp5.gwdg.de/pub/opensuse/repositories/server:/monitoring/openSUSE_13.1/x86_64/zabbix-agent-2.2.6-1.1.x86_64.rpm
    Resolving ftp5.gwdg.de (ftp5.gwdg.de)... 134.76.12.5, 2001:638:60f:110::1:1
    Connecting to ftp5.gwdg.de (ftp5.gwdg.de)|134.76.12.5|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 178402 (174K) [application/x-rpm]
    Saving to: ‘zabbix-agent-2.2.6-1.1.x86_64.rpm’
    
    
    100%[================================================================================================================================>] 178,402      213KB/s   in 0.8s   
    
    
    2014-09-01 16:39:31 (213 KB/s) - ‘zabbix-agent-2.2.6-1.1.x86_64.rpm’ saved [178402/178402]

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,004

    Default Re: OpenSuse 13.1 Zypper Repo Issue

    It's possible that you are being, for some reason, directed to a broken mirror by the d.o.o (which is a redirector).

    Can you copy paste the result (and include it between code blocks here on the forums) of the following command;
    Code:
    zypper sl -d
    Alternatively, you could just change the OSS, non-OSS and update repositories away from download.opensuse.org and to a mirror near you. Since you said you were familiar with CentOS; I assume you're handy with Linux already so you could poke the repo files (which are just text files) in /etc/zypp/repos.d/

    For example on my system I have oss.repo which has a baseurl pointing to a local mirror - now if you were to change this address to something else, like say http://ftp5.gwdg.de/pub/opensuse/dis...13.1/repo/oss/ you could point it to a mirror close to you that you know works fine.
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

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

    Default Re: OpenSuse 13.1 Zypper Repo Issue

    I you're running zypper shortly after logging in, you're running apper in the background which is locking access to package management. Interestingly, apper is disabled by default on my LXDE machines.

    If you prefer not to use apper, you can disable it.
    Or, wait until apper finishes before running your zypper commands again.

    TSU

  4. #4

    Default Re: OpenSuse 13.1 Zypper Repo Issue

    Hello Guys,

    Thanks for the detailed replies! They are much appreciated.

    @Miuku - I read on the forums that editing these files could break things so I thought better to post and check. I will investigate and post back.

    Code:
    
    
    Code:
    #  | Alias                           | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                                
    ---+---------------------------------+------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------
    1  | Packman_13.1                    | Packman_13.1                       | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/13.1/                                                 
    2  | devel:languages:perl_13.1       | devel:languages:perl_13.1          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:languages:perl/openSUSE_13.1/      
    3  | home:vicidial:asterisk-1_8_13.1 | home:vicidial:asterisk-1_8_13.1    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:vicidial:asterisk-1_8/openSUSE_13.1/
    4  | home:vicidial_13.1              | home:vicidial_13.1                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:vicidial/openSUSE_13.1/             
    5  | openSUSE_13.1_OSS               | openSUSE_13.1_OSS                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                           
    6  | openSUSE_13.1_Updates           | openSUSE_13.1_Updates              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                          
    7  | repo-debug                      | openSUSE-13.1-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.1/repo/oss/                     
    8  | repo-debug-update               | openSUSE-13.1-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1/                                    
    9  | repo-debug-update-non-oss       | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1-non-oss/                            
    10 | repo-non-oss                    | openSUSE-13.1-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                       
    11 | repo-source                     | openSUSE-13.1-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.1/repo/oss/                    
    12 | repo-update-non-oss             | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/

    This is a custom distro by the Vicidial Group, another reason why I didn't want to hack away at the package manager's repo config files.
    Would it be okay to just change the base URL? YAST doesn't have it's own little db of config file of repo's?

    @tsu2 - Zypper and apper?

    I'm not running it directly after a reboot but I will check. What is apper? I cannot find it as a an application or service (apper or apperd)?


    Thanks for the help folks! Much appreciated!

    Regards,

    Rudolf

  5. #5
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,004

    Default Re: OpenSuse 13.1 Zypper Repo Issue

    Quote Originally Posted by rudolfmdlt View Post
    I read on the forums that editing these files could break things so I thought better to post and check. I will investigate and post back.
    Nah, you can happily move the repository location for the oss, non-oss, update and update-non-oss to nearby mirrors - leave the others untouched.

    You can also throw away those debug ones if you have no use for them, although they are by default disabled - they are still an eye sore :-)
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  6. #6

    Default Re: OpenSuse 13.1 Zypper Repo Issue

    Quote Originally Posted by rudolfmdlt View Post
    @Miuku - I read on the forums that editing these files could break things so I thought better to post and check. I will investigate and post back.

    Editing those files won't break anything, in the worst case YaST/zypper cannot reach a online repo, like it is the case now.

    Would it be okay to just change the base URL? YAST doesn't have it's own little db of config file of repo's?
    YaST and zypper use the same repos and config files.
    But you can also use YaST->Software Repositories to edit the repos, instead of changing the files in /etc/zypp/repos.d/ directly.

    But your URLs look ok anyway.
    I suppose the problem is that you are using a proxy, that might prevent zypper from reaching the download server.
    Is this correct?

    You would have to configure the proxy in /etc/sysconfig/proxy or YaST->Network Services->Proxy in that case.

    @tsu2 - Zypper and apper?

    I'm not running it directly after a reboot but I will check. What is apper? I cannot find it as a an application or service (apper or apperd)?
    Apper is KDE's update tool. If you can't find it, you probably don't even have it installed. You never said you were using KDE anyway.

    Of course Apper is only a frontend to PackageKit, and other Desktop Environments might have different Frontends which could cause the same "problem".
    But if PackageKit would interfere, you would get a completely different message...

Posting Permissions

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