Skip to content

Commit 7534ad8

Browse files
authored
Adding a known issue/fix when C7 to AL9 upgrade (#592)
* Adding a known issue/fix when C7 to AL9 upgrade * Add mentioning in one more place
1 parent b427587 commit 7534ad8

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

docs/elevate/ELevate-frequent-issues.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ELevate Frequent Issues
33
---
44

5-
###### last updated: 2024-09-20
5+
###### last updated: 2025-03-05
66

77
# ELevate Frequent Issues
88

@@ -128,6 +128,25 @@ After the ELevate upgrade process has completed, you may encounter an error like
128128
129129
To enable CRB or any other AlmaLinux repository, please reference [this article](/repos/AlmaLinux.html)
130130
131+
## Error Detected While Processing /etc/virc
132+
133+
When performing a progressive upgrade from CentOS 7 to AlmaLinux 9, you may encounter the following issue on EL 9 while using `vi` (not `vim`):
134+
```
135+
Error detected while processing /etc/virc:
136+
line 40:
137+
E319: Sorry, the command is not available in this version: let skip_defaults_vim=1
138+
```
139+
To fix this error:
140+
* Open `/etc/virc` file using a text editor of your choice.
141+
* Search for the line containing the text *content added by Leapp*.
142+
* Locate and remove the following line:
143+
```
144+
let skip_defaults_vim=1
145+
```
146+
* Save the file and exit the editor.
147+
148+
After making these changes, the error should no longer appear when using `vi`.
149+
131150
## Known issues
132151
133152
AlmaLinux Team is working hard to get a solution for these issues. Any contribution is valuable and helps us out. If you want to help and contribute, see [how to contribute](/elevate/#how-to-contribute) information.

docs/elevate/ELevating-CentOS7-to-AlmaLinux-9.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "ELevating CentOS 7 to AlmaLinux 9"
33
---
44

5-
###### last updated: 2024-11-14
5+
###### last updated: 2025-03-05
66

77
# ELevating CentOS 7 to AlmaLinux 9
88

@@ -227,10 +227,13 @@ After these preparations are completed, you can upgrade your AlmaLinux 8 machine
227227
```
228228
dnf update --allowerasing
229229
```
230+
* When performing a progressive upgrade from CentOS 7 to AlmaLinux 9, you may encounter the following issue on EL 9 while using `vi` (not `vim`). For more details and a fix, please check the [Important Notes](#important-notes-about-the-upgrade-process) section below.
230231
231232
## Important Notes about the Upgrade Process
232233
233-
* During the upgrade, ELevate uses a multitude of repositories to migrate and upgrade the system. Among them is the usage of the CRB repository. Important to note, if the CRB repository was not enabled on your system prior to using ELevate, it will remain disabled after the upgrade. This can cause future system updates via dnf to fail as one or more packages/package dependencies may now depend on packages within the CRB repository. The errors can look something like this:
234+
### Package Dependency Error After ELevate Upgrade
235+
236+
During the upgrade, ELevate uses a multitude of repositories to migrate and upgrade the system. Among them is the usage of the CRB repository. Important to note, if the CRB repository was not enabled on your system prior to using ELevate, it will remain disabled after the upgrade. This can cause future system updates via dnf to fail as one or more packages/package dependencies may now depend on packages within the CRB repository. The errors can look something like this:
234237
```
235238
Error:
236239
Problem: package nss_db-2.34-100.el9_4.2.x86_64 from @System requires glibc(x86-64) = 2.34-100.el9_4.2, but none of the providers can be installed
@@ -246,6 +249,25 @@ After these preparations are completed, you can upgrade your AlmaLinux 8 machine
246249
247250
To enable CRB or any other AlmaLinux repository, please reference [this article](/repos/AlmaLinux.html)
248251
252+
### Error Detected While Processing /etc/virc
253+
254+
When performing a progressive upgrade from CentOS 7 to AlmaLinux 9, you may encounter the following issue on EL 9 while using `vi` (not `vim`):
255+
```
256+
Error detected while processing /etc/virc:
257+
line 40:
258+
E319: Sorry, the command is not available in this version: let skip_defaults_vim=1
259+
```
260+
To fix this error:
261+
* Open `/etc/virc` file using a text editor of your choice.
262+
* Search for the line containing the text *content added by Leapp*.
263+
* Locate and remove the following line:
264+
```
265+
let skip_defaults_vim=1
266+
```
267+
* Save the file and exit the editor.
268+
269+
After making these changes, the error should no longer appear when using `vi`.
270+
249271
## Get Help
250272
251273
For more help and assistance reach out to us in the ~migration channel on the [AlmaLinux Community Chat](https://chat.almalinux.org/almalinux/channels/migration).

0 commit comments

Comments
 (0)