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

Bug#682574: marked as done (live-tools, procps: live-tools and procps must consistently handle /usr/bin/uptime)

Your message dated Sat, 04 Aug 2012 15:20:16 +0000
with message-id <E1Sxg9I-0005Et-VE@franck.debian.org>
and subject line Bug#682574: fixed in live-tools 3.0.6-1
has caused the Debian Bug report #682574,
regarding live-tools, procps: live-tools and procps must consistently handle /usr/bin/uptime
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

682574: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682574
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-tools,procps
Severity: serious


live-utils (3.0.3-1)
* diverts /usr/bin/uptime to /usr/bin/uptime.procps
* does not divert uptime.1.gz
* ships /usr/bin/uptime -> live-uptime

procps (1:3.3.3-2)
* ships /usr/bin/uptime
* ships uptime.1.gz
* installs an alternative for uptime if /usr/bin/uptime.procps exists
  with a corresponding slave alternative for uptime.1.gz

Depending on the installation order you get:
* procps, live-utils
  /usr/bin/utime -> live-uptime
* live-utils, procps
  /usr/bin/utime -> /etc/alternatives/uptime -> /usr/bin/uptime.procps
  (yes, the alternative will overwrite the link shipped by live-tools)

Depending on the install and remove order, you may end up with a
dangling symlink /usr/bin/utime and a forgotten alternative.

Mixing diversions and alternatives is not trivial ... I know from
cleaning up the nvidia-graphics-driver and fglrx-driver diversion mess
for /usr/lib/libGL.so* :-)

A possible solution that should work:
* procps ships uptime.procps and uptime.procps.1.gz
* live-utils ships live-uptime and live-uptime.1.gz
* both register an alternative for uptime with uptime.1.gz slave

For a clean upgrade path from the current mess to a working uptime ...
propably just for both procps.preinst and live-tools.postinst:
  if [ "$(dpkg-divert --listpackage /usr/bin/uptime)" = "live-tools" ]
    # no --rename !
    dpkg-divert --remove --package live-tools --divert \
        /usr/bin/uptime.procps /usr/bin/uptime

Ask me if you need help getting this cleaned up.


--- End Message ---
--- Begin Message ---
Source: live-tools
Source-Version: 3.0.6-1

We believe that the bug you reported is fixed in the latest version of
live-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 682574@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Daniel Baumann <daniel@debian.org> (supplier of updated live-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sat, 04 Aug 2012 15:46:46 +0200
Source: live-tools
Binary: live-tools
Architecture: source all
Version: 3.0.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
 live-tools - Debian Live - System Support Scripts
Closes: 682574
 live-tools (3.0.6-1) unstable; urgency=low
   * Adding pre-depends to procps and initramfs-tools (Closes: #682574).
 36ec217108be61792806ba76b0a4747871a316f5 1259 live-tools_3.0.6-1.dsc
 2fd78771255bc44c6ba6ae600875cf249a5f0403 19080 live-tools_3.0.6.orig.tar.xz
 7fa8187f0d4e131a62e65df106a787a24c8e6a0d 3792 live-tools_3.0.6-1.debian.tar.xz
 78280811191f9e566912d7c5263c2a43447c02ab 11756 live-tools_3.0.6-1_all.deb
 b7dcf926616370f4d93afffffaabce334672eb3c4e0c145be1e6029bcc79aa96 1259 live-tools_3.0.6-1.dsc
 1bf27098d8ccf4d0cf19aab81b70045717cfe190cb8872329f1781ecf57b47f9 19080 live-tools_3.0.6.orig.tar.xz
 3c238e88dea3e65a05eb3f22ca05fa42616ecd6e6b091da73efdbabdec6e3b82 3792 live-tools_3.0.6-1.debian.tar.xz
 7734b538fc178156faf120fd9ebe97c0a93b6aef91e56b9f3a9286d454cac58e 11756 live-tools_3.0.6-1_all.deb
 4eca9d29f15c504fce27e9cc69a58fa5 1259 misc optional live-tools_3.0.6-1.dsc
 df002d32d47776080a95891c5650af32 19080 misc optional live-tools_3.0.6.orig.tar.xz
 fda4921723f4d3ec08fc18b55af12cde 3792 misc optional live-tools_3.0.6-1.debian.tar.xz
 7facac8f3906c8f61a2103df214aa4a6 11756 misc optional live-tools_3.0.6-1_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: