[yocto] smart 1.4.1 unsolved problem

George Nita george.nita at enea.com
Tue Jun 9 02:47:31 PDT 2015


On 05/22/2015 12:35 PM, George Nita wrote:
> On 05/22/2015 11:43 AM, Paul Eggleton wrote:
>> Hi George,
>>
>> On Thursday 21 May 2015 11:44:54 George Nita wrote:
>>> I've reproduced the https://bugs.launchpad.net/smart/+bug/1238492 issue
>>>
>>> branch: dizzy
>>> target: p2041rdb
>>>
>>> Did any one hit this too?
>>
>> Did you enable runtime package management (i.e., is
>> "package-management" in
>> IMAGE_FEATURES (or indirectly via EXTRA_IMAGE_FEATURES)?) If you're
>> not sure,
>> you can use bitbake -e to check.
>>
>> If it isn't enabled, that would explain the behaviour because
>> smart/rpm think
>> that no packages are installed because there is no package database in
>> the
>> image.
>>
>> Cheers,
>> Paul
>>
>
> Hello Paul,
>
> IMAGE_FEATURES="debug-tweaks ssh-server-dropbear package-management"
>
>
> When committing the computed changeset smart attempts to install
> packages that are in the dependency list but are already installed, and
> fails because of it:
>
> root at p2041rdb:~# smart install -y bc
> Loading cache...
> Updating cache...               ########################################
> [100%]
>
> Computing transaction...
>
> Installing packages (7):
>    bc-1.06-r2.0 at ppce500mc
>    busybox-1.22.1-r32.0 at ppce500mc
>    busybox-syslog-1.22.1-r32.0 at ppce500mc
>    busybox-udhcpc-1.22.1-r32.0 at ppce500mc
>    libc6-2.20-r0.0 at ppce500mc
>    update-alternatives-opkg-0.1.8+git0+eae0d8fa44-r0.0 at ppce500mc
>    update-rc.d-0.7-r5.0 at all
>
> 2.2MB of package files are needed. 4.4MB will be used.
>
> Fetching packages...
> ->
> http://172.21.3.25/.../update-alternatives-opkg-0.1.8+git0+eae0d8fa44-r0.0.ppce500mc.rpm
>
> update-alternatives-opkg-0.1... ########################################
> [ 14%]
> -> http://.../rpm/all/update-rc.d-0.7-r5.0.all.rpm
> ->
> http://172.21.3.25/~geni/rpm/.../busybox-udhcpc-1.22.1-r32.0.ppce500mc.rpm
> busybox-udhcpc-1.22.1-r32.0.p.. ########################################
> [ 28%]
> -> http://.../rpm/ppce500mc/bc-1.06-r2.0.ppce500mc.rpm
> bc-1.06-r2.0.ppce500mc.rpm      ########################################
> [ 42%]
> -> http://.../rpm/.../busybox-syslog-1.22.1-r32.0.ppce500mc.rpm
> busybox-syslog-1.22.1-r32.0.p.. ########################################
> [ 57%]
> update-rc.d-0.7-r5.0.all.rpm    ########################################
> [ 71%]
> -> http://.../rpm/ppce500mc/busybox-1.22.1-r32.0.ppce500mc.rpm
> busybox-1.22.1-r32.0.ppce500m.. ########################################
> [ 85%]
> -> http://.../rpm/ppce500mc/libc6-2.20-r0.0.ppce500mc.rpm
> libc6-2.20-r0.0.ppce500mc.rpm   ########################################
> [100%]
>
>
>
> Committing transaction...
> Preparing...                    ########################################
> [  0%]
> error: package
> update-alternatives-opkg-0.1.8+git0+eae0d8fa44-r0.0.ppce500mc is already
> installed
> error: package busybox-1.22.1-r32.0.ppce500mc is already installed
> error: package update-rc.d-0.7-r5.0.all is already installed
> ...
>
>
> This seems consistent with the reported issue
> https://bugs.launchpad.net/smart/+bug/1238492
>
>
>
> Thanks,
>
Hello,

Sorry, my error: I've removed the rpm-sys type channel, the one hosting 
installed packages. After recreating the rpm-sys type channel everything 
worked as expected.

-- 
Best regards,
George Nita



More information about the yocto mailing list