Re: FC4 up2date fatal RPM install error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jim Cornette <fc-cornette@xxxxxxxxxxxxxx>
Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
[snip]
David L wrote:

I just tried to run up2date on my FC4 system and got an error during installation:

There was a fatal RPM install error.  The message was:
There was a rpm unpack error installing the package: kde-i18n-Polish-3.5.0-0.1.fc4

I selected the only available option - "OK" and it exited up2date (it didn't just abort installing that one package). So I tried to run up2date again and it found one new package to download (presumably one that was changed during the 2 hours I had been running the previous up2date). It installed that new package, but didn't continue installing other downloaded packages where it left off. Now I suspect I have a half updated system. Some of the packages that were updated no longer work... for example thunderbird no longer works. How do I recover from this?
[snip]
If up2date exited before completing its duty, you will have quite a few errors with libraries being updated for programs that did not get updated and require the new library.

I would change to your /var/spool/up2date directory and ensure that there is no kernel related rpms located in the directory. If there is some kernel related rpms, move them out of the way or run 'rpm -ivh kern*.rpm followed by rm kernel*.rpm.
There are several kernel-related rpms:
/var/spool/up2date/kernel-2.6.14-1.1637_FC4.i686.rpm /var/spool/up2date/kernel-devel-2.6.14-1.1653_FC4.i686.rpm /var/spool/up2date/kernel-2.6.14-1.1653_FC4.i686.rpm /var/spool/up2date/kernel-doc-2.6.14-1.1653_FC4.noarch.rpm
/var/spool/up2date/kernel-devel-2.6.12-1.1398_FC4.i686.rpm


After the install only packages are installed and moved out ot the way, run 'rpm --replacefiles --replacepkgs *.rpm' from the /var/spool/up2date directory.
What's an "install only package" and how do I install them?


To figure out which of the rpms that I downloaded today were successfully installed, I tried this and greped for "already installed" in the output file:

find . -name "*.rpm" -mtime -1 -exec rpm -ivh --test \{\} \; >& /tmp/rpmout

Then I moved all of the rpm files that claimed to be already installed and then installed the rest like this:

find . -name "*.rpm" -mtime -1 -exec rpm -ivh \{\} \;

The same one that failed before failed with this message:

rpm -ivh kde-i18n-Polish-3.5.0-0.1.fc4.noarch.rpm
Preparing... ########################################### [100%] 1:kde-i18n-Polish ########################################### [100%] error: unpacking of archive failed on file /usr/share/doc/HTML/pl/common: cpio: rename failed - Is a directory

But AFAICT, everything is working again. But this seems to be a pretty cumbersome process... shouldn't up2date just have a "continue" button?!

Thanks for the help...

                    David

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux