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

Re: chroot, sarge and biarch



On Sat, 10 Jan 2004 20:00:06 -0500
Yaroslav Halchenko <debian@onerussian.com> wrote:

> That was a suggestion which wasn't (yet) reflected on alioth... but if
> you check man apt_preferences you will see that you can pin by origin
> as URL. so you can ping alioth packages to highest priority... I
> believe

Yeah, something like the following sets the preference to the alioth
packages:

Package: *
Pin: origin debian-amd64.alioth.debian.org
Pin-Priority: 1001

Package: *
Pin: origin ftp.de.debian.org
Pin-Priority: 991

...which is shown by:
 /# apt-cache policy
Package Files:
 100 /var/lib/dpkg/status
     release a=now
1001 http://debian-amd64.alioth.debian.org sarge/main Packages
     origin debian-amd64.alioth.debian.org
 991 ftp://ftp.de.debian.org sarge/contrib Packages
     release o=Debian,a=testing,l=Debian,c=contrib
     origin ftp.de.debian.org
 991 ftp://ftp.de.debian.org sarge/main Packages
     release o=Debian,a=testing,l=Debian,c=main
     origin ftp.de.debian.org
Pinned Packages:

For the replacement of simple packages it seems to work, i.e.
"libncurses5-dev":

# apt-get -s install libncurses5-dev
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  libncurses5
The following packages will be DOWNGRADED
  libncurses5 libncurses5-dev
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 55 not
upgraded. Inst libncurses5-dev [5.3.20030719-4] (5.3.20030719-2.amd64
debian-amd64.alioth.debian.org) [] Inst libncurses5 [5.3.20030719-4]
(5.3.20030719-2.amd64 debian-amd64.alioth.debian.org) Conf libncurses5
(5.3.20030719-2.amd64 debian-amd64.alioth.debian.org) Conf
libncurses5-dev (5.3.20030719-2.amd64 debian-amd64.alioth.debian.org)

But when I try to install "libc", many essential packages would be
removed due to complex dependencies (if you like, you can see it
below). For me it seems, there is now way to use the biarch toolchain in
a chroot sarge environment :-(

Maybe I should try next the combination chroot with woody and toolchain
from sarge (amd64-HOWTO). But then I expect problems with a 2.6.1
kernel. - It ist not very appealing, to have to use Debian/stable and a
2.4.x kernel for new hardware and amd46-cpu.

Thanks for your help,
Oliver

--------------------------
# apt-get -s install libc
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  binutils cpp-3.3 dhcp-client e2fslibs e2fsprogs g++-3.3 gcc-3.3
libblkid1  libc6-dev libcomerr2 libgcc1 libncurses5 libncurses5-dev
libpam-modules  libpam0g libpopt0 libstdc++5 libuuid1 login passwd perl
perl-base  perl-modules
Suggested packages:
  gpart e2fsck-static gcc-3.3-doc glibc-doc libpam-doc
  libterm-readline-perl-perl
The following packages will be REMOVED:
  apt-utils at base-config base-files base-passwd bash bin86 bind9-host
  bsdmainutils console-common console-tools cpp cron debianutils
dnsutils exim4  exim4-base exim4-daemon-light fdutils file flex g++ gcc
gnupg grep groff-base  gzip hostname initscripts iptables less libdb2
libdb4.2 libdns11 libfreetype6  libgnutls5 libgnutls7 libisc7 libldap2
liblwres1 libmagic1 libopencdk4  libopencdk8 libpcap0.7 lilo
linux-kernel-headers locales logrotate lynx mailx  makedev man-db
modconf module-init-tools modutils mutt nano ncurses-bin  nfs-common
ngrep pciutils pcmcia-cs ppp pppconfig pppoe pppoeconf psmisc  python
python-newt python2.3 python2.3-iconvcodec reportbug sharutils ssh 
sysvinit tasksel tcl8.4 tcsh tk8.4 util-linux wget whois xfree86-common
xlibs  zlib1g
The following packages will be DOWNGRADED
  binutils cpp-3.3 dhcp-client e2fslibs e2fsprogs g++-3.3 gcc-3.3
libblkid1  libc6 libc6-dev libcomerr2 libgcc1 libncurses5
libncurses5-dev libpam-modules  libpam0g libpopt0 libstdc++5 libuuid1
login passwd perl perl-base  perl-modules
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  base-files base-passwd (due to base-files) bash debianutils grep gzip
  hostname initscripts util-linux (due to initscripts) ncurses-bin
sysvinit  zlib1g (due to util-linux)
0 upgraded, 0 newly installed, 24 downgraded, 85 to remove and 20 not
upgraded. Remv apt-utils (0.5.14 Debian:testing)
Remv at (3.1.8-11 Debian:testing)
Remv base-config (1.75 debian-amd64.alioth.debian.org)
Remv mailx (1:8.1.2-0.20031014cvs-1 Debian:testing)
Remv bash (2.05b-12 Debian:testing)
Remv base-files (3.0.12 Debian:testing)
Remv pppoeconf (1.0 Debian:testing)
Remv pppoe (3.5-3 Debian:testing)
Remv pppconfig (2.2.0 Debian:testing)
Remv ppp (2.4.2+20031127-2 Debian:testing)
Remv gnupg (1.2.3-1 Debian:testing)
Remv makedev (2.3.1-64 Debian:testing, debian-amd64.alioth.debian.org)
Remv logrotate (3.6.5-2 Debian:testing)
Remv base-passwd (3.5.5 Debian:testing)
Remv bin86 (0.16.14-1 Debian:testing)
Remv dnsutils (1:9.2.3-2 Debian:testing)
Remv bind9-host (1:9.2.3-2 Debian:testing)
Remv man-db (2.4.2-6 Debian:testing)
Remv bsdmainutils (6.0.7 Debian:testing)
Remv console-tools (1:0.2.3dbs-43lib64 debian-amd64.alioth.debian.org)
Remv console-common (0.7.33 Debian:testing,
debian-amd64.alioth.debian.org) Remv g++ (4:3.3.2-2 Debian:testing)
Remv gcc (4:3.3.2-2 Debian:testing)
Remv cpp (4:3.3.2-2 Debian:testing)
Remv exim4 (4.30-3 Debian:testing)
Remv mutt (1.5.4+20031024-1 Debian:testing)
Remv exim4-daemon-light (4.30-3 Debian:testing)
Remv exim4-base (4.30-3 Debian:testing)
Remv cron (3.0pl1-81 Debian:testing)
Remv tk8.4 (8.4.5-1 Debian:testing)
Remv xlibs (4.2.1-12.1 Debian:testing)
Remv xfree86-common (4.3.0-0pre1v3.lib642
debian-amd64.alioth.debian.org) Remv sharutils (1:4.2.1-10
Debian:testing) Remv less (381-2 Debian:testing)
Remv gzip (1.3.5-7 Debian:testing)
Remv fdutils (5.4-20030718-2 Debian:testing)
Remv debianutils (2.6.1 Debian:testing)
Remv file (4.06-2 Debian:testing)
Remv flex (2.5.31-21 Debian:testing)
Remv grep (2.5.1.ds1-2 Debian:testing)
Remv groff-base (1.18.1-14 Debian:testing)
Remv hostname (2.13 Debian:testing)
Remv nfs-common (1:1.0.6-1 Debian:testing)
Remv pcmcia-cs (3.1.33-6 Debian:testing)
Remv modconf (0.2.44 debian-amd64.alioth.debian.org)
Remv modutils (2.4.25-0.biarch1 debian-amd64.alioth.debian.org)
Remv sysvinit (2.85-9 Debian:testing)
Remv initscripts (2.85-7 debian-amd64.alioth.debian.org)
Remv iptables (1.2.9-1 Debian:testing)
Remv libdb2 (2:2.7.7.0-8.1 Debian:testing)
Remv libdb4.2 (4.2.52-3 Debian:testing)
Remv libdns11 (1:9.2.3-2 Debian:testing)
Remv libfreetype6 (2.1.7-1.1 Debian:testing)
Remv lynx (2.8.4.1b-5 Debian:testing)
Remv libgnutls5 (0.8.8-2 Debian:testing)
Remv libldap2 (2.1.23-1 Debian:testing)
Remv libgnutls7 (0.8.12-3.1 Debian:testing)
Remv libisc7 (1:9.2.3-2 Debian:testing)
Remv liblwres1 (1:9.2.3-2 Debian:testing)
Remv libmagic1 (4.06-2 Debian:testing)
Remv libopencdk4 (1:0.4.2-3 Debian:testing)
Remv libopencdk8 (0.5.1-1 Debian:testing)
Remv ngrep (1.40.1-3 Debian:testing)
Remv libpcap0.7 (0.7.2-5 Debian:testing)
Remv lilo (1:22.5.8-8 Debian:testing)
Remv python-newt (0.51.4-18 Debian:testing)
Remv reportbug (2.37 Debian:testing)
Remv python2.3-iconvcodec (1.1.2-1 Debian:testing)
Remv python2.3 (2.3.2-2 debian-amd64.alioth.debian.org) [python ]
Remv python (2.3.2-2 debian-amd64.alioth.debian.org)
Remv util-linux (2.12-3 Debian:testing, debian-amd64.alioth.debian.org)
Remv ssh (1:3.6.1p2-3.sarge.1 debian-amd64.alioth.debian.org)
Remv zlib1g (1:1.2.1-3 Debian:testing)
Remv whois (4.6.9 Debian:testing)
Remv wget (1.9.1-3 Debian:testing)
Remv tcsh (6.12.00-10 Debian:testing)
Remv tcl8.4 (8.4.5-1 Debian:testing)
Remv tasksel (1.40 Debian:testing)
Remv psmisc (21.4-1 Debian:testing)
Inst perl [5.8.2-2] (5.8.0-18 debian-amd64.alioth.debian.org)
[perl-modules ] Inst perl-modules [5.8.2-2] (5.8.0-21.lib64
debian-amd64.alioth.debian.org) []





Reply to: