Unable to install software on Linux system
Unable to install software on Linux system
I am very new to Linux and am trying to install the Python package, but I keep getting into an infinite loop of “Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-front end. It is held by process 3792 (apt)” The command I was trying to use was “sudo apt install python” am I doing something wrong? P.S. This is also happening with Java JDK installer, the command I was using for that one was “sudo apt install oracle-java14-installer” I am using Linux Mint 20 if it helps.
It looks like you're attempting to install several items simultaneously. You might want to stop 3792 or simply restart your system.
It seems another process is active. "apt" is likely the package manager for Ubuntu. You may wait for it to finish, terminate it, or restart your system. Multiple installations can be handled with one command like "apt-get install <package>". However, you cannot execute separate commands in different terminals simultaneously.
Avoid ending the process immediately. Let it run for 15 minutes before attempting again. Ubuntu-based systems will quietly verify updates without interrupting your session, and you won’t be able to use apt during this time.