This bug was fixed in the package apt - 2.3.7

---------------
apt (2.3.7) experimental; urgency=medium

  [ David Kalnischkies ]
  * Use full item description in broken repo error
  * Store size from volatile sources for already installed versions
  * Restore dpkg::chroot-directory functionality

  [ Dillon Brock ]
  * apt.conf(5): indicate # is also used for comments (LP: #1309658)

  [ Julian Andres Klode ]
  * Check sources.list could be parsed before adding volatile files
    (Closes: #990518)
  * pkgAcqIndex::CommonFailed: Set StatIdle before calling Init()
  * Implement exponential backoff between retries
    - acquire: Automatically reduce select() timeout as needed
    - Properly convert PulseInterval to timeval
    - Add support for a maximum delay and testing of delay
    - tests (retry-downloads): Avoid delay in second test

 -- Julian Andres Klode <j...@debian.org>  Thu, 29 Jul 2021 16:59:39
+0200

** Changed in: apt (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1309658

Title:
  apt.conf man page should indicate # is also used for comments

Status in apt package in Ubuntu:
  Fix Released

Bug description:
  According to apt.conf(5) man page, the only valid comments in apt
  config files are:

  "Lines starting with // are treated as comments (ignored), as well as
  all text between /* and */, just like C/C++ comments."

  There are comments in debian/apt.conf.autoremove
  (/etc/apt/apt.conf.d/01autoremove) that start with '#' which breaks
  other tools like augeas that follow strictly the definition of
  comments in apt.conf's man page and rely on it to function properly.

  1)
  Description:    Ubuntu 14.04 LTS
  Release:        14.04

  2) apt:
    Installed: 1.0.1ubuntu2
    Candidate: 1.0.1ubuntu2
    Version table:
   *** 1.0.1ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  The file can be patched by running:
  $ sed -i "s/#/\/\//" apt.conf.autoremove

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1309658/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to