Package: vserver-debiantools
Version: 0.2.6
Severity: important
Hi there.
I'll try to describe problem I found.
At first I'm using mixed distribution (sarge+testing).
In newvserver there are lines:
===
if ! /usr/sbin/vserver "$VHOST" build -m debootstrap \
--rootdir "$VROOTDIR" --hostname "$VHOST" --interface "$INTERFACE:$IP" \
-- -d "$DIST" -m "$MIRROR" \
-- $ARCH_ARGUMENT \
--include="$INSTALL_PACKAGES" --exclude="$REMOVE_PACKAGES" \
--resolve-deps
===
--resolve-deps will be passed trough vserver build to debootstrap
But here is the problem:
debootstrap from sarge doesn't know about this option and fails with
====
/usr/sbin/debootstrap --include=
--exclude=sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils
--resolve-deps sarge /etc/vservers/.defaults/vdirbase/dry1
http://ftp.uk.debian.org/debian ''
E: No such script: http://ftp.uk.debian.org/debian
===
So this script became unusable with debootstrap<0.3.0
The 1st solution (bad one) will be to depend from debootstrap>=0.3.0
But in debootstap's changelog I see
===
debootstrap (0.3.2) unstable; urgency=low
...
* Turn on --resolve-deps by default.
...
===
So the 2nd solution will be to remove this option from you call to
vserver build. Then your script will be working in sarge and etch (with
the difference, that in sarge user shoud manually resolve dependences if
he want include something).
Best regards, Alexander.
-- System Information:
Debian Release: 3.1
APT prefers proposed-updates
APT policy: (640, 'proposed-updates'), (640, 'stable'), (620,
'testing-proposed-updates'), (620, 'testing'), (600, 'unstable'), (550,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]