B
blendOSβ€’8mo ago
Senzenfrenz

Container installs no package

Hey, I just tried to install a package in an arch container, wont work: $ sudo pacman -S kdenlive error: failed to init transaction (unable to lock database) error: could not lock database: File exists if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck btw. cant copy and paste from Container Terminal
9 Replies
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’8mo ago
Ensure you’re in the container shell Remove /var/lib/pacman/db.lck from your container
Senzenfrenz
SenzenfrenzOPβ€’8mo ago
Sure I am in the container shell, theres no db.lck at the mentioned directory, already tried
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’8mo ago
Also you should get kdenlive as a flatpak
Unknown User
Unknown Userβ€’8mo ago
Message Not Public
Sign In & Join Server To View
Senzenfrenz
SenzenfrenzOPβ€’8mo ago
Ok thank you I try that
Valkyrja
Valkyrjaβ€’8mo ago
@Senzenfrenz, you've gained the level 1
Senzenfrenz
SenzenfrenzOPβ€’8mo ago
I tried to reinstall the container which aswell did not work: I get: chmod: cannot access '/usr/local/bin/host-spawn': No such file or directory chmod: cannot access '/etc/sudo.conf': No such file or directory chmod: cannot access '/usr/bin/sudo': No such file or directory chmod: cannot access '/usr/bin/sudo /usr No such file or directory and other stuff which while writing this container gave a ton of error messages and finally closed itself so I coud not type all the stuff that went wrong here but basically in the end it said "failed to create container" Now by the time of writing I cant do pretty much anything cant create containers, cant do sudo system install or system remove stuff. In this case no matter which package I want to install directly to the system it gives me: failed to commit transaction (conflicting files) torbrowser-launcher: /etc/apparmor.d/torbrowser.Browser.firefox exists in filesystem torbrowser-launcher: /etc/apparmor.d/torbrowser.Tor.tor exists in filesystem torbrowser-launcher: /etc/apparmor.d/tunables/torbrowser exists in filesystem Errors occurred, no packages were upgraded. So I guess installing Tor wasnot the best Idea? But I cant remove it aswell because system remove says that tor is not installed so not can be removed but it is installed and works πŸ˜„
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’8mo ago
system is a hot mess and I don’t even know where to start Seems systemd-nspawn isn’t working right
Senzenfrenz
SenzenfrenzOPβ€’7mo ago
Can I do anything about that myself, check some stuff or restore previous state of the system or something like that? Btw "attempting to acquire system lock" takes for ages (but nothing is updated in the background as far as "journalctl -xeu akshara -f" goes I am of course not a very advanced user but at this point I think I must consider my OS broken must be that my installation of Tor (which was just from the arch repo itself) broke it because before it everything was working. Or the os broke itself somehow.
Want results from more Discord servers?
Add your server