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

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



tags 322470 patch
stop

Followup-For: Bug #322470
Package: apt
Version: 0.6.40.1

Hello,

Here is a small patch to fix this problem:

--- apt-0.6.40.1/dselect/install  2005-08-05 11:58:35.000000000 +0200
+++ apt-0.6.40.1.0.1/dselect/install    2005-08-17 00:59:25.000000000 +0200
@@ -88,7 +88,8 @@
        ;;
      prompt)
        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;
        fi

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


Fred

-- 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 2.6.12.4
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: