All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Nita <george.nita@enea.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: smart 1.4.1 unsolved problem
Date: Fri, 22 May 2015 12:35:25 +0300	[thread overview]
Message-ID: <555EF85D.5080209@enea.com> (raw)
In-Reply-To: <1502347.ZKKJbWNJ0A@peggleto-mobl.ger.corp.intel.com>

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


  reply	other threads:[~2015-05-22  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-06-09  9:47     ` George Nita
2015-06-09  9:52       ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555EF85D.5080209@enea.com \
    --to=george.nita@enea.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.