Hi.
Today I installed opensuse tumbleweed on my laptop and I have a weird problem with zypper
when i want to refresh the repos or install an app, zypper can’t download the content unless i abort or retry the process
for example i tried to install vlc on my computer, the first few packages from pakman downloaded in few second but when zypper tried to install packages from openSUSE-Tumbleweed-Oss, it download one package and the download stops for the next package and i had to hit ctrl + c and retry the process to download the next package
Did you switch to CDN? I don’t think it’s used by default though.
Seems like a problem with CDN availability to me. I think it is still in a testing period, at least I didn’t read anyting about the trial being finished:
Here is the description on how to switch back to the previous repos in case you don’t want to use CDN anymore:
it seems there are 4 packages with these names and as @arvidjaar mentioned two of them has nvidia name in it although my laptop does not have nvidia graphics
It’s fine. They are not flagged installed. Otherwise there would be an “i” in the first column.
What you see means just that they are available in repositories.
So, did you run sudo zypper ref && sudo zypper dup for refresh and update?
Unfortunately i can’t even refresh the repos and it tried to download from the CDN!
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ............[error]
Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid.
[repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL
History:
- Timeout exceeded when accessing 'http://cdn.opensuse.org/tumbleweed/repo/non-oss/repodata/631794a9ef84f65b6ecabb0fe4294a1ce54b304af893d452d74642fc27ac5af1465b1488e71a0435c78615054f3be0764cefb87dfdc4c795567735e8b8d1a132-primary.xml.gz'.
- Can't provide ./repodata/631794a9ef84f65b6ecabb0fe4294a1ce54b304af893d452d74642fc27ac5af1465b1488e71a0435c78615054f3be0764cefb87dfdc4c795567735e8b8d1a132-primary.xml.gz
I did a search on “cdn.opensuse.org” string on my system and I got a hit in: /var/cache/zypp/geoip.d/download.opensuse.org
I searched for this file and found that this file is created with zypper and there is a section about this in Zypp Configuration
## Whether to use the geoip feature of download.opensuse.org
##
## Valid values: boolean
## Default value: true
##
## The media backend can rewrite download requests to the geographically closest availble mirror.
## Which exact mirror is used will be determined by requesting a "geoip" file from download.opensuse.org
## via a HTTP GET request to https://download.opensuse.org/geoip , the server will use the clients IP to
## determine the closest mirror if available.
## Some specific files are however excluded from this redirection due to security reasons, especially the
## repo metdata index and it's key and checksum files: repomd.xml, repomd.xml.key and repomd.xml.asc
##
## download.use_geoip_mirror = true
“https://download.opensuse.org/geoip” returns this “cdn.opensuse.org” url and I think this is the problem.
How can I change this config? Just change true to false or uncomment it or something?
I’m not very good at zypper.