severity 368971 normal
thanks

Hi

Thanks for the report.

On Fri, May 26, 2006 at 04:26:05PM +0400, Alexander Gerasiov wrote:
> 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).

Ok.

> 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
> ===

I see.

> So this script became unusable with debootstrap<0.3.0
> The 1st solution (bad one) will be to depend from debootstrap>=0.3.0

What is the problem with this solution?

> 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).

But if I remove it, then you will need to manually resolve dependencies in
_both_ sarge and etch, or is this on by default in etch?

Regards,

// Ola

> 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)
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to