Bug#709236: /usr/bin/apt-cdrom: Replaces tabs with spaces in /etc/apt/sources.list
Package: apt
Version: 0.8.10.3+squeeze1
Severity: minor
File: /usr/bin/apt-cdrom
Hi,
apt-cdrom has replaced all the tabs with spaces in my nicely formatted
sources.list, messing up the appearance. It should not modify lines which
it is not specifically editing the contents of.
Thanks,
Roger
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- /etc/apt/preferences --
Package: *
Pin: release a=lenny-backports
Pin-Priority: 200
-- /etc/apt/sources.list --
#deb cdrom:[Debian GNU/Linux squeeze-di-beta2 _Squeeze_ - Official Beta amd64 DVD Binary-1 20101203-17:44]/ squeeze contrib main
#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50]/ lenny main
deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130504-14:44]/ wheezy main
deb http://ftp.uk.debian.org/debian squeeze main contrib non-free
deb http://ftp.uk.debian.org/debian squeeze-updates main contrib non-free
deb http://ftp.uk.debian.org/debian squeeze-proposed-updates main contrib non-free
#deb http://ftp.uk.debian.org/debian-volatile squeeze/volatile main contrib non-free
#deb http://ftp.uk.debian.org/debian-volatile squeeze/volatile-sloppy main contrib non-free
##deb http://ftp.uk.debian.org/backports.org lenny-backports main contrib non-free
#deb http://ftp.uk.debian.org/debian-backports lenny-backports main contrib non-free
deb http://security.debian.org squeeze/updates main contrib non-free
##deb http://security.eu.debian.org lenny/updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian squeeze-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian squeeze-proposed-updates main contrib non-free
deb-src http://security.debian.org squeeze/updates main contrib non-free
##deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
##deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
-- System Information:
Debian Release: 6.0.7
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyri 2010.08.28+squeeze1 GnuPG archive keys of the Debian a
ii gnupg 1.4.10-4+squeeze1 GNU privacy guard - a free PGP rep
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.3-3.2+squeeze1 terminal-based package manager (te
ii bzip2 1.0.5-6+squeeze1 high-quality block-sorting file co
ii dpkg-dev 1.15.8.13 Debian package development tools
pn lzma <none> (no description available)
ii python-apt 0.7.100.1+squeeze1 Python interface to libapt-pkg
-- no debconf information
Reply to: