tags 600738 + patch pending
thanks

Hi Eric

Yes you are right. This is actually a newvserver fault.

The problematic code is the following:

if [ -f /etc/apt/apt.conf ]; then
    cp /etc/apt/apt.conf $VROOTDIR/$VHOST/etc/apt/apt.conf
fi

# support the apt.conf.d directories
if [ -d /etc/apt/apt.conf.d ] ; then
    cp -a /etc/apt/apt.conf.d/* $VROOTDIR/$VHOST/etc/apt/apt.conf.d/ > 
/dev/null 2>&1
fi

This should probably not be executed as it can cause the problems
that you describe.

This problem is not severe enough to be pushed for the next stable release
as Debian is in freeze mode. But I'll make sure to remove this code for
the next upload.

Thanks a lot for your help on this matter.

Best regards,

// Ola

On Wed, Nov 03, 2010 at 02:22:37PM +0100, Eric Deplagne wrote:
>   Hi,
> 
>     My guess was that some apt* config file setup by newvserver
>     refers to missing apt-listbugs.
> 
>     Then either newvserver should install apt-listbugs, or not enable it
>     in apt* config (probably the second one).
>     
>     Same could go for apt-listchanges, but in that case the error
>     message is annoying but not blocking.
> 
>   Regards.
> 
> On Fri, 29 Oct 2010 21:46:57 +0200, Ola Lundqvist wrote:
> > Hi Eric
> > 
> > To me I have a hard time to see that this is a problem with 
> > vserver-debiantools.
> > It looks like aptitude have a dependency on apt-listbugs.
> > 
> > If that is so, you resolve that by installing it using apt-get instead
> > of aptitude.
> > 
> > Why do you see that this is a vserver-debiantools bug?
> > What should vserver-debiantools do to prevent it?
> > 
> > Best regards,
> > 
> > // Ola
> > 
> > On Tue, Oct 19, 2010 at 06:30:35PM +0200, Eric Deplagne wrote:
> > > Package: vserver-debiantools
> > > Version: 0.7.2
> > > Severity: normal
> > > 
> > > 
> > > Hi,
> > > 
> > >   After creating my vserver with newvserver and updating its 
> > > /etc/apt/sources.list,
> > >   I do aptitude update allright, but aptitude safe-upgrade fails on 
> > > apt-listbugs
> > >   like this:
> > > 
> > >   # aptitude safe-upgrade
> > >   No packages will be installed, upgraded, or removed.
> > >   0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > >   Need to get 0 B of archives. After unpacking 0 B will be used.
> > >   /bin/sh: /usr/sbin/apt-listbugs: not found
> > >   E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error 
> > > code (10)
> > >   E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
> > >   A package failed to install.  Trying to recover:
> > > 
> > >   aptitude install apt-listbugs then also fails but downloads the files:
> > > 
> > >   # aptitude install apt-listbugs
> > >   The following NEW packages will be installed:
> > >     apt-listbugs irb1.8{a} libdpkg-ruby1.8{a} libexpat1{a} 
> > > libgettext-ruby1.8{a} libhttp-access2-ruby1.8{a} libopenssl-ruby1.8{a} 
> > >     libreadline-ruby1.8{a} libreadline5{a} libruby1.8{a} 
> > > libuconv-ruby1.8{a} libxml-parser-ruby1.8{a} ruby{a} ruby1.8{a} 
> > >   0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
> > >   Need to get 3566 kB/3566 kB of archives. After unpacking 10.9 MB will 
> > > be used.
> > >   Do you want to continue? [Y/n/?] y
> > >   [ ... download ... ]
> > >   /bin/sh: /usr/sbin/apt-listbugs: not found
> > >   E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error 
> > > code (10)
> > >   E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
> > >   A package failed to install.  Trying to recover:
> > > 
> > >   I then have to dpkg -i all that little mess before I get aptitude to 
> > > behave properly.
> > >   (up to a "/bin/sh: /usr/bin/apt-listchanges: not found" message).
> > > 
> > > Regards.
> > > 
> > > -- System Information:
> > > Debian Release: squeeze/sid
> > >   APT prefers testing-proposed-updates
> > >   APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
> > > Architecture: i386 (i686)
> > > 
> > > Kernel: Linux 2.6.32-5-vserver-686-bigmem (SMP w/2 CPU cores)
> > > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> > > Shell: /bin/sh linked to /bin/dash
> > > 
> > > Versions of packages vserver-debiantools depends on:
> > > ii  binutils           2.20.1-15             The GNU assembler, linker 
> > > and bina
> > > ii  debootstrap        1.0.25                Bootstrap a basic Debian 
> > > system
> > > ii  iproute            20100519-3            networking and traffic 
> > > control too
> > > ii  rsync              3.0.7-2               fast remote file copy 
> > > program (lik
> > > ii  util-vserver       0.30.216-pre2864-2+b1 user-space tools for 
> > > Linux-VServer
> > > 
> > > Versions of packages vserver-debiantools recommends:
> > > ii  dnsutils               1:9.7.1.dfsg.P2-2 Clients provided with BIND
> > > 
> > > vserver-debiantools suggests no packages.
> > > 
> > > -- no debconf information
> > > 
> > > 
> > > 
> > 
> > -- 
> >  --------------------- Ola Lundqvist ---------------------------
> > /  o...@debian.org                     Annebergsslingan 37      \
> > |  o...@inguza.com                      654 65 KARLSTAD          |
> > |  http://inguza.com/                  +46 (0)70-332 1551       |
> > \  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
> >  ---------------------------------------------------------------
> 
> -- 
>   Eric Deplagne



-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  o...@inguza.com                    Annebergsslingan 37        \
|  o...@debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to