Bug#154601: apt: Confusing 'change media'-message with long cdrom labels
Package: apt
Version: 0.5.4
Severity: important
Tags: patch
The 'Media Change'-message is confusing with the normal unofficial CD
label. The prompt looks like this (notice how 'press en-ter' is split
over two lines).
Media Change: Please insert the disc labeled 'Debian GNU/Linux 3.0 skole pr27 _W
oody_ - Unofficial i386 Binary-1 (20020723)' in the drive '/cdrom/' and press en
ter
Our test-users report that this is confusing, and they end up sitting
in front of the installation program waiting for something to happen
because they do not notice the 'press enter'-part. I suggest
splitting this message into 3 lines with newline after 'labeled', and
before 'and press', to get a prompt like this:
Media Change: Please insert the disc labeled
'Debian GNU/Linux 3.0 skole pr27 _Woody_ - Unofficial i386 Binary-1 (20020723)'
in the drive '/cdrom/' and press enter
Please include this patch in the next version of apt. The patch is
tested, and works for me. :-)
I set severity 'important' because I believe it is important for the
Debian project to not confuse new users during the first time install.
diff -ur apt-0.5.4/cmdline/acqprogress.cc apt-pere/cmdline/acqprogress.cc
--- apt-0.5.4/cmdline/acqprogress.cc Sun May 27 06:46:43 2001
+++ apt-pere/cmdline/acqprogress.cc Sun Jul 28 16:30:38 2002
@@ -268,8 +268,9 @@
{
if (Quiet <= 0)
cout << '\r' << BlankLine << '\r';
- ioprintf(cout,_("Media Change: Please insert the disc labeled '%s' in "
- "the drive '%s' and press enter\n"),
+ ioprintf(cout,_("Media Change: Please insert the disc labeled\n"
+ " '%s'\n"
+ "in the drive '%s' and press enter\n"),
Media.c_str(),Drive.c_str());
char C = 0;
diff -ur apt-0.5.4/debian/changelog apt-pere/debian/changelog
--- apt-0.5.4/debian/changelog Sun Aug 19 00:22:24 2001
+++ apt-pere/debian/changelog Sun Jul 28 12:32:02 2002
@@ -1,3 +1,9 @@
+apt (0.5.4.0.skolelinux.1) unstable; urgency=low
+
+ * Make 'insert new CD-ROM'-prompt less confusing.
+
+ -- Petter Reinholdtsen <pere@hungry.com> Sun, 28 Jul 2002 12:31:29 +0200
+
apt (0.5.4) unstable; urgency=low
* M68k config.guess patch. Closes: #88913
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux developer.skolelinux.no 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19
EST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.2.5-6 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2.2 1:2.95.4-7 The GNU stdc++ library
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: