All of lore.kernel.org
 help / color / mirror / Atom feed
* smart 1.4.1 unsolved problem
@ 2015-05-21  8:44 George Nita
  2015-05-22  8:43 ` Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: George Nita @ 2015-05-21  8:44 UTC (permalink / raw)
  To: yocto

Hello,

I've reproduced the https://bugs.launchpad.net/smart/+bug/1238492 issue

branch: dizzy
target: p2041rdb

Did any one hit this too?

-- 
Best regards,
George Nita


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smart 1.4.1 unsolved problem
  2015-05-21  8:44 smart 1.4.1 unsolved problem George Nita
@ 2015-05-22  8:43 ` Paul Eggleton
  2015-05-22  9:35   ` George Nita
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2015-05-22  8:43 UTC (permalink / raw)
  To: George Nita; +Cc: yocto

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

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smart 1.4.1 unsolved problem
  2015-05-22  8:43 ` Paul Eggleton
@ 2015-05-22  9:35   ` George Nita
  2015-06-09  9:47     ` George Nita
  0 siblings, 1 reply; 5+ messages in thread
From: George Nita @ 2015-05-22  9:35 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

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@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,

-- 
George Nita


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smart 1.4.1 unsolved problem
  2015-05-22  9:35   ` George Nita
@ 2015-06-09  9:47     ` George Nita
  2015-06-09  9:52       ` Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: George Nita @ 2015-06-09  9:47 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

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@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,
>
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smart 1.4.1 unsolved problem
  2015-06-09  9:47     ` George Nita
@ 2015-06-09  9:52       ` Paul Eggleton
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2015-06-09  9:52 UTC (permalink / raw)
  To: George Nita; +Cc: yocto

On Tuesday 09 June 2015 12:47:31 George Nita wrote:
> 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@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
> > 
> 
> 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.

Ah yes, that would do it... glad you managed to resolve the issue, I'll 
remember to ask about that in future :)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-09  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21  8:44 smart 1.4.1 unsolved problem George Nita
2015-05-22  8:43 ` Paul Eggleton
2015-05-22  9:35   ` George Nita
2015-06-09  9:47     ` George Nita
2015-06-09  9:52       ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.