Bug 478

Summary: running postinst /etc/rpm-postinsts/sed.sh error in lsb image
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Kevin Tian <kevin.tian>
Component: meta-yoctoAssignee: Kevin Tian <kevin.tian>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, scott.a.garman, sgw
Version: 0.9   
Target Milestone: 1.0 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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