Cannot install ntfs-3g on Fedora CoreOS

Hello everyone, I just installed Fedora CoreOS. I need to mount an NTFS drive. When running sudo dnf install ntfs-3g I get the following error:

Running transaction
Importing OpenPGP key 0xE99D6AD1:
 UserID     : "Fedora (41) <fedora-41-primary@fedoraproject.org>"
 Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
 From       : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-x86_64
Transaction failed: Signature verification failed.
An error occurred importing key "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-x86_64": Failed to import public key "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-x86_64" to rpmdb: can't create transaction lock on /usr/share/rpm/.rpm.lock (Read-only file system)
OpenPGP check for package "ntfs-3g-2:2022.10.3-6.fc41.x86_64" (/var/cache/libdnf5/fedora-7efbab3c1dbcd0d4/packages/ntfs-3g-2022.10.3-6.fc41.x86_64.rpm) from repo "fedora" has failed: Public key import failed.

When trying to mount my drive I get this error:

$ sudo mount /dev/sdb1 /var/mnt/raid/
mount: /var/mnt/raid: unknown filesystem type 'ntfs'.
       dmesg(1) may have more information after failed mount system call.

How can I fix this issue?

Hello @aegidius and welcome to :fedora: !

To add additional software to a Fedora CoreOS system, you must use rpm-ostree install. Although the dnf command is included in the base image, it cannot be used to install software on an already provisioned Fedora CoreOS system.

2 Likes

Thank you :folded_hands: