Articles in this section

Cannot elevate from CentOS 7 to Almalinux 8: /sys/fs/selinux: Read-only file system

Plesk for Linux kb: technical
  • Plesk for Linux

Symptoms

  • Cannot elevate from CentOS 7 to Almalinux 8, the script fails with the following error:

    Summary: {"STDERR": "Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
    Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system\nNo matches found for the following disable plugin patterns: subscription-manager
    Repository extras is listed more than once in the configuration
    Repository extras-source is listed more than once in the configuration
    Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp
    Error: Error downloading packages:
    psa-autoinstaller-3.64.0-0redhat.8.240819.0536.x86_64: Cannot download, all mirrors were already tried without success\n", "STDOUT": "Last metadata expiration check: 0:00:18 ago on Sat Oct 5 00:23:56 2024.
    Package python3-inotify-0.9.6-2.centos.7+p18.0.63.0+t240715.1829.x86_64 is already installed.
    Dependencies resolved.

Cause

Missing DNF package.

Resolution

  1. Connect to the server using SSH.

  2. Install the package:

    # yum install dnf-plugins-core

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.