smart 1.4.1 unsolved problem
Hello,
I've reproduced the https://bugs.launchpad.net/smart/+bug/1238492 issue
branch: dizzy
target: p2041rdb
Did any one hit this too?
Signature · 2 lines
Best regards, George Nita
Hi George,
Quoted 6 lines · 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: p2041rdbDid 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 14 lines · Paul Eggleton
Hi George,
Quoted 6 lines · 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: p2041rdbDid any one hit this too?
Did you enable runtime package management (i.e., is "package-management" in
IMAGE_FEATURES(or indirectly viaEXTRA_IMAGE_FEATURES)?) If you're not sure, you can use bitbake -e to check.
Quoted 7 lines
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@p2041rdb:~# smart install -y bc Loading cache... Updating cache... ######################################## [100%]
Computing transaction...
Installing packages (7):
bc-1.06-r2.0@ppce500mc
busybox-1.22.1-r32.0@ppce500mc
busybox-syslog-1.22.1-r32.0@ppce500mc
busybox-udhcpc-1.22.1-r32.0@ppce500mc
libc6-2.20-r0.0@ppce500mc
update-alternatives-opkg-0.1.8+git0+eae0d8fa44-r0.0@ppce500mc
update-rc.d-0.7-r5.0@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,
Signature · 1 line
George Nita
Quoted 93 lines · George Nita
Quoted 16 lines · Paul Eggleton
Hi George,
Quoted 6 lines · 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: p2041rdbDid any one hit this too?
Did you enable runtime package management (i.e., is "package-management" in
IMAGE_FEATURES(or indirectly viaEXTRA_IMAGE_FEATURES)?) If you're not sure,
you can use bitbake -e to check.Quoted 9 lines
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,
PaulHello 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@p2041rdb:~# smart install -y bc Loading cache... Updating cache... ######################################## [100%]Computing transaction...
Installing packages (7):
bc-1.06-r2.0@ppce500mc busybox-1.22.1-r32.0@ppce500mc busybox-syslog-1.22.1-r32.0@ppce500mc busybox-udhcpc-1.22.1-r32.0@ppce500mc libc6-2.20-r0.0@ppce500mc update-alternatives-opkg-0.1.8+git0+eae0d8fa44-r0.0@ppce500mc update-rc.d-0.7-r5.0@all2.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.rpmupdate-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
...
Quoted 7 lines
This seems consistent with the reported issue
https://bugs.launchpad.net/smart/+bug/1238492Thanks,
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.
Signature · 2 lines
Best regards, George Nita
Quoted 94 lines · On Tuesday 09 June 2015 12:47:31 George Nita wrote:
Quoted 93 lines · George Nita
Quoted 16 lines · Paul Eggleton
Hi George,
Quoted 6 lines · 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: p2041rdbDid any one hit this too?
Did you enable runtime package management (i.e., is "package-management" in
IMAGE_FEATURES(or indirectly viaEXTRA_IMAGE_FEATURES)?) If you're not sure,
you can use bitbake -e to check.Quoted 8 lines
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,
PaulHello 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@p2041rdb:~# smart install -y bc Loading cache... Updating cache... ######################################## [100%]Computing transaction...
Installing packages (7):
bc-1.06-r2.0@ppce500mc busybox-1.22.1-r32.0@ppce500mc busybox-syslog-1.22.1-r32.0@ppce500mc busybox-udhcpc-1.22.1-r32.0@ppce500mc libc6-2.20-r0.0@ppce500mc update-alternatives-opkg-0.1.8+git0+eae0d8fa44-r0.0@ppce500mc update-rc.d-0.7-r5.0@all2.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.rpmupdate-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
...
Quoted 7 lines
Quoted 3 lines
This seems consistent with the reported issue
https://bugs.launchpad.net/smart/+bug/1238492Sorry, 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.
Ah yes, that would do it... glad you managed to resolve the issue, I'll remember to ask about that in future :)
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre