On 03/03/2011 08:41 AM, seth vidal wrote:
On Thu, 2011-03-03 at 01:08 +0800, Thomas Goirand wrote:

See the logs. It's a normal basesystem install. It should work, it does
under Lenny.

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


RPM in Squeeze is in version 4.8.1. Lenny has version 4.4.2. Does that help?

This is an ordering issue.


  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

warning: %post(pam-0.99.6.2-6.el5_5.2.x86_64) scriptlet failed, exit
status 127
   Installing     : coreutils-5.97-23.el5_4.2.x86_64
80/107

Coreutils should be installed before pam. That it orders them properly
on 4.4.2 says it's b/c of something in 4.8.1.

But before we chasing down rpmdevs - just for fun - grab yum 3.2.29 and
see what you get.

it _SHOULDN'T_ make it better.

Don't bother. It might even change the outcome, but it doesn't /fix/ the problem.

The issue is a dependency loop between pam and coreutils, and the above happens with 4.4.x too. Whether it "works" or not depends on the exact package set being installed (including the ordering they happen to be fed into the transaction), and there's preciously little rpm can do about it.

The only real fix to the issue is to eliminate the loop, ie fix the packaging.

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

Reply via email to