monotone-debian
[Top][All Lists]
Advanced

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

[Monotone-debian] Bug#483155: monotone-server: incomplete /usr/share/doc


From: Aaron M. Ucko
Subject: [Monotone-debian] Bug#483155: monotone-server: incomplete /usr/share/doc rearrangement breaks postinst
Date: Tue, 27 May 2008 10:50:21 -0400

Package: monotone-server
Version: 0.40-3
Severity: serious
Justification: Policy 12.3

Upgrading monotone-server from 0.39-1 to 0.40-3 fails because dpkg
does NOT automatically replace directories with symlinks (or vice
versa), causing the postinst's usage of ucf to error out:

Setting up monotone-server (0.40-3) ...
Error: The new file /usr/share/doc/monotone-server/examples/write-permissions 
does not exist!
dpkg: error processing monotone-server (--configure):
 subprocess post-installation script returned error exit status 1

Please add postinst logic to ensure that
/usr/share/doc/monotone-server is in fact a symlink (likewise for
monotone-doc); debconf-utils's postinst illustrates the relevant
technique.

Incidentally, as Policy 12.3 also observes, you shouldn't store
baseline configuration files (or anything else on whose presence you
rely) under /usr/share/doc anyway; please move them elsewhere (perhaps
a new /usr/share/monotone directory or even hierarchy?)

Thanks!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.4 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages monotone-server depends on:
ii  adduser                       3.107      add and remove users and groups
ii  cdebconf [debconf-2.0]        0.131      Debian Configuration Management Sy
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  lsb-base                      3.2-12     Linux Standard Base 3.2 init scrip
ii  monotone                      0.40-3     A distributed version (revision) c
ii  ucf                           3.006      Update Configuration File: preserv

monotone-server recommends no packages.

-- debconf information excluded






reply via email to

[Prev in Thread] Current Thread [Next in Thread]