On Suse 11.2, i386, at a terminal, I can do:
sudo su -
root# zypper refresh
Repository 'openSUSE-11.2-Non-Oss' is up to date.
Repository 'openSUSE-11.2-Oss' is up to date.
Repository 'openSUSE-11.2-Source' is up to date.
Retrieving repository 'openSUSE-11.2-Update' metadata [done]
Building repository 'openSUSE-11.2-Update' cache [done]
All repositories have been refreshed.
But in cron same thing (i *added* --non-interactive since some error message
said it was necessary):
Cron /usr/bin/zypper --non-interactive refresh >/dev/null
Failed to download /content from http://download.opensuse.org/distribution/11.2/repo/non-oss/
Problem retrieving files from 'openSUSE-11.2-Non-Oss'.
[AbstractCommand.cc:195] URI=http://download.opensuse.org/distribution/11.2/repo/non-oss/content
Please see the above error message for a hint.
Skipping repository 'openSUSE-11.2-Non-Oss' because of the above error.
Failed to download /content from http://download.opensuse.org/distribution/11.2/repo/oss/
Problem retrieving files from 'openSUSE-11.2-Oss'.
[AbstractCommand.cc:195] URI=http://download.opensuse.org/distribution/11.2/repo/oss/content
Please see the above error message for a hint.
Skipping repository 'openSUSE-11.2-Oss' because of the above error.
Failed to download /content from http://download.opensuse.org/source/distribution/11.2/repo/oss/
Problem retrieving files from 'openSUSE-11.2-Source'.
[AbstractCommand.cc:195] URI=http://download.opensuse.org/source/distribution/11.2/repo/oss/content
Please see the above error message for a hint.
Skipping repository 'openSUSE-11.2-Source' because of the above error.
Failed to download /repodata/repomd.xml from http://download.opensuse.org/update/11.2/
Problem retrieving files from 'openSUSE-11.2-Update'.
[AbstractCommand.cc:195] URI=http://download.opensuse.org/update/11.2/repodata/repomd.xml
Please see the above error message for a hint.
Skipping repository 'openSUSE-11.2-Update' because of the above error.
Could not refresh the repositories because of errors.
----
So What's up with this?
I thought by doing 'sudo su -', it'd give me root's default env, so the
environments should be pretty much the same'.
On another system, also suse 11.2, but x86-64, a simple 'zypper refresh'
is all that was needed (no "--non-interactive")...
Ideas?
File a bug? It would be weird if this didn't work, I'm sure I'm not
the only one who prefers updating once a day and not having to wait when I
actually want to install/change SW.
tnx,
-l
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org