11.3m7 problems with updates/package manager

Hi,

I just installed openSuse 11.3m7. All works, but I cannot update or install packages from the package manager without the CD.

benjamin@(none):~> zypper lr -d
# | Alias        | Nom                   | Activé | Rafraîchir | Priorité | Type     | URI                                                             | Service
--+--------------+-----------------------+--------+------------+----------+----------+-----------------------------------------------------------------+--------
1 | PK_TMP_DIR   | PK_TMP_DIR            | Oui    | Oui        |   99     | plaindir | dir:///var/tmp/TmpDir.6s1Twd                                    |        
2 | repo-debug   | openSUSE-11.3-Debug   | Non    | Oui        |   99     | NONE     | http://download.opensuse.org/debug/distribution/11.3/repo/oss/  |        
3 | repo-non-oss | openSUSE-11.3-Non-Oss | Oui    | Oui        |   99     | NONE     | http://download.opensuse.org/distribution/11.3/repo/non-oss/    |        
4 | repo-oss     | openSUSE-11.3-Oss     | Oui    | Oui        |   99     | NONE     | http://download.opensuse.org/distribution/11.3/repo/oss/        |        
5 | repo-source  | openSUSE-11.3-Source  | Non    | Oui        |   99     | NONE     | http://download.opensuse.org/source/distribution/11.3/repo/oss/ |        
6 | repo-update  | openSUSE-11.3-Update  | Oui    | Oui        |   99     | NONE     | http://download.opensuse.org/update/11.3/                       |        
benjamin@(none):~> 


The error is:

Erreur de téléchargement (curl) pour 'http://download.opensuse.org/distribution/11.3/repo/oss/repodata/repomd.xml':
Code erreur: Connection failed
Message erreur: Could not resolve host: download.opensuse.org (Domain name not found)

Thanks

Remove repo #1, that should solve it. Are you aware of the fact that you’re using a development release, not yet ready ?

Edit: I misread some things:

Remove all the repos, and recreate them from the URLs below. If you look well, you see that the repos all have the Type=NONE, that should be the repo type.
http://download.opensuse.org/distribution/11.3/repo/oss/
http://download.opensuse.org/distribution/11.3/repo/non-oss/
http://download.opensuse.org/update/11.3/

Also check your network configs if the problem persists.

thank you for your answer.
My network config is working.

I added the first, but the error is the same.

Erreur de téléchargement (curl) pour 'http://download.opensuse.org/distrib...11.3/repo/oss/repo/repoindex.xml':
Code erreur: Connection failed
Message erreur: Could not resolve host: download.opensuse.org (Domain name not found)

It does not find the repoindex.xml. I checked, this file does not exist.

Please post output of


rpm -qa | grep curl

BTW are you aware of the fact that M7 is a development release, meant for testing, not for production use?

thank you for your answer.
I’m finally installing 11.2

I hope that migration from 11.2 to 11.3 final will be easy

Thank you

Hi,

I am having the same problem with 11.3 r7.
I can ping download.opensuse.org.
I can even browse the repository with Konqueror.
I deleted all the repositories from yast as suggested above.
Oh, except for the dvd/cd one.
Whenever I try to add a new repository to yast I get this error:

Download (curl) error for ‘http://download.opensuse.org/distribution/11.3/repo/oss/repo/repoindex.xml’:
Error code: Connection failed
Error message: Resolving host timed out: download.opensuse.org

curl info:

rpm -qa | grep curl
libcurl4-7.20.1-1.2.x86_64
curl-7.20.1-1.2.x86_64

I do not have any experience with curl so any help to find the source of this problem would be appreciated.

I installed 11.2 and the problem was solved.

@joepadmiraal: Your ‘curl’ is OK. Same here. Please post output of:


nohup strace -f -e connect zypper ref ;  grep connect nohup.out

The problem is that the repos are not yet available, simply.

I installed 11.2 and the problem was solved.

Yeah, I have no problems with 11.2 either:)

Here is the output:

nohup strace -f -e connect zypper ref ; grep connect nohup.out
nohup: ignoring input and appending output to `nohup.out’
connect(5, {sa_family=AF_FILE, path=“/var/run/nscd/socket”}, 110) = 0
connect(5, {sa_family=AF_FILE, path=“/var/run/nscd/socket”}, 110) = 0

Remove all repos, and add these:
Index of /factory-snapshot/repo/oss
Index of /factory-snapshot/repo/non-oss

These repos contain M7 at the moment. Accept key when prompted for.
Please let know if this works.

Unfortunately this url gives the same result.
I can browse the url with konqueror but yast gives the resolving host time out.

One thing I noticed is the url yast is trying to use:
http://download.opensuse.org/factory-snapshot/repo/oss/repo/repoindex.xml
I can browse up to factory-snapshot/repo/oss.
I don’t see the repo directory.

Now the strange part is that I can use yast with this url if I resolve the domain name my self.
So when I enter the following url into yast, it works fine:
Index of /factory-snapshot/repo/oss

So that’s a DNS problem. I suggest you run:


zypper ref
zypper ve zypper

And…is ipV6 disabled? Is Yast.Software installer the only app that has this ?

I tried to download http://download.opensuse.org/factory-snapshot/repo/oss/content with konqueror, wget and curl.
curl also gave a dns error, konqueror and wget had no problem.
So it looks like a curl problem.
I do have ipv6 enabled.
I tried the zypper commands.
But I now only have the url’s in yast with the ip addresses, so what will those zypper commands tell me?

I did some more testing.
I disabled ipv6.
This did not change anything.

I added the dns server’s of my isp as name server 1 and 2 in yast network settings.
After this yast and curl both are working correctly.
I also changed the name server settings in yast to point to my router.
This gave the same behavior as before, yast and curl cannot resolve domain names.
wget and konqueror do work fine with this setting.

So it looks like curl cannot cope with the way my router forewards the dns requests to my isp.
It is a DLink DIR-655 which has DNS Relay enabled (default setting).
Should I post this information on a curl forum?

Joep.

Did you disable ipV6 in Yast-Network Settings? That’s not enough, you also need to add


ipv6-disable=1

to the boot options line, or, to make it persistent, add it to the boot options line in “/boot/grub/menu.lst”

Do I understand well, that with DNS’s configured manually in Yast, all works as it should? I would say then, that with ipv6 completely disabled (see above), it’s in the router’s configs.

Prettig weekend

Ok, now I disabled ipv6 also with the boot options.
This did not make any difference.

Indeed, when using my isp’s dns server manually, it works.
It might be a problem in my router, but I still think it is strange:

  • my other pc’s (windows xp, windows 7, opensuse 11.2, opensuse 11.1, ubuntu 10.4) do not have this problem.
  • my other programs (wget, konqueror, nslookup) also do not have this problem.

Also, nslookup can use the dhcp dns settings:
With manual dns settings:

joep@linux-mwwo:~/Documents/> nslookup download.opensuse.org
Server: 212.54.40.25
Address: 212.54.40.25#53

Non-authoritative answer:
Name: download.opensuse.org
Address: 195.135.221.130

With dhcp dns settings:

joep@linux-mwwo:~/Documents/> nslookup download.opensuse.org
Server: 192.168.0.1
Address: 192.168.0.1#53

Non-authoritative answer:
Name: download.opensuse.org
Address: 195.135.221.130

So, ziggo huh? Recently got a new modem? If so, switch off all, turn on modem, turn on router, turn on PC.
For the moment, I would leave the DNS’s manually configured. Take ziggo’s or use googel’s 8.8.8.8 and 8.8.4.4. It may very well be something in openSUSE, it is a Milestone release you’re running, i.e. a development snapshot. See if the problem persists in coming releases.

Nope, no new modem or anything hardware related.
I know this is a beta version, but that’s exactly where this ‘pre-release/beta’ forum is for right?
To let the people know if something is broken with the current beta release.

I will wait until the next version and check if the problem still exists.