I'm trying to upgrade to F24 from F23.
# dnf system-upgrade download --releasever=24 Last metadata expiration check: 0:10:02 ago on Wed Nov 23 18:52:12 2016. Error: cannot install both kernel-PAE-4.5.5-300.fc24.i686 and kernel-PAE-4.7.10-100.fc23.i686 (try to add '--allowerasing' to command line to replace conflicting packages)
kernel-PAE-4.7.10-100.fc23.i686 is actually the one that's running (and in fact the only one).
With --allowerasing I get
[...] Removing: kernel-PAE i686 4.7.10-100.fc23 @updates
Allowing dnf to do this seems a bit risky to me.
What's the real problem that makes dnf complain? (The error message is not very helpful: dnf shouldn't try to install kernel-PAE-4.7.10-100.fc23.i686, as it is installed already.) And how do I work around it?
Thanks,
Andras
On Wed, Nov 23, 2016 at 07:12:42PM +0100, Andras Simon wrote:
I'm trying to upgrade to F24 from F23. # dnf system-upgrade download --releasever=24 Last metadata expiration check: 0:10:02 ago on Wed Nov 23 18:52:12 2016. Error: cannot install both kernel-PAE-4.5.5-300.fc24.i686 and kernel-PAE-4.7.10-100.fc23.i686 (try to add '--allowerasing' to command line to replace conflicting packages) kernel-PAE-4.7.10-100.fc23.i686 is actually the one that's running (and in fact the only one).
Something is odd, here — DNF system upgrade should look at the updates repos, not just the base repo. The problem here is that it seems to not be in your case, as kernel-PAE-4.5.5-300.fc24.i686 is the version in the base repo but updates have kernel-PAE-4.8.8-200.fc24.i686.
That said, I'd suggest going straight to Fedora 25 at this point, without bothering to do F24 as an intermediary step. Even if it only looks at the base repo, that should get you to kernel-4.8.6-300.fc25.i686, which is higher.
2016-11-23 19:38 GMT+01:00, Matthew Miller mattdm@fedoraproject.org:
On Wed, Nov 23, 2016 at 07:12:42PM +0100, Andras Simon wrote:
I'm trying to upgrade to F24 from F23. # dnf system-upgrade download --releasever=24 Last metadata expiration check: 0:10:02 ago on Wed Nov 23 18:52:12 2016. Error: cannot install both kernel-PAE-4.5.5-300.fc24.i686 and kernel-PAE-4.7.10-100.fc23.i686 (try to add '--allowerasing' to command line to replace conflicting packages) kernel-PAE-4.7.10-100.fc23.i686 is actually the one that's running (and in fact the only one).
Something is odd, here — DNF system upgrade should look at the updates repos, not just the base repo. The problem here is that it seems to not be in your case, as kernel-PAE-4.5.5-300.fc24.i686 is the version in the base repo but updates have kernel-PAE-4.8.8-200.fc24.i686.
Then that's another oddity besides it wanting to mess with an F23 kernel.
That said, I'd suggest going straight to Fedora 25 at this point, without bothering to do F24 as an intermediary step. Even if it only looks at the base repo, that should get you to kernel-4.8.6-300.fc25.i686, which is higher.
I tried this, but it still wants to remove my working kernel, so if somethig goes wrong during the upgrade, I lose F23.
Andras
What happens if you boot an older kernel and then try the upgrade to F24?
On Wed, Nov 23, 2016 at 2:07 PM, Andras Simon szajmi@gmail.com wrote:
2016-11-23 19:38 GMT+01:00, Matthew Miller mattdm@fedoraproject.org:
On Wed, Nov 23, 2016 at 07:12:42PM +0100, Andras Simon wrote:
I'm trying to upgrade to F24 from F23. # dnf system-upgrade download --releasever=24 Last metadata expiration check: 0:10:02 ago on Wed Nov 23 18:52:12 2016. Error: cannot install both kernel-PAE-4.5.5-300.fc24.i686 and kernel-PAE-4.7.10-100.fc23.i686 (try to add '--allowerasing' to command line to replace conflicting packages) kernel-PAE-4.7.10-100.fc23.i686 is actually the one that's running (and in fact the only one).
Something is odd, here — DNF system upgrade should look at the updates repos, not just the base repo. The problem here is that it seems to not be in your case, as kernel-PAE-4.5.5-300.fc24.i686 is the version in the base repo but updates have kernel-PAE-4.8.8-200.fc24.i686.
Then that's another oddity besides it wanting to mess with an F23 kernel.
That said, I'd suggest going straight to Fedora 25 at this point, without bothering to do F24 as an intermediary step. Even if it only looks at the base repo, that should get you to kernel-4.8.6-300.fc25.i686, which is higher.
I tried this, but it still wants to remove my working kernel, so if somethig goes wrong during the upgrade, I lose F23.
Andras _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
2016-11-23 20:10 GMT+01:00, Terry Polzin foxec208@gmail.com:
What happens if you boot an older kernel and then try the upgrade to F24?
The same: it wants to remove that old kernel. But after booting again the latest kernel and starting the upgrade, dnf wanted to erase the old kernel, not the newest, running one. So I let it. Now I'm sitting here with fingers crossed...
Thanks for the suggestion!
Andras
On Wed, Nov 23, 2016 at 09:20:23PM +0100, Andras Simon wrote:
The same: it wants to remove that old kernel. But after booting again the latest kernel and starting the upgrade, dnf wanted to erase the old kernel, not the newest, running one. So I let it. Now I'm sitting here with fingers crossed...
Keep in mind that it's gonna reboot to do the actual package installation anyway.
2016-11-23 21:30 GMT+01:00, Matthew Miller mattdm@fedoraproject.org:
On Wed, Nov 23, 2016 at 09:20:23PM +0100, Andras Simon wrote:
The same: it wants to remove that old kernel. But after booting again the latest kernel and starting the upgrade, dnf wanted to erase the old kernel, not the newest, running one. So I let it. Now I'm sitting here with fingers crossed...
Keep in mind that it's gonna reboot to do the actual package installation anyway.
Right, so I was wrong: letting dnf remove the only working f23 kernel wouldn't have been risky; it would've led to disaster.
Thanks for pointing this out!
Andras
On Wed, Nov 23, 2016 at 10:25:30PM +0100, Andras Simon wrote:
2016-11-23 21:30 GMT+01:00, Matthew Miller mattdm@fedoraproject.org:
On Wed, Nov 23, 2016 at 09:20:23PM +0100, Andras Simon wrote:
The same: it wants to remove that old kernel. But after booting again the latest kernel and starting the upgrade, dnf wanted to erase the old kernel, not the newest, running one. So I let it. Now I'm sitting here with fingers crossed...
Keep in mind that it's gonna reboot to do the actual package installation anyway.
Right, so I was wrong: letting dnf remove the only working f23 kernel wouldn't have been risky; it would've led to disaster.
Thanks for pointing this out!
What about temporarily increasing the number of retained kernels. I think the parameter is in /etc/dnf/dnf.conf, "installonly_limit=3".
Raise it to say 6 so it will not deleted the currently running kernel. Later return it to default 3 or whatever you want.
Jon
2016-11-24 1:42 GMT+01:00, Jon LaBadie jonfu@jgcomp.com:
On Wed, Nov 23, 2016 at 10:25:30PM +0100, Andras Simon wrote:
2016-11-23 21:30 GMT+01:00, Matthew Miller mattdm@fedoraproject.org:
On Wed, Nov 23, 2016 at 09:20:23PM +0100, Andras Simon wrote:
The same: it wants to remove that old kernel. But after booting again the latest kernel and starting the upgrade, dnf wanted to erase the old kernel, not the newest, running one. So I let it. Now I'm sitting here with fingers crossed...
Keep in mind that it's gonna reboot to do the actual package installation anyway.
Right, so I was wrong: letting dnf remove the only working f23 kernel wouldn't have been risky; it would've led to disaster.
Thanks for pointing this out!
What about temporarily increasing the number of retained kernels. I think the parameter is in /etc/dnf/dnf.conf, "installonly_limit=3".
Raise it to say 6 so it will not deleted the currently running kernel. Later return it to default 3 or whatever you want.
It's too late now because the upgrade has already succeded (though I may run into these issues again when I go to F25 or upgrade other laptops) but this problem came up even when I had only one kernel installed with installonly_limit=3.
Andras
On Thu, Nov 24, 2016 at 08:33:35AM +0100, Andras Simon wrote:
It's too late now because the upgrade has already succeded (though I may run into these issues again when I go to F25 or upgrade other laptops) but this problem came up even when I had only one kernel installed with installonly_limit=3.
Yeah, this is kind of concerning. The standard instructions https://fedoraproject.org/wiki/DNF_system_upgrade ask you to do a dnf upgrade before running system-upgrade, which in most circumstances will mean you have at least two kernels. The "only one kernel" scenario might not be well-tested.