Bug 1266949 - dnf distro-sync --allowerasing --releasever=23 --exclude='kernel*' removes all versions of the kernel
Summary: dnf distro-sync --allowerasing --releasever=23 --exclude='kernel*' removes al...
Keywords:
Status: CLOSED DUPLICATE of bug 1260989
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-28 15:54 UTC by Bruno Wolff III
Modified: 2015-10-13 13:24 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-13 13:24:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Raw typescript file from problematic upgrade (14.66 MB, text/plain)
2015-09-28 16:32 UTC, Bruno Wolff III
no flags Details

Description Bruno Wolff III 2015-09-28 15:54:58 UTC
User-Agent:       
Build Identifier: 

When I tried dnf distro-sync --allowerasing --releasever=23 I got an error because dnf was going to remove the running kernel. So I tried dnf distro-sync --allowerasing --releasever=23 --exclude='kernel*' figuring that would skip any kernel updates. Instead they were all removed. If you notice before you reboot it is fixable. But if you don't, lots of fun can be involved. Especially with very old hardware.

Reproducible: Always

Comment 1 Bruno Wolff III 2015-09-28 16:21:40 UTC
Just using dnf distro-sync --allowerasing --exclude='kernel*' doesn't trigger the bug. I mostly have rawhide nodebug kernels installed.

Comment 2 Bruno Wolff III 2015-09-28 16:25:03 UTC
dnf distro-sync --allowerasing --exclude='kernel*' --disablerepo=fedora-rawhide-kernel-nodebug didn't trigger the issue either.

Comment 3 Bruno Wolff III 2015-09-28 16:32:58 UTC
Created attachment 1077993 [details]
Raw typescript file from problematic upgrade

The typescript file is raw and has terminal escape sequences in it. (I started out using vi to fix some repo files pointing to a local mirror of f23.) But it might provide some insight into why the kernels all got removed.

Comment 4 Honza Silhan 2015-10-13 13:24:06 UTC

*** This bug has been marked as a duplicate of bug 1260989 ***


Note You need to log in before you can comment on or make changes to this bug.