[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276602: exemple for apt failing



Package: apt
Version: 0.6.42.1
Followup-For: Bug #276602


alone non-package entries does not work...


working :

# test comment
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900


# test comment
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300


NOT working :

# test comment
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900

# test comment

# test comment
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300



-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "testing";
APT::Get "";
APT::Get::Show-Upgraded "yes";
APT::Cache-Limit "12582912";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "/mnt/gaianfs/pub/linux/distribution/debian/archives";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
DPkg::Post-Invoke:: "debsums --generate=nocheck -sp /var/cache/apt/archives";

-- /etc/apt/preferences --

Explanation: lines must be grouped for apt to work
Explanation: see http://www.argon.org/~roderick/apt-pinning.html
# test comment
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900

# test comment
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 260

Package: *
Pin: release o=Debian
Pin-Priority: 250

Package: *
Pin: origin marillat.free.fr
Pin-Priority: 200


Explanation:  galeon begin
Package: galeon2
Pin: version 1.2.5-0.woody.1
Pin-Priority: 1001



Package: galeon
Pin: version 1.2.5-0.woody.1
Pin-Priority: 1001

Package: galeon-common
Pin: version 1.2.5-0.woody.1
Pin-Priority: 1001

Package: mozilla-browser
Pin: version 2:1.0.0-0.woody.1
Pin-Priority: 1001

Package: libnspr4
Pin: version 2:1.0.0-0.woody.1
Pin-Priority: 1001

Package: libpng2
Pin: version 1.0.12-3.woody.9
Pin-Priority: 1001

Package: gdk-imlib1
Pin: version 1.9.14-2woody2
Pin-Priority: 1001

Package: mozilla-psm
Pin: version 2:1.0.0-0.woody.1
Pin-Priority: 1001

Package: libnss3
Pin: version 2:1.0.0-0.woody.1
Pin-Priority: 1001

Package: libpng3
Pin: version 1.2.8rel-1
Pin-Priority: 1001

Package: libpng2
Pin: version 1.0.18-1
Pin-Priority: 1001
Explanation:  galeon end

# debsig breaks apt-get
Package: debsig-verify
Pin: version 1.0.18-1
Pin-Priority: 1001



Explanation:  acroread 7 with advertisement ? not sure i want it
Package: acroread
Pin: version 5.10-sarge0.1
Pin-Priority: 1001


Explanation:  some options to ssh, waiting the infra to be sarge, i believe 2005.11.10  
Package: ssh
Pin: version 1:3.6.1p2-9
Pin-Priority: 1001


Explanation: hnb .18 cursor broken
Package: hnb
Pin: version 1.9.17-4
Pin-Priority: 1001


-- /etc/apt/sources.list --

# apt-build

#deb file:/usr/local/expand/apt-build/repository apt-build main

#exim4 for woody
#deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ 

# nrg2iso
#deb http://debian.thermoman.de/woody/nrg2iso/ ./

#deb http://debian.moolfreet.com ./
#deb http://moolfreet.nest-natch.alp:32000/moolfreet ./
#deb-src http://debian.moolfreet.com ./
# security

deb http://security.debian.org/ testing/updates main contrib non-free
#deb http://security.debian.org/ stable/updates main contrib non-free
# inexistent deb http://security.debian.org/ unstable/updates main contrib non-free

# security localhost

#deb http://security.nest-natch.alp.8d.com:32000/security testing/updates main contrib non-free

# stable
#deb http://security.nest-natch.alp:32000/security stable/updates main contrib non-free
#deb http://stable.nest-natch.alp.8d.com:32000/debian stable main non-free contrib

#deb http://http.us.debian.org/debian/ testing main non-free contrib
#deb http://http.us.debian.org/debian/ unstable main non-free contrib

# ike.egr.msu.edu
deb http://ike.egr.msu.edu/debian/ testing main non-free contrib
deb http://ike.egr.msu.edu/debian/ unstable main non-free contrib

# secure testing
deb http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free

# samosa.debian.org
#deb http://samosa.debian.org/debian/ testing main non-free contrib
#deb http://samosa.debian.org/debian/ unstable main non-free contrib
#deb http://samosa.debian.org/debian/ stable main non-free contrib
#deb-src http://samosa.debian.org/debian/ testing main non-free contrib
#deb-src http://samosa.debian.org/debian/ unstable main non-free contrib

#deb-src http://src.nest-natch.alp:32000/debian stable main non-free contrib

#deb http://test.nest-natch.alp:32000/debian testing main non-free contrib
#deb-src http://src.test.nest-natch.alp:32000/debian testing main non-free contrib
#deb http://unstable.nest-natch.alp:32000/debian unstable main non-free contrib
#deb-src http://unstable.nest-natch.alp:32000/debian unstable main non-free contrib


# debian.yorku.ca
#deb http://debian.yorku.ca/debian/ stable main non-free contrib
#deb http://debian.yorku.ca/debian/ testing main non-free contrib
#deb http://debian.yorku.ca/debian/ unstable main non-free contrib

# mirror.direct.ca
#deb http://mirror.direct.ca/linux/debian/ stable main non-free contrib
#deb http://mirror.direct.ca/linux/debian/ stable main non-free contrib
#deb-src http://mirror.direct.ca/linux/debian/ stable main non-free contrib
#deb http://mirror.direct.ca/linux/debian/ testing main non-free contrib
#deb http://mirror.direct.ca/linux/debian/ unstable main non-free contrib
#deb-src http://mirror.direct.ca/linux/debian/ testing main non-free contrib
#deb-src http://mirror.direct.ca/linux/debian/ unstable main non-free contrib


# non-us
#deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

# non-us
#deb http://nonus.unst.nest-natch.alp:32000/non-US unstable/non-US main contrib non-free
#deb http://nonus.test.nest-natch.alp:32000/non-US testing/non-US main contrib non-free
#deb-src http://nonus.src.t.nest-natch.alp:32000/non-US unstable/non-US main contrib non-free
#deb-src http://nonus.src.u.nest-natch.alp:32000/non-US testing/non-US main contrib non-free
#deb-src http://nest-natch.alp:32000/debian-non-US stable/non-US main contrib non-free
#deb http://nest-natch.alp:32000/debian-non-US stable/non-US main contrib non-free


# openoffice
#deb http://www.phy.olemiss.edu/openoffice/ woody main contrib
#deb http://www.phy.olemiss.edu/openoffice/ unstable main contrib


#deb http://nest-natch.alp:32000/openoffice/ woody main contrib

# mplayer...

#deb http://marillat.nest-natch.alp:32000/marillat/ testing main
#deb http://marillat.nest-natch.alp:32000/marillat/ unstable main

#deb http://marillat.free.fr/ unstable main

#deb ftp://ftp.nerim.net/debian-marillat/ unstable main
#deb ftp://ftp.nerim.net/debian-marillat/ unstable main

deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb ftp://ftp.nerim.net/debian-marillat/ etch main


#  games, xmms plugins, X on screen display, Flightgear, Fortunes,Quake, Acroread, flashplayer-mozilla, KDE applets, KDE themes, A/V codecs and tools, Mencoder, Mplayer, OGMtools, WINE 

#deb http://jeroen.coekaerts.be/debian/ unstable main contrib non-free

#deb http://jeroen.coekaerts.be/debian/ unstable mirror
#deb http://jeroen.coekaerts.be/debian/ unstable main contrib non-free mirror
#deb http://jeroen.coekaerts.be/debian/ unstable main mirror
#deb-src http://jeroen.coekaerts.be/debian/ unstable main contrib non-free


#deb file:/usr/local/debian stable main


# pinentry

#deb http://www.opensides.be/debian woody main

# 8d

deb http://labs.8d.com/debian/ experimental main

# shorewall
#deb http://security.dico.unimi.it/~lorenzo/debian ./

# experimental !
deb http://ftp.us.debian.org/debian/ ../project/experimental main

# coda
#deb http://www.coda.cs.cmu.edu/debian unstable/


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable'), (250, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apt depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-2  GCC support library
ii  libstdc++6                    4.0.2-2    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: