Sample configuration files for using apt, see also Apt Howto
Configuring the /etc/apt/sources.list file
#deb file:///cdrom/ warty main restricted #deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview i386 Binary-1 (20041020)]/ unstable main restricted deb http://archive.ubuntu.com/ubuntu warty main restricted deb-src http://archive.ubuntu.com/ubuntu warty main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://archive.ubuntu.com/ubuntu warty universe deb-src http://archive.ubuntu.com/ubuntu warty universe deb http://security.ubuntu.com/ubuntu warty-security main restricted deb-src http://security.ubuntu.com/ubuntu warty-security main restricted
# See sources.list(5) for more information, especialy # This file should be edited through synaptic # New sources should be added only in the section at the end of this file! # Primary deb ftp://ftp.us.debian.org/debian testing main contrib non-free deb ftp://ftp.us.debian.org/debian unstable main contrib non-free # non-us # ERRORS CONNECTING ## deb ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free ## deb ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free # MEPIS apt pool - specific packages available on-line deb http://apt.mepis.org/3.3.1 unstable main # mplayer deb ftp://ftp.nerim.net/debian-marillat/ unstable main
Configuring the /etc/apt/preferences file and apt-pinning
Package: * Pin: release o=MEPIS,a=unstable Pin-Priority: 901 Package: * Pin: release o=Debian,a=unstable Pin-Priority: 800