update 11.1 to 11.2 no repositories

Hi, I upgraded my system from 11.1 to 11.2, unfortunately after the upgrade there were no repositories set up. My notebook already has 11.2 on it, so I just copied the addresses from there and tried to update. Everytime I try zypper up, or from yast online-update. I wait for 10 min, and get an timeout error.

I have no idea how to fix this, ne1 have an idea?

  1. there is no supported upgrade from 11.1 to 11.2 (except when you call a new install while keeping your /home and upgrade).
  2. Show us
zypper lr -d

and

cat /etc/SuSE-release

zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±------------±---------------------±--------±--------±---------±-------±------------------------------------------±-------
1 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |

cat /etc/SuSE-release
openSUSE 11.2 (x86_64)
VERSION = 11.2

At the moment I only have the one repository added. As soon as I figure out why this one isn’t working I’ll add the rest.

Humour me and add these repos:

zypper ar -f http://download.opensuse.org/distribution/11.2/repo/oss/ oss

zypper ar -f http://download.opensuse.org/distribution/11.2/repo/non-oss/ non-oss
zypper ar -f http://packman.unixheads.com/suse/11.2/ packman 

Now do

zypper ref

and accept the keys

Now how is it?

[quote]
> zypper ref
Metadaten von Repository ‘non-oss’ werden abgerufen ]Timeout exceed

Abbrechen, wiederholen, ignorieren? [a/w/i] (w):
w nach 22 automatisch wählen

[quote]

Looks like it’s some sort of network problem. I know I can ping google and other webpages, unfortunately since I upgraded to 11.2 I haven’t been able to get X back up and running I need to reinstall the nvidia drivers. So first just fixing the repos then I can work on getting X back up, but X isn’t a priority right now.

Try changing from DHCP in your network settings and manually enter the DNS info for your connection.

I don’t use DHCP, I have a static IP setup. I have also set up the same DNS server used by my other computer.

Did you try DHCP already?

Move your xorg.conf to xorg.conf.old, reboot and you should be able to run an X session. That would make the desktop available for you.

The problem is not so much getting a working X, is I need to be able to get the repos to work again. I don’t know where to start looking to be able to fix the problem. I keep getting a timeout exceeded but the internet works on the pc.

Show

ifconfig -a

and

netstat -rn

and

cat /etc/resolv.conf

so that we can see things about your network.

Hmm, looks like eth3 looks a bit sparse

eth0 Link encap:Ethernet Hardware Adresse 40:61:86:2E:EC:F0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:35 Basisadresse:0xc000

eth2 Link encap:Ethernet Hardware Adresse 40:61:86:2E:EC:F1
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:36 Basisadresse:0xe000

eth3 Link encap:Ethernet Hardware Adresse 00:24:01:F1:40:8C
inet Adresse:172.22.78.31 Bcast:172.22.78.255 Maske:255.255.255.0
inet6 Adresse: fe80::224:1ff:fef1:408c/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1791126 errors:0 dropped:0 overruns:0 frame:0
TX packets:5658 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:156073453 (148.8 Mb) TX bytes:502147 (490.3 Kb)
Interrupt:16 Basisadresse:0xac00

lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

netstat -rn
Kernel IP Routentabelle
Ziel Router Genmask Flags MSS Fenster irtt Iface
172.22.78.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.22.78.126 0.0.0.0 UG 0 0 0 eth3

cat /etc/resolv.conf

/etc/resolv.conf file autogenerated by netconfig!

Before you change this file manually, consider to define the

static DNS configuration using the following variables in the

/etc/sysconfig/network/config file:

NETCONFIG_DNS_STATIC_SEARCHLIST

NETCONFIG_DNS_STATIC_SERVERS

NETCONFIG_DNS_FORWARDER

or disable DNS configuration updates via netconfig by setting:

NETCONFIG_DNS_POLICY=‘’

See also the netconfig(8) manual page and other documentation.

Note: Manual change of this file disables netconfig too, but

may get lost when this file contains comments or empty lines

only, the netconfig settings are same with settings in this

file and in case of a “netconfig update -f” call.

Please remove (at least) this line when you modify the file!

search nameserver1 nameserver 2 nameserver 3
nameserver 129...*
nameserver 129..**.
nameserver 129...

Please do not use QUOTE tags around computer text but CODE (that is the # button). Some of the above is barely understandable.

In any case your /etc/resolv.conf is bogus:

search         nameserver1 nameserver 2 nameserver 3
nameserver     129.**.**.*
nameserver     129.*.**.*
nameserver     129.**.***.*

There should be IP addresses on those line and not * in whatever form.
And the search statement should contain one or more domains (or be left out completely) instead of the five (!) white space separated fields you have.

How did you get this in there? When your router is also your DNS server, it should be:

nameserver    172.22.78.126

Or when your provider offers you the service of some DNS servers use those.
Third possibility, use some others out on the Internet llike Googles:

nameserver    8.8.8.8
nameserver    8.8.4.4

Hi sorry,

I changed the IP addreses of the DNS servers to *, they were the proper ips and nameservers, I just changed them for privacy reasons. The domains I changed as well, should have made that clear sorry about that. I’m sure that they work though and the numbers are correct. My university has 3 nameservers (I live in a dorm) and a seperate gateway. Which is why I can’t really try out DHCP. 172.22.78.126 is the gateway not a nameserver (as far as I know).

I can not advise you when I am offered mutilated output. I still think that your

search         nameserver1 nameserver 2 nameserver 3

might spol the whole thing because the words there show a lack of understanding. When you would have put there

search         domain1 domain2 domain3

I would have got at least the idea that you understand what goes there.

But as said, when you think that reveiling things as DNS server addresses of your Intranet are compromising your security, I can not help you.

Umm here’s the proper output from /etc/resolv.conf.


# ssh ismpc31 -X
Password:
Last login: Mon Jun  7 11:04:34 2010
Have a lot of fun...
ismpc31: > cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search mach.uni-karlsruhe.de rz.uni-karlsruhe.de uni-karlsruhe.de
nameserver 129.13.64.5
nameserver 129.3.96.2
nameserver 129.13.180.2

Looks fine. When you had posted that earlier, we could have saved a lot of time going after the problem.

Sorry, I am bussy at the moment. I will read again the whole thread from top to bottom to see if a can suggest something.

whitethorn wrote:
> # ssh ismpc31 -X

this machine that you can’t get the repos set on is the AMD64 in your
sig, and you ssh to it, to admin it…right?

does that mean you are running ssh on the Lenovo as root? why? can’t
you you run it as a regular user?

or, are you logged into KDE/Gnome/whatever-GUI as root? or what??


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Seeing now you are in the university network of Uni Karlsruhe, aren’t you supposed to use a proxy for going on the Internet? And when yes, does YaST > Sofware management (and thus zypper) know about this?

I am not very fluent with this, but maybe somebody here can help you with a proxy configuration for repository usage.

And like DenverD, the use of root to ssh to a system looks far more dangerous to me then showing the DNS servers of the Uni (which are widely published within the Uni I suppose).

DD has one, the OP is accessing the machine as root, which is not allowed by default:


#PermitRootLogin yes

in /etc/ssh/sshd_config. As you can see it’s #ed out. Try accessing as the normal user.

Ok, so I figured out what was wrong. It’s the plug in the wall, who would of thought. Ssh works and ping works but nothing else, really wierd. I tried my notebook using an ethernet cable to the same plug and it wouldn’t work either. So I carried my pc over to the next room and plugged it in and it worked. I’m not all that worried about root access because I only allow ssh from certain IPs and I don’t leave the pc on much. Thanx for the help too bad it was a hardware failure.