Hi guys, I am not sure how this happened. But I’ve attempted to update my daughters laptop and I get this message:
error: cannot open Packages database in /var/lib/rpm
Target initialization failed:
This is not something I’ve come across before. I suspect it is connected to when my other daughter attempted to install Google Chrome on her own but got awfully confused with the whole process (She didn’t tell me until a few days later). I have since attempted to use past Snapshots with nil success.
This laptop is ACER Aspire 5733 with Leap 15.2 using GNOME.
Alas, you did not tell what you do when trying “to Update”. We now have only an error message but no context.
When this is in the CLI, then copy/paste including the command.
When this is in the GUI, then either dewcribe whjat you started (YaST maybe?) and what you clicked next, etc. or make a screen shot and post it to https://susepaste.org/
BTW, who is the system manager (administrator) of your daughter’s system. Either you (and then your daughter should not even be able to install system packages like Chrome), or you told here the root password in which case she is responseble for all that happens on the system.
She was attempting to install Chrome via their website, but she couldn’t quite explain what she had done.
I was trying to just do a general update using Zypper Up.
And yes, I had told her the password and quickly taught her how to install using GNOME Software. But since I had not added Chrome and she was desperate to use Netflix Party but didn’t think of installing Chromium instead. As I said she didn’t tell me until few days later.
to change to root. That can be very dangerous (e.g. you are still using user lena’s environment and who knows what she did there, after all it his her environment). Better use
And, when you use KDE, there is in the main menu > System > Terminal - Super User Mode, which also uses su -.
Another advice. When you manage someone else’s system, at least add a normal user for you as the manager. You can then adapt your environment to your needs and have nothing to do with lena’s environment (also a matter of privacy). I even have done this to the system I also use for “normal” work (like browsing, banking, zoom, …). No interference between the different roles I have. Unix/Linux offers a real multi-user operating system. Use it to your advantage.