View Full Version : Can't apt-get the newest relase of a package

06-18-2006, 03:03 PM

I am currently using Knoppix 5.0.1, HD install.

I am trying to install Krita 1.5.1, but when I apt-get it, I can only install version 1.4.2. I apt-get updated my list, but there is no way I can get 1.5.1 version.

I am quite new to linux, and I am still studying how the apt-get works. I have read the apt-get/dpkg tutorial on this forum, and also man apt-get, and I still don't understand what I am supposed to do in order to install the version I want of a package.

this is my apt-cache policy krita

mmanu@scatoletta:~$ apt-cache policy krita
Installed: 1:1.4.2-7
Candidate: 1:1.4.2-7
Version table:
1:1.5.1-1 0
500 http://ftp.de.debian.org unstable/main Packages
*** 1:1.4.2-7 0
990 http://ftp.de.debian.org testing/main Packages
100 /var/lib/dpkg/status

As far as I understand, version 1.5.1 is already in the repositories, but the only package suitable for my system is the 1.4.2.

Now, what am I supposed to do in order to install the 1.5.1? Do I have to run an apt-get upgrade?

Thanks for your time.

06-18-2006, 04:42 PM
In your apt-cache output you see: 500 http://ftp.de.debian.org unstable/main Packages , which suggests that the version you want is in the unstable branch. You can specify which branch to download from like this :

apt-get -t unstable install <package>

where the -t option selects the branch, testing unstable etc. For more info type: man apt-get in a terminal.

06-18-2006, 05:10 PM
Ok, it worked, I realise I was completely ignoring the branches, something to be aware of in the future. :)

Thanks a lot for your help!