Unable to install mysql server



0
I get the following message. Any help to resolve this is welcome:

hadoop@hadoop:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libhtml-template-perl mysql-server-5.5
Suggested packages:
libipc-sharedcache-perl tinyca mailx
The following NEW packages will be installed:
libhtml-template-perl mysql-server mysql-server-5.5
0 upgraded, 3 newly installed, 0 to remove and 140 not upgraded.
1 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
hadoop@hadoop:~$

2 Answer(s)


0

Never mind. Resolved. I had to first kill the apt processes to release the lock.

0

Hi Paul,
Please update the packages using command - sudo apt-get update
And try to run the command again.

Thanks.

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password