Ubuntu: Unable to locate package, can't install software



Question:

Whenever I try to install any package in Ubuntu 10, I type the command

sudo apt-get install vlc   

and also the command

sudo apt-get update   

but I get this error every time

unable to locate package vlc  

I tried sudo apt-get update again but I still get the same error.

Please help me. Is there something I have to change in the repositories? Please give some suggestions.


Solution:1

Hi you can install vlc very easily in ubuntu .

open your unity dash and type software center . it will give you that named application and click it to open .

there in software center you'll find a search box at left top .

there type as vlc and you will get it .

select it and you'll get an option to install and click that install button .

there you go .

hope that helps .


Solution:2

Please refer to http://www.videolan.org/vlc/download-ubuntu.html

You'll find ways to install vlc in it. However the site gives the following warning;

Ubuntu 10.04 LTS (lucid)

VLC version 1.0.6 in Ubuntu 10.04 is severely out-of-date. We recommend you install VLC 1.1.x manually.

You can manually add the ppa from terminal and install it.

Install VLC 1.1.4 in Ubuntu 10.04

Open the terminal and run the following commands

sudo add-apt-repository ppa:lucid-bleed/ppa  sudo apt-get update  sudo apt-get install vlc  


Solution:3

Use gksudo gedit /etc/apt/sources.list.

Find these lines in that file.

#deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse  #deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse  #deb http://archive.canonical.com/ubuntu lucid partner  #deb-src http://archive.canonical.com/ubuntu lucid partner  

Now remove the # to include these repositories and save it. The lines should now look like this:

deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse  deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse  deb http://archive.canonical.com/ubuntu lucid partner  deb-src http://archive.canonical.com/ubuntu lucid partner  

Run sudo apt-get update and then sudo apt-get install vlc vlc-plugin-* mozilla-plugin-vlc.


Solution:4

Temporarily change your repositories server to somewhere else and update the apt-get list


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »