Bug 478 - running postinst /etc/rpm-postinsts/sed.sh error in lsb image
Summary: running postinst /etc/rpm-postinsts/sed.sh error in lsb image
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M1
Assignee: Kevin Tian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-16 18:53 UTC by Kevin Tian
Modified: 2010-12-21 06:07 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Tian 2010-10-16 18:53:50 UTC
I observed this on RC1 lsb image, and haven't verified with RC2 image yet. At 1st boot with postinst process, there's error about update-alternatives for sed:

update-alternatives: Error: cannot register alternative sed to /usr/bin/sed since it is already registeredto /bin/sed
ERROR: postinst /etc/rpm-postinsts/sed.sh failed
Comment 1 Saul Wold 2010-10-17 17:38:49 UTC
I think this is part of the pseudo persmissions issue from RC1, please check against RC2 or RC3
Comment 2 Kevin Tian 2010-10-18 00:24:00 UTC
this should be a long-standing issue, not related to pseudo. The reason is that ALTERNATIVE_LINK is not set and thus /usr/bin/sed is assumed but the recipe has moved to /bin/sed. So ideally this standalone sed hasn't been really tested yet. I'm working on a patch now
Comment 4 Kevin Tian 2010-10-21 01:02:43 UTC
verified no such error