For forbidding updating it, you could pin the package.
First find out what priority it's being installed in with. here's an example
$ sudo apt-cache policy skype
skype:
Installed: 4.0.0.8-1~precise
Candidate: 4.0.0.8-1~precise
Version table:
*** 4.0.0.8-1~precise 0
500 http://ppa.launchpad.net/upubuntu-com/chat/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
4.0.0.8-0oneiric1 0
500 http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages
$
Then you can create a file. The lowest priority in this example is 100, so anything below that should make the package not upgrade, despite newer versions being available.
Ubuntu looks for pinning instructions in /etc/apt/preferences.d/. For example, if you are using Ubuntu Precise (12.04), you can create this file telling it to set all packages named skype for precise with priority 90, which will make it prefer the current installed package (which has priority at least 100).
$ cat /etc/apt/preferences.d/skype
Package: skype
Pin: release n=precise
Pin-Priority: 90
I was told you can do this with synaptic as well.
As for downloading the package, once you've pinned the version you want:
$ apt-get download skype
/var/cache/apt/archives
isskype_4.0.0.7-0precise1_i386.deb
(I didn't install it but it's there). Do you know of a place where I can download the old packages. As for Windows I use to download old Skype distributions from http://www.filehippo.com/download_skype/history/ , is there any place where old Ubuntu packages are saved on the Web? – Ivan Aug 15 '12 at 19:26skype-bin
package). Remove bothskype
andskype-bin
(if they're installed) before attempting to install it. Or use theorig
archive (not packaged for Ubuntu; similar to what was available at Skype.com). – Eliah Kagan Aug 15 '12 at 20:22