[Yum] YUM update from RHEL3 to CentOS3

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

 



On Mon, Mar 13, 2006 at 10:44:22AM -0800, iank@xxxxxxx wrote:
> Thanks Peter.
> 
> I already tried a rpm --rebuilddb (as well as yum clean all).
> 
> Well, here is some good news (I hope). I was able to scroll back on the 
> console,
> and it looks like all of the RPMs were installed, but it is the actual 
> post-install
> scripts that were interrupted. I checked the list of what was installed 
> vs. the list
> of what was dowloaded/needed, and they match.
> 
> So, any ideas on how to complete the post-install process?
> 
> Ian

I've never done this automatically on an rpm-based system (debian
apt-based systems tend to mark this sort of failure and then re-try
the next time. Does the rpm database have a way of saying "package
installed, scripts failed"?).

One way is to parse the output of rpm -q --scripts for eacho installed
but un-post-installed package, and manually running the post
scriptlets.

-Peter

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux