On Vi, 12 nov 10, 15:32:05, Matt Simmons wrote: > Hi, how can I install a package from unstable? (currently running testing) > For example, I know it should be something like: > # apt-get install uswsusp/unstable Yes > However, my output is: > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Release 'unstable' for 'uswsusp' was not found > > But I konw that uswsusp has a package in unstable. Do I need to set > something up in sources.list? Yes > If so, this is my current sources.list: > deb http://ftp.gtlib.gatech.edu/debian/ testing main non-free contrib > deb-src http://ftp.gtlib.gatech.edu/debian/ testing main non-free contrib > > deb http://security.debian.org/ testing/updates main contrib non-free > deb-src http://security.debian.org/ testing/updates main contrib non-free > > Do I add another line that just contains the same thing, but with sid or > unstable? Like: > deb http://ftp.gtlib.gatech.edu/debian/ unstable main non-free contrib > deb-src http://ftp.gtlib.gatech.edu/debian/ unstable main non-free contrib > > If so, how does apt differentiate between testing and unstable when I want > to install a package? Do I always need to explicitly state <package>/testing > or <package>/stable? You should # echo 'APT::Default-Release "squeeze";' >> /etc/apt/apt.conf which is just the simplest way of pinning. But just for one package I would first try to download it from packages.debian.org and use 'dpkg -i' to install it. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature