misleading dependencies between packages
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
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,
Quoted 50 lines · 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@all4.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 foundAnd 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
[email protected]
https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>
Signature · 6 lines
JCP -- JCP
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.
Quoted 4 lines
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 theSRC_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
Quoted 68 lines
Hope this helps.
Cheers,
On Tue, Sep 10, 2013 at 12:08 PM, JC <[email protected] <mailto:[email protected]>> 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 [email protected] <mailto:[email protected]> https://lists.yoctoproject.org/listinfo/yoctoSignature · 6 lines
JCP -- JCP
Quoted 20 lines · 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@all4.8MB of package files are needed. 9.7MB will be used.
Confirm changes? (Y/n): Y
Quoted 7 lines
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
Quoted 16 lines
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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Dear Yi,
Quoted 3 lines
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
Quoted 21 lines
Thanks,
YiQuoted 16 lines
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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 14 lines · JC
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.
Quoted 9 lines
Just to make sure, I did :
bitbake util-linux -c cleanall
bitbake util-linuxIt will try to fetch:
0: util-linux-2.22.2-r5do_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)
Quoted 11 lines
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.
Quoted 3 lines
In the bb file I have ${PR} set to "r3". May be it should be what
SRC_URIuses?
PR not used in SRC_URI only PV for fetching the correct package version.