Ubuntu – “apt-get” not finding packages on Terminal

apt

I have been trying to install different packages via Terminal, like laptop-mode-tools, xserver-xorg-input-multitouch or xserver-xorg-input-mtrack, but it never works because I get the error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package xserver-xorg-input-mtrack

Normally I have been able to install this stuff through the Synaptic Package Manager, but I can't find there the "mtrack" driver.

Any idea why apt-get is not working? I have already run sudo apt-get update several times.

EDIT:
I'm running Ubuntu 11.10 in a MacBook Pro with dual boot (Leopard)

Best Answer

Thanks to BlueXrider, JasonD and CS I manage to install the packages I wanted. Apparently it was a problem of sources and package names. This is what I did:

I went to the Ubuntu-x-swat repository here: http://www.ubuntuupdates.org/ppa/ubuntu-x-swat?dist=oneiric

Ran the instructions they provide there:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

sudo apt-get update

sudo apt-get install <package name>

And then, instead of the "package header" xf86-input-mtrack (I actually tried, but I still got the "unable to locate" error), installed the package xserver-xorg-input-mtrack

So, as I said before, it must have been a problem between sources and package names. I know have the mtrack driver working (which, again, makes the touchpad tab dissapear from the mouse settings....)

Related Question