-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Sun, Jun 12, 2016 at 11:21:59AM +0000, Holger Levsen wrote: > On Sun, Jun 12, 2016 at 01:01:00PM +0200, Marek Marczykowski-Górecki wrote: > > > what version of yum is needed? Debian indeed has only 3.4.3-3, even in > > > unstable :/ > > Hmm, Fedora has 3.4.3-507, so I'm afraid --downloadonly option is added > > only in some Fedora local patch :/ > > hmpf. if that patch were identified one could file a wishlist bug > against the Debian package to include it…
Sigh.., it's part of a giant patch 3.4.3..HEAD: http://pkgs.fedoraproject.org/cgit/rpms/yum.git/tree/yum-HEAD.patch Anyway it looks like the right commit is here: http://yum.baseurl.org/gitweb?p=yum.git;a=commit;h=639a768c93d8c18a1906bb22840d4acb5efa7ac4 But there were few modifications later. Generally this should be helpful: http://yum.baseurl.org/gitweb?p=yum.git&a=search&h=HEAD&st=commit&s=downloadonly Also it looks like downloadonly option was implemented as a plugin the past. So maybe cleaner solution would be to package that plugin on Debian? It used to be part of yum-utils repository, at least at the time of its last release (1.1.31, 5 years ago): http://yum.baseurl.org/gitweb?p=yum-utils.git;a=tree;f=plugins/downloadonly;h=b8442914b20623015a87ba30b4ae63e20e5c5e53;hb=ccf29c9525c1b39498d37384ede1a12bec766a1b Generally it looks like yum people abandoned releasing new versions and simply package "master" when convenient... > > > also: will this in future (eg for 3.2) require dnf or will yum still be > > > supported for some time? > > yum is enough. In fact anything that can parse yum repo metadata, > > resolve dependencies and download rpms is enough. So maybe yum/dnf > > python API is robust enough to write a _simple_ tool which would > > download requested packages? > > does dnf have --downloadonly? Yes, it works slightly differently than in yum, but is good enough. > Cause I suppose it would be more useful to > just package dnf for Debian instead of writing yet another tool to do > that job… but maybe then that tool would have less dependencies and > features… hm. Exactly why I'm considering this idea at all. But still it should handle options like --enablerepo, --exclude and few more... So maybe better try other options first. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXXVEWAAoJENuP0xzK19csIfcH/j+plcgPdDrzsWB4QUmCJTt5 C7O/1Xa5tKPVe9GpfDkmJ66VtyxyxTp3yC810D883pvh30Q9A4hbbqJ2VrhlIubH dpHDPiWfii9Zt0BZcBBc20Ci3CNS/ivCxx2s7/ZWJeQ7wUGwFv5jjyXCxrhByTig nKCqJfvG083ri3SnxB5YVLYf9JlUjz4hxGcRhFWIprcYu/CNmq2Xq2eLeYPhXJte Ch2Hy2RCePGCxNSD+uH3e5du6uRPyMx09aoPxyQtClEeKjYVmktcFmJSxINjDFAM SviZ6DOiy0ac4C2MVJQiPrnY1C/SOe8N58gRQ0gSnoAXpDX516W5EXSn6QYmnRQ= =PYMh -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20160612120958.GA1593%40mail-itl. For more options, visit https://groups.google.com/d/optout.
