[opensuse] How to Recover from failed 11.3 install - It won't let me 'rpm -Uvh good files' over corrupted downloads??
Guys, The 11.3 repo disaster has put me in a fix with my 11.3 install. Despite downloading the kernel 7 times, every time, it was corrupt. Along with mkinitrd, etc.. I have downloaded the rpms from the repo manually and I have used a usb stick to move them to the install box. However now, (when the install is stuck on another mismatched checksum), it will not let me 'rpm -Uvh new files' into the system. The error is: error: cannot open Package index using db3 - no such file or directory (2) error: cannot open package database in /var/lib/rpm I know this probably means I'm using the wrong rpm command, but I've never been in this position before. Gurus -- what's the trick? -- 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
On 19/07/10 21:59, David C. Rankin wrote:
Guys,
The 11.3 repo disaster has put me in a fix with my 11.3 install. Despite downloading the kernel 7 times, every time, it was corrupt. Along with mkinitrd, etc..
I have downloaded the rpms from the repo manually and I have used a usb stick to move them to the install box. However now, (when the install is stuck on another mismatched checksum), it will not let me 'rpm -Uvh new files' into the system. The error is:
error: cannot open Package index using db3 - no such file or directory (2) error: cannot open package database in /var/lib/rpm
I know this probably means I'm using the wrong rpm command, but I've never been in this position before.
Gurus -- what's the trick?
Have you tried "rpm --rebuilddb"? Sudhir -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/19/2010 04:27 PM, Linux_Sle wrote:
Have you tried "rpm --rebuilddb"?
Uh Nope -- but I'm a little hesitant to do that in the middle of an install. Is that safe to do? -- 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
* David C. Rankin
On 07/19/2010 04:27 PM, Linux_Sle wrote:
Have you tried "rpm --rebuilddb"?
Uh Nope -- but I'm a little hesitant to do that in the middle of an install. Is that safe to do?
Why would it be "unsafe"? iiuc, it matches the database to the installed packages. Isn't that desired? -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/19/2010 05:00 PM, Patrick Shanahan wrote:
Why would it be "unsafe"? iiuc, it matches the database to the installed packages. Isn't that desired?
That's what I want to have happen, but call me 'once bitten twice shy', I just don't want to confuse poor old yast anymore than it already is. I'm on about package 200 of: <quote> The expected checksum of file ....rpm is 094754289fe8.. but the current checksum is 78342904098... This means that the file has been changed by accident or by and attacker since the repository creator signed it. Using it is a big risk for the integrity and security of your system. Use it anyway? [ ] Do Not Show This Message Again [ Yes ] [ No ] </quote> I'll wait until the initial copying settles down and then give it another go. Thanks. -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-07-19 23:31, David C. Rankin wrote:
On 07/19/2010 04:27 PM, Linux_Sle wrote:
Have you tried "rpm --rebuilddb"?
Uh Nope -- but I'm a little hesitant to do that in the middle of an install. Is that safe to do?
You mean that there is another rpm running? Then no, you can't. You have to wait till any package manager finishes. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxE2vkACgkQU92UU+smfQWOEQCfTfbtDoSSs7WZ2c1/GgYtfu0J K00AnRfeAczGaf7wV7FdRttMs8xYt/Bz =s7O9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/19/2010 06:08 PM, Carlos E. R. wrote:
You mean that there is another rpm running? Then no, you can't. You have to wait till any package manager finishes.
That's where the confusion on my end is. If yast is doing some type of: rpm -U pkg1 pkg2 pkg3 pkg4 ... pkg2756 then I agree I have to wait until 2756 is done, but if yast is doing something like: for i in $( < longlist); do rpm -U $i done then if pkg I gets stuck and I have to download it again, while that operation is pending, I should be able to sneak in the kernel. You know which one it is? -- 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
On 07/19/2010 03:59 PM, David C. Rankin wrote:
Guys,
The 11.3 repo disaster has put me in a fix with my 11.3 install. Despite downloading the kernel 7 times, every time, it was corrupt. Along with mkinitrd, etc..
I have downloaded the rpms from the repo manually and I have used a usb stick to move them to the install box. However now, (when the install is stuck on another mismatched checksum), it will not let me 'rpm -Uvh new files' into the system. The error is:
error: cannot open Package index using db3 - no such file or directory (2) error: cannot open package database in /var/lib/rpm
I know this probably means I'm using the wrong rpm command, but I've never been in this position before.
Gurus -- what's the trick?
Well, There is a bit of a silver lining to the upgrade from hell. Since it was an 'upgrade', even with the corrupt kernel digest/checksums, when the upgrade completed, the system fell-back and booted the 2.6.31 (11.2) kernel and I was able to recover. The key for the 'upgrade' was not to panic and try to patch things during the install. I tried throwing the new kernel in during the upgrade, but I guess yast puts a lock on the rpm database throughout the install -- or -- the rpm database is just symlinked from some other location during install. Dunno. Once the installer was done installing packages, there wasn't any time to patch things between the end of the download and the reboot. I just copied the kernel rpms back to the box after the reboot and they installed just fine. Curiously the kernel-pae-devel and kernel-syms were already installed, but the rest was no where to be found. After the 7G upgrade, booting to the system and then choosing upgrade-all shows another 1.1G to go. I'll pull all those in and hope it fixes all of the packages that got skipped during the initial upgrade. (however -- I have a sneaking suspicion that any corrupt packages that were ignored instead of skipped will be on the system without a way for the installer to tell they need to be replaced (good thing I took notes on my notepad during the install :) The 11.3 install is impossible to compare to any of the other installs 8.0-present due to the redirector screw-up. With that mess, it took 19 hours to do a simple 11.2 -> 11.3 upgrade due to having to cancel all the corruption dialogs and then 'retry' to restart the download. (this is one time downloading of the DVD would have been smart along with a complete fresh install) It will take a few days -> week to get a feel if this install will make it through this operation or whether we should just call 'code' now and move on to the wipe->reinstall instead of upgrade. I'll see if I can collect the packages in my local repo so any reinstall is a 30m. orera My current update on the box is already hitting "wrong digest problems" so those issues are not limited to the install/upgrade setting. Good luck to the rest making the jump. Word to the wise -- wait a few days until the redirector issue is resolved and Marcus gives the all clear or you are in for a -- VERY VERY long update... I'll follow up with the results of the manual kernel install after the current update completes, but I don't expect any problems. The only anticipated issue is the radeon/2.6.34 bug that may/may not arise depending on how suse is handling the KMS early/late config. If it's KMS early, loading the radeon driver in the initramfs, then I'll be dead in the water and the kernel will crash when it gets to the "Loading Modules" line. If it is KMS late with the radeon module loaded later, boot should be fine, but I expect compiz to whitescreen. We shall see... -- 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
On 07/19/2010 09:16 PM, David C. Rankin wrote:
I'll follow up with the results of the manual kernel install after the current update completes, but I don't expect any problems. The only anticipated issue is the radeon/2.6.34 bug that may/may not arise depending on how suse is handling the KMS early/late config. If it's KMS early, loading the radeon driver in the initramfs, then I'll be dead in the water and the kernel will crash when it gets to the "Loading Modules" line. If it is KMS late with the radeon module loaded later, boot should be fine, but I expect compiz to whitescreen. We shall see...
Feedback, 11.3 First Looks - Damn Good :-) Manual copy and install of the kernel did what it was supposed to. The Radeon KMS Early -- works ( double :-) ) and aside from the run of the mill initial release stuff 11.3 looks great ( aside from that little checksum issue... ) Graphics performance on the 'radeon' driver is good and temps are good (not fglrx good, but damn good and within 20% on temps - fan noise is much better than it has been in the past both with and without compiz). I have just strolled through gnome thus far (there are a ton of screensavers that got picked up as general menu entries, but that's a nit), and I have kde3 and kde4 updated. Kudos on the 11.3 kde3 repo! Those along with the remainder of fluxbox, openbox, windowmaker, e16, e17, etc.. will have to wait for tomorrow. Great Job Devs. If the install can survive several hundred checksum errors, a corrupt kernel and still boot into a configuration that is workable and can be updated to a finished product, that is testament to the amount of work that has gone into it since 11.0 was released. P.S. Don't do anything to screw up the radeon driver and KMS config moving to 2.6.35 - it is working very very well right now and from what I've experienced, it doesn't take much to throw the whole radeon/KMS system out of whack :p -- 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
Hello, On Mon, 19 Jul 2010, David C. Rankin wrote:
After the 7G upgrade, booting to the system and then choosing upgrade-all shows another 1.1G to go. I'll pull all those in and hope it fixes all of the packages that got skipped during the initial upgrade. (however -- I have a sneaking suspicion that any corrupt packages that were ignored instead of skipped will be on the system without a way for the installer to tell they need to be replaced (good thing I took notes on my notepad during the install :)
Have a look if 'rpm -Va' reports anything... -dnh -- All those who believe in psychokinesis, raise my hand. -- Are Westby's sig -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010-07-20 04:16, David C. Rankin wrote: ...
After the 7G upgrade, booting to the system and then choosing upgrade-all shows another 1.1G to go. I'll pull all those in and hope it fixes all of the packages that got skipped during the initial upgrade. (however -- I have a sneaking suspicion that any corrupt packages that were ignored instead of skipped will be on the system without a way for the installer to tell they need to be replaced (good thing I took notes on my notepad during the install :)
Use the rpm verification method.
The 11.3 install is impossible to compare to any of the other installs 8.0-present due to the redirector screw-up. With that mess, it took 19 hours to do a simple 11.2 -> 11.3 upgrade due to having to cancel all the corruption dialogs and then 'retry' to restart the download. (this is one time downloading of the DVD would have been smart along with a complete fresh install) It will take a few days -> week to get a feel if this install will make it through this operation or whether we should just call 'code' now and move on to the wipe->reinstall instead of upgrade. I'll see if I can collect the packages in my local repo so any reinstall is a 30m. orera
Ha, I never update a system on the first month of a distro, even less the first week. And I use the dvd, not zypper, network is so slow and unreliable, with a critical operation in the go... Anyway, I think I will skip 11.3, I need more testing. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAkxGyhoACgkQja8UbcUWM1xC8QD/daTDSXgx3YtEJGD0GGBXBhxg NveRYMWDbHvC8f5yBtIA/iyOGIL0e8y1uUgg0uPeaNEXz5AGa/O4kBWBn7Exj9Xs =kYJB -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
David C. Rankin
-
David Haller
-
Linux_Sle
-
Patrick Shanahan