Giter Site home page Giter Site logo

Comments (11)

j-mracek avatar j-mracek commented on September 24, 2024

The system-upgrade is very similar to offline-distrosync. Both commands can downgrade packages if only lover version is available. The system-upgrade has check whether releasever value is higher then the current value on the system. Additionally the system-upgrade might modify enabled stream, apply modules obsoletes and upgrate comps groups.

from dnf-plugin-system-upgrade.

semaka avatar semaka commented on September 24, 2024

The system-upgrade is very similar to offline-distrosync. Both commands can downgrade packages if only lover version is available. The system-upgrade has check whether releasever value is higher then the current value on the system. Additionally the system-upgrade might modify enabled stream, apply modules obsoletes and upgrate comps groups.

good to know as info but I still not have a solution to my problem. How to perform download to a PC and upgrade to another by moving just downloaded files??? The question is what the online PC is doing during download in such way that I can perform upgrade but this can't be done on another PC where just moved the folder but not download done.

from dnf-plugin-system-upgrade.

j-mracek avatar j-mracek commented on September 24, 2024

May I ask you for the error that it provided during the reboot.

from dnf-plugin-system-upgrade.

j-mracek avatar j-mracek commented on September 24, 2024

Personally I would be careful with replacing /var/lib/dnf. My suggestion is to only copy /var/lib/dnf/system-upgrade.
It contains history DB and replacing it might create a mess.

from dnf-plugin-system-upgrade.

j-mracek avatar j-mracek commented on September 24, 2024

I believe that the problem is in PGP key verification, because keys are imported during performing download command. This could be verified by adding --nogpgcheck to dnf system-upgrade download --releasever=38.
Additionally there might a difference in installed packages or versions.

from dnf-plugin-system-upgrade.

semaka avatar semaka commented on September 24, 2024

Personally I would be careful with replacing /var/lib/dnf. My suggestion is to only copy /var/lib/dnf/system-upgrade. It contains history DB and replacing it might create a mess.

I don't think this will be different as soon as the three files under dnf are like originator, but I will do as you suggested, just system-upgrade. Regarding your next answer I think I'm close to find the problem and it is in the way indicated by you "gpgcheck". I will try your suggestion and come back with an answer. Thank you for help.

from dnf-plugin-system-upgrade.

semaka avatar semaka commented on September 24, 2024

Sorry but it doesn't work even if I downloaded the packages without gpgcheck. In documents of the plugin somewhere is written that "dnf system-upgrade reboot" is depended of "dnf system-upgrade download...", maybe in system-upgrade download something is configured somewhere to be taken into account at next reboot.

This is why my new PC which has just packages copied but no download command, does not reboot in upgrading mode. The creator of this plugin has any idea? See attached the error lines at rebooting moment.
upgradeF37_error

from dnf-plugin-system-upgrade.

j-mracek avatar j-mracek commented on September 24, 2024

May I ask you for a log.
dnf system-upgrade log
Then use the last event number and export it to a file.
dnf system-upgrade log --number=<latest_usually_1> > text.txt

from dnf-plugin-system-upgrade.

semaka avatar semaka commented on September 24, 2024

I solved the problem in another way. It is clear that "system-upgrade download" generate something important for "system-upgrade reboot", as it is mentioned in doc of plugin that reboot can't be done without download.
So I prepared the downloaded packages to be ready and available for a new local repo created. So I created a repository locally for this folder with rpms and I launched "system-ugrade download" in offline mode just with my downloaded packages through this local repo. Then I introduced "system-upgrade reboot" and magic, it's working.
I don't think I need to investigate more to find why not working with dnf management.

from dnf-plugin-system-upgrade.

j-mracek avatar j-mracek commented on September 24, 2024

Then I consider the issue as resolved

from dnf-plugin-system-upgrade.

semaka avatar semaka commented on September 24, 2024

yes, the ticket is closed as solved, not exactly in my first direction but now it's working well. Thank you for support and closing.

from dnf-plugin-system-upgrade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.