[Bug 1033838] Re: both 00aptitude and 05aptitude in /etc/apt/apt.conf.d

Adrien Beau 1033838 at bugs.launchpad.net
Mon Jan 28 21:19:35 UTC 2013


I have noticed this issue, too, on three different machines, all running
12.04.1 LTS. Two of them are Kubuntu desktops installed by me, one other
is an Ubuntu Server installed by my service provider.

Actually, /etc/apt/apt.conf.d/00aptitude is not the only surprising
file, there is also /etc/apt/apt.conf.d/00trustcdrom.

I am positive I have not created the files. I have been unable to find
which program could have created them. I have grepped the whole hard
drive of the machines, and also the source code for aptitude-0.6.8.2,
apt-0.8.10.3+squeeze1, muon-1.3.1, to no avail.

I have noticed two interesting things. On the machines I control, those
two files have most likely been generated locally, and not extracted
from an archive. Here's a listing of one of my apt.conf.d directories
showing why I think that:

-rw-r--r-- 1 root root   49 2012-11-01 21:04:10.927496746 +0100 00aptitude
-rw-r--r-- 1 root root   40 2012-11-01 21:01:19.758647967 +0100 00trustcdrom
-rw-r--r-- 1 root root  430 2012-04-20 12:21:55.000000000 +0200 01autoremove
-rw-r--r-- 1 root root  157 2012-03-30 19:18:30.000000000 +0200 05aptitude
-rw-r--r-- 1 root root  129 2011-08-22 13:58:02.000000000 +0200 10periodic
-rw-r--r-- 1 root root  108 2011-08-22 13:58:02.000000000 +0200 15update-stamp
-rw-r--r-- 1 root root   85 2011-08-22 13:58:02.000000000 +0200 20archive
-rw-r--r-- 1 root root  123 2012-04-20 12:21:55.000000000 +0200 20changelog
-rw-r--r-- 1 root root 2124 2012-03-12 10:03:53.000000000 +0100 50unattended-upgrades
-rw-r--r-- 1 root root  182 2012-03-15 14:21:13.000000000 +0100 70debconf
-rw-r--r-- 1 root root  231 2011-08-22 13:58:02.000000000 +0200 99update-notifier

As you can see, the first two files are the only one to have sub-second
timestamps. Generally, it seems to me extracted files have no sub-second
timestamps, in contrast to files generated locally.

The other interesting thing is, thanks to /var/log/aptitude*,
/var/log/dpkg*, /var/log/history.log* and /var/log/term.log*, I can say
with some confidence that:

- These files were not created during the initial install of the machine;
- These files were created a couple of minutes before the first round of install/updates done by the package manager (on one of the machines, *months* passed between the initial install and the first round of updates, so I am sure they were created right before the updates);
- I had not installed Aptitude at the time these files were created;
- I was most likely using the package manager available in KDE when those files were created (Muon I believe).

So, I believe these files were somehow created by Muon, maybe
indirectly.

** Changed in: aptitude (Ubuntu)
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1033838

Title:
  both 00aptitude and 05aptitude in /etc/apt/apt.conf.d

Status in “aptitude” package in Ubuntu:
  New

Bug description:
  It doesn't seem right to me...

  dpkg -S 00aptitude suggests that no package contains 00aptitude.
  dpkg -S 05aptitude suggests that aptitude contains 05aptitude.

  So... Perhaps this is a result of a left-over file from an aptitude
  package upgrade?

  Thanks,
  Shahar

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: aptitude 0.6.6-1ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
  Uname: Linux 3.5.0-8-generic i686
  ApportVersion: 2.4-0ubuntu6
  Architecture: i386
  Date: Tue Aug  7 10:04:24 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120421)
  ProcEnviron:
   TERM=screen-bce
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: aptitude
  UpgradeStatus: Upgraded to quantal on 2012-07-12 (25 days ago)

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




More information about the foundations-bugs mailing list