You're right. I've just tested it without copying the file (just the
dir with the packages) and running "dnf system-upgrade download"
worked as expected -- it didn't download anything and just created the
file, making it possible to run "dnf system-upgrade reboot"
afterwards. This is definitely the correct approach, thanks.
On Mon, Apr 18, 2016 at 9:52 PM, Samuel Sieb <samuel(a)sieb.net> wrote:
> On 04/18/2016 04:10 AM, Michal Domonkos wrote:
>>> I don't have a computer to test with right now, but I'm pretty sure
>>> system-upgrade doesn't put the packages in there. So at most you will
>>> merely copying the repo data across.
>> Actually, this is correct -- system-upgrade puts them in
>> /var/lib/dnf/system-upgrade, not in /var/cache/dnf. Copying this
>> folder alone isn't enough, though. One must also copy the
>> /var/lib/dnf/system-upgrade.json file.
> Have you tested that it is necessary? Personally, I would not want to copy
> that file and just let system-upgrade create it on each computer. DNF should
> still use the copied files if they are relevant.
> users mailing list
> To unsubscribe or change subscription options:
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org