UB
Universal Blue•17mo ago
Harri

Can't create transaction lock

Maybe this is working as intended as a read-only file system, but how else would I install VS code? I do: sudo rpm is --import https://packages.microsoft.com/keys/microsoft.asc Then error: error: can't create transaction lock on /usr/share/rpm/.rpm.lock (Read-only file system) Can't create transaction lock on /usr/share/rpm/.rpm.lock (read-only file system)
No description
17 Replies
HikariKnight
HikariKnight•17mo ago
you make a distrobox and install it there, or use a flatpak 😉 the distrobox can be any distro that has a docker image
Valerie
Valerie•17mo ago
You want to use distrobox for this
Kyle Gospo
Kyle Gospo•17mo ago
I would recommend the flatpak distrobox if you need something it can't offer you
HikariKnight
HikariKnight•17mo ago
i use a distrobox as i keep my whole dev environment inside the distrobox
Valerie
Valerie•17mo ago
FYI for system packages that do need to be overlayed (Mainly driver or lower-level packages) you use rpm-ostree
Harri
HarriOP•17mo ago
Damn quick responses. Okay so it's all working as intended, I'll check out the differences between distrobox and flatpak thanks
Valerie
Valerie•17mo ago
Flatpak will be easier to install, Distrobox might be more "capable" but a bit harder to install.
Kyle Gospo
Kyle Gospo•17mo ago
just distrobox-fedora distrobox enter fedora sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo dnf install vscode distrobox-export --app vscode exit if you do need it @harri
Valerie
Valerie•17mo ago
I did say only a bit, honestly if you know how to use CLI well enough to install something you'll be fine.
Harri
HarriOP•17mo ago
The strength of a read-only file system is that I can't go too wrong
HikariKnight
HikariKnight•17mo ago
i managed to find ways 😅
Valerie
Valerie•17mo ago
I've broken a kinoite install doing literally nothing before lmfao It just stopped working one day That was months ago though, I've been fine ever since
HikariKnight
HikariKnight•17mo ago
i rebooted immediately after boot (at login) and my bootloader nuked itself, that was an interesting one 🤣 but i had also applied like uhh 250 changes or something, but this happened on the 2nd reboot after it
Harri
HarriOP•17mo ago
sorry, I'm stuck on this line, tabbing doesn't come up with it either
No description
Kyle Gospo
Kyle Gospo•17mo ago
I guessed vscode refer to your install guide you got the rpm line from might need a repo added too it's the same from here on
Harri
HarriOP•17mo ago
ah ok thanks Nice, it's all working now thanks
HikariKnight
HikariKnight•17mo ago
now you just install all the tooling you need inside the fedora distrobox

Did you find this page helpful?