Use one of the following ways, to add the repository:
Install apt-spy:
# aptitude install apt-spy
Edit your /etc/apt/sources.list and if you find any these lines, remove it:
deb http://qt-kde.debian.net/debian experimental-snapshots main deb-src http://qt-kde.debian.net/debian experimental-snapshots main deb http://qt-kde2.debian.net/debian experimental-snapshots main deb-src http://qt-kde2.debian.net/debian experimental-snapshots main
Download this file: mirrors.txt. Then execute:
# apt-spy -m mirrors.txt -d experimental-snapshots \ -f dists/experimental-snapshots/Release -o /etc/apt/sources.list.d/qt-kde.list
Now, in /etc/apt/sources.list.d/qt-kde.list you should have the mirror which works faster for you.
You need to add the following to your /etc/apt/sources.list:
deb http://qt-kde.debian.net/debian experimental-snapshots main deb-src http://qt-kde.debian.net/debian experimental-snapshots main
To share the best load between mirrors, there is also a secondary mirror:
deb http://qt-kde2.debian.net/debian experimental-snapshots main deb-src http://qt-kde2.debian.net/debian experimental-snapshots main
Update your package list with:
# aptitude update
In order to get the repository key, install the pkg-kde-archive-keyring package:
# aptitude install pkg-kde-archive-keyring
(confirm the question about a missing key with "Yes"). Then update your package list again:
# aptitude update
and install the newer packages with:
aptitude -t experimental-snapshots dist-upgrade
The primary purpose of this repository is to provide package versions of the KDE applications which for some reason cannot be uploaded to unstable or experimental. Therefore, this repository is targetted at Debian unstable users who don't mind installing, testing and providing feedback for a bit more experimental stuff.
In order to receive repository updates using standard apt-get dist-upgrade or aptitude full-upgrade process, make sure that you have apt 0.8.5 or later installed. It is available in Debian 6.0 (squeeze) or later. However, if you still want to change default priority (that is 100) of this repository, you can add the following snippet to the /etc/apt/preferences file (or /etc/apt/preferences.d/ directory):
Package: * Pin: release o=qt-kde,a=experimental-snapshots Pin-Priority: 110 (or other numeric value, see apt_preferences(5))