From Fedora Project Wiki

(reply to Cfr42)
Line 14: Line 14:


--[[User:Cfr42|Cfr42]] ([[User talk:Cfr42|talk]]) 23:26, 21 December 2015 (UTC)
--[[User:Cfr42|Cfr42]] ([[User talk:Cfr42|talk]]) 23:26, 21 December 2015 (UTC)
[[User:Kparal|Kparal]] ([[User talk:Kparal|talk]]): Hey Cfr42, repoquery is in dnf-plugins-core, which should be installed by default. Multiple kernels are no longer shown in duplicates, you're right, wiki adjusted. For grub.cfg, please file a bug or find some help. Regarding --best, I believe the output should be the same (dependency errors should be printed out in both). If you have an output showing an important difference between --best and no --best using the latest dnf-plugin-system-upgrade, please link it here and I'll look at it, thanks.

Revision as of 12:38, 4 January 2016

Brianjmurrell: In step 2, dnf update --refresh is it really necessary to upgrade every package on a system you are about to upgrade to new versions of those same packages anyway? I could certainly see wanting to update a subset of packages covering dnf and rpm perhaps but why do I need to update things like my desktop packages to latest on release N when I only going to turn around and update that N+1 right away?

Kparal (talk): The point is to update important system tools like dnf, rpm, systemd, dracut, grub, etc, because there might be (and sometimes really is) some bug that badly interferes with the upgrade procedure and an update fixes it. So if you haven't updated in a long time, this command makes sure you have it fixed before you attempt to upgrade. If you use and update your system regularly, the amount of updates should be quite small, even though it includes all packages. If, for some reason, you don't want to update everything, you don't need to, as long as you make sure you update all the important packages (which can affect the upgrade). However, it can be quite tricky to find out which those are. If you want to go this route, I'd rather recommend you to exclude some known and large desktop apps (like libreoffice and firefox) than to try to make a list of every important low-level tools to update (you're very likely to miss something this way).

Not quite what happened.

  • The use of repoquery requires installation of a plugin. It would be helpful to explain this. (I already had the other plugin, for which instructions are provided, but not this one.)
  • I did not find any duplicates, despite having multiple kernels installed.
  • grub.cfg was not updated with the new release's kernel. (grub.cfg is never updated automatically on my system for reasons I don't understand.)
  • It would be helpful to mention that the use of --best can provide helpful information if the download stage fails for other reasons, such as conflicts between packages which dnf thinks it need to install i.e. over-satisfied dependencies, and not just unsatisfied dependencies.

[Off-topic but it seems outrageous that I have to have a telephone number to leave these comments. I'm not especially unwilling to give one, I just don't really have one which is suitable to give.]

--Cfr42 (talk) 23:26, 21 December 2015 (UTC)

Kparal (talk): Hey Cfr42, repoquery is in dnf-plugins-core, which should be installed by default. Multiple kernels are no longer shown in duplicates, you're right, wiki adjusted. For grub.cfg, please file a bug or find some help. Regarding --best, I believe the output should be the same (dependency errors should be printed out in both). If you have an output showing an important difference between --best and no --best using the latest dnf-plugin-system-upgrade, please link it here and I'll look at it, thanks.