I’m currently running 11.3 and decided I’d try upgrading to 11.4 following the instructions here: SDB:System upgrade - openSUSE
Unfortunately, my attempts are defeated at the point of trying to refresh the new repos; I get the following message (for the oss repo, in this case):
With 11.4 replaced by 11.3 in the repo url, it refreshes just fine. The only repository that works when I change 11.3 to 11.4 is the Packman repo. I’m not really sure why the connection fails for 11.4 but not 11.3!
Further info: I have an old router with no IPv6 support, but have IPv6 disabled system-wide. I can enter the url for the repositories into firefox and they come up just fine - it’s only with zypper/YaST that I get the above error message.
I also tried upgrading using the network CD but ran into the same sort of problem. In this case it may be because the CD installer doesn’t disable IPv6.
(I didn’t want to download the DVD at my connection speed, and the KDE live CD is not listed as suitable for upgrade).
Any suggestions are appreciated! (Of course, I could just stay with 11.3…)
Thanks for the suggestion - I was wondering about mirrors actually. (I came to openSUSE from Ubuntu, and was used to choosing my mirror using the package manager.) Unfortunately I get the same sort of error message. I tried both 11.3 and 11.4 with kernel.org (it was the best server for my location for Ubuntu), and I tried both http and ftp. I can browse the directories fine with Firefox, but YaST/Zypper seem to be unable to read the media.1 directory.
I guess if I decide I really want to upgrade, I can always try a clean install of 11.4.
Thanks for the reply. Here is the output from trying the commands you suggested, both before and after following the instructions for updating the repositories found at SDB:System upgrade - openSUSE, as well as the result of zypper ref after changing the repos:
##Result of commands initially:
sean@linux-2zgm:~> zypper lr -pP
# | Alias | Name | Enabled | Refresh | Priority
---+-------------------------------+-----------------------------------+---------+---------+---------
1 | Packman_Repository_1 | Packman Repository | Yes | Yes | 99
2 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | Yes | Yes | 99
3 | download.opensuse.org-games | openSUSE BuildService - Games | Yes | Yes | 99
4 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | Yes | 99
5 | download.opensuse.org-oss | Main Repository (OSS) | Yes | Yes | 99
6 | download.opensuse.org-update | Main Update Repository | Yes | Yes | 99
7 | google-talkplugin | google-talkplugin | Yes | Yes | 99
8 | repo-debug | openSUSE-11.3-Debug | No | No | 99
9 | repo-non-oss | openSUSE-11.3-Non-Oss | No | No | 99
10 | repo-oss | openSUSE-11.3-Oss | No | No | 99
11 | repo-source | openSUSE-11.3-Source | No | No | 99
12 | repo-update | openSUSE-11.3-Update | No | No | 99
sean@linux-2zgm:~> zypper ve
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
sean@linux-2zgm:~> rpm -qa | grep zypper
zypper-1.4.8-0.2.4.x86_64
##Output of zypper ref after changing the repositories according
##to the update instructions online:
sean@linux-2zgm:~> sudo zypper ref
Retrieving repository 'openSUSE-11.4 Non-OSS' metadata \]
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository 'openSUSE-11.4 Non-OSS' metadata [error]
Repository 'openSUSE-11.4 Non-OSS' is invalid.
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.4 Non-OSS' because of the above error.
Retrieving repository 'openSUSE-11.4 OSS' metadata |]
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository 'openSUSE-11.4 OSS' metadata [error]
Repository 'openSUSE-11.4 OSS' is invalid.
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.4 OSS' because of the above error.
Retrieving repository 'openSUSE-11.4 Updates' metadata /]
Download (curl) error for 'http://download.opensuse.org/update/11.4/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'http://download.opensuse.org/update/11.4/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository 'openSUSE-11.4 Updates' metadata [error]
Repository 'openSUSE-11.4 Updates' is invalid.
Download (curl) error for 'http://download.opensuse.org/update/11.4/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.4 Updates' because of the above error.
Could not refresh the repositories because of errors.
##Result of following suggested commands afterwards:
sean@linux-2zgm:~> zypper lr -pP
# | Alias | Name | Enabled | Refresh | Priority
---+-------------------------------+-----------------------------------+---------+---------+---------
1 | Packman_Repository_1 | Packman Repository | No | Yes | 99
2 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | No | Yes | 99
3 | download.opensuse.org-games | openSUSE BuildService - Games | No | Yes | 99
4 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | No | Yes | 99
5 | download.opensuse.org-oss | Main Repository (OSS) | No | Yes | 99
6 | download.opensuse.org-update | Main Update Repository | No | Yes | 99
7 | google-talkplugin | google-talkplugin | No | Yes | 99
8 | repo-11.4-non-oss | openSUSE-11.4 Non-OSS | Yes | No | 99
9 | repo-11.4-oss | openSUSE-11.4 OSS | Yes | No | 99
10 | repo-11.4-update | openSUSE-11.4 Updates | Yes | No | 99
11 | repo-debug | openSUSE-11.3-Debug | No | No | 99
12 | repo-non-oss | openSUSE-11.3-Non-Oss | No | No | 99
13 | repo-oss | openSUSE-11.3-Oss | No | No | 99
14 | repo-source | openSUSE-11.3-Source | No | No | 99
15 | repo-update | openSUSE-11.3-Update | No | No | 99
sean@linux-2zgm:~> ^C
sean@linux-2zgm:~> zypper ve
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Error building the cache:
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Warning: The metadata cache needs to be built for the 'openSUSE-11.4 Non-OSS' repository. You can run 'zypper refresh' as root to do this.
Disabling repository 'openSUSE-11.4 Non-OSS'.
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Error building the cache:
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/oss/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Warning: The metadata cache needs to be built for the 'openSUSE-11.4 OSS' repository. You can run 'zypper refresh' as root to do this.
Disabling repository 'openSUSE-11.4 OSS'.
Download (curl) error for 'http://download.opensuse.org/update/11.4/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'http://download.opensuse.org/update/11.4/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Abort, retry, ignore? [a/r/i/?] (a): a
Error building the cache:
Download (curl) error for 'http://download.opensuse.org/update/11.4/content':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
Warning: The metadata cache needs to be built for the 'openSUSE-11.4 Updates' repository. You can run 'zypper refresh' as root to do this.
Disabling repository 'openSUSE-11.4 Updates'.
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
sean@linux-2zgm:~> rpm -qa | grep zypper
zypper-1.4.8-0.2.4.x86_64
I think the 11.3 zypplibs are in error because I went from clean install 11.1 to 11.4 and now using the download.opensuse.org now with 11.4. I don’t have a problem with 11.2 using those repos. For some reason your 11.3 zypplibs can’t find download.opensuse.org 11.3 or 11.4, there’s no UPDATE in distribution but the OSS and NON-OSS are there.
Try using a mirror site for your upgrade. I use modifyrepos (mr) to set the order of searching and selecting from my repos, basic update priority 94 for UPDATE, 96 OSS and NONOSS, 98 Packman, VLC, 99-150 all others. I switched for multimedia, 92 Packman, 93 VLC upgrades.
When you followed the SDB did you use zypper that checks if the repos exists and/or adds the repos? When you add the mirror sites delete or disable the opensuse sites.
I used the instructions for zypper to do the update. Once I got to the ‘zypper ref’ step, I ended up with the error messages in my previous post. I get the same sort of problem if I try to switch to a mirror repo. My openSUSE install is non-critical, so I think I’ll just leave it be for now, and do a clean install at some point in the future.
Thanks for the help though.
If you do “zypper lr --details” one of the columns is “type”, which should
be “yast2” for oss and non-oss, and “rpm-md” for the updates repo. I would
remove all repos, then add those three only.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
I tried using a mirror, as it was suggested as a workaround above.
I see now that the 11.4 repos I added have their type listed as NONE. However, I don’t know if there’s any way I can change that. I disabled my existing repos and then added the 11.4 repos (OSS, Non-OSS and Update) using zypper according to the instructions on the SDB and was then unable to refresh them.
It doesn’t seem like I’m supposed to define a type for the new repos once I add them so I’m not sure how to correct it. In any case, I guess there’s no real need to update to 11.4 at the moment.
On 2011-04-07 20:36, dsfitzpatrick wrote:
>
> I tried using a mirror, as it was suggested as a workaround above.
> I see now that the 11.4 repos I added have their type listed as NONE.
> However, I don’t know if there’s any way I can change that.
Remove, and add again. Not disable. If they come again incorrect, there is
some kind of network problem. It will not work till the type is correct.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)