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

Bug#666766: debian-installer: 00CDMountPoint apt configuration file has an incorrect syntax

Package: debian-installer
Severity: normal

Hello maintainers of the debian-installer,

First of all, thank you for your hard work.

The apt configuration file /etc/apt/apt.conf.d/00CDMountPoint looks like
generated by d-i [1].

Its syntax is not entirely correct, which causes annoying warnings for those
people who use cupt package manager.

Now it's:

| Acquire::cdrom {
|   mount "/media/cdrom";
| }
| Dir::Media::MountPath "/media/cdrom";

apt.conf(5) require semicolons after closing parentheses as well, so the right
syntax would be:

| Acquire::cdrom {
|   mount "/media/cdrom";
| };
| Dir::Media::MountPath "/media/cdrom";

(note the semicolon in the third line).

I wanted to provide a patch but couldn't find the file in the sources of d-i
[2]. Please let me know anything else I can do to have this fixed in the wheezy's

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611569#30
[2] git://git.debian.org/d-i/debian-installer.git

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Reply to: