[opensuse] online update via squid
Hi Here are the error messages: 1. Running yast software management: There was an error in the repository initialization. 'openSUSE-11.0-Updates': Failed to cache repo (4). History: - repo2solv.sh "/var/cache/zypp/raw/openSUSE-11.0-Updates" > "/var/cache/zypp/solv/openSUSE-11.0-Updates/solv" gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0 2. running zypper ref: zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Repository 'openSUSE Education' is up to date. Repository 'openSUSE-11.0-Non-Oss' is up to date. Repository 'openSUSE-11.0-Oss' is up to date. Repository 'Updates for 11.0' is up to date. Building repository 'Updates for 11.0' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/openSUSE-11.0-Updates" > "/var/cache/zypp/solv/openSUSE-11.0-Updates/solv" Any ideas anyone? THanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
lynn wrote:
Hi Here are the error messages:
1. Running yast software management:
There was an error in the repository initialization. 'openSUSE-11.0-Updates': Failed to cache repo (4). History: - repo2solv.sh "/var/cache/zypp/raw/openSUSE-11.0-Updates" > "/var/cache/zypp/solv/openSUSE-11.0-Updates/solv"
gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0
2. running zypper ref:
zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Repository 'openSUSE Education' is up to date. Repository 'openSUSE-11.0-Non-Oss' is up to date. Repository 'openSUSE-11.0-Oss' is up to date. Repository 'Updates for 11.0' is up to date. Building repository 'Updates for 11.0' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/openSUSE-11.0-Updates" > "/var/cache/zypp/solv/openSUSE-11.0-Updates/solv"
Any ideas anyone?
THanks. Try zypper clean zypper ref, take note if you use keeppackages=1 it will clean the saved rpms from the cache as well. Regards Dave P. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
THanks.
Try zypper clean zypper ref, take note if you use keeppackages=1 it will clean the saved rpms from the cache as well. Regards Dave P.
Hi. Now I get this: sbs7:/home/steve # zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Digest verification failed for primary.xml.gz. Expected 6ef592d01ca2dc9aacc6b9a837b4e305c4d89234, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for deltainfo.xml.gz. Expected 3b1ae01f35f01280d5fa3e00b316d7b5e9d4e0e2, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for updateinfo.xml.gz. Expected 7b9a662f5fefc4ad483af5b9930276871c567311, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Downloading repository 'Main Update Repository' metadata [done] Building repository 'Main Update Repository' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/http:__download.opensuse.org_update_11.0_"> "/var/cache/zypp/solv/http:__download.opensuse.org_update_11.0_/solv" gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0 Skipping repository 'Main Update Repository' because of the above error. Some of the repositories have not been refreshed because of an error. Can anyone help? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
lynn wrote:
Hi. Now I get this: sbs7:/home/steve # zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Digest verification failed for primary.xml.gz. Expected 6ef592d01ca2dc9aacc6b9a837b4e305c4d89234, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for deltainfo.xml.gz. Expected 3b1ae01f35f01280d5fa3e00b316d7b5e9d4e0e2, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for updateinfo.xml.gz. Expected 7b9a662f5fefc4ad483af5b9930276871c567311, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Downloading repository 'Main Update Repository' metadata [done] Building repository 'Main Update Repository' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/http:__download.opensuse.org_update_11.0_"> "/var/cache/zypp/solv/http:__download.opensuse.org_update_11.0_/solv"
gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0
Skipping repository 'Main Update Repository' because of the above error. Some of the repositories have not been refreshed because of an error.
Can anyone help?
Next thing to try is zypper rr whatever the repos alias is and then zypper ar http://download.opensuse.org/update/11.0/ whatever the repos alias is. If that doesn't work, I'm out of my league, you can try filing a bug if nobody else has any ideas. I tried removing my update 11 repo and then adding it as I suggested and had no problems so we can assume the repository itself has no problem. Can you access the repo address with konquerer directly? I use a local squid to limit my bandwidth sometimes with no problems. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 27 June 2008 13:53:55 Dave Plater wrote:
lynn wrote:
Hi. Now I get this:
sbs7:/home/steve # zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Digest verification failed for primary.xml.gz. Expected 6ef592d01ca2dc9aacc6b9a837b4e305c4d89234, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for deltainfo.xml.gz. Expected 3b1ae01f35f01280d5fa3e00b316d7b5e9d4e0e2, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for updateinfo.xml.gz. Expected 7b9a662f5fefc4ad483af5b9930276871c567311, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Downloading repository 'Main Update Repository' metadata [done] Building repository 'Main Update Repository' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/http:__download.opensuse.org_update_11.0_"> "/var/cache/zypp/solv/http:__download.opensuse.org_update_11.0_/solv"
gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0
Skipping repository 'Main Update Repository' because of the above error. Some of the repositories have not been refreshed because of an error.
Can anyone help?
Next thing to try is zypper rr whatever the repos alias is and then zypper ar http://download.opensuse.org/update/11.0/ whatever the repos alias is.
Sorry but I've no idea how to find this information. Could you help me find it? I've tried removing the update repo in Yast and then running online update again but still get the errors: Adding Main Update repository failed http://download.opensuse.org/update/11.0/ failed Valid metadata not found at specified url wrong checksum for primary.xml.gz THanks for your patience. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
lynn wrote:
On Friday 27 June 2008 13:53:55 Dave Plater wrote:
lynn wrote:
Hi. Now I get this: sbs7:/home/steve # zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Digest verification failed for primary.xml.gz. Expected 6ef592d01ca2dc9aacc6b9a837b4e305c4d89234, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for deltainfo.xml.gz. Expected 3b1ae01f35f01280d5fa3e00b316d7b5e9d4e0e2, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Digest verification failed for updateinfo.xml.gz. Expected 7b9a662f5fefc4ad483af5b9930276871c567311, found d8e98bfa15f9c36c0f55007db2c0514f31d34d82. Continue? [yes/NO]: yes Downloading repository 'Main Update Repository' metadata [done] Building repository 'Main Update Repository' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/http:__download.opensuse.org_update_11.0_"> "/var/cache/zypp/solv/http:__download.opensuse.org_update_11.0_/solv"
gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0
Skipping repository 'Main Update Repository' because of the above error. Some of the repositories have not been refreshed because of an error.
Can anyone help? Next thing to try is zypper rr whatever the repos alias is and then zypper ar http://download.opensuse.org/update/11.0/ whatever the repos alias is.
Sorry but I've no idea how to find this information. Could you help me find it?
I've tried removing the update repo in Yast and then running online update again but still get the errors:
Adding Main Update repository failed http://download.opensuse.org/update/11.0/ failed Valid metadata not found at specified url wrong checksum for primary.xml.gz
THanks for your patience.
Can you paste http://download.opensuse.org/update/11.0/ into a web browser and access the page, if you can compare the web browser proxy settings with the settings in yast2 proxy you may find the problem. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Adding Main Update repository failed http://download.opensuse.org/update/11.0/ failed Valid metadata not found at specified url wrong checksum for primary.xml.gz
THanks for your patience.
Can you paste http://download.opensuse.org/update/11.0/ into a web browser and access the page, if you can compare the web browser proxy settings with the settings in yast2 proxy you may find the problem. Regards Dave P
Yeah Can see it via a browser no problem. the only way is a workaround. I have to disable the proxy, put dns numbers and a gateway on the client, reboot, remove the online update repo, zypper clean, reboot, yast, online update configuration, reboot, yast online updade, reboot, yast online update, reset the proxy, remove the dns and thats it. iI's about 1/2 hour per machine. I'm 4 machines through. I found this method by trial and error. You may be able to help cut down the time it takes. I've 16 clients to go. There's a cool beer or so for anyone in the Alfaz region in Spain to come and help. If you can do it there's a chance of a permanent job. Thanks again. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jun 27, 2008 at 09:29:56AM +0200, lynn wrote:
Hi Here are the error messages:
1. Running yast software management:
There was an error in the repository initialization. 'openSUSE-11.0-Updates': Failed to cache repo (4). History: - repo2solv.sh "/var/cache/zypp/raw/openSUSE-11.0-Updates" > "/var/cache/zypp/solv/openSUSE-11.0-Updates/solv"
gzip: primary.xml.gz: not in gzip format repo_rpmmd: no element found at line 1:0
2. running zypper ref:
zypper ref Repository 'openSUSE-DVD 11.0' is up to date. Repository 'openSUSE Education' is up to date. Repository 'openSUSE-11.0-Non-Oss' is up to date. Repository 'openSUSE-11.0-Oss' is up to date. Repository 'Updates for 11.0' is up to date. Building repository 'Updates for 11.0' cache [done] Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/openSUSE-11.0-Updates" > "/var/cache/zypp/solv/openSUSE-11.0-Updates/solv"
Any ideas anyone?
Your proxy might have unpacked primary.xml.gz already, or it was not transfered correctly. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Dave Plater
-
lynn
-
Marcus Meissner