Re: Cooker upgrade still broken

[email protected] Sun, 22 Jan 2012 06:05:44 -0200 (BRST)
Newsgroups gmane.linux.mandrake.cooker.devel
Message-ID <[email protected]>
>   I just made a simple test upgrading a cooker chroot a few
> weeks old, and the problem still happens.
>
>   For the sake of helping anybody willing to quickly fix
> it, if you attempt to update, urpmi will stop working, so,
> this should get things working again:
>
> -%<-
> arch=`rpm --eval %_target_cpu`
> for pkg in \
> perl-XML-LibXML-1.890.0-3-mdv2012.0 \
> perl-XML-Parser-2.410.0-4-mdv2012.0 \
> perl-Locale-gettext-1.50.0-9-mdv2012 \

  Ops, there is a typo ... add ".0"

> perl-Term-ReadKey-2.30-14-mdv2012.0 \
> ; do
>     wget
> http://mirrors.kernel.org/mandriva/Mandrakelinux/devel/cooker/$arch/media/main/release/$pkg.$arch.rpm
>     sudo rpm -Uvh $pkg.$arch.rpm && rm -f $pkg.$arch.rpm
> done
> -%<-
>
>   Run the above after updating and urpmi stopping working
> due to perl missing symbols.
>
> Paulo