Comments (11)
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.
The
system-upgrade
is very similar tooffline-distrosync
. Both commands can downgrade packages if only lover version is available. Thesystem-upgrade
has check whether releasever value is higher then the current value on the system. Additionally thesystem-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.
May I ask you for the error that it provided during the reboot.
from dnf-plugin-system-upgrade.
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.
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.
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.
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.
from dnf-plugin-system-upgrade.
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.
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.
Then I consider the issue as resolved
from dnf-plugin-system-upgrade.
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)
- Can't load plugin in f22 with Chinese locale HOT 5
- "Error: system is not ready for upgrade" is not helpful HOT 1
- `sudo dnf system-upgrade reboot ` ran into boot loop HOT 11
- include "reporting problems" section in github's readme HOT 1
- prevent reboot loops
- print system-upgrade version to stdout and dnf.log
- RFE: prompt or cancelable delay on reboot command HOT 4
- Add an 'upgrade' repo so stuff doesn't look like it all came from '@commandline'
- obsolete fedup-dracut-plymouth.noarch too. HOT 2
- UnicodeDecodeError on invalid argument options HOT 2
- Add extra diskspace check
- --refresh should be implied
- crash after sudo dnf system-upgrade reboot HOT 8
- No update or progress indication at all HOT 3
- Upgrade to version 26 process froze
- dnf system-upgrade reboot starts the upgrade but fails
- dnf system-upgrade reboot fails: unable to upgrade from f26 to f27 HOT 7
- please create version for el7 and el8 on epel HOT 2
- [WSL] System has not been booted with systemd as init system (PID 1). Can't operate.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnf-plugin-system-upgrade.