Can't update automatics bugs from repository

Hi,

I recently installed opensuse 13.2 and the installation was terrific !

The only thing now is that I can’t do the automatics updates from the bug symbol (the one that is in the bottom - right on the screen). And for that I can’t install new software and a few more things.

The error message in a window displayed says:

There was a (possibly temporary) problem connecting to a software origins.
Please check the detailed error for further details

And in the “detailed error”:

Download (curl) error for ‘http://download.opensuse.org/distribution/13.2/repo/non-oss/content’:
Error code: Connection failed
Error message: Failed to connect to download.opensuse.org port 80: Network is unreachable

Does anybody know why this is happens ? And knows how to fix it ?

Regards,

Agunet74

I think you meant something else than terrific, otherwiser the “the only thing” wouldn’t fit.

Looks like you have no network connection. Please open a terminal and show output of

ip addr && cat /etc/resolv.conf

, between CODE tags, the # in the editor.

agunet@agunet:~> ip addr && cat /etc/resolv.conf
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether bc:5f:f4:2f:ef:a9 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.21/24 brd 192.168.1.255 scope global enp5s0
valid_lft forever preferred_lft forever
inet6 fe80::be5f:f4ff:fe2f:efa9/64 scope link
valid_lft forever preferred_lft forever

/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!

nameserver 192.168.1.1
agunet@agunet:~>

I asked to post between CODE tags, do you see the difference?

How do you connect to the web? Is this a laptop or a desktop machine?

I connect via desktop machine.

Use Yast - Network - Networksettings and set the IP address to a static one ( if your router has 192.168.1.1, use 192.168.1.10 for example ), use 8.8.8.8 and 8.8.4.4 as DNS’s, and your router’s IP as the gateway. If the network hasn’t restarted after 5 minutes, reboot the machine.

Before trying to update, first use firefox to see if you are connected to the internet.

I’m sorry but I don’t understand what do I have to do into the Network Settings. Would you give me an extra help ? thanks.

Whenever I see the error displayed that a network connection couldn’t reach something…
My first step is to just open up that URL in a web browser

In a web browser, open

http://download.opensuse.org/distribution/13.2/repo/non-oss/content

That simple check accomplishes many things…

  • It establishes a fully working network configuration including client IP address, default gateway and DNS name resolution
  • It checks for the actual existence of whatever the target URL points to, whether it’s a folder or file.

In this case, I’d be curious why it’s trying to download that particular file, ordinarily the repo definition is only to the folder and does not specify the file, in this case “content”

Maybe you should doublecheck the URL for non-oss

zypper lr -d | grep non-oss

Maybe there could be a bug in whatever app is invoking an update, I’m unclear what app is actually causing the problem, maybe apper?

TSU

Of course, here you go:

Start Yast - Network - Networksettings ( it might be under System )

In the Global tab:

  • make sure the networking method is set to “wicked”, leave the rest as it is

In the Overview tab:

  • click the network card, click Edit

  • click the radio-button “Static IP address”, the fields below open. Use these values

    • IP address: 192.168.1.21 ( we can use this IP since your machine has it, so no other device can be using this one )
    • Netmask: 255.255.255.0
    • Hostname: whatever you like, or leave as is
  • click “Continue”.
    We now have assigned a static ( fixed ) IP address to the networkcard, but the networking still doesn’t have any DNS (nameservers, they translate ‘google.com’ to an IP address ), and it doesn’t know where the internet is, since it has no gateway to the outside world. so

In the Hostname/DNS tab

  • Provide a hostname and domain, f.e. ‘tuxbox’ and ‘opensuse’

  • Use the following nameservers

    • 1 -> 8.8.8.8
    • 2 -> 8.8.4.4
    • 3 -> 192.168.1.1

The networking now knows where to ask where ‘google.com’ is.

In the Routing / Gateway tab

  • At “Standard IP4 Gateway” use 192.168.1.1
    And the route to the outside world is available.

Now click OK. In some cases this will return a message that the network is not available. In such case, reboot and you should be online. Let us know if you got it working now.

Read tsu2’s comments on what to do in case of aledged network errors.

Of course, here you go:

Start Yast - Network - Networksettings ( it might be under System )

In the Global tab:

  • make sure the networking method is set to “wicked”, leave the rest as it is

In the Overview tab:

  • click the network card, click Edit
  • click the radio-button “Static IP address”, the fields below open. Use these values
  • IP address: 192.168.1.21 ( we can use this IP since your machine has it, so no other device can be using this one )
  • Netmask: 255.255.255.0
  • Hostname: whatever you like, or leave as is
  • click “Continue”.
    We now have assigned a static ( fixed ) IP address to the networkcard, but the networking still doesn’t have any DNS (nameservers, they translate ‘google.com’ to an IP address ), and it doesn’t know where the internet is, since it has no gateway to the outside world. so

In the Hostname/DNS tab

  • Provide a hostname and domain, f.e. ‘tuxbox’ and ‘opensuse’
  • Use the following nameservers
  • 1 -> 8.8.8.8
  • 2 -> 8.8.4.4
  • 3 -> 192.168.1.1

The networking now knows where to ask where ‘google.com’ is.

In the Routing / Gateway tab

  • At “Standard IP4 Gateway” use 192.168.1.1
    And the route to the outside world is available.

Now click OK. In some cases this will return a message that the network is not available. In such case, reboot and you should be online. Let us know if you got it working now.

Read tsu2’s comments on what to do in case of aledged network errors.

First, sorry for the delay for answer your post.

I follow the steps one by one and now I still continue navigate in firefox but I can not download any bug’s fix from the bug icon. Before making this change a couple of windown were displayed and after that error was displayed in another window. Now in a 1 in a circle icon the error is displayed and there’s nothing I can do from that moment and on.

I really don’t know what else to do.

I don’t know what is happening there ( in the 3.2 version) but all I know is the Tumbleweed version works great.

see you.