Unable to do any updates on Leap 42.3

More or less fresh install of openSUSE 42.3 but unused for about 3 to 4 months.
When I boot up, package kit would start running automatically and stay for hours on “Checking updates”.

Killed package kit using:


sudo killall packagekitd

Then tried using Yast online update. It gets stuck on “Loading Package Manager”.

Tried


zypper update

Absolutely no output.

Checked repository URL’s and enabled/autorefresh only the basic four repositories. Retried Yast and zypper. Same results.

Changed network management from “wicked” to NetworkManager as suggested in another thread. No effect.

Now if I try to enter Yast - Software repositories (this is after logging out and logging in again after Yast gets stuck), I get:
"System management is locked by the application with pid 20039 (/usr/bin/ruby). Close this application before trying again.
The only ruby I’ve heard of (other than the gemstone and the one who took her lips to town) is a programming language and I’ve never ever used it.

Before, installing openSUSE 42.3, I had briefly installed 42.2 (or perhaps 42.1) I cant remember and had similar problems with updates - which was solved by adding an omitted file separator in the URL for the nvidia repo (unbelievable but true and I had not even entered the URL manually).

There are times perhaps when the repos are not available but this has now happened multiple times over several days.

I successfully (and continuously) used openSUSE 13.1 for over two years - only having to use my Windows 7 system once in the middle after a power failure messed up an update. But after 9/10 months of trying on and off, I have yet to open my account with Leap - there is always some problem or the other and the GUI is laggy and “just doesn’t feel right”.

I’d be grateful if anyone can help.

Do you have Intsernet?
Does

ping -c3 8.8.8.8

shows anything?

Also:

ping -c3 google.com

Post:

zypper -vvv up

Rebooted. So starting from a clean slate.

Internet seems fine. I’m posting from leap 42.3

ping -c3 8.8.8.8

gives


PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=40.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=40.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=47 time=40.9 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 40.969/40.988/40.999/0.234 ms

zypper -vvv up

shows (up to now - after abt 3 mins)


Verbosity: 3
Initializing Target
Checking whether to refresh metadata for openSUSE-Leap-42.3-Non-Oss

Also now “Software Updates” on the taskbar shows “Your system is offline”

A laptop with Networkmanager? I.e. packagekit trying to check before the networkconnection is fully establised?
Also, show output of

zypper lr -d

Actually it is a desktop running on a quad core llano.


zypper lr -d

gives:


#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                      | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
 1 | download.nvidia.com-leap  | nVidia Graphics Drivers                 | No      | ----      | ----    |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/42.3/                          |        
 2 | openSUSE-Leap-42.3-0      | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NS72_K2HC3UD5515  |        
 3 | repo-debug                | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/      |        
 4 | repo-debug-non-oss        | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/  |        
 5 | repo-debug-update         | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                 |        
 6 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/             |        
 7 | repo-non-oss              | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/        |        
 8 | repo-oss                  | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/            |        
 9 | repo-source               | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/     |        
10 | repo-source-non-oss       | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/ |        
11 | repo-update               | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                       |        
12 | repo-update-non-oss       | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                   |        

Remove repo nr. 2, it points to the install medium. Then open a terminal window and do

sudo zypper ref && sudo zypper up

sudo zypper ref && sudo zypper up

No response from zypper as before.
In any case the install medium was completely disabled.

Also, note that I’m on a wired internet connection.

ping -c3 google.com

is missing.


ping -c3 google.com


PING google.com (172.217.160.142) 56(84) bytes of data.
64 bytes from maa03s29-in-f14.1e100.net (172.217.160.142): icmp_seq=1 ttl=51 time=39.2 ms
64 bytes from maa03s29-in-f14.1e100.net (172.217.160.142): icmp_seq=2 ttl=51 time=39.2 ms
64 bytes from maa03s29-in-f14.1e100.net (172.217.160.142): icmp_seq=3 ttl=51 time=39.2 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 39.205/39.236/39.259/0.022 ms

And …


ping download.opensuse.org

and …

zypper clean && zypper ref

ping download.opensuse.org

results in:


64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=1 ttl=48 time=163 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=2 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=3 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=4 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=5 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=6 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=7 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=8 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=9 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=10 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=11 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=12 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=13 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=14 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=15 ttl=48 time=162 ms
...
...
...

Goes on and on, 16, 17, 18, …, 377, … never stops.

Use the -c count option to set the number of pings…

for example:

paul@Orion-15:~$ ping -c 4 download.opensuse.org
PING download.opensuse.org (195.135.221.134) 56(84) bytes of data.                     
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=1 ttl=57 time=45.0 ms       
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=2 ttl=57 time=33.5 ms       
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=3 ttl=57 time=27.6 ms       
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=4 ttl=57 time=38.6 ms       
                                                                                       
--- download.opensuse.org ping statistics ---                                          
4 packets transmitted, 4 received, 0% packet loss, time 3004ms                         
rtt min/avg/max/mdev = 27.640/36.231/45.093/6.421 ms                                   
paul@Orion-15:~$

Can you reach “download.opensuse.org” from a web browser?

If not, try a traceroute to “download.opensuse.org

paul@Orion-15:~$ sudo traceroute download.opensuse.org
[sudo] password for root: 
traceroute to download.opensuse.org (195.135.221.134), 30 hops max, 60 byte packets
 1  10.19.8.1 (10.19.8.1)  6.258 ms  11.084 ms  11.073 ms
 2  pete-core-2b-xe-1111-0.network.virginmedia.net (NNN.NNN.NNN.NNN)  12.845 ms  12.830 ms  12.817 ms
 3  * * *
 4  * * *
 5  tcl5-ic-6-ae0-0.network.virginmedia.net (62.254.85.66)  18.570 ms  18.570 ms  18.544 ms
 6  ae1-0.lon10.core-backbone.com (195.66.224.238)  21.478 ms  17.146 ms  16.805 ms
 7  ae6-2012.nbg30.core-backbone.com (80.255.15.197)  35.366 ms  35.336 ms  35.274 ms
 8  core-backbone.microfocus.com (5.56.18.210)  37.565 ms  37.725 ms  37.491 ms
 9  ftp.opensuse.org (195.135.221.134)  37.469 ms  37.412 ms  35.128 ms
paul@Orion-15:~$

Also:


zypper clean && zypper ref

yields


All repositories have been cleaned up.


But it is stuck after that.

Use the -c count option to set the number of pings…

Oh, OK, :thock:

Now I get:


PING download.opensuse.org (195.135.221.134) 56(84) bytes of data.
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=1 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=2 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=3 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=4 ttl=48 time=162 ms
64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=5 ttl=48 time=162 ms

--- download.opensuse.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 162.346/162.494/162.623/0.517 ms

Also I can access download.opensuse.org with my browser with no problems.

@tannington,

As per one of your replies on the thread:
https://forums.opensuse.org/showthread.php/528279-Unable-to-do-Online-UpdateI deleted all the existing repositories, and then tried adding them in one by one. However if I tried to add them in using Yast “Community Repos”, Yast hung. So I added them in manually, except that as per john_hudson’s post on:
https://forums.opensuse.org/showthread.php/528279-Unable-to-do-Online-UpdateI replaced:


http://download.opensuse.org/distribution/leap/42.3/repo/oss/

by


http://download.opensuse.org/distribution/leap/42.3/repo/oss/suse/

Same for non-oss. I didn’t do this for the update repos, that is I added them without modifying the url.
Once this was done, the Yast online update worked fine, and I was able to complete a largish update in about 15 minutes including a kernel update. Rebooted.

I was curious about the extra suse folder, because, there are also a few other folders in /repo/oss other than suse although suse seems to have the bulk of the files. So after the reboot, I tried changing one of the the url’s back to the original, but Yast got hung (at “Check Repository Type”) trying to complete that change. So although I’ve managed to update, its not exactly a satisfying conclusion - I’m not sure if something has been left out of the update.

could be a broken mirror
you could try and replace the meta-url download.opensuse.org which is more of a redirection service to a real mirror you can pick a mirror here
https://mirrors.opensuse.org/
a question can you install software from OBS of the top of my mind try and install chromium or seamonkey (install the one you don’t have) the reason being to see if you can install software from the update repo (both have recived updates since they wore released)

zypper in chromium 

or

zypper in seamonkey

one more thing that should not be of consequence, auto refresh is turned off for the update-non-oss repo it should be on for the update repo’s and it can be turned off for the main repo as their content never changes

zypper mr -r 12

Also, I can add the Packman and nvidia graphics driver repos using the Yast “Community Repositories” option, but I still cannot add the basic oss and non-oss repos via “Community Repositories” (Yast Hangs).

@I_A,

I remember SeaMonkey from about 15 yrs ago :)- I think I might have tried it briefly.

Anyway this is the output from “zypper in chromium”


Retrieving repository 'Main Update Repository OSS' metadata .......................................................................................................[done]
Building repository 'Main Update Repository OSS' cache ............................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following application is going to be installed:
  Chromium

The following 6 NEW packages are going to be installed:
  chromium libminizip1 libre2-0 libwebpmux1 noto-coloremoji-fonts noto-emoji-fonts

The following 2 recommended packages were automatically selected:
  noto-coloremoji-fonts noto-emoji-fonts

6 new packages to install.
Overall download size: 58.0 MiB. Already cached: 0 B. After the operation, additional 226.3 MiB will be used.
Continue? [y/n/...? shows all options] (y):

So it does appear to work - I think I can stop there - no need to install it.

Wow, that worked. I used:
http://ftp.gwdg.de/pub](http://ftp.gwdg.de/pub/opensuse/distribution/openSUSE-stable/repo/non-oss/)Which appears to have all the 42.3 repos. I added:
http://ftp.gwdg.de/pub/opensuse/distribution/openSUSE-stable/repo/oss/
http://ftp.gwdg.de/pub/opensuse/distribution/openSUSE-stable/repo/non-oss/

Yast added these cleanly - after which I tried another online update - but it looks like the update was already completed earlier as there were no additional changes suggested.
In any case that mirrors webpage is useful to know about. Thanks.

Perhaps I can leave it at that for the moment, but please do comment.

If that’s a reliable mirror for you then you could leave it as is, just remember you’ve changed it. :wink:

Personally I’d leave it for a week or two, then try download.opensuse.org again, and if that’s working OK revert back.