On 04/20/2010 09:04 AM, Mark Goldstein wrote:
Hello,
I´m on oS 11.1 (32bit) + KDE3. Recently I noticed that something is wrong with zypper db. Somehow it lost information about a number of repositories. For example, I have http://download.opensuse.org/repositories/KDE:/Qt46/openSUSE_11.1 added and I have 12 packages, installed from this repository (according to rpm), but zypper/yast indicates no packages from this repo.
E.g. rpm -qa|xargs rpm -qi|grep -ic qt46 returns 12, but zypper pa|grep -ic qt46 returns 0.
One package from this repo is definitely libqt4:
===
#zypper if libqt4 Loading repository data... Reading installed packages...
Information for package libqt4:
Repository: @System Name: libqt4 Version: 4.6.3+4.6.20100413-1.1 Arch: i586 Vendor: openSUSE Build Service Installed: Yes Status: up-to-date Installed Size: 12.5 M Summary: C++ Program Library, Core Components Description: Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network handling.
What is @System??
=== # rpm -qi libqt4 Name : libqt4 Relocations: (not relocatable) Version : 4.6.3+4.6.20100413 Vendor: openSUSE Build Service Release : 1.1 Build Date: Tue Apr 13 06:20:35 2010 Install Date: Tue Apr 13 20:20:43 2010 Build Host: build19 Group : System/Libraries Source RPM: libqt4-4.6.3+4.6.20100413-1.1.src.rpm Size : 13086939 License: GPL v3 only ; LGPL v2.1 or later Signature : DSA/SHA1, Tue Apr 13 06:31:32 2010, Key ID 58d8ff412e1efa87 URL : http://www.qtsoftware.com Summary : C++ Program Library, Core Components Description : Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network handling.
Authors: -------- Qt Software Distribution: KDE:Qt46 / openSUSE_11.1
==========
In Yast / Software management if I choose ¨Filter: Repositories¨, yast shows @System repo and many packages in it which definitely belong to some real repos. At the same time, it shows no packages in KDE:Qt46.
I remember some advices of how to re-create zypper db, but could not find them right now in archive.
Could someone please advice? TIA,
Mark, Devs, the repositories and/or zypper are broken for a large number of repositories. I get multiple failures when trying to refresh my repositories all of the form: Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/fact-kde4/solv' '/var/cache/zypp/raw/fact-kde4' Unknown checksum type: 15: sha256 Skipping repository 'fact-kde4' because of the above error. -- or -- Building repository 'gwdg-k3' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/gwdg-k3/solv' '/var/cache/zypp/raw/gwdg-k3' Unknown checksum type: 7: sha256 Skipping repository 'gwdg-k3' because of the above error. I don't know what in the heck it means by: "Unknown checksum type: 7" other than it got the wrong checksum. But if that's the case, then roughly 30%-40% of all repositories are hosed. Here is the actual output for my 'zypper ref': [20:32 alchemy:/home/david] # zypper ref Repository 'gwdg-k3comm' is up to date. Repository 'gwdg-oostable' is up to date. Repository 'fact-kde4' is up to date. Building repository 'fact-kde4' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/fact-kde4/solv' '/var/cache/zypp/raw/fact-kde4' Unknown checksum type: 15: sha256 Skipping repository 'fact-kde4' because of the above error. Repository 'gwdg-k3' is up to date. Building repository 'gwdg-k3' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/gwdg-k3/solv' '/var/cache/zypp/raw/gwdg-k3' Unknown checksum type: 7: sha256 Skipping repository 'gwdg-k3' because of the above error. Repository 'k3' is up to date. Building repository 'k3' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/k3/solv' '/var/cache/zypp/raw/k3' Unknown checksum type: 7: sha256 Skipping repository 'k3' because of the above error. Repository 'sbstd' is up to date. Building repository 'sbstd' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/sbstd/solv' '/var/cache/zypp/raw/sbstd' cat: primary.xml*: No such file or directory repo_rpmmd: no element found at line 1:0 Skipping repository 'sbstd' because of the above error. Repository 'debugupdt' is up to date. Repository 'rmtdsktp' is up to date. Downloading repository 'fact-kde4play' metadata [done] Building repository 'fact-kde4play' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/fact-kde4play/solv' '/var/cache/zypp/raw/fact-kde4play' Unknown checksum type: 7: sha256 Skipping repository 'fact-kde4play' because of the above error. Repository 'moz' is up to date. Repository 'security' is up to date. Building repository 'security' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/security/solv' '/var/cache/zypp/raw/security' Unknown checksum type: 7: sha256 Skipping repository 'security' because of the above error. Repository 'gwdg-update' is up to date. Repository 'xgl' is up to date. Repository 'subpixel' is up to date. Repository 'pwd-gwdg' is up to date. Repository 'edu' is up to date. Building repository 'edu' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/edu/solv' '/var/cache/zypp/raw/edu' Unknown checksum type: 7: sha256 Skipping repository 'edu' because of the above error. Repository 'mm' is up to date. Building repository 'mm' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/mm/solv' '/var/cache/zypp/raw/mm' cat: primary.xml*: No such file or directory repo_rpmmd: no element found at line 1:0 Skipping repository 'mm' because of the above error. Repository 'tools' is up to date. Building repository 'tools' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/tools/solv' '/var/cache/zypp/raw/tools' Unknown checksum type: 7: sha256 Skipping repository 'tools' because of the above error. Repository 'gccdev' is up to date. Repository 'selinux' is up to date. Repository 'monitor' is up to date. Repository 'jaddon' is up to date. Repository 'wm' is up to date. Repository 'pm' is up to date. Repository 'javapkg' is up to date. Repository 'openSUSE-11.0-Oss' is up to date. Repository 'sbfact' is up to date. Repository 'bzr' is up to date. Repository 'xfce' is up to date. Repository 'games' is up to date. Repository 'e' is up to date. Repository 'science' is up to date. Downloading repository 'fact-kde4comm' metadata [done] Building repository 'fact-kde4comm' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/fact-kde4comm/solv' '/var/cache/zypp/raw/fact-kde4comm' Unknown checksum type: 23: sha256 Skipping repository 'fact-kde4comm' because of the above error. Repository 'lxde-gwdg' is up to date. Building repository 'lxde-gwdg' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/lxde-gwdg/solv' '/var/cache/zypp/raw/lxde-gwdg' Unknown checksum type: 7: sha256 Skipping repository 'lxde-gwdg' because of the above error. Repository 'debuggwdg' is up to date. Repository 'php' is up to date. Repository 'cpplib' is up to date. Repository 'jengle' is up to date. Repository 'gnome-gwdg' is up to date. Repository 'xine-gwdg' is up to date. Repository 'gwdg-x11' is up to date. Repository 'skyline' is up to date. Repository 'gnome1' is up to date. Repository 'mmaps' is up to date. Building repository 'mmaps' cache [done] Error building the cache database: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/mmaps/solv' '/var/cache/zypp/raw/mmaps' cat: primary.xml*: No such file or directory repo_rpmmd: no element found at line 1:0 Skipping repository 'mmaps' because of the above error. Repository 'videolan' is up to date. Repository 'gwdg-gcomm' is up to date. Repository 'sambatest' is up to date. Repository 'photo-gwdg' is up to date. Repository 'gwdg-k3back' is up to date. Some of the repositories have not been refreshed because of an error. A list of my current repositories can be found at the following location to help those interested correlate the errors above to the actual repositories: http://www.3111skyline.com/dl/bugs/zypp/repos-current.repo -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org