Hello Jussi, Let me start giving you all the hints. So you can see where I lead. You made few mistakes, so DNF won't work as such/is (by default) in Pyro 2.3.1.
I investigated a bit (I already wrote that I am quite familiar with DNF and its concepts). For the starters: Your DNF repo on Pyro 2.3.1 is in the following directory (I built full SATO image for target qemux86-64), transcript from my bare metal F26 follows: [user@localhost poky]$ cd build/tmp/deploy/rpm [user@localhost rpm]$ ls -al total 564 drwxr-xr-x. 5 user user 4096 Aug 22 13:33 . drwxr-xr-x. 5 user user 4096 Aug 22 13:28 .. drwxr-xr-x. 2 user user 462848 Aug 22 13:32 core2_64 drwxr-xr-x. 2 user user 16384 Aug 22 13:32 noarch drwxr-xr-x. 2 user user 81920 Aug 22 13:32 qemux86_64 [user@localhost rpm]$ cd noarch [user@localhost noarch]$ ls -al | wc -l 189 [user@localhost noarch]$ ls -al *.xml ls: cannot access '*.xml': No such file or directory [user@localhost noarch]$ As we see here, there are three .rpm repos on the server (let say, I am starting client qemux86-64). If you do the same, and built it for sato (or minimal, does not matter), you'll have the same. None of these .rpm repos have file which MUST be present there: repomd.xml??? Where is this file? How to generate it, for/per each local server repo, one instance of repomd.xml??? I think, I am actually helping you to understand the issues with Pyro 2.3.1 and DNF. ;-) Thank you, Zoran Stojsavljevic On Wed, Aug 23, 2017 at 9:42 AM, Jussi Kukkonen <jussi.kukko...@intel.com> wrote: > On 23 August 2017 at 09:56, Zoran Stojsavljevic < > zoran.stojsavlje...@gmail.com> wrote: > >> Privet Aleks, >> >> Nezacem zlitsja/serditsja. Ja prosto ne znal cto u vas takaja politika. >> >> All Cool. Did not know that this is the policy, to have real names on >> YOCTO list. I removed nobody from it, and added my real name and real @. I >> removed user nobody from the YOCTO @ list. >> >> The/Your answer is too general. I somehow well know DNF service, but in >> FEDORA light. For fedora I do know what I need to do, and where/what are >> the options and which plug-ins to use/add, and ho to remove, upgrade, and >> configure. >> >> I tried all of this in the lieu of the following pointers: >> https://docs.fedoraproject.org/en-US...ositories.html >> <https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sec-Configuring_DNF_and_DNF_Repositories.html> >> https://docs.fedoraproject.org/en-US...y_Options.html >> <https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sec-Setting_repository_Options.html> >> >> And made on my target (which is connected with my server with simplistic >> Apache (it is one machine, which carries F26 on bare metal INTEL CORE) on >> server, client runs as qemux86_64 YOCTO emulator). >> > > The answer is generic because the question is quite generic. > > Some things you could mention to make it easier for someone to help you: > * explain the steps you took to setup (maybe copy-paste your repo file > from the target), mention what "dnf makecache" says > * mention whether you've verified that manually downloading a rpm from > your server works on image > * most importantly explain what exactly fails and how. > > > Thanks, > Jussi >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto