[yocto] [Yocto][Meta-Raspberrypi] Yocto apt sources.list for Raspberry Pi

Johnny R Cash j_r.cash at yahoo.de
Sun Feb 25 22:20:15 PST 2018


Greetings.
If i understand you correctly you configured your Yocto/Poky OS to try 
to fetch updates from Raspbian OS.
You would need to configure Yocto/Poky to update from a Yocto/Poky 
repository. As with using Yocto you probably are defining your own, that 
would have to be your own repository URL.
BR

On 25.02.2018 14:38, Laigui Qin wrote:
> Hi Everyone,
>
> I am building the GNU Linux with Yocto for Raspberry Pi using 
> meta-raspberrypi. Everything is good (with help of google search and 
> yocto manual) until I added apt support to the image. As I am a little 
> confused which Repository URL I should put in the sources.list, I 
> tried the Raspbian repository. However, when I do apt-get upgrade I 
> got following error which is not expected. Any idea on this effort?
>
> BR,
> Mike
>
> root at raspberrypi-cm3:~# sudo apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
>   base-files cpp diffutils g++ gcc git initscripts libcap2 libgcc1 
> libgmp10 libsysfs2 libusb-1.0-0 libwbclient0 netcat ntp procps 
> samba-common usbutils
> The following packages will be upgraded:
>   busybox ethtool sysfsutils
> 3 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
> Need to get 562 kB of archives.
> After this operation, 1114 kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Get:1http://archive.raspbian.org/raspbianwheezy/main armhf busybox 
> armhf 1:1.20.0-7 [438 kB]
> Get:2http://archive.raspbian.org/raspbianwheezy/main armhf ethtool 
> armhf 1:3.4.2-1 [98.7 kB]
> Get:3http://archive.raspbian.org/raspbianwheezy/main armhf sysfsutils 
> armhf 2.1.0+repack-2 [24.5 kB]
> Fetched 562 kB in 5s (96.0 kB/s)
> (Reading database ... 16225 files and directories currently installed.)
> Preparing to unpack .../busybox_1%3a1.20.0-7_armhf.deb ...
> Unpacking busybox (1:1.20.0-7) over (1.24.1-r0) ...
> dpkg-deb (subprocess): unable to execute tar (tar): No such file or 
> directory
> *dpkg-deb:**error:*subprocess tar returned error exit status 2
> *dpkg:*error processing archive 
> /var/cache/apt/archives/ethtool_1%3a3.4.2-1_armhf.deb (--unpack):
>  subprocess dpkg-deb --control returned error exit status 2
> dpkg-deb (subprocess): unable to execute tar (tar): No such file or 
> directory
> *dpkg-deb:**error:*subprocess tar returned error exit status 2
> *dpkg:*error processing archive 
> /var/cache/apt/archives/sysfsutils_2.1.0+repack-2_armhf.deb (--unpack):
>  subprocess dpkg-deb --control returned error exit status 2
> Errors were encountered while processing:
>  /var/cache/apt/archives/ethtool_1%3a3.4.2-1_armhf.deb
>  /var/cache/apt/archives/sysfsutils_2.1.0+repack-2_armhf.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180226/92c3b4b4/attachment.html>


More information about the yocto mailing list