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? -- -- Command, n.: Statement presented by a human and accepted by a computer in such a manner as to make the human feel as if he is in control. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
David C. Rankin wrote:
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
I re-ran zypper ref, and the problem is no longer there. The problem from last night is gone. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 14 November 2008 02:12:20 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?
Not that issue specifically but it seems that bash is being silently uninstalled during automatic updates due to a dependency conflict. I've had this happen where zypper is silently uninstalled during an update, and therefore no further updates can be done until the conflicting packages are manually downgraded and zypper is manually reinstalled from rpm's. The way to get this addressed is to download the bash rpm from the repository (which you can do by browsing to the appropriate repository from your web browser (http://download.opensuse.org/repositories/openSUSE:10.3/standard/ - if you're running 11.0 or 11.1 then substitute the version number accordingly) and install manually by doing rpm -ivh <rpm-name>. RPM should complain about a dependency conflict - that will tell you which package is at fault. You can then download the previous version of the offending package, install it manually using rpm -Uvh --force <rpm-name> and reinstall bash as above. Then file a bug at bugzilla.novell.com so the package causing the problem can have its dependency list corrected. IMHO this is a bug in the code that handles automatic updates - it should never silently uninstall a package unless that package is itself being replaced with a newer version. I have already raised a bug on this issue (bug 443754). I hope this is useful. Regards, -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ===================================================
Rodney Baker wrote:
On Friday 14 November 2008 02:12:20 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?
Not that issue specifically but it seems that bash is being silently uninstalled during automatic updates due to a dependency conflict. I've had this happen where zypper is silently uninstalled during an update, and therefore no further updates can be done until the conflicting packages are manually downgraded and zypper is manually reinstalled from rpm's.
The way to get this addressed is to download the bash rpm from the repository (which you can do by browsing to the appropriate repository from your web browser (http://download.opensuse.org/repositories/openSUSE:10.3/standard/ - if you're running 11.0 or 11.1 then substitute the version number accordingly) and install manually by doing rpm -ivh <rpm-name>.
RPM should complain about a dependency conflict - that will tell you which package is at fault. You can then download the previous version of the offending package, install it manually using rpm -Uvh --force <rpm-name> and reinstall bash as above.
Then file a bug at bugzilla.novell.com so the package causing the problem can have its dependency list corrected.
IMHO this is a bug in the code that handles automatic updates - it should never silently uninstall a package unless that package is itself being replaced with a newer version. I have already raised a bug on this issue (bug 443754).
I hope this is useful.
Regards,
See also https://bugzilla.novell.com/show_bug.cgi?id=379480 Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Chuck Payne
-
Dave Plater
-
David C. Rankin
-
Rodney Baker