Chuck Payne wrote:
Guys,
I am having an issue that has now twice taken down my work station. I am running the 64 Bit Version of Opensuse on a Dell Optiplex 745, what has happen when I am seeing zypper state there are updates and I go and update it down loads the first few files then come back and tells me it can't find sh, sure enought if I try to do any commands, it doesn't let me because the box is toast. The only way to fix it is to reinstall. Anyone else having that issue?
Hmmm, that is strange. I had problems yesterday updating a 10.3 box were zypper gave error related to Main Repository (OSS), but that seemed to be transient. See post "[opensuse] zypper - possible BUG in 10.3 Main OSS repo data" I'll crank that box up and see if the error is still there. One thing to keep in mind is that you should never have to reinstall to fix a problem with a single package. The only things that would justify a reinstall would be an errant rm -r as root on /usr or the like, or another would be if you really screwed up your rpm database somehow. Other than that you can fix it (99% of the time without even a reboot) First thing with zypper problems is to go delete /var/cache/zypp/zypp.db and force zypper to rebuild it with a "zypper ref". If that doesn't work, then I would delete it again and consider a force install of zypper with rpm -Uvh --force http://download.opensuse.org/distribution/11.0/repo/oss/suse/x86_64/zypper-0... then run online update and bring zypper current and see if that might help. Also, there are several newer versions in build service you could try. 13 results (7 packages) found for "zypper" in openSUSE_110 * zypper: Command Line Package Management Using Libzypp - 0.11.6 [suse-oss] - 0.12.5 [BS::zypp:/Backport] - 0.12.6 [BS::home:/visnov] - 0.12.12 [BS::home:/pikerhog:/utils | BS::home:/FunkyM:/GNOME | BS::zypp:/svn] I don't know what the result would be for forcing an uninstall of zypper and then reinstalling it, but I suspect that removing zypper is not recommended and might lead to my case two above where the rpm database gets fried, but I just don't know. Zypper has worked fine for me since 10.3 aside from some early cache corruption issues. See if you can look at the log files and get the exact error you're seeing and then post that so we can look into it further. The error I saw yesterday/last night was: * Building repository 'Main Repository (OSS)' cache Error parsing metadata for 'Main Repository (OSS)': /var/cache/zypp/raw/oss: Required file is missing: ./content This may be caused by invalid metadata in the repository, or by a bug in the metadata parser. In the latter case, or if in doubt, please, file a bug report by folowing instructions at http://en.opensuse.org/Zypper#Troubleshooting Problem loading data from 'Main Repository (OSS)' Resolvables from 'Main Repository (OSS)' not loaded because of error. The delete the cache trick didn't work, but later the repository did refresh leading me to believe the problem was a temporary problem with the repository and not my install. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | 510 Ochiltree Street | Countdown for openSuSE 11.1 Nacogdoches, Texas 75961 | http://counter.opensuse.org/11.1/small 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