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

Bug#322470: apt: Possible small patch to dselect/install

tags 322470 patch

Followup-For: Bug #322470
Package: apt


Here is a small patch to fix this problem:

--- apt-  2005-08-05 11:58:35.000000000 +0200
+++ apt-    2005-08-17 00:59:25.000000000 +0200
@@ -88,7 +88,8 @@
        exec 3>&1
-       if [ `yesno $"Do you want to erase any previously downloaded .deb files?" y` = y ]; then
+       echo -n $"Do you want to erase any previously downloaded .deb files?"
+       if [ `yesno "" y` = y ]; then
           $APTGET "$APT_OPT0" "$APT_OPT1" clean &&
      echo $"Press enter to continue." && read RES && exit 0;

I have tested it very lightly and there is probably a cleaner, better
solution (I tried to have a minimal patch).


-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --

-- (/etc/apt/sources.list present, but not submitted) --

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages apt depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-4  GCC support library
ii  libstdc++6                    4.0.1-4    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information

Reply to: