tasksel: command not found
When i was trying to install Lamp using the following command
sudo tasksel install lamp-server
I got the following error
sudo: tasksel: command not found
I tried the below steps
To overcome this error i typed the following command
sudo apt-get install tasksel
This command gave the following error
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 4869 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Next step i ran the following command
sudo apt update
It was executed successfully . You can see the below screenshot of the output recieved
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
151 packages can be upgraded. Run 'apt list --upgradable' to see them.
From the above result i found an command and i was curious to check what was it and ran the following command
'apt list --upgradable'
It gave the below output
It suggested the following package can be upgradable
Listing... Done
accountsservice/focal-updates,focal-security 0.6.55-0ubuntu12~20.04.5 amd64 [upgradable from: 0.6.55-0ubuntu12~20.04.4]
alsa-ucm-conf/focal-updates,focal-updates 1.2.2-1ubuntu0.11 all [upgradable from: 1.2.2-1ubuntu0.9]
apport-gtk/focal-updates,focal-updates,focal-security,focal-security 2.20.11-0ubuntu27.21 all [upgradable from: 2.20.11-0ubuntu27.18]
apport/focal-updates,focal-updates,focal-security,focal-security 2.20.11-0ubuntu27.21 all [upgradable from: 2.20.11-0ubuntu27.18]
bind9-dnsutils/focal-updates,focal-security 1:9.16.1-0ubuntu2.9 amd64 [upgradable from: 1:9.16.1-0ubuntu2.8]
bind9-host/focal-updates,focal-security 1:9.16.1-0ubuntu2.9 amd64 [upgradable from: 1:9.16.1-0ubuntu2.8]
bind9-libs/focal-updates,focal-security 1:9.16.1-0ubuntu2.9 amd64 [upgradable from: 1:9.16.1-0ubuntu2.8]
binutils-common/focal-updates,focal-security 2.34-6ubuntu1.3 amd64 [upgradable from: 2.34-6ubuntu1.1]
binutils-x86-64-linux-gnu/focal-updates,focal-security 2.34-6ubuntu1.3 amd64 [upgradable from: 2.34-6ubuntu1.1]
binutils/focal-updates,focal-security 2.34-6ubuntu1.3 amd64 [upgradable from: 2.34-6ubuntu1.1]
bluez-cups/focal-updates,focal-security 5.53-0ubuntu3.4 amd64 [upgradable from: 5.53-0ubuntu3.3]
bluez-obexd/focal-updates,focal-security 5.53-0ubuntu3.4 amd64 [upgradable from: 5.53-0ubuntu3.3]
busybox-static/focal-updates,focal-security 1:1.30.1-4ubuntu6.4 amd64 [upgradable from: 1:1.30.1-4ubuntu6.3]
command-not-found/focal-updates,focal-updates 20.04.5 all [upgradable from: 20.04.4]
cpio/focal-updates,focal-security 2.13+dfsg-2ubuntu0.3 amd64 [upgradable from: 2.13+dfsg-2]
fonts-opensymbol/focal-updates,focal-updates,focal-security,focal-security 2:102.11+LibO6.4.7-0ubuntu0.20.04.2 all [upgradable from: 2:102.11+LibO6.4.7-0ubuntu0.20.04.1]
gir1.2-accountsservice-1.0/focal-updates,focal-security 0.6.55-0ubuntu12~20.04.5 amd64 [upgradable from: 0.6.55-0ubuntu12~20.04.4]
gir1.2-mutter-6/focal-updates 3.36.9-0ubuntu0.20.04.2 amd64 [upgradable from: 3.36.9-0ubuntu0.20.04.1]
gir1.2-udisks-2.0/focal-updates 2.8.4-1ubuntu2 amd64 [upgradable from: 2.8.4-1ubuntu1]
gnome-control-center-data/focal-updates,focal-updates 1:3.36.5-0ubuntu3 all [upgradable from: 1:3.36.5-0ubuntu2]
gnome-control-center-faces/focal-updates,focal-updates 1:3.36.5-0ubuntu3 all [upgradable from: 1:3.36.5-0ubuntu2]
gnome-control-center/focal-updates 1:3.36.5-0ubuntu3 amd64 [upgradable from: 1:3.36.5-0ubuntu2]
gnome-shell-extension-desktop-icons/focal-updates,focal-updates 20.04.0-3~ubuntu20.04.6 all [upgradable from: 20.04.0-3~ubuntu20.04.3]
libaccountsservice0/focal-updates,focal-security 0.6.55-0ubuntu12~20.04.5 amd64 [upgradable from: 0.6.55-0ubuntu12~20.04.4]
libasound2-data/focal-updates,focal-updates 1.2.2-2.1ubuntu2.5 all [upgradable from: 1.2.2-2.1ubuntu2.4]
libasound2/focal-updates 1.2.2-2.1ubuntu2.5 amd64 [upgradable from: 1.2.2-2.1ubuntu2.4]
libatopology2/focal-updates 1.2.2-2.1ubuntu2.5 amd64 [upgradable from: 1.2.2-2.1ubuntu2.4]
libbinutils/focal-updates,focal-security 2.34-6ubuntu1.3 amd64 [upgradable from: 2.34-6ubuntu1.1]
libbluetooth3/focal-updates,focal-security 5.53-0ubuntu3.4 amd64 [upgradable from: 5.53-0ubuntu3.3]
libctf-nobfd0/focal-updates,focal-security 2.34-6ubuntu1.3 amd64 [upgradable from: 2.34-6ubuntu1.1]
libctf0/focal-updates,focal-security 2.34-6ubuntu1.3 amd64 [upgradable from: 2.34-6ubuntu1.1]
libdrm-amdgpu1/focal-updates 2.4.105-3~20.04.2 amd64 [upgradable from: 2.4.105-3~20.04.1]
libdrm-common/focal-updates,focal-updates 2.4.105-3~20.04.2 all [upgradable from: 2.4.105-3~20.04.1]
libdrm-intel1/focal-updates 2.4.105-3~20.04.2 amd64 [upgradable from: 2.4.105-3~20.04.1]
libdrm-nouveau2/focal-updates 2.4.105-3~20.04.2 amd64 [upgradable from: 2.4.105-3~20.04.1]
libdrm-radeon1/focal-updates 2.4.105-3~20.04.2 amd64 [upgradable from: 2.4.105-3~20.04.1]
libdrm2/focal-updates 2.4.105-3~20.04.2 amd64 [upgradable from: 2.4.105-3~20.04.1]
libegl-mesa0/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
libexiv2-27/focal-updates,focal-security 0.27.2-8ubuntu2.7 amd64 [upgradable from: 0.27.2-8ubuntu2.6]
libfprint-2-2/focal-updates 1:1.90.2+tod1-0ubuntu1~20.04.6 amd64 [upgradable from: 1:1.90.2+tod1-0ubuntu1~20.04.4]
libfprint-2-tod1/focal-updates 1:1.90.2+tod1-0ubuntu1~20.04.6 amd64 [upgradable from: 1:1.90.2+tod1-0ubuntu1~20.04.4]
libfreerdp2-2/focal-updates,focal-security 2.2.0+dfsg1-0ubuntu0.20.04.2 amd64 [upgradable from: 2.2.0+dfsg1-0ubuntu0.20.04.1]
libgbm1/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
libgcrypt20/focal-updates,focal-security 1.8.5-5ubuntu1.1 amd64 [upgradable from: 1.8.5-5ubuntu1]
libgl1-mesa-dri/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
libglapi-mesa/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
libglx-mesa0/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
libicu66/focal-updates,focal-security 66.1-2ubuntu2.1 amd64 [upgradable from: 66.1-2ubuntu2]
libjuh-java/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libllvm12/focal-updates 1:12.0.0-3ubuntu1~20.04.4 amd64 [upgradable from: 1:12.0.0-3ubuntu1~20.04.3]
libmbim-glib4/focal-updates 1.24.8-1~20.04 amd64 [upgradable from: 1.22.0-2]
libmbim-proxy/focal-updates 1.24.8-1~20.04 amd64 [upgradable from: 1.22.0-2]
libmm-glib0/focal-updates 1.16.6-2~20.04.1 amd64 [upgradable from: 1.12.8-1]
libmutter-6-0/focal-updates 3.36.9-0ubuntu0.20.04.2 amd64 [upgradable from: 3.36.9-0ubuntu0.20.04.1]
libmysqlclient21/focal-updates,focal-security 8.0.27-0ubuntu0.20.04.1 amd64 [upgradable from: 8.0.26-0ubuntu0.20.04.2]
libnautilus-extension1a/focal-updates 1:3.36.3-0ubuntu1.20.04.1 amd64 [upgradable from: 1:3.36.3-0ubuntu1]
libnetplan0/focal-updates 0.103-0ubuntu5~20.04.5 amd64 [upgradable from: 0.102-0ubuntu1~20.04.2]
libnss3/focal-updates,focal-security 2:3.49.1-1ubuntu1.6 amd64 [upgradable from: 2:3.49.1-1ubuntu1.5]
libpam-modules-bin/focal-updates 1.3.1-5ubuntu4.3 amd64 [upgradable from: 1.3.1-5ubuntu4.2]
libpam-modules/focal-updates 1.3.1-5ubuntu4.3 amd64 [upgradable from: 1.3.1-5ubuntu4.2]
libpam-runtime/focal-updates,focal-updates 1.3.1-5ubuntu4.3 all [upgradable from: 1.3.1-5ubuntu4.2]
libpam0g/focal-updates 1.3.1-5ubuntu4.3 amd64 [upgradable from: 1.3.1-5ubuntu4.2]
libprocps8/focal-updates 2:3.3.16-1ubuntu2.3 amd64 [upgradable from: 2:3.3.16-1ubuntu2.2]
libpulse-mainloop-glib0/focal-updates 1:13.99.1-1ubuntu3.13 amd64 [upgradable from: 1:13.99.1-1ubuntu3.11]
libpulse0/focal-updates 1:13.99.1-1ubuntu3.13 amd64 [upgradable from: 1:13.99.1-1ubuntu3.11]
libpulsedsp/focal-updates 1:13.99.1-1ubuntu3.13 amd64 [upgradable from: 1:13.99.1-1ubuntu3.11]
libpython3.8-minimal/focal-updates,focal-security 3.8.10-0ubuntu1~20.04.2 amd64 [upgradable from: 3.8.10-0ubuntu1~20.04]
libpython3.8-stdlib/focal-updates,focal-security 3.8.10-0ubuntu1~20.04.2 amd64 [upgradable from: 3.8.10-0ubuntu1~20.04]
libpython3.8/focal-updates,focal-security 3.8.10-0ubuntu1~20.04.2 amd64 [upgradable from: 3.8.10-0ubuntu1~20.04]
libqmi-glib5/focal-updates 1.28.6-1~20.04.1 amd64 [upgradable from: 1.24.8-1]
libqmi-proxy/focal-updates 1.28.6-1~20.04.1 amd64 [upgradable from: 1.24.8-1]
libreoffice-common/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libreoffice-pdfimport/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libreoffice-style-breeze/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libreoffice-style-elementary/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libreoffice-style-tango/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libseccomp2/focal-updates,focal-security 2.5.1-1ubuntu1~20.04.2 amd64 [upgradable from: 2.5.1-1ubuntu1~20.04.1]
libssh-4/focal-updates,focal-security 0.9.3-2ubuntu2.2 amd64 [upgradable from: 0.9.3-2ubuntu2.1]
libssl1.1/focal-updates 1.1.1f-1ubuntu2.10 amd64 [upgradable from: 1.1.1f-1ubuntu2.8]
libudisks2-0/focal-updates 2.8.4-1ubuntu2 amd64 [upgradable from: 2.8.4-1ubuntu1]
libuno-cppuhelpergcc3-3/focal-updates,focal-security 1:6.4.7-0ubuntu0.20.04.2 amd64 [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libuno-purpenvhelpergcc3-3/focal-updates,focal-security 1:6.4.7-0ubuntu0.20.04.2 amd64 [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libuno-sal3/focal-updates,focal-security 1:6.4.7-0ubuntu0.20.04.2 amd64 [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libunoloader-java/focal-updates,focal-updates,focal-security,focal-security 1:6.4.7-0ubuntu0.20.04.2 all [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
libwinpr2-2/focal-updates,focal-security 2.2.0+dfsg1-0ubuntu0.20.04.2 amd64 [upgradable from: 2.2.0+dfsg1-0ubuntu0.20.04.1]
libxatracker2/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
linux-base/focal-updates,focal-updates 4.5ubuntu3.7 all [upgradable from: 4.5ubuntu3.6]
linux-firmware/focal-updates,focal-updates 1.187.25 all [upgradable from: 1.187.16]
mesa-vulkan-drivers/focal-updates 21.0.3-0ubuntu0.3~20.04.5 amd64 [upgradable from: 21.0.3-0ubuntu0.3~20.04.1]
modemmanager/focal-updates 1.16.6-2~20.04.1 amd64 [upgradable from: 1.12.8-1]
mutter-common/focal-updates,focal-updates 3.36.9-0ubuntu0.20.04.2 all [upgradable from: 3.36.9-0ubuntu0.20.04.1]
mutter/focal-updates 3.36.9-0ubuntu0.20.04.2 amd64 [upgradable from: 3.36.9-0ubuntu0.20.04.1]
nautilus-data/focal-updates,focal-updates 1:3.36.3-0ubuntu1.20.04.1 all [upgradable from: 1:3.36.3-0ubuntu1]
nautilus/focal-updates 1:3.36.3-0ubuntu1.20.04.1 amd64 [upgradable from: 1:3.36.3-0ubuntu1]
netplan.io/focal-updates 0.103-0ubuntu5~20.04.5 amd64 [upgradable from: 0.102-0ubuntu1~20.04.2]
openssh-client/focal-updates 1:8.2p1-4ubuntu0.4 amd64 [upgradable from: 1:8.2p1-4ubuntu0.3]
openssl/focal-updates 1.1.1f-1ubuntu2.10 amd64 [upgradable from: 1.1.1f-1ubuntu2.8]
procps/focal-updates 2:3.3.16-1ubuntu2.3 amd64 [upgradable from: 2:3.3.16-1ubuntu2.2]
pulseaudio-module-bluetooth/focal-updates 1:13.99.1-1ubuntu3.13 amd64 [upgradable from: 1:13.99.1-1ubuntu3.11]
pulseaudio-utils/focal-updates 1:13.99.1-1ubuntu3.13 amd64 [upgradable from: 1:13.99.1-1ubuntu3.11]
pulseaudio/focal-updates 1:13.99.1-1ubuntu3.13 amd64 [upgradable from: 1:13.99.1-1ubuntu3.11]
python-apt-common/focal-updates,focal-updates 2.0.0ubuntu0.20.04.6 all [upgradable from: 2.0.0ubuntu0.20.04.5]
python3-apport/focal-updates,focal-updates,focal-security,focal-security 2.20.11-0ubuntu27.21 all [upgradable from: 2.20.11-0ubuntu27.18]
python3-apt/focal-updates 2.0.0ubuntu0.20.04.6 amd64 [upgradable from: 2.0.0ubuntu0.20.04.5]
python3-commandnotfound/focal-updates,focal-updates 20.04.5 all [upgradable from: 20.04.4]
python3-pil/focal-updates,focal-security 7.0.0-4ubuntu0.5 amd64 [upgradable from: 7.0.0-4ubuntu0.4]
python3-problem-report/focal-updates,focal-updates,focal-security,focal-security 2.20.11-0ubuntu27.21 all [upgradable from: 2.20.11-0ubuntu27.18]
python3-software-properties/focal-updates,focal-updates 0.99.9.8 all [upgradable from: 0.98.9.5]
python3-update-manager/focal-updates,focal-updates 1:20.04.10.9 all [upgradable from: 1:20.04.10.7]
python3.8-minimal/focal-updates,focal-security 3.8.10-0ubuntu1~20.04.2 amd64 [upgradable from: 3.8.10-0ubuntu1~20.04]
python3.8/focal-updates,focal-security 3.8.10-0ubuntu1~20.04.2 amd64 [upgradable from: 3.8.10-0ubuntu1~20.04]
rsync/focal-updates 3.1.3-8ubuntu0.1 amd64 [upgradable from: 3.1.3-8]
snapd/focal-updates 2.51.1+20.04ubuntu2 amd64 [upgradable from: 2.49.2+20.04]
software-properties-common/focal-updates,focal-updates 0.99.9.8 all [upgradable from: 0.98.9.5]
software-properties-gtk/focal-updates,focal-updates 0.99.9.8 all [upgradable from: 0.98.9.5]
squashfs-tools/focal-updates,focal-security 1:4.4-1ubuntu0.3 amd64 [upgradable from: 1:4.4-1]
thermald/focal-updates 1.9.1-1ubuntu0.6 amd64 [upgradable from: 1.9.1-1ubuntu0.4]
thunderbird-locale-en-us/focal-updates,focal-updates,focal-security,focal-security 1:78.14.0+build1-0ubuntu0.20.04.2 all [upgradable from: 1:78.11.0+build1-0ubuntu0.20.04.2]
ubuntu-advantage-tools/focal-updates 27.5~20.04.1 amd64 [upgradable from: 27.2.2~20.04.1]
ubuntu-drivers-common/focal-updates 1:0.9.0~0.20.04.4 amd64 [upgradable from: 1:0.9.0~0.20.04.1]
udisks2/focal-updates 2.8.4-1ubuntu2 amd64 [upgradable from: 2.8.4-1ubuntu1]
ufw/focal-updates,focal-updates 0.36-6ubuntu1 all [upgradable from: 0.36-6]
uno-libs-private/focal-updates,focal-security 1:6.4.7-0ubuntu0.20.04.2 amd64 [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
update-manager-core/focal-updates,focal-updates 1:20.04.10.9 all [upgradable from: 1:20.04.10.7]
update-manager/focal-updates,focal-updates 1:20.04.10.9 all [upgradable from: 1:20.04.10.7]
update-notifier-common/focal-updates,focal-updates 3.192.30.10 all [upgradable from: 3.192.30.9]
update-notifier/focal-updates 3.192.30.10 amd64 [upgradable from: 3.192.30.9]
ure/focal-updates,focal-security 1:6.4.7-0ubuntu0.20.04.2 amd64 [upgradable from: 1:6.4.7-0ubuntu0.20.04.1]
wget/focal-updates 1.20.3-1ubuntu2 amd64 [upgradable from: 1.20.3-1ubuntu1]
wireless-regdb/focal-updates,focal-updates,focal-security,focal-security 2021.08.28-0ubuntu1~20.04.1 all [upgradable from: 2021.07.14-0ubuntu1~20.04.1]
xserver-xorg-core/focal-updates,focal-security 2:1.20.13-1ubuntu1~20.04.2 amd64 [upgradable from: 2:1.20.11-1ubuntu1~20.04.2]
xserver-xorg-legacy/focal-updates,focal-security 2:1.20.13-1ubuntu1~20.04.2 amd64 [upgradable from: 2:1.20.11-1ubuntu1~20.04.2]
xwayland/focal-updates,focal-security 2:1.20.13-1ubuntu1~20.04.2 amd64 [upgradable from: 2:1.20.11-1ubuntu1~20.04.2]
For now i prefer not to upgrade the above package and try to rerun the installation
I ran again the below command again
sudo apt-get install tasksel
I am getting the same error
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 4869 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
If you have the solution. Can you share with me ?
Comments
Post a Comment