Binary feeds: how are we supposed to use "dnf upgrade"?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 30 lines · Michael Opdenacker via lists.yoctoproject.org
Greetings,
I'm making binary package update tests on Nanbield. No problem with an ipk package feed. If I remember correctly:
Quoted 2 lines
opkg update
opkg upgradeI'm running this from a Nanbield 4.3.1 image, using feeds generated on another machine with the tip of the "nanbield" branch.
If I switch to
PACKAGE_CLASSES= "package_rpm"If can't seem to be able to do the same thing:
Quoted 1 line
dnf upgrade
OE Remote Repo:8000 0.0 B/s | 0 B 00:00
Error: Failed to download metadata for repo 'oe-remote-repo8000': Cannot download repomd.xml: Empty mirrorlist and no basepath specified!
Ignoring repositories: oe-remote-repo8000
Dependencies resolved.
Nothing to do.
Complete!
Quoted 8 lines
My http server doesn't even receive any request!
Here are the contents of
/etc/yum.repos.d/oe-remote-repo8000.repo:[oe-remote-repo8000]
name=OE Remote Repo:8000
baseurl=192.168.1.34:8000
gpgcheck=0
My bad, it turns out I was missing "http://" in PACKAGE_FEED_URIS
Anyway, our current tests don't test updates through package feeds (I'm working on this)
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com