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

Bug#48861: debconf and acct brokenness



Package: acct
Version: 6.3.5-14

[crossposted to -devel as I suspect we'll be seeing more of this sort
 of thing as people bring packages up to debconf 2.0 compliance]

  When bringing my system up to date today I encountered the following
error:

Need to get 0B/37.0MB of archives. After unpacking 1430kB will be used.
Do you want to continue? [Y/n]

100% [Scanning packages]
Configuring packages ...
/tmp/filed58g44: /usr/share/debconf/confmodule: No such file or directory
E: Sub-process dpkg-preconfig --apt returned an error code (1)
E: Failure running script dpkg-preconfig --apt

  The file in question is a debconf script for the acct package.  From what
I understood of Joey's message, the problem is most likely that acct has
updated to the 2.0 debconf, which I have on hold until most packages have
converted to avoid massive breakage of the reverse sort (1.x packages
looking for /usr/share/debconf/confmodule.sh and so on)  However, the
dependency for acct has not been updated:

Joey>  * Change your debconf dependancy to debconf (>= 0.2.0)

bluegreen:~> dpkg --info /var/cache/apt/archives/acct_6.3.5-14_i386.deb
 Package: acct
 Version: 6.3.5-14
 Section: admin
 Priority: optional
 Architecture: i386
 Depends: libc6 (>= 2.1), bsdutils, debconf
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  Now a slightly broader question: if the debconf dependency were updated,
would this make a difference?  debconf is needed before the packages even get
unpacked, and even if this wasn't the case there are no guarantees about
order of unpacking (as far as I know), only order of configuration.  So
adding Depends: debconf (>= 0.2.0) would just mean that apt would download
the right debconf and then go up in flames trying to unpack packages as it
did above.  In other words, isn't it necessary to make that
Pre-Depends: debconf (>= 0.2.0) ?  Or would this be just as broken as the
current situation? (I know that Pre-Depends is looked down upon as a way to
solve this sort of stuff..)

   Off to put the acct package on hold,
  Daniel

-- 
Um Recursion zu verstehen muss man sie entweder schon verstehen
oder Jemanden kennen der sie versteht.


Reply to: