LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-21-2018, 10:59 AM   #1
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 303
Blog Entries: 1

Rep: Reputation: 131Reputation: 131
OpenSUSE Leap 15 won't update


Hi LQ,

I had to reformat my PC due to an ugly update fiasco (thanks M$).

Long story short, I now have Win 10 and Leap 15 dual booted via UEFI. I have switched to NetworkManagement after Leap was installed, and now it can't update/install package properly.

The Error :
Code:
absusedesk:~ # zypper ref
Repository 'Google-Chrome' is up to date.                                                                                                                                                                                                                                      
Download (curl) error for 'http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/media.1/media':
Error code: Curl error 8
Error message: 

Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Do you want to disable the repository Main Repository (NON-OSS) permanently? [yes/no] (no): 
Skipping repository 'Main Repository (NON-OSS)' because of the above error.
Repository 'Update Repository (Non-Oss)' is up to date.                                                                                                                                                                                                                        
Repository 'Update Repository (DEBUG)' is up to date.                                                                                                                                                                                                                          
Download (curl) error for 'http://download.opensuse.org/distribution/leap/15.0/repo/oss/media.1/media':
Error code: Curl error 8
Error message: 

Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Do you want to disable the repository Main Repository (OSS) permanently? [yes/no] (no): 
Skipping repository 'Main Repository (OSS)' because of the above error.
Repository 'Main Update Repository' is up to date.                                                                                                                                                                                                                             
Some of the repositories have not been refreshed because of an error.
So apparently, the issue is with these two URLs and other repos seem to be working. (I was able to install google-chrome-stable).
If I curl the URLs separately, they work -

Code:
absusedesk:~ # curl http://download.opensuse.org/update/leap/15.0/non-oss/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Index of /update/leap/15.0/non-oss</title>
  <link rel="stylesheet" href="/icons/index.css" type="text/css" />
<script src="/icons/include/setloc.js" type="text/javascript"></script> </head>
 <body>
<div id="oss-header">
  ~~truncated
 <p class="text-center">&copy; 2015-2017 SUSE LLC. <span lang="en">All Rights Reserved.</span> <a lang="en" href="https://en.opensuse.org/Imprint">Imprint.</a></p>
</div>
</body></html>
absusedesk:~ # curl http://download.opensuse.org/distribution/leap/15.0/repo/oss/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Index of /distribution/leap/15.0/repo/oss</title>
  <link rel="stylesheet" href="/icons/index.css" type="text/css" />
<script src="/icons/include/setloc.js" type="text/javascript"></script> </head>
 <body>
<div id="oss-header">
  ~~truncated
</body></html>
absusedesk:~ #
What I have attempted:
1. I attempted switching to network.service (network managed by yast). Problem with these two repos persisted. So we're back to NetworkManager.
2. I have previously seen similar update error in Opensuse which was due to DNS issue. So I have turned NETCONFIG_DNS_POLICY='' in /etc/sysconfig/network/config and provided few IPs in /etc/resolv.conf. No change
3. Followed this and turned off IPV6. No change.
4. Followed this and double checked the Repo URLs. Seems correct.

My repositories are -
Code:
absusedesk:~ # zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                           | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                      | Service
---+---------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
 1 | Google-Chrome                   | Google-Chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                      |        
 2 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/        |        
 3 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/                   |        
 4 | download.opensuse.org-oss       | Update Repository (DEBUG)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.0/oss                  |        
 5 | download.opensuse.org-oss_1     | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/            |        
 6 | download.opensuse.org-oss_2     | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss                        |        
 7 | openSUSE-Leap-15.0-1            | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-hp_v100w_QWE07926-0:0-part1            |        
 8 | repo-debug                      | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/      |        
 9 | repo-debug-non-oss              | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/  |        
10 | repo-debug-update-non-oss       | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/             |        
11 | repo-source                     | openSUSE-Leap-15.0-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/     |        
12 | repo-source-non-oss             | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/ |
OS info -
Code:
absusedesk:~ # uname -a ; cat /etc/os-release 
Linux absusedesk.example.com 4.12.14-lp150.12.4-default #1 SMP Tue May 22 05:17:22 UTC 2018 (66b2eda) x86_64 x86_64 x86_64 GNU/Linux
NAME="openSUSE Leap"
VERSION="15.0"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.0"
PRETTY_NAME="openSUSE Leap 15.0"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.0"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
The error "Error code: Curl error 8" is consistent whether an update is attempted from zypper, Yast or PackageKit(system Tray icon). Any idea how I can fix this ?
 
Old 07-22-2018, 04:16 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,538

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
The network management choices are wicked or NetworkManager. Use YaST > System > Network Settings > Global Options to switch between them.

https://doc.opensuse.org/documentati...ec.nm.activate

Having said that, the choice of network management framework is not relevant to the repo issue you have.

Edit: Can you navigate to
http://download.opensuse.org/distrib.../media.1/media via a browser without issue? Are you behind an http proxy?

Last edited by ferrari; 07-22-2018 at 04:35 AM.
 
Old 07-22-2018, 05:29 AM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,538

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
This might be a better option if IPv6 is the issue...

https://doc.opensuse.org/documentati...rk.ipv6.config

Quote:
13.2.4 Configuring IPv6

To configure IPv6, you normally do not need to make any changes on the individual workstations. IPv6 is enabled by default. To disable or enable IPv6 on an installed system, use the YaST Network Settings module. On the Global Options tab, check or uncheck the Enable IPv6 option as necessary. To enable it temporarily until the next reboot, enter modprobe -i ipv6 as root. It is impossible to unload the IPv6 module after it has been loaded.
 
Old 07-22-2018, 05:48 AM   #4
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 303

Original Poster
Blog Entries: 1

Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by ferrari View Post
The network management choices are wicked or NetworkManager. Use YaST > System > Network Settings > Global Options to switch between them.

https://doc.opensuse.org/documentati...ec.nm.activate

Having said that, the choice of network management framework is not relevant to the repo issue you have.

Edit: Can you navigate to
http://download.opensuse.org/distrib.../media.1/media via a browser without issue? Are you behind an http proxy?
Hi ferrari,
Thanks for helping out.

I am not behind any proxy, just behind a home router. The webpage(s) do open in browser. Please see output from firefox copied below -

Quote:
http://download.opensuse.org/distrib.../media.1/media -->

openSUSE - openSUSE-Leap-15.0-Addon-NonOss-FTP-x86_64-Build267.2-Media
openSUSE-Leap-15.0-Addon-NonOss-FTP-x86_64-Build267.2
1

http://download.opensuse.org/distrib.../media.1/media -->

openSUSE - openSUSE-Leap-15.0-Addon-NonOss-FTP-x86_64-Build267.2-Media
openSUSE-Leap-15.0-Addon-NonOss-FTP-x86_64-Build267.2
1

 
Old 07-22-2018, 05:54 AM   #5
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 303

Original Poster
Blog Entries: 1

Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by ferrari View Post
This might be a better option if IPv6 is the issue...

https://doc.opensuse.org/documentati...rk.ipv6.config
At this moment,I am not entirely convinced it's an IPV6 issue. Other repositories are working as expected, though I can still resolve the domain name for it's ipv6 address.
Code:
absusedesk:~ # nslookup download.opensuse.org
Server:         199.85.127.10
Address:        199.85.127.10#53

Non-authoritative answer:
Name:   download.opensuse.org
Address: 195.135.221.134
Name:   download.opensuse.org
Address: 2620:113:80c0:8::13
But that's just nslookup. dig -6 queries are failing.
 
Old 07-24-2018, 03:27 AM   #6
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 303

Original Poster
Blog Entries: 1

Rep: Reputation: 131Reputation: 131
I have posted this question to opensuse forum too. I'll keep this thread updated.
 
Old 07-24-2018, 05:02 AM   #7
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,538

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
Quote:
I have posted this question to opensuse forum too. I'll keep this thread updated.
Good idea. You're bound to get the help you need by casting your net wider.
 
Old 07-25-2018, 12:39 PM   #8
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 303

Original Poster
Blog Entries: 1

Rep: Reputation: 131Reputation: 131
Thumbs up FIXED

I switched to a different mirror. Link
 
Old 07-25-2018, 02:37 PM   #9
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,538

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
Yes, I read that. Strange that it was required though. (I'd expect such an issue to affect many others, and I haven't seen such posts, apart from this one (Tumbleweed user) which posted in two places and I suspect has same underlying cause....

https://superuser.com/questions/1336...opensuse-repos
https://stackoverflow.com/questions/...opensuse-repos
 
Old 07-25-2018, 03:04 PM   #10
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 303

Original Poster
Blog Entries: 1

Rep: Reputation: 131Reputation: 131
I had already visited both links. This is why I posted here and on opensuse forum. Hopefully, Google will index these pages and people can find an answer(probably).
 
Old 07-25-2018, 05:57 PM   #11
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,538

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
Yes, I only shared them to illustrate I had found them. The openSUSE Forum is the best place to air such a specific issue IMO.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Leap 42.2 is out, how to upgrade safely from openSUSE Leap 42.1 LXer Syndicated Linux News 0 11-17-2016 07:18 AM
LXer: GCC 6 Imminent for openSUSE Tumbleweed, openSUSE Leap 42.2 Alpha 2 Coming Soon LXer Syndicated Linux News 0 06-16-2016 01:51 AM
[SOLVED] openSuSE Leap 42.1 static IP address won't ping router; all settings look correct. CJ Chitwood Linux - Networking 8 05-17-2016 02:02 PM
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
openSUSE 11.0 won't update wiliamvw Linux - Newbie 1 09-18-2008 08:30 PM

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

All times are GMT -5. The time now is 09:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration