Bug 1955884 - Upgrade from F33 to F34 fails on conflict between nano-default-editor and vim-default-editor
Summary: Upgrade from F33 to F34 fails on conflict between nano-default-editor and vim...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nano
Version: 34
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-01 09:30 UTC by Eric L.
Modified: 2021-05-03 10:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Eric L. 2021-05-01 09:30:57 UTC
Description of problem:
`dnf system-upgrade download --releasever 34` fails with following error:

```
 Problem 2: problem with installed package vim-default-editor-2:8.2.2811-1.fc33.noarch
  - package vim-default-editor-2:8.2.2811-1.fc34.noarch conflicts with system-default-editor provided by nano-default-editor-5.6.1-1.fc34.noarch
  - package nano-default-editor-5.6.1-1.fc34.noarch conflicts with system-default-editor provided by vim-default-editor-2:8.2.2811-1.fc34.noarch
  - package nano-default-editor-5.6.1-1.fc34.noarch conflicts with system-default-editor provided by vim-default-editor-2:8.2.2637-1.fc34.noarch
  - package vim-default-editor-2:8.2.2637-1.fc34.noarch conflicts with system-default-editor provided by nano-default-editor-5.6.1-1.fc34.noarch
  - vim-default-editor-2:8.2.2811-1.fc33.noarch does not belong to a distupgrade repository
  - conflicting requests
```

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

```
$ rpm -qa | grep default-editor
vim-default-editor-8.2.2811-1.fc33.noarch
```
(nano isn't installed)

How reproducible:

Always so far...

Steps to Reproduce:

1. Be on F33 (Cinnamon)
2. call `dnf upgrade --refresh`
3. call `dnf system-upgrade download --releasever 34`

Actual results:
Upgrade fails

Expected results:
Upgrade starts

Additional info:
I suspect that it is a follow-up of https://bugzilla.redhat.com/show_bug.cgi?id=1896707 with something still trying to enforce nano as default editor even though I've installed vim-default-editor.
I had reported the duplicate bug https://bugzilla.redhat.com/show_bug.cgi?id=1900543 at that time.

Comment 1 Kamil Dudka 2021-05-03 10:50:15 UTC
I am not able to reproduce it on a fresh f33 VM with vim-default-editor-8.2.2811-1.fc33.noarch installed:

# yum install vim-default-editor
# exec bash -l
# echo $EDITOR
/usr/bin/vim

# dnf upgrade --refresh
# dnf install 'dnf-command(system-upgrade)'
# dnf system-upgrade download --releasever 34
# dnf system-upgrade reboot
[...]

# hostnamectl 
 Static hostname: ci-vm-10-0-137-55.hosted.upshift.rdu2.redhat.com
       Icon name: computer-vm
         Chassis: vm
      Machine ID: a5f18bd752c24d1d848e03a937c9bdf4
         Boot ID: 1aadfbc75f674224ad7d089746de59d8
  Virtualization: kvm
Operating System: Fedora 34 (Thirty Four)
     CPE OS Name: cpe:/o:fedoraproject:fedora:34
          Kernel: Linux 5.11.17-300.fc34.x86_64
    Architecture: x86-64
 Hardware Vendor: Red Hat
  Hardware Model: OpenStack Compute

# echo $EDITOR
/usr/bin/vim


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