UB
Universal Blueβ€’14mo 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β€’14mo 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β€’14mo ago
You want to use distrobox for this
Kyle Gospo
Kyle Gospoβ€’14mo ago
I would recommend the flatpak distrobox if you need something it can't offer you
HikariKnight
HikariKnightβ€’14mo ago
i use a distrobox as i keep my whole dev environment inside the distrobox
Valerie
Valerieβ€’14mo ago
FYI for system packages that do need to be overlayed (Mainly driver or lower-level packages) you use rpm-ostree
Harri
HarriOPβ€’14mo 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β€’14mo ago
Flatpak will be easier to install, Distrobox might be more "capable" but a bit harder to install.
Kyle Gospo
Kyle Gospoβ€’14mo 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β€’14mo 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β€’14mo ago
The strength of a read-only file system is that I can't go too wrong
HikariKnight
HikariKnightβ€’14mo ago
i managed to find ways πŸ˜…
Valerie
Valerieβ€’14mo 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β€’14mo 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β€’14mo ago
sorry, I'm stuck on this line, tabbing doesn't come up with it either
No description
Kyle Gospo
Kyle Gospoβ€’14mo 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β€’14mo ago
ah ok thanks Nice, it's all working now thanks
HikariKnight
HikariKnightβ€’14mo ago
now you just install all the tooling you need inside the fedora distrobox
Want results from more Discord servers?
Add your server