Comment 7 for bug 1033838

Revision history for this message
Daniel Hartwig (wigs) wrote : Re: both 00aptitude and 05aptitude in /etc/apt/apt.conf.d

00aptitude is generated by user-setup, when root-login is disabled. It contains one setting:

Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";

which is also set in 05aptitude, shipped with /Ubuntu's/ aptitude package. The user-setup code seems more universal, being conditional on root-login disable, also contained in Debian, and co-located with settings for other programs to also use sudo.

Setting this option twice is redundant, and may lead to race conditions in configuration (e.g. if there is an override between 00 and 05). Ubuntu maintainers should decide which is the canonical location for the setting and remove the other.

**

user-setup (1.36) unstable; urgency=low

   [ Otavio Salvador ]
   * Configure aptitude to use sudo if possible. Thanks to Mehdi Dogguy
     by reporting it.

   [ Updated translations ]
   * Sinhala (si.po) by Danishka Navin
   * Slovenian (sl.po) by Vanja Cvelbar

 -- Otavio Salvador <email address hidden> Wed, 24 Nov 2010 09:55:39 -0200