Debian Bug report logs - #286482
drivel: breaks the MIME database

version graph

Package: drivel; Maintainer for drivel is Neil Williams <codehelp@debian.org>; Source for drivel is src:drivel (PTS, buildd, popcon).

Reported by: Josselin Mouette <joss@debian.org>

Date: Mon, 20 Dec 2004 14:03:01 UTC

Severity: critical

Tags: patch, sid

Found in versions 1.2.3-1, 1.2.3-2

Fixed in version drivel/1.2.3-2

Done: Neil McGovern <maulkin@halon.org.uk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Neil McGovern <maulkin@halon.org.uk>:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to Josselin Mouette <joss@debian.org>:
New Bug report received and forwarded. Copy sent to Neil McGovern <maulkin@halon.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Josselin Mouette <joss@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: drivel: breaks the MIME database
Date: Mon, 20 Dec 2004 14:48:05 +0100
Package: drivel
Version: 1.2.3-1
Severity: critical
Justification: breaks unrelated software

The latest drivel update entirely broke the freedesktop MIME database,
by including the /usr/share/mime/{XMLnamespaces,glob,magic} files.
Please run update-mime-database /usr/share/mime in the postinst instead.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom



Tags added: sid Request was from Frank Lichtenheld <djpig@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Neil McGovern <maulkin@halon.org.uk>:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to Dafydd Harries <daf@muse.19inch.net>:
Extra info received and forwarded to list. Copy sent to Neil McGovern <maulkin@halon.org.uk>. (full text, mbox, link).


Message #12 received at 286482@bugs.debian.org (full text, mbox, reply):

From: Dafydd Harries <daf@muse.19inch.net>
To: control@bugs.debian.org, 286482@bugs.debian.org
Subject: patch
Date: Sat, 8 Jan 2005 02:09:04 +0000
[Message part 1 (text/plain, inline)]
tags 286482 + patch
thanks

The attached patch prevents update-mime-database from being run at
package build time and makes it be run at package install time (in the
postinst).

If no problems turn up, I'm planning to make an NMU based on this patch
in the near future.

-- 
Dafydd
[drivel-patch (text/plain, attachment)]

Tags added: patch Request was from Dafydd Harries <daf@muse.19inch.net> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to Neil McGovern <maulkin@halon.org.uk>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #19 received at 286482@bugs.debian.org (full text, mbox, reply):

From: Neil McGovern <maulkin@halon.org.uk>
To: Dafydd Harries <daf@muse.19inch.net>, 286482@bugs.debian.org
Subject: Re: Bug#286482: patch
Date: Sat, 8 Jan 2005 09:41:35 +0000
On Sat, Jan 08, 2005 at 02:09:04AM +0000, Dafydd Harries wrote:
> The attached patch prevents update-mime-database from being run at
> package build time and makes it be run at package install time (in the
> postinst).
> 
> If no problems turn up, I'm planning to make an NMU based on this patch
> in the near future.
> 

Thanks for the patch.

The updated package is curretnly being looked at by my AM (csmall) for
upload, and can be found at http://www.halon.org.uk/debian/drivel if you
want to install it anyway.

Many thanks,
Neil McGovern
-- 
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
gpg key - http://www.halon.org.uk/pubkey.txt ; the.earth.li B345BDD3



Information forwarded to debian-bugs-dist@lists.debian.org, Neil McGovern <maulkin@halon.org.uk>:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to Dafydd Harries <daf@muse.19inch.net>:
Extra info received and forwarded to list. Copy sent to Neil McGovern <maulkin@halon.org.uk>. (full text, mbox, link).


Message #24 received at 286482@bugs.debian.org (full text, mbox, reply):

From: Dafydd Harries <daf@muse.19inch.net>
To: Neil McGovern <maulkin@halon.org.uk>
Cc: 286482@bugs.debian.org
Subject: Re: Bug#286482: patch
Date: Sat, 8 Jan 2005 09:47:33 +0000
Ar 08/01/2005 am 09:41, ysgrifennodd Neil McGovern:
> On Sat, Jan 08, 2005 at 02:09:04AM +0000, Dafydd Harries wrote:
> > The attached patch prevents update-mime-database from being run at
> > package build time and makes it be run at package install time (in the
> > postinst).
> > 
> > If no problems turn up, I'm planning to make an NMU based on this patch
> > in the near future.
> > 
> 
> Thanks for the patch.
> 
> The updated package is curretnly being looked at by my AM (csmall) for
> upload, and can be found at http://www.halon.org.uk/debian/drivel if you
> want to install it anyway.

Looking at the .diff.gz I found for 1.2.3-2 there, I have two comments:

 - It isn't enough to run update-mime-database in the postinst. The fact
   that it is run during the build process causes files to be included
   in the package which shouldn't. Please take another look at the
   changes to the rules file in the patch I filed to see how I fixed
   this.

 - The change to the postinst looks good, but you may want to make the
   execution of update-mime-database conditional on its presence.

Thanks!

-- 
Dafydd



Information forwarded to debian-bugs-dist@lists.debian.org, Neil McGovern <maulkin@halon.org.uk>:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to Dafydd Harries <daf@muse.19inch.net>:
Extra info received and forwarded to list. Copy sent to Neil McGovern <maulkin@halon.org.uk>. (full text, mbox, link).


Message #29 received at 286482@bugs.debian.org (full text, mbox, reply):

From: Dafydd Harries <daf@muse.19inch.net>
To: Neil McGovern <maulkin@halon.org.uk>
Cc: 286482@bugs.debian.org
Subject: Re: Bug#286482: patch
Date: Sat, 8 Jan 2005 09:49:52 +0000
Hmm, also, you probably don't want update-mime-database to be run inside
the "if [ -e /etc/gconf/schemas/drivel.schemas ]; then ... fi" part. The
MIME database should be updated whether the schemas are present or not.

-- 
Dafydd



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to Neil McGovern <maulkin@halon.org.uk>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #34 received at 286482@bugs.debian.org (full text, mbox, reply):

From: Neil McGovern <maulkin@halon.org.uk>
To: Dafydd Harries <daf@muse.19inch.net>, 286482@bugs.debian.org
Cc: csmall@debian.org
Subject: Re: Bug#286482: patch
Date: Sat, 8 Jan 2005 10:17:55 +0000
On Sat, Jan 08, 2005 at 09:49:52AM +0000, Dafydd Harries wrote:
> 
> Hmm, also, you probably don't want update-mime-database to be run inside
> the "if [ -e /etc/gconf/schemas/drivel.schemas ]; then ... fi" part. The
> MIME database should be updated whether the schemas are present or not.
> 

Thanks,

The debian/rules file has been updated, and the postinst now checks for
existence of /usr/bin/update-mime-database (outside of the if mentioned
above :P)

These can be found again at http://www.halon.org.uk/debain/drivel
(note for csmall: could you use this updated package instead please?)

All the best,
Neil
-- 
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
gpg key - http://www.halon.org.uk/pubkey.txt ; the.earth.li B345BDD3



Reply sent to Neil McGovern <maulkin@halon.org.uk>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Josselin Mouette <joss@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #39 received at 286482-close@bugs.debian.org (full text, mbox, reply):

From: Neil McGovern <maulkin@halon.org.uk>
To: 286482-close@bugs.debian.org
Subject: Bug#286482: fixed in drivel 1.2.3-2
Date: Thu, 13 Jan 2005 00:32:04 -0500
Source: drivel
Source-Version: 1.2.3-2

We believe that the bug you reported is fixed in the latest version of
drivel, which is due to be installed in the Debian FTP archive:

drivel_1.2.3-2.diff.gz
  to pool/main/d/drivel/drivel_1.2.3-2.diff.gz
drivel_1.2.3-2.dsc
  to pool/main/d/drivel/drivel_1.2.3-2.dsc
drivel_1.2.3-2_i386.deb
  to pool/main/d/drivel/drivel_1.2.3-2_i386.deb



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 286482@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Neil McGovern <maulkin@halon.org.uk> (supplier of updated drivel 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.7
Date: Thu, 23 Dec 2004 13:21:00 +0100
Source: drivel
Binary: drivel
Architecture: source i386
Version: 1.2.3-2
Distribution: unstable
Urgency: low
Maintainer: Neil McGovern <maulkin@halon.org.uk>
Changed-By: Neil McGovern <maulkin@halon.org.uk>
Description: 
 drivel     - A LiveJournal client for the GNOME desktop
Closes: 286482
Changes: 
 drivel (1.2.3-2) unstable; urgency=low
 .
   * Now updates mime database in postinst (closes: Bug#286482)
     Thanks to Josselin Mouette <joss@debian.org>
Files: 
 ca8be4ddb72a2c6a7985679e19dc18df 888 net optional drivel_1.2.3-2.dsc
 d2bb8099d3f0b829f9a8a6da3bd53c73 31609 net optional drivel_1.2.3-2.diff.gz
 2a32c1be27eb74fa2fc0ae5d9de66b87 245238 net optional drivel_1.2.3-2_i386.deb

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

iD8DBQFB5gXNx2zlrBLK36URAjKPAJ49M4u9qFf+MA+fbS9QStgPUPOQKwCeO6KK
WdfsvkxcPxBCkBcoEvg6r7w=
=KiPU
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Neil McGovern <maulkin@halon.org.uk>:
Bug#286482; Package drivel. (full text, mbox, link).


Acknowledgement sent to "Francisco Javier F. Serrador" <serrador@tecknolabs.com>:
Extra info received and forwarded to list. Copy sent to Neil McGovern <maulkin@halon.org.uk>. (full text, mbox, link).


Message #44 received at 286482@bugs.debian.org (full text, mbox, reply):

From: "Francisco Javier F. Serrador" <serrador@tecknolabs.com>
To: Debian Bug Tracking System <286482@bugs.debian.org>
Subject: drivel: Drivel still breaks mime database
Date: Wed, 26 Jan 2005 19:33:34 +0100
Package: drivel
Version: 1.2.3-2
Followup-For: Bug #286482

it seems that oregano and drivel are still colliding in mime database.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (101, 'testing'), (99, 'unstable'), (9, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to es_ES@euro)

Versions of packages drivel depends on:
ii  libart-2.0-2             2.3.16-6        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libaudiofile0            0.2.6-5         Open-source version of SGI's audio
ii  libbonobo2-0             2.8.0-4         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.0-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libcurl3                 7.12.3-2        Multi-protocol file transfer libra
ii  libesd0                  0.2.35-2        Enlightened Sound Daemon - Shared 
ii  libfontconfig1           2.2.3-4         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libgcrypt11              1.2.0-11        LGPL Crypto library - runtime libr
ii  libglade2-0              1:2.4.1-1       Library to load .glade files at ru
ii  libglib2.0-0             2.6.1-2         The GLib library of C routines
ii  libgnome-keyring0        0.4.1-1         GNOME keyring services library
ii  libgnome2-0              2.8.0-6         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeprint2.2-0       2.8.2-1         The GNOME 2.2 print architecture -
ii  libgnomeui-0             2.8.0-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.3-9         The GNOME virtual file-system libr
ii  libgnutls11              1.0.16-13       GNU TLS library - runtime library
ii  libgpg-error0            1.0-1           library for common error values an
ii  libgtk2.0-0              2.6.1-1         The GTK+ graphical user interface 
ii  libgtksourceview1.0-0    1.1.1-1         Shared libraries for the GTK+ synt
ii  libhowl0                 0.9.8-2         Library for Zeroconf service disco
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libidn11                 0.5.2-3         GNU libidn library, implementation
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  liborbit2                1:2.10.2-1.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.0-2         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libssl0.9.7              0.9.7e-3        SSL shared libraries
ii  libtasn1-2               0.2.10-4        Manage ASN.1 structures (runtime)
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxml2                  2.6.16-1        GNOME XML library
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 20:33:45 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.