I am not able to install latest version package for vulnerability patches

Asked by Mohan Gurram

Hi,

I need to install some packages in 14.5 LTS version Ubuntu servers as a part of vulnerability patches but i am not able to find that exact latest version package and getting error like below

sudo apt install linux-headers-4.4.0-<ANY>_4.4.0-224.257~14.04.1
[2] 14570
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
The program 'lt' is currently not installed. You can install it by typing:
apt-get install looptools
[2]- Exit 100 sudo apt install linux-headers-4.4.0-
[2] 14574
The program 'gt' is currently not installed. You can install it by typing:
apt-get install genometools
ANY: command not found
_4.4.0-224.257~14.04.1: command not found
[2]- Exit 127 ANY

Please help me to install this type latest version packages

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux-signed-lts-xenial Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

There are different aspects for this question:

1. There is only restricted support available for Ubuntu 14.04 under ESM contract. I assume that you own an ESM substription for the system in question.

2. There were errors in the command that you gave.

Why don't you just use the standard package management process to upgrade all packages, but try a single package (with an error in the command)?

The commands
sudo apt update
sudo apt full-upgrade
should install all available package updates (if the package management system is correctly configured), including the kernel packages.

The command that you gave contained extra garbage ("<ANY&gt") and this caused the command to fail.

Using the apt upgrade command listed above would have eliminated the need to specify the exact version number.

Furthermore:
"E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?"

The package management system prevents concurrent update. Only one program that installs packages can run at a certain moment in time and apparently there was already a program running.
Wait for that other program to end and then try again.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

The command looks garbled too, no package has that name

Revision history for this message
Mohan Gurram (mgurramx) said :
#3

I am not able to find this packages.Please help on this

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

There shouldn't be any need to search for packages.

Either
You have correctly set up ESM for your installation, then the package management system will automatically find the most up-to-date packages

Or
If you don't have ESM activated for your computer, then you do not have access to updated packages, because the operating system that you are running is not supported any more.

For diagnostic purposes, what is the output that you receive for the following commands:

uname -a
lsb_release -crid
ubuntu-advantage status
dpkg -l | grep ' linux-i'

Revision history for this message
Mohan Gurram (mgurramx) said :
#5

Below are the output from above commands.Please look into this.

uname -a
------------------------------
Linux DEVFMEPDEVOPS01 4.4.0-148-generic #174~14.04.1-Ubuntu SMP Thu May 9 08:17:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid
---------------------------
root@DEVFMEPDEVOPS01:~# lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 14.04.6 LTS
Release: 14.04
Codename: trusty

dpkg -l | grep ' linux-i'
-------------------------------
root@DEVFMEPDEVOPS01:~# dpkg -l | grep ' linux-i'
ii linux-image-3.13.0-170-generic 3.13.0-170.220 amd64 Signed kernel image generic
ii linux-image-3.16.0-77-generic 3.16.0-77.99~14.04.1 amd64 Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii linux-image-3.19.0-80-generic 3.19.0-80.88~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-4.2.0-27-generic 4.2.0-27.32~14.04.1 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
ii linux-image-4.2.0-42-generic 4.2.0-42.49~14.04.1 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
ii linux-image-4.4.0-148-generic 4.4.0-148.174~14.04.1 amd64 Signed kernel image generic
rc linux-image-4.4.0-59-generic 4.4.0-59.80~14.04.1 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-3.16.0-77-generic 3.16.0-77.99~14.04.1 amd64 Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii linux-image-extra-3.19.0-80-generic 3.19.0-80.88~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-4.2.0-27-generic 4.2.0-27.32~14.04.1 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
ii linux-image-extra-4.2.0-42-generic 4.2.0-42.49~14.04.1 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-59-generic 4.4.0-59.80~14.04.1 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-generic 3.13.0.170.181 amd64 Generic Linux kernel image
ii linux-image-generic-lts-utopic 3.16.0.77.68 amd64 Generic Linux kernel image
ii linux-image-generic-lts-vivid 3.19.0.80.62 amd64 Generic Linux kernel image
ii linux-image-generic-lts-wily 4.2.0.42.34 amd64 Generic Linux kernel image
ii linux-image-generic-lts-xenial 4.4.0.148.130 amd64 Generic Linux kernel image

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

The most important command output is missing:

ubuntu-advantage status

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Such an old release...

Revision history for this message
Mohan Gurram (mgurramx) said :
#8

I am tring to execute thia command but not able to get output and got failed.My internet connection also fine but command not give output.

root@DEVFMEPDEVOPS01:~# ubuntu-advantage status
Failed to connect to authentication server
Check your Internet connection and try again

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

Apparently you do not have a valid ESM contract for this system, or it is not correctly set up.
You have to correct this.
see https://ubuntu.com/security/esm

Another possibility for getting the problem solved is an upgrade to a newer Ubuntu release that is within its "full support" period.

Revision history for this message
Mohan Gurram (mgurramx) said :
#10

Please find output for command

root@DEVFMEPDEVOPS01:~# ubuntu-advantage status

Broadcast message from ad_na3x@DEVFMEPDEVOPS01
        (/dev/pts/6) at 1:18 ...

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Your last comment does not show any useful output, especially not the output of the "ubuntu-advantage status" command.

Can you help with this problem?

Provide an answer of your own, or ask Mohan Gurram for more information if necessary.

To post a message you must log in.