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)
17 Replies
you make a distrobox and install it there, or use a flatpak π
the distrobox can be any distro that has a docker image
You want to use distrobox for this
I would recommend the flatpak
distrobox if you need something it can't offer you
i use a distrobox as i keep my whole dev environment inside the distrobox
FYI for system packages that do need to be overlayed (Mainly driver or lower-level packages) you use rpm-ostree
Damn quick responses. Okay so it's all working as intended, I'll check out the differences between distrobox and flatpak thanks
Flatpak will be easier to install, Distrobox might be more "capable" but a bit harder to install.
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 @harriI did say only a bit, honestly if you know how to use CLI well enough to install something you'll be fine.
The strength of a read-only file system is that I can't go too wrong
i managed to find ways π
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
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
sorry, I'm stuck on this line, tabbing doesn't come up with it either
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
ah ok thanks
Nice, it's all working now thanks
now you just install all the tooling you need inside the fedora distrobox