Re: [Fwd: yum updates]

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

 



On Tue, 2007-02-20 at 15:37 +0100, Timo Bergemann wrote:
> Hello all,
> 
> I was working earlier with kickstart and I was used to make first a 
> basic installation via kickstart and then to upgrade to the latest 
> packages via yum in the %POST.
> unfortunately this I have seen the last time working in FC3.
> 
> when I try  to update all packages in %post I get a lot like followed:
> 
> Traceback (most recent call last):
>  File "/mnt/sysimage/usr/bin/yum", line 28, in ?
>    import yummain
> ImportError: No module named yummain
> 
> even if I do not believe that i should do a chroot to /mnt/sysimage,
> if I try the same but before "chroot /mnt/sysimage" I come further but 
> not far enough. I get a list of all packages which will get upgraded but 
> then finally a crash with a lot of errors like this which I will append 
> later if needed.
> But the fix should be anyway NOT to chroot
> 

1. you do need to be in the chroot
2. if you can post the errors you're seeing on update that would be
appreciated.


-sv



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux