I'm running debian etch and I have added backports to my /etc/apt/sources.list and modified /etc/apt/preferences to do pinning and preformed apt-get update afterwards.
My question is, how do I search available packages from backports via apt-cache?
Running "apt-cache search bash-doc" returns only one result and when I perform "apt-cache policy bash-doc"
I see only the stable source, even though I know that there is a newer
version available in backports.
Code:
bash-doc:
Installed: 3.1dfsg-8
Candidate: 3.1dfsg-8
Version table:
*** 3.1dfsg-8 0
900 http://http.us.debian.org stable/main Packages
100 /var/lib/dpkg/status
This is my /etc/apt/sources.list file:
Code:
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main
deb http://http.us.debian.org/debian/ stable main contrib non-free
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
deb http://www.backports.org/debian etch-backports main contrib non-free
This is my /etc/apt/preferences file:
Code:
Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 900
Package: *
Pin: release a=etch-backports
Pin-Priority: 200
Package: *
Pin: release o=Debian
Pin-Priority: -10
Do you guys know what could be the problem?
Thanks in advance.