Package: xapt
Version: 2.2.18
Severity: normal
Tags: patch

The following patch:

1. allows to understand what command is being run to better diagnose
   problems (and understand this one)

2. prevents embuilddeps to abort following a "Do you want to continue [Y/n]? 
Abort."
   message from "apt-get -f install", when the latter decides it should remove 
packages
   (not that I understand yet why it wanted those packages out...)

--- /usr/sbin/embuilddeps.orig  2012-05-13 23:50:25.000000000 +0200
+++ /usr/sbin/embuilddeps       2012-05-13 23:52:21.000000000 +0200
@@ -282,7 +282,7 @@
        # the addition of libc6 and libc6-dev is a nasty hack
        my $cmdline = "$cmd /usr/sbin/xapt -a $arch $multiarch $preserve $list 
libc6 libc6-dev";
        &run_command ($cmdline);
-       $cmdline = "$cmd /usr/bin/apt-get -f $noauth install";
+       $cmdline = "$cmd /usr/bin/apt-get -y -f $noauth install";
        &run_command ($cmdline);
        exit 0;
 }
@@ -304,6 +304,7 @@
        if (defined $dryrun) {
                print "$cmdline\n";
        } else {
+               print "$cmdline\n" if $verbose >= 1;
                my $retval = system ("$cmdline");
                $retval /= 256;
                exit ($retval) if ($retval != 0);


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xapt depends on:
ii  apt                      0.8.15.10
ii  dpkg-cross               2.6.6
ii  dpkg-dev                 1.16.3
ii  libconfig-inifiles-perl  2.70-1
ii  libdpkg-perl             1.16.3
ii  liblocale-gettext-perl   1.05-7+b1
ii  perl                     5.14.2-9

xapt recommends no packages.

xapt suggests no packages.

-- Configuration Files:
/etc/xapt.d/debian.conf changed:
[debian]
mirror=http://ftp.fr.debian.org/debian/
components=main contrib non-free
suite=
noauth=
checknewer=


-- no debconf information

-- debsums errors found:
debsums: changed file /usr/sbin/embuilddeps (from xapt package)



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

Reply via email to