<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello Johnny,</div><div><br></div><div>Thanks for the reply.</div><div>Yes, I know that's not a good idea now.</div><div>I would like to think there is a well maintained Yocto/Poky repository somewhere in the world like the debian/Raspbian deb source to leverage (build and maintain my own repo is not my purpose.) Looks like there is not such repo available...</div><div>I do notice there is a Yocto subproject called "meta-debian", which try to leverage the debian repo. But not sure whether it works well without limitation...</div><div><br></div><div>BR,</div><div>Mike</div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2018-02-26 14:20:15, "Johnny R Cash" <j_r.cash@yahoo.de> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="moz-cite-prefix">Greetings.<br>
If i understand you correctly you configured your Yocto/Poky OS to
try to fetch updates from Raspbian OS.<br>
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>
BR<br>
<br>
On 25.02.2018 14:38, Laigui Qin wrote:<br>
</div>
<blockquote type="cite" cite="mid:4225ccb9.2bcb.161cd3007f8.Coremail.qinlaigui@126.com">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;">Hi Everyone,</span>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;"><br class="">
</div>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;">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?</div>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;"><br class="">
</div>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;">BR,</div>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;">Mike</div>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;"><br class="">
</div>
<div class="" style="font-family: Helvetica; font-size: 12px;
text-size-adjust: auto;">
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">root@raspberrypi-cm3:~# sudo apt-get
upgrade</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Reading package lists... Done</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Building dependency tree </span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Reading state information... Done</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Calculating upgrade... Done</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">The following packages have been
kept back:</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"> base-files cpp diffutils g++ gcc
git initscripts libcap2 libgcc1 libgmp10 libsysfs2
libusb-1.0-0 libwbclient0 netcat ntp procps samba-common
usbutils</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">The following packages will be
upgraded:</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"> busybox ethtool sysfsutils</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">3 upgraded, 0 newly installed, 0 to
remove and 18 not upgraded.</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Need to get 562 kB of archives.</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">After this operation, 1114 kB of
additional disk space will be used.</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Do you want to continue? [Y/n] </span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Get:1<span class="Apple-converted-space"> </span><a href="http://archive.raspbian.org/raspbian" class="" moz-do-not-send="true">http://archive.raspbian.org/raspbian</a><span class="Apple-converted-space"> </span>wheezy/main armhf
busybox armhf 1:1.20.0-7 [438 kB]</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Get:2<span class="Apple-converted-space"> </span><a href="http://archive.raspbian.org/raspbian" class="" moz-do-not-send="true">http://archive.raspbian.org/raspbian</a><span class="Apple-converted-space"> </span>wheezy/main armhf
ethtool armhf 1:3.4.2-1 [98.7 kB]</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Get:3<span class="Apple-converted-space"> </span><a href="http://archive.raspbian.org/raspbian" class="" moz-do-not-send="true">http://archive.raspbian.org/raspbian</a><span class="Apple-converted-space"> </span>wheezy/main armhf
sysfsutils armhf 2.1.0+repack-2 [24.5 kB]</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Fetched 562 kB in 5s (96.0 kB/s)
</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">(Reading database ... 16225 files
and directories currently installed.)</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Preparing to unpack
.../busybox_1%3a1.20.0-7_armhf.deb ...</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Unpacking busybox (1:1.20.0-7) over
(1.24.1-r0) ...</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">dpkg-deb (subprocess): unable to
execute tar (tar): No such file or directory</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"><b class="">dpkg-deb:</b><span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures:
no-common-ligatures; color: rgb(195, 55, 32);"><b class="">error:</b></span><span class="" style="font-variant-ligatures:
no-common-ligatures;"><span class="Apple-converted-space"> </span>subprocess
tar returned error exit status 2</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"><b class="">dpkg:</b><span class="Apple-converted-space"> </span>error processing
archive
/var/cache/apt/archives/ethtool_1%3a3.4.2-1_armhf.deb
(--unpack):</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"> subprocess dpkg-deb --control
returned error exit status 2</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">dpkg-deb (subprocess): unable to
execute tar (tar): No such file or directory</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"><b class="">dpkg-deb:</b><span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures:
no-common-ligatures; color: rgb(195, 55, 32);"><b class="">error:</b></span><span class="" style="font-variant-ligatures:
no-common-ligatures;"><span class="Apple-converted-space"> </span>subprocess
tar returned error exit status 2</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"><b class="">dpkg:</b><span class="Apple-converted-space"> </span>error processing
archive
/var/cache/apt/archives/sysfsutils_2.1.0+repack-2_armhf.deb
(--unpack):</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"> subprocess dpkg-deb --control
returned error exit status 2</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">Errors were encountered while
processing:</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"> /var/cache/apt/archives/ethtool_1%3a3.4.2-1_armhf.deb</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;"> /var/cache/apt/archives/sysfsutils_2.1.0+repack-2_armhf.deb</span></div>
<div class="" style="margin: 0px; font-stretch: normal;
font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures:
no-common-ligatures;">E: Sub-process /usr/bin/dpkg
returned an error code (1)</span></div>
</div>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<p><br>
</p>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>