Bug 1900543

Summary: nano-default-editor being forcefully installed on upgrade from F32 to F33
Product: [Fedora] Fedora Reporter: Eric Lavarde <elavarde>
Component: nanoAssignee: Kamil Dudka <kdudka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 33CC: dwmw2, kdudka, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-23 10:57:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Lavarde 2020-11-23 10:46:17 UTC
Description of problem:

Default editor is changed to nano when upgrading from F32 to F33, this is a (annoying) change of the default behaviour (vim in my case).

Version-Release number of selected component (if applicable):

$ rpm -qa | grep nano
nano-default-editor-5.3-4.fc33.noarch
nano-5.3-4.fc33.x86_64

How reproducible:

Always? I did 3 upgrade from F32 to F33 and each time had to fix the issue.

Steps to Reproduce:
1. sudo dnf system-upgrade download --releasever 33
2. sudo dnf system-upgrade reboot

Actual results:

nano-default-editor is installed and `EDITOR=/usr/bin/nano` is defined even though it wasn't the case before the upgrade.

Expected results:

Don't change the default behaviour of users.

Additional info:

Removing the package or even calling `sudo dnf install vim-default-editor --allowerasing` fixes the issue but it's a time loss.

Comment 1 Kamil Dudka 2020-11-23 10:57:54 UTC
This is already reported as bug #1896707.  I do not think this could be fixed in the nano package itself though.

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