F5F Stay Refreshed Software Operating Systems Unable to install software on Linux system

Unable to install software on Linux system

Unable to install software on Linux system

E
epicninja60
Member
66
03-30-2020, 04:58 PM
#1
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.
E
epicninja60
03-30-2020, 04:58 PM #1

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.

C
CaptainAdz
Member
107
04-01-2020, 12:37 PM
#2
It looks like you're attempting to install several items simultaneously. You might want to stop 3792 or simply restart your system.
C
CaptainAdz
04-01-2020, 12:37 PM #2

It looks like you're attempting to install several items simultaneously. You might want to stop 3792 or simply restart your system.

4
4Boseboys
Junior Member
10
04-15-2020, 01:20 AM
#3
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.
4
4Boseboys
04-15-2020, 01:20 AM #3

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.

S
senfic
Junior Member
1
04-15-2020, 06:09 AM
#4
As expected, apt has been utilized before. Ubuntu regularly refreshes package lists and applies security patches, which could explain the recent activity. Since Linux Mint relies on Ubuntu, this might be the reason.
S
senfic
04-15-2020, 06:09 AM #4

As expected, apt has been utilized before. Ubuntu regularly refreshes package lists and applies security patches, which could explain the recent activity. Since Linux Mint relies on Ubuntu, this might be the reason.

Y
YoloGeek22
Member
152
04-17-2020, 11:49 PM
#5
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.
Y
YoloGeek22
04-17-2020, 11:49 PM #5

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.