<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi everyone,<br><br>I have been trying lately to set up a package feed from my host machine for the yocto distrib running on a qemu on the host machine.<br><br>I added as told "apt" to the IMAGE_INSTALL and added the package-managment in the EXTRA_FEATURE<br><br>Then I setted up an Apache 2 http server with the following the config:<br><br>Alias /deb ~/yocto/build-qemuarm/tmp-glibc/deploy/deb<br><Directory "~/yocto/build-qemuarm/tmp-glibc/deploy/deb"><br>Options +Indexes<br></Directory><br><br>Then I tried without success to set up the sources.list on the target (qemu)<br><br>I looked over the Internet but no way to find concrete example for apt set-up, only for ipk/rpm. I am quite lost in how to set up the<br>mandatory suite option and components.<br><br>Here is the listing of the deploy/deb dir without all the *.dev packages:<br> tree -I *.deb<br>.<br>├── all<br>│   â”œâ”€â”€ Packages<br>│   â”œâ”€â”€ Packages.gz<br>│   â””── Release<br>├── armv5te<br>│   â”œâ”€â”€ Packages<br>│   â”œâ”€â”€ Packages.gz<br>│   â””── Release<br>└── qemuarm<br>    â”œâ”€â”€ Packages<br>    â”œâ”€â”€ Packages.gz<br>    â””── Release<br><br><br>Here is my sources.list up to now:<br>deb <a href="http://192.168.7.1:8000/all" target="_blank">http://192.168.7.1:8000/all</a> all all<br><br>Here is the log of apt-get update :<br><br>root@qemuarm:/etc/apt/sources.list.d# apt-get update <br>Ign http://192.168.7.1:8000 all InRelease<br>Ign http://192.168.7.1:8000 all Release.gpg<br>Ign http://192.168.7.1:8000 all Release<br>Err http://192.168.7.1:8000 all/all armel Packages<br>  404  File not found<br>Ign http://192.168.7.1:8000 all/all Translation-en<br>W: Failed to fetch http://192.168.7.1:8000/all/dists/all/all/binary-armel/Packages  404  File not found<br><br>E: Some index files failed to download. They have been ignored, or old ones used instead.<br>root@qemuarm:/etc/apt/sources.list.d# apt-get update<br>Err http://192.168.7.1:8000 all InRelease<br>  <br>Err http://192.168.7.1:8000 all Release.gpg<br>  Unable to connect to 192.168.7.1:8000:<br>Reading package lists... Done<br>W: Failed to fetch http://192.168.7.1:8000/all/dists/all/InRelease  <br><br>W: Failed to fetch http://192.168.7.1:8000/all/dists/all/Release.gpg  Unable to connect to 192.168.7.1:8000:<br><br>W: Some index files failed to download. They have been ignored, or old ones used instead.<br><br>I tried for my sources.list:<br>deb <a href="http://192.168.7.1:8000" target="_blank">http://192.168.7.1:8000</a> all<br><br>But got:<br>E: Malformed line 1 in source list /etc/apt/sources.list.d/oe.list (dist parse)<br>E: The list of sources could not be read.<br><br>So if anybody got more debian package experience than me, and/or has already tried to do the same as me, I would be happy yo have some clues.<br><br>Thanks,<br>-- <br>Jérôme OLIVIER<br>                                         </div></body>
</html>