PDA

View Full Version : Problem updating / installing softwares in SLED 11



karimcub
30-Jan-2013, 13:07
While trying to install updates OR softwares using zypper, I am getting following error message in SLED 11. How to solve this? Grateful for any help/suggestions...


user@localhost:~>sudo zypper install update
root's password:
Download (curl) error for 'https://SLED11SP2HPBNBUNREGISTERED@nu.novell.com/repo/$RCE/SLED11-SP2-HP-BNB-Unregistered-Updates/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'nu.novell.com'

Abort, retry, ignore? [a/r/i/?] (a):

Karim

mikewillis
30-Jan-2013, 13:44
user@localhost:~>sudo zypper install update

'install update' isn't valid. Unless you're attempting to install a package called update. If you want to install updates you need 'zypper update'




Error message: Couldn't resolve host 'nu.novell.com'

Does your machine have a working network connection? What's the output of

$ host nu.novell.com
$ host news.bbc.co.uk

When posting output wrap it in CODE tags for readability. (Look for the # button in the toolbar when posting.)

karimcub
30-Jan-2013, 13:52
user@localhost:~> host nu.novell.com
;; connection timed out; no servers could be reached
user@localhost:~>host news.bbc.co.uk
;; connection timed out; no servers could be reached

mikewillis
30-Jan-2013, 15:06
user@localhost:~> host nu.novell.com
;; connection timed out; no servers could be reached
user@localhost:~>host news.bbc.co.uk
;; connection timed out; no servers could be reached

So the reason you cant install updates appears to be that either computer doesn't have a network connection, or you don't have any DNS resolution. What happens if you try to ping the IP address for news.bbc.co.uk

$ ping 212.58.244.60
Or if you put that IP address in to Firefox?

What's the output of

$ /sbin/ifconfig -a

When posting output wrap it in CODE tags for readability. (Look for the # button in the toolbar when posting.)

karimcub
31-Jan-2013, 10:14
Does your machine have a working network connection?

YES, it does. I am able to access Internet normally, open sites through URLs and download files and contents.


What happens if you try to ping the IP address for news.bbc.co.uk :
$ ping 212.58.244.60



user@localhost:~> ping 212.58.244.60
connect: Network is unreachable


Or if you put that IP address in to Firefox?

In Firefox, the site http://www.bbc.co.uk/news/ is able to open normally using 212.58.244.60.


What's the output of
Code:

$ /sbin/ifconfig -a


user@localhost:~> /sbin/ifconfig -a
eth1 Link encap:Ethernet HWaddr 24:BE:05:23:10:10
inet addr:10.0.5.62 Bcast:10.0.255.255 Mask:255.255.0.0
inet6 addr: fe80::26be:5ff:fe23:1010/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34709 errors:0 dropped:0 overruns:0 frame:0
TX packets:3523 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6137287 (5.8 Mb) TX bytes:668432 (652.7 Kb)
Interrupt:20 Memory:f7c00000-f7c20000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4592 (4.4 Kb) TX bytes:4592 (4.4 Kb)

mikewillis
31-Jan-2013, 13:48
This

YES, it does. I am able to access Internet normally, open sites through URLs and download files and contents.
seems to rather conflict with



user@localhost:~> ping 212.58.244.60
connect: Network is unreachable



In Firefox, the site http://www.bbc.co.uk/news/ is able to open normally using 212.58.244.60.

Have you configured Firefox to use a proxy?
Is there some sort of proxy and/or firewall type set up on your network which allows through HTTP but blocks other protocols?

What's the output of

$ curl http://news.bbc.co.uk
$ curl http://212.58.244.60
$ telnet www.bbc.co.uk
$ telnet 212.58.244.60
$ ssh www.bbc.co.uk
$ ssh 212.58.244.60