When I try to install vim using rpm-ostree install vim on Fedora IoT on a Raspberry Pi 4 I get the following error:
Checking out tree 3ae4810... done
Enabled rpm-md repositories: updates fedora fedora-cisco-openh264
Importing rpm-md... done
rpm-md repo 'updates' (cached); generated: 2022-02-11T01:04:56Z solvables: 23197
rpm-md repo 'fedora' (cached); generated: 2021-10-26T05:31:21Z solvables: 56722
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2021-09-21T18:07:30Z solvables: 4
Resolving dependencies... done
error: Could not depsolve transaction; 1 problem detected:
Problem: package vim-enhanced-2:8.2.4314-1.fc35.aarch64 requires vim-common = 2:8.2.4314-1.fc35, but none of the providers can be installed
- conflicting requests
- package vim-common-2:8.2.4314-1.fc35.aarch64 requires vim-data = 2:8.2.4314-1.fc35, but none of the providers can be installed
- package vim-enhanced-2:8.2.3404-1.fc35.aarch64 requires vim-common = 2:8.2.3404-1.fc35, but none of the providers can be installed
- cannot install both vim-data-2:8.2.4314-1.fc35.noarch and vim-data-2:8.2.4232-1.fc35.noarch
- package vim-data-2:8.2.4232-1.fc35.noarch conflicts with vim-common < 2:8.2.3642-2 provided by vim-common-2:8.2.3404-1.fc35.aarch64
When I try to upgrade the system it tells me it is already up-to-date. Does anyone know why this could be happening and how to fix this?
I think I know the problem. The conflict happen because it want to install vim-common with noarch and the current installed package have aarch64 label on it. May be it related with the saved repos that not correctly pointing to aarch64. Unfortunately I don’t know how to resolve it.
If you want to trial and error, may be you want to uninstall the installed vim-common and then install again vim. If something goes wrong, rollback again.
Or you could also download manually vim-common for aarch64 from Fedora Koji here then try again to install vim.