On Wed, 2011-03-02 at 15:42 +0800, Thomas Goirand wrote:
> Hi,
> 
> as you may know, I'm the Debian developer in charge for Yum. At my
> company (GPLHost), we use yum for setting-up CentOS VMs for our
> customers. While it works very well if the Xen dom0 is running Lenny, it
> currently fails with the following output:
> 
> M  Installing     : pam-0.99.6.2-6.el5_5.2.x86_64
>   79/107/var/tmp/rpm-tmp.FOXgio: line 10: cat: command not found
> /var/tmp/rpm-tmp.FOXgio: line 11: rm: command not found
> /var/tmp/rpm-tmp.FOXgio: line 26: install: command not found
> /var/tmp/rpm-tmp.FOXgio: line 29: install: command not found
> Non-fatal POSTIN scriptlet failure in rpm package
> pam-0.99.6.2-6.el5_5.2.x86_64
> 

> To fix it, I have to run in single user mode (with extra = "single" in
> the xen domU configuration file), then run:
> 
> yum install pam
> 
> That reinstalls about 87 packages, including pam itself. Then I have the
> message:
> 
> warning: /etc/pam.d/system-auth created as /etc/pam.d/system-auth.rpmnew
> 
> so I have to copy the system-auth.rpmnew in system-auth (otherwise, the
> file is zero bytes, and you can't login). Then everything works.
> 
> So, do you guys have any idea what's going on? What is broken here? Is
> there a chance that a newer version of yum will do better (Debian
> Squeeze has version 3.2.25)? I'd appreciate help, so that I can fix this
> bad situation.
> 

Hi Thomas,

the %post scriptlet failure shouldn't be able to keep the other pkgs (or
itself) from installing at all. 

What is installed BEFORE yum installs pam? Is coreutils already
installed? Has yum just installed it? Is there any possibility that it
is installed but, for whatever reason, its files are not accessible yet,
maybe some sort of syncing issue?

What version of rpm is being used on the system where yum is running
originally?

thanks,
-sv


_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to