[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 Wed, 25 Jul 2012 14:47:11 +0000
with message-id <E1Su2rn-0003hm-OK@franck.debian.org>
and subject line Bug#682574: fixed in live-tools 3.0.4-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
immediately.)


-- 
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

Hi,

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" ]
  then
    # no --rename !
    dpkg-divert --remove --package live-tools --divert \
        /usr/bin/uptime.procps /usr/bin/uptime
  fi

Ask me if you need help getting this cleaned up.


Andreas

--- End Message ---
--- Begin Message ---
Source: live-tools
Source-Version: 3.0.4-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
attached.

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
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 24 Jul 2012 21:43:48 +0200
Source: live-tools
Binary: live-tools
Architecture: source all
Version: 3.0.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-tools - Debian Live - System Support Scripts
Closes: 682574
Changes: 
 live-tools (3.0.4-1) unstable; urgency=low
 .
   * Using common source tree layout for all live packages.
   * Completing uninstall target in toplevel Makefile.
   * Unifying copyright headers to use same GPL blurbs.
   * Adding reference to live-debconfig in live-config manpage.
   * Using dynamic year in automatic manpage date translation rather than
     a hardcoded one.
   * Moving executables from /usr/bin to /bin as they potentially need to
     be arround before /usr is available.
   * Also diverting uptime manpage from procps (Closes: #682574).
Checksums-Sha1: 
 432528b458d784d80074de1c9c65a2e516ed574b 1259 live-tools_3.0.4-1.dsc
 89b20a264c8edf52c55c53fbac36826adcff7221 16724 live-tools_3.0.4.orig.tar.xz
 53a46740c142e430dce30cd569b610fe90ba48d9 3532 live-tools_3.0.4-1.debian.tar.xz
 97d15489df6899d4acb86ff0af56c3cd8725574d 7918 live-tools_3.0.4-1_all.deb
Checksums-Sha256: 
 a7a7ba1d609db5b0bbde97ca44e74b190015b00eb9aff63e404c7b320ec5a61a 1259 live-tools_3.0.4-1.dsc
 ed29de7364b7f7e4d467a3a4c8f42cfc105833877548c1855a5b8d8e4f0b92dd 16724 live-tools_3.0.4.orig.tar.xz
 015417e5d5b90141679b15bfd13d6d70a0a0e19182958af523f6b31dad7bd469 3532 live-tools_3.0.4-1.debian.tar.xz
 925d3b22d34ca291fbb64947b51e91ec084ccbc43a0b892b5568d4ca9e59dfe9 7918 live-tools_3.0.4-1_all.deb
Files: 
 5d54a3ab41cbcf725ed741ef37183dd9 1259 misc optional live-tools_3.0.4-1.dsc
 32025d690f4812ea84160a6e191aae10 16724 misc optional live-tools_3.0.4.orig.tar.xz
 034bfeda6c2baefab4629aa3082903ea 3532 misc optional live-tools_3.0.4-1.debian.tar.xz
 b931a29bbcb7c5843133a1e7c32da6bf 7918 misc optional live-tools_3.0.4-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlAP+YMACgkQ+C5cwEsrK56liwCgsbyXhaJXg0Ua9G6WeKr+M8x3
ewoAn0Ag0He9ivnU62AqT1vJfBQ3rbHm
=S6rZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: