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

Bug#680252: apt-utils: Ignore APT::FTPArchive::Packages::SHA512 option



Package: apt-utils
Version: 0.9.7.1
Severity: normal

Dear Maintainer,

I see a typo in ftparchive/writer.cc line 321 :

   DoSHA1 = _config->FindB("APT::FTPArchive::Packages::SHA1",DoSHA1);
   DoSHA256 = _config->FindB("APT::FTPArchive::Packages::SHA256",DoSHA256);
   DoSHA256 = _config->FindB("APT::FTPArchive::Packages::SHA512",true);

Second Do should be DoSHA512 and should use DoSHA512 option defined line 68

   DoMD5 = _config->FindB("APT::FTPArchive::MD5",true);
   DoSHA1 = _config->FindB("APT::FTPArchive::SHA1",true);
   DoSHA256 = _config->FindB("APT::FTPArchive::SHA256",true);
   DoSHA512 = _config->FindB("APT::FTPArchive::SHA512",true);

Christian

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.4.4 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-utils depends on:
ii  libapt-inst1.5  0.9.7.1
ii  libapt-pkg4.12  0.9.7.1
ii  libc6           2.13-34
ii  libdb5.1        5.1.29-5
ii  libgcc1         1:4.7.1-3
ii  libstdc++6      4.7.1-3

apt-utils recommends no packages.

Versions of packages apt-utils suggests:
ii  xz-utils  5.1.1alpha+20120614-1

-- no debconf information



Reply to: