All of lore.kernel.org
 help / color / mirror / Atom feed
* misleading dependencies between packages
@ 2013-09-10  6:38 JC
       [not found] ` <CAAA4K6JaJF=wO3EZQMVsDTZsJS5DwZx0wv5wmKaSHegn_iPrEw@mail.gmail.com>
  2013-09-10  7:38 ` Yi Zhao
  0 siblings, 2 replies; 6+ messages in thread
From: JC @ 2013-09-10  6:38 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hi,

I have many issues with Apache2 package so I thought I would reinstall 
it. I used smart (smart install apache2) and here is the very strange 
issue I got:

Installing packages (20):
apache2-2.4.3-r1@armv6_vfp libgdbm4-1.10-r3@armv6_vfp
busybox-1.20.2-r8@armv6_vfp libpcre1-8.32-r1@armv6_vfp
busybox-syslog-1.20.2-r8@armv6_vfp libperl5-5.14.3-r1@armv6_vfp
busybox-udhcpc-1.20.2-r8@armv6_vfp libssl1.0.0-1.0.1e-r15.0@armv6_vfp
libapr-1-0-1.4.6-r2@armv6_vfp libuuid1-2.22.2-r3@armv6_vfp
libaprutil-1-0-1.5.1-r0@armv6_vfp libz1-1.2.7-r0@armv6_vfp
libc6-2.17-r3@armv6_vfp openssl-1.0.1e-r15.0@armv6_vfp
libcrypto1.0.0-1.0.1e-r15.0@armv6_vfp perl-5.14.3-r1@armv6_vfp
libexpat1-2.1.0-r0@armv6_vfp 
update-alternatives-cworth-1:0.1.8+svnr649-r13.0@armv6_vfp
libgcc1-4.7.2-r20@armv6_vfp update-rc.d-0.7-r5@all

4.8MB of package files are needed. 9.7MB will be used.

Confirm changes? (Y/n): Y

Fetching packages...
[Snip lots of downloads]
-> http://192.168.0.50:81/rpm/armv6_vfp/apache2-2.4.3-r1.armv6_vfp.rpm
apache2-2.4.3-r1.armv6_vfp.rpm 
############################################################################## 
[ 95%]

error: Failed to download packages:
error: 
http://192.168.0.50:81/rpm/armv6_vfp/libuuid1-2.22.2-r3.armv6_vfp.rpm: 
File not found


And indeed, I do not have r3 of libuuid1 but r5. This is not the first 
time I run in this issue, it's unfortunately quite common. And I can't 
even figure who is generating libuuid1 :(

Any idea?

Regards
Jay




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

* misleading dependencies between packages
       [not found] ` <CAAA4K6JaJF=wO3EZQMVsDTZsJS5DwZx0wv5wmKaSHegn_iPrEw@mail.gmail.com>
@ 2013-09-10  7:03   ` Jegan Chandru
  2013-09-10  7:27     ` JC
  0 siblings, 1 reply; 6+ messages in thread
From: Jegan Chandru @ 2013-09-10  7:03 UTC (permalink / raw)
  To: yocto@yoctoproject.org, JC

[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]

Hello,

libuuid is provided by util-linux. Check in meta/recipes-core/util-linux
for more details.
r3 is PR that util-linux has in dylan 9.0.1. Unless you change the PR, it
will be r3 only. I am not sure how you end up with r5.
May be you need to (re)build util-linux if you need libuuid. Also You
should check with the dependencies,
I see apr package which depends on util-linux.

Hope this helps.

Cheers,


On Tue, Sep 10, 2013 at 12:08 PM, JC <jc@vtkloud.com> wrote:

> Hi,
>
> I have many issues with Apache2 package so I thought I would reinstall it.
> I used smart (smart install apache2) and here is the very strange issue I
> got:
>
> Installing packages (20):
> apache2-2.4.3-r1@armv6_vfp libgdbm4-1.10-r3@armv6_vfp
> busybox-1.20.2-r8@armv6_vfp libpcre1-8.32-r1@armv6_vfp
> busybox-syslog-1.20.2-r8@**armv6_vfp libperl5-5.14.3-r1@armv6_vfp
> busybox-udhcpc-1.20.2-r8@**armv6_vfp libssl1.0.0-1.0.1e-r15.0@**armv6_vfp
> libapr-1-0-1.4.6-r2@armv6_vfp libuuid1-2.22.2-r3@armv6_vfp
> libaprutil-1-0-1.5.1-r0@armv6_**vfp libz1-1.2.7-r0@armv6_vfp
> libc6-2.17-r3@armv6_vfp openssl-1.0.1e-r15.0@armv6_vfp
> libcrypto1.0.0-1.0.1e-r15.0@**armv6_vfp perl-5.14.3-r1@armv6_vfp
> libexpat1-2.1.0-r0@armv6_vfp update-alternatives-cworth-1:**
> 0.1.8+svnr649-r13.0@armv6_vfp
> libgcc1-4.7.2-r20@armv6_vfp update-rc.d-0.7-r5@all
>
> 4.8MB of package files are needed. 9.7MB will be used.
>
> Confirm changes? (Y/n): Y
>
> Fetching packages...
> [Snip lots of downloads]
> -> http://192.168.0.50:81/rpm/**armv6_vfp/apache2-2.4.3-r1.**armv6_vfp.rpm<http://192.168.0.50:81/rpm/armv6_vfp/apache2-2.4.3-r1.armv6_vfp.rpm>
> apache2-2.4.3-r1.armv6_vfp.rpm ##############################**
> ##############################**################## [ 95%]
>
> error: Failed to download packages:
> error: http://192.168.0.50:81/rpm/**armv6_vfp/libuuid1-2.22.2-r3.**
> armv6_vfp.rpm<http://192.168.0.50:81/rpm/armv6_vfp/libuuid1-2.22.2-r3.armv6_vfp.rpm>:
> File not found
>
>
> And indeed, I do not have r3 of libuuid1 but r5. This is not the first
> time I run in this issue, it's unfortunately quite common. And I can't even
> figure who is generating libuuid1 :(
>
> Any idea?
>
> Regards
> Jay
>
>
> ______________________________**_________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>
>



-- 
JCP



-- 
JCP

[-- Attachment #2: Type: text/html, Size: 3371 bytes --]

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

* Re: misleading dependencies between packages
  2013-09-10  7:03   ` Jegan Chandru
@ 2013-09-10  7:27     ` JC
  2013-09-10  8:00       ` Jegan Chandru
  0 siblings, 1 reply; 6+ messages in thread
From: JC @ 2013-09-10  7:27 UTC (permalink / raw)
  To: Jegan Chandru; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3284 bytes --]

Hi JCP

Thanks for your information, here are the next questions:
libuuid is provided by util-linux. Check in meta/recipes-core/util-linux 
for more details.
> r3 is PR that util-linux has in dylan 9.0.1. Unless you change the PR, 
> it will be r3 only. I am not sure how you end up with r5.
> May be you need to (re)build util-linux if you need libuuid. Also You 
> should check with the dependencies,
> I see apr package which depends on util-linux.
>

Just to make sure, I did :
bitbake util-linux -c cleanall
bitbake util-linux

It will try to fetch:
0: util-linux-2.22.2-r5 do_fetch (pid 2420)

Which explains why I end up with a -r5 package

Looking at util-linux.inc, I see it tries to download the
SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 
\


So ${PV} is set somewhere else to r5, but not in this package. I don't 
know why/how it is fixed to something else. Could it be an issue like PV 
is set by another package, and not reset? Otherwise I can't figure how 
it comes out as "r5".

In the bb file I have ${PR} set to "r3". May be it should be what 
SRC_URI uses?

Jay


> Hope this helps.
>
> Cheers,
>
>
> On Tue, Sep 10, 2013 at 12:08 PM, JC <jc@vtkloud.com 
> <mailto:jc@vtkloud.com>> wrote:
>
>     Hi,
>
>     I have many issues with Apache2 package so I thought I would
>     reinstall it. I used smart (smart install apache2) and here is the
>     very strange issue I got:
>
>     Installing packages (20):
>     apache2-2.4.3-r1@armv6_vfp libgdbm4-1.10-r3@armv6_vfp
>     busybox-1.20.2-r8@armv6_vfp libpcre1-8.32-r1@armv6_vfp
>     busybox-syslog-1.20.2-r8@armv6_vfp libperl5-5.14.3-r1@armv6_vfp
>     busybox-udhcpc-1.20.2-r8@armv6_vfp libssl1.0.0-1.0.1e-r15.0@armv6_vfp
>     libapr-1-0-1.4.6-r2@armv6_vfp libuuid1-2.22.2-r3@armv6_vfp
>     libaprutil-1-0-1.5.1-r0@armv6_vfp libz1-1.2.7-r0@armv6_vfp
>     libc6-2.17-r3@armv6_vfp openssl-1.0.1e-r15.0@armv6_vfp
>     libcrypto1.0.0-1.0.1e-r15.0@armv6_vfp perl-5.14.3-r1@armv6_vfp
>     libexpat1-2.1.0-r0@armv6_vfp
>     update-alternatives-cworth-1:0.1.8+svnr649-r13.0@armv6_vfp
>     libgcc1-4.7.2-r20@armv6_vfp update-rc.d-0.7-r5@all
>
>     4.8MB of package files are needed. 9.7MB will be used.
>
>     Confirm changes? (Y/n): Y
>
>     Fetching packages...
>     [Snip lots of downloads]
>     -> http://192.168.0.50:81/rpm/armv6_vfp/apache2-2.4.3-r1.armv6_vfp.rpm
>     apache2-2.4.3-r1.armv6_vfp.rpm
>     ##############################################################################
>     [ 95%]
>
>     error: Failed to download packages:
>     error:
>     http://192.168.0.50:81/rpm/armv6_vfp/libuuid1-2.22.2-r3.armv6_vfp.rpm:
>     File not found
>
>
>     And indeed, I do not have r3 of libuuid1 but r5. This is not the
>     first time I run in this issue, it's unfortunately quite common.
>     And I can't even figure who is generating libuuid1 :(
>
>     Any idea?
>
>     Regards
>     Jay
>
>
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>
>
>
>
> -- 
> JCP
>
>
>
> -- 
> JCP


[-- Attachment #2: Type: text/html, Size: 6925 bytes --]

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

* Re: misleading dependencies between packages
  2013-09-10  6:38 misleading dependencies between packages JC
       [not found] ` <CAAA4K6JaJF=wO3EZQMVsDTZsJS5DwZx0wv5wmKaSHegn_iPrEw@mail.gmail.com>
@ 2013-09-10  7:38 ` Yi Zhao
  2013-09-10  7:40   ` JC
  1 sibling, 1 reply; 6+ messages in thread
From: Yi Zhao @ 2013-09-10  7:38 UTC (permalink / raw)
  To: JC; +Cc: yocto@yoctoproject.org


于 2013年09月10日 14:38, JC 写道:
> Hi,
>
> I have many issues with Apache2 package so I thought I would reinstall 
> it. I used smart (smart install apache2) and here is the very strange 
> issue I got:
>
> Installing packages (20):
> apache2-2.4.3-r1@armv6_vfp libgdbm4-1.10-r3@armv6_vfp
> busybox-1.20.2-r8@armv6_vfp libpcre1-8.32-r1@armv6_vfp
> busybox-syslog-1.20.2-r8@armv6_vfp libperl5-5.14.3-r1@armv6_vfp
> busybox-udhcpc-1.20.2-r8@armv6_vfp libssl1.0.0-1.0.1e-r15.0@armv6_vfp
> libapr-1-0-1.4.6-r2@armv6_vfp libuuid1-2.22.2-r3@armv6_vfp
> libaprutil-1-0-1.5.1-r0@armv6_vfp libz1-1.2.7-r0@armv6_vfp
> libc6-2.17-r3@armv6_vfp openssl-1.0.1e-r15.0@armv6_vfp
> libcrypto1.0.0-1.0.1e-r15.0@armv6_vfp perl-5.14.3-r1@armv6_vfp
> libexpat1-2.1.0-r0@armv6_vfp 
> update-alternatives-cworth-1:0.1.8+svnr649-r13.0@armv6_vfp
> libgcc1-4.7.2-r20@armv6_vfp update-rc.d-0.7-r5@all
>
> 4.8MB of package files are needed. 9.7MB will be used.
>
> Confirm changes? (Y/n): Y
>
> Fetching packages...
> [Snip lots of downloads]
> -> http://192.168.0.50:81/rpm/armv6_vfp/apache2-2.4.3-r1.armv6_vfp.rpm
> apache2-2.4.3-r1.armv6_vfp.rpm 
> ############################################################################## 
> [ 95%]
>
> error: Failed to download packages:
> error: 
> http://192.168.0.50:81/rpm/armv6_vfp/libuuid1-2.22.2-r3.armv6_vfp.rpm: 
> File not found

1. If your remote repo has updated, you need to recreate the repodata by 
using createrepo
2. You need to run "smart update" to update the information before run 
"smart install package". If you want to install package from remote 
repo, "smart update" is required because "smart install package" doesn't 
update the information automatically.


Thanks,
Yi

>
>
> And indeed, I do not have r3 of libuuid1 but r5. This is not the first 
> time I run in this issue, it's unfortunately quite common. And I can't 
> even figure who is generating libuuid1 :(
>
> Any idea?
>
> Regards
> Jay
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>



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

* Re: misleading dependencies between packages
  2013-09-10  7:38 ` Yi Zhao
@ 2013-09-10  7:40   ` JC
  0 siblings, 0 replies; 6+ messages in thread
From: JC @ 2013-09-10  7:40 UTC (permalink / raw)
  To: Yi Zhao; +Cc: yocto@yoctoproject.org

Dear Yi,

> 1. If your remote repo has updated, you need to recreate the repodata 
> by using createrepo
> 2. You need to run "smart update" to update the information before run 
> "smart install package". If you want to install package from remote 
> repo, "smart update" is required because "smart install package" 
> doesn't update the information automatically.
>

Yep. I did both of course. But even without it: an update would go from 
r3 to r5, probably not the reverse :(

But yes, I ran both commands prior to this failure

Best regards,
Jay

>
> Thanks,
> Yi
>
>>
>>
>> And indeed, I do not have r3 of libuuid1 but r5. This is not the 
>> first time I run in this issue, it's unfortunately quite common. And 
>> I can't even figure who is generating libuuid1 :(
>>
>> Any idea?
>>
>> Regards
>> Jay
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>



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

* Re: misleading dependencies between packages
  2013-09-10  7:27     ` JC
@ 2013-09-10  8:00       ` Jegan Chandru
  0 siblings, 0 replies; 6+ messages in thread
From: Jegan Chandru @ 2013-09-10  8:00 UTC (permalink / raw)
  To: JC; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]

On Tue, Sep 10, 2013 at 12:57 PM, JC <jc@vtkloud.com> wrote:

>  Hi JCP
>
> Thanks for your information, here are the next questions:
>
> libuuid is provided by util-linux. Check in meta/recipes-core/util-linux
> for more details.
>
>   r3 is PR that util-linux has in dylan 9.0.1. Unless you change the PR,
> it will be r3 only. I am not sure how you end up with r5.
> May be you need to (re)build util-linux if you need libuuid. Also You
> should check with the dependencies,
> I see apr package which depends on util-linux.
>
>
> Just to make sure, I did :
> bitbake util-linux -c cleanall
> bitbake util-linux
>
> It will try to fetch:
> 0: util-linux-2.22.2-r5 do_fetch (pid 2420)
>
> Which explains why I end up with a -r5 package
>

Its strange. Which version of dylan are u using? Is there any possiblity
that you set PR somewhere in any conf files, say bitbake.conf/local.conf?
I am using dylan-9.0.1 and am not getting r5. or you have 2 versions of
util-linux bb files?

This is what I get,
Waiting for 1 running tasks to finish:
0: util-linux-2.22.2-r3 do_fetch (pid 7296)



> Looking at util-linux.inc, I see it tries to download the
> SRC_URI =
> "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2
> \
>
>
> So ${PV} is set somewhere else to r5, but not in this package. I don't
> know why/how it is fixed to something else. Could it be an issue like PV is
> set by another package, and not reset? Otherwise I can't figure how it
> comes out as "r5".
>

Not really..no..! PV comes from bb name as in util-linux_2.22.2.bb, so it
is 2.22.2. For PR, Unless you set that variable yourself somewhere, bitbake
will not try to replace it. So please grep/check for PR in your dylan dir,
anywhere you set it.


> In the bb file I have ${PR} set to "r3". May be it should be what SRC_URI
> uses?
>

PR not used in SRC_URI only PV for fetching the correct package version.

[-- Attachment #2: Type: text/html, Size: 3605 bytes --]

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

end of thread, other threads:[~2013-09-10  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10  6:38 misleading dependencies between packages JC
     [not found] ` <CAAA4K6JaJF=wO3EZQMVsDTZsJS5DwZx0wv5wmKaSHegn_iPrEw@mail.gmail.com>
2013-09-10  7:03   ` Jegan Chandru
2013-09-10  7:27     ` JC
2013-09-10  8:00       ` Jegan Chandru
2013-09-10  7:38 ` Yi Zhao
2013-09-10  7:40   ` JC

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.