[Server-devel] recover from broken yum transaction

Ahmed Kamal email.ahmedkamal at googlemail.com
Thu Sep 11 03:53:02 EDT 2008


Trying rpm -Va, I am getting lots of these lines

S.?.....    /usr/bin/kblankscrn.kss
S.?.....    /usr/bin/kcminit
S.?.....    /usr/bin/kcminit_startup

Basically, the size has changed, and the md5 check cannot be performed ?! I
understand this is due to "prelink", but that sux ! This effectively kills
the rpm -V functionality. Is it not possible to prelink binaries on the
server before wrapping them into rpms ? Any suggested solution around this ?

On Thu, Sep 11, 2008 at 7:42 AM, Martin Langhoff
<martin.langhoff at gmail.com>wrote:

> On Thu, Sep 11, 2008 at 3:50 PM, Seth Vidal <skvidal at fedoraproject.org>
> wrote:
> > When this happens you should run:
> > yum-complete-transaction
>
> Interesting toy! I think you mentioned it at Fudcon Boston and I
> hadn't been able to recall the right name.
>
> Thinking of using it in the use case of the school server (very
> unreliable power, no sysadmins available, 100% unattended updates) -
>
>  - Is it safe to run at boot time via an init script?
>  - Is there an easy way to check for pending transactions?
>  - Does it have useful exit codes indicating whether it's done anything?
>
> > I'd recommend package-cleanup --cleandupes
>
> Another good tool to add to the arsenal.
>
> > then run:
> > rpm -Va and look for problems in files in /usr/lib /lib/ /boot, and all
> > of the bin dirs.
>
> Is that different from `package-cleanup --problems` ?
>
> cheers,
>
>
>
> m
> --
>  martin.langhoff at gmail.com
>  martin at laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20080911/37fba2c5/attachment-0001.htm 


More information about the Server-devel mailing list