LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-12-2015, 09:55 PM   #1
andrew86576
LQ Newbie
 
Registered: Aug 2012
Posts: 21

Rep: Reputation: Disabled
Post leap 42.1 can not update software, why?


HI, guys.
when i was ready to update my new opensuse 42.1. type"zypper Update". but get errors as below:

Quote:
linux-fdhr:~ # zypper update
Retrieving repository 'openSUSE-Leap-42.1-Debug' metadata ---------------------------[\]
Download (curl) error for 'http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Failed to connect to download.opensuse.org port 80: Network is unreachable

Abort, retry, ignore? [a/r/i/? shows all options] (a):
but i checked the repository is correct.

and i also want to install packages from here:
http://software.opensuse.org/package/gnump3d
oneclick install. but also get the same error.

i have made my repository all enabled.

help me out. how can i correct it.
Tnks guys.
 
Old 12-13-2015, 02:11 AM   #2
polpak
Member
 
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: GNOME openSUSE Leap/Ubuntu
Posts: 189

Rep: Reputation: 21
Read your repository settings with this command: zypper lr -d


This is what I view

Code:
paulparker@linux-7769:~> zypper lr -d
# | Alias                             | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                | Service
--+-----------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------+--------
1 | download.opensuse.org-main-update | download.opensuse.org-main-update | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                 |        
2 | download.opensuse.org-non-oss_1   | Main Repository (NON-OSS)         | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/  |        
3 | download.opensuse.org-oss_1       | Main Repository (OSS)             | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/      |        
4 | openSUSE-42.1-0                   | openSUSE-42.1-0                   | No      | ----      | No      |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part2         |        
5 | packman                           | packman                           | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ |        
paulparker@linux-7769:~>


Check repository addresses with here: https://en.opensuse.org/Package_repositories




another GNOME user ;-)
 
Old 12-14-2015, 12:34 AM   #3
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
your url does not exist,

http://download.opensuse.org/debug/d...ata/repomd.xml


bu this one does,

http://download.opensuse.org/debug/d...ata/repomd.xml


but are you sure you need the debug packages? I don't think you want them
 
Old 12-17-2015, 04:26 AM   #4
andrew86576
LQ Newbie
 
Registered: Aug 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
HI,bro.
problem still not solved.
Quote:
linux-fdhr:~ # zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
1 | openSUSE-42.1-0 | openSUSE-42.1-0 | Yes | (r ) Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-Slimtype_DVD_A_DS8A3S_904140206685 |
2 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/d...42.1/repo/oss/ |
3 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/d.../repo/non-oss/ |
4 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/42.1/oss |
5 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/u.../42.1/non-oss/ |
6 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/distrib.../repo/non-oss/ |
7 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/distrib...42.1/repo/oss/ |
8 | repo-source | openSUSE-Leap-42.1-Source | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/source/...42.1/repo/oss/ |
9 | repo-update | openSUSE-Leap-42.1-Update | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/update/leap/42.1/oss/ |
10 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | ( p) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/
linux-fdhr:~ # zypper update
Retrieving repository 'openSUSE-Leap-42.1-Non-Oss' metadata ---------------------------------------------------------------------------------------------------------------------------------[\]
Download (curl) error for 'http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Failed to connect to download.opensuse.org port 80: Network is unreachable








Quote:
Originally Posted by polpak View Post
Read your repository settings with this command: zypper lr -d


This is what I view

Code:
paulparker@linux-7769:~> zypper lr -d
# | Alias                             | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                | Service
--+-----------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------+--------
1 | download.opensuse.org-main-update | download.opensuse.org-main-update | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                 |        
2 | download.opensuse.org-non-oss_1   | Main Repository (NON-OSS)         | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/  |        
3 | download.opensuse.org-oss_1       | Main Repository (OSS)             | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/      |        
4 | openSUSE-42.1-0                   | openSUSE-42.1-0                   | No      | ----      | No      |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part2         |        
5 | packman                           | packman                           | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ |        
paulparker@linux-7769:~>


Check repository addresses with here: https://en.opensuse.org/Package_repositories




another GNOME user ;-)
 
Old 12-17-2015, 04:29 AM   #5
andrew86576
LQ Newbie
 
Registered: Aug 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by a4z View Post
your url does not exist,

http://download.opensuse.org/debug/d...ata/repomd.xml


bu this one does,

http://download.opensuse.org/debug/d...ata/repomd.xml


but are you sure you need the debug packages? I don't think you want them
i have disable all debug. but still get incorrect xml.
Quote:
linux-fdhr:~ # zypper update
Retrieving repository 'openSUSE-Leap-42.1-Non-Oss' metadata ---------------------------------------------------------------------------------------------------------------------------------[\]
Download (curl) error for 'http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Failed to connect to download.opensuse.org port 80: Network is unreachable
how can i correct it?
and i search the web, someone seems like to disable ipv6. it works. but i did not success. why?
 
Old 12-17-2015, 04:43 AM   #6
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by andrew86576 View Post


how can i correct it?
pay more attention to the answers you get

I write it as code, maybe that's better readable for you?
Code:
yours, not working
http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/repodata/repomd.xml

what I posted, working
http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/suse/repodata/repomd.xml
 
Old 12-17-2015, 05:47 AM   #7
andrew86576
LQ Newbie
 
Registered: Aug 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
i have solve this problem now, i switched to another source list. the system can update now. but some source list seems not good. still not success. i do not know why.
i now switch source list to our domestic ustc.edu.cn.
it works
thank you , guys
 
Old 12-17-2015, 05:51 AM   #8
andrew86576
LQ Newbie
 
Registered: Aug 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by a4z View Post
pay more attention to the answers you get

I write it as code, maybe that's better readable for you?
Code:
yours, not working
http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/repodata/repomd.xml

what I posted, working
http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/suse/repodata/repomd.xml
thanks,friend. i solve it ,the system can update now. i switch to another source list.
but if i did not change the source list. it can not update. the xml file ,how can i change it? it seems it download from the source list itself.
 
Old 12-19-2015, 01:29 AM   #9
polpak
Member
 
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: GNOME openSUSE Leap/Ubuntu
Posts: 189

Rep: Reputation: 21
I use my GNOME Terminal


First ran sudo zypper ps so asked for password to check nothing hanging around,

then ran addrepo command:

Code:
paulparker@linux-7769:~> sudo zypper addrepo -f http://download.opensuse.org/update/leap/42.1/oss/   download.opensuse.org-main-update
Adding repository 'download.opensuse.org-main-update' .......................................................................................................................................................[done]
Repository 'download.opensuse.org-main-update' successfully added
Enabled     : Yes                                               
Autorefresh : Yes                                               
GPG Check   : Yes                                               
URI         : http://download.opensuse.org/update/leap/42.1/oss/

paulparker@linux-7769:~>




p.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: openSUSE 13.1 Reaches End of Life on January 5, 2016, Update to openSUSE Leap 42.1 LXer Syndicated Linux News 0 11-13-2015 08:31 AM
Software update fails - bad update in repo? terry-duell Fedora 1 11-22-2012 09:40 AM
in calculate linux, i didnt found software manager, software installer, update manage YRDIXIT Linux - Desktop 4 08-18-2012 04:47 AM
Yum errors after failed update through Software Update whitesleeve Fedora 1 07-24-2011 03:02 AM
LXer: Open-source software: A leap of faith? LXer Syndicated Linux News 0 05-04-2006 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration