Ubuntu – Shows “unable to locate package unzip” error

12.04package-management

I have installed Ubuntu 12.04 server , shows

E:unable to locate the package unzip

the above error is also shown, if I try to install packages also. Can any one help me out to get out from this error.

Best Answer

Type sudo apt-get update to get the lists updated.

If its the first time you are running this command, it would download something like 20 MB of data.

Then type sudo apt-get upgrade to install the updates, if you want.

You can avoid this step, if you want to install updates later.

After first step finishes successfully, you should be able to install the package unzip by typing sudo apt-get install unzip.

Related Question