libgphoto2-2: Fails to install in chroot without udev

Bug #23840 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
libgphoto2 (Debian)
Fix Released
Unknown
libgphoto2 (Ubuntu)
Fix Released
High
Daniel Holbach

Bug Description

Automatically imported from Debian bug report #333678 http://bugs.debian.org/333678

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #333678 http://bugs.debian.org/333678

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 13 Oct 2005 10:11:59 +0200
From: Daniel Schepler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libgphoto2-2: Fails to install in chroot without udev

Package: libgphoto2-2
Version: 2.1.6-5.1
Severity: serious

When I try to apt-get install libgphoto2-2 inside a clean pbuilder
chroot, I get:

Setting up libgphoto2-2 (2.1.6-5.1) ...
Adding group `camera' (101)...
Done.
/var/lib/dpkg/info/libgphoto2-2.postinst: line 25: /etc/udev/libgphoto2.rules: No such file or directory
dpkg: error processing libgphoto2-2 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libgphoto2-2
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libgphoto2-2 depends on:
ii adduser 3.67.2 Add and remove users and groups
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libexif12 0.6.12-2 library to parse EXIF files
ii libgphoto2-port0 2.1.6-5.1 gphoto2 digital camera port librar
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG

Versions of packages libgphoto2-2 recommends:
ii udev [hotplug] 0.070-4 /dev/ and hotplug management daemo

-- no debconf information

Revision history for this message
In , Julien BLACHE (jblache) wrote : Re: Bug #333678 on libgphoto2-2

Daniel Schepler <email address hidden> wrote:

Hi,

> I just wanted to make sure you're aware of this bug report as the NMU'er of
> the last version of libgphoto2 -- with this version, libgphoto2-2 fails to
> install without udev also being installed, which is a serious problem, since

Well, you're wrong. libgphoto2 does not need udev, it only Recommends:
it.

The problem is that /etc/udev doesn't exist, which is totally
different, and I totally forgot to add that to the dirs file, indeed.

Fixing in 2.1.6-5.2.

JB.

--
 Julien BLACHE <email address hidden> | Debian, because code matters more
 Debian & GNU/Linux Developer | <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169

Revision history for this message
In , Julien BLACHE (jblache) wrote : NMU diff for libgphoto2 2.1.6-5.2

Hi,

Attached is the diff for the 2.1.6-5.2 NMU.

JB.

--
 Julien BLACHE <email address hidden> | Debian, because code matters more
 Debian & GNU/Linux Developer | <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169

Revision history for this message
In , Julien BLACHE (jblache) wrote : Fixed in NMU of libgphoto2 2.1.6-5.2

tag 333678 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

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

Format: 1.7
Date: Mon, 17 Oct 2005 18:50:22 +0200
Source: libgphoto2
Binary: libgphoto2-port0 libgphoto2-2-dev libgphoto2-2
Architecture: source i386
Version: 2.1.6-5.2
Distribution: unstable
Urgency: low
Maintainer: Frederic Peters <email address hidden>
Changed-By: Julien BLACHE <email address hidden>
Description:
 libgphoto2-2 - gphoto2 digital camera library
 libgphoto2-2-dev - gphoto2 digital camera library (development files)
 libgphoto2-port0 - gphoto2 digital camera port library
Closes: 333678
Changes:
 libgphoto2 (2.1.6-5.2) unstable; urgency=low
 .
   * Non-Maintainer Upload.
   * Add /etc/udev/rules.d to libgphoto2-2.dirs (closes: #333678).
Files:
 18885bc11fd7f8798f011062e0fa51dd 896 libs optional libgphoto2_2.1.6-5.2.dsc
 ddd7660cca87785e0d00185a0551df36 10779 libs optional libgphoto2_2.1.6-5.2.diff.gz
 11d655a7101cd33a2ed72c8843e3b293 549182 libdevel optional libgphoto2-2-dev_2.1.6-5.2_i386.deb
 62e4c4fa8173fc542cf600544d72de68 96648 libs optional libgphoto2-port0_2.1.6-5.2_i386.deb
 b85a3e86781d937430dba01aa24833f6 933788 libs optional libgphoto2-2_2.1.6-5.2_i386.deb

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

iD8DBQFDU9m3zWFP1/XWUWkRAvysAKDGxOqoukVsYbKqqodWylsLm8JpNQCeINd0
qz0P94itg/gm+za8vDmXKbs=
=zM8q
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 17 Oct 2005 18:44:10 +0200
From: Julien BLACHE <email address hidden>
To: Daniel Schepler <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug #333678 on libgphoto2-2

Daniel Schepler <email address hidden> wrote:

Hi,

> I just wanted to make sure you're aware of this bug report as the NMU'er of
> the last version of libgphoto2 -- with this version, libgphoto2-2 fails to
> install without udev also being installed, which is a serious problem, since

Well, you're wrong. libgphoto2 does not need udev, it only Recommends:
it.

The problem is that /etc/udev doesn't exist, which is totally
different, and I totally forgot to add that to the dirs file, indeed.

Fixing in 2.1.6-5.2.

JB.

--
 Julien BLACHE <email address hidden> | Debian, because code matters more
 Debian & GNU/Linux Developer | <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 17 Oct 2005 19:11:00 +0200
From: Julien BLACHE <email address hidden>
To: <email address hidden>
Subject: NMU diff for libgphoto2 2.1.6-5.2

--=-=-=

Hi,

Attached is the diff for the 2.1.6-5.2 NMU.

JB.

--
 Julien BLACHE <email address hidden> | Debian, because code matters more
 Debian & GNU/Linux Developer | <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=udev-NMU_2.1.6-5.2.patch
Content-Description: libgphoto2 2.1.6-5.2 NMU diff

diff -u libgphoto2-2.1.6/debian/changelog libgphoto2-2.1.6/debian/changelog
--- libgphoto2-2.1.6/debian/changelog
+++ libgphoto2-2.1.6/debian/changelog
@@ -1,3 +1,10 @@
+libgphoto2 (2.1.6-5.2) unstable; urgency=low
+
+ * Non-Maintainer Upload.
+ * Add /etc/udev/rules.d to libgphoto2-2.dirs (closes: #333678).
+
+ -- Julien BLACHE <email address hidden> Mon, 17 Oct 2005 18:50:22 +0200
+
 libgphoto2 (2.1.6-5.1) unstable; urgency=low

    * Non-Maintainer Upload.
only in patch2:
unchanged:
--- libgphoto2-2.1.6.orig/debian/libgphoto2-2.dirs
+++ libgphoto2-2.1.6/debian/libgphoto2-2.dirs
@@ -0,0 +1 @@
+etc/udev/rules.d

--=-=-=--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 17 Oct 2005 10:17:14 -0700
From: Julien BLACHE <email address hidden>
To: <email address hidden>
Cc: Julien BLACHE <email address hidden>, Frederic Peters <email address hidden>
Subject: Fixed in NMU of libgphoto2 2.1.6-5.2

tag 333678 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

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

Format: 1.7
Date: Mon, 17 Oct 2005 18:50:22 +0200
Source: libgphoto2
Binary: libgphoto2-port0 libgphoto2-2-dev libgphoto2-2
Architecture: source i386
Version: 2.1.6-5.2
Distribution: unstable
Urgency: low
Maintainer: Frederic Peters <email address hidden>
Changed-By: Julien BLACHE <email address hidden>
Description:
 libgphoto2-2 - gphoto2 digital camera library
 libgphoto2-2-dev - gphoto2 digital camera library (development files)
 libgphoto2-port0 - gphoto2 digital camera port library
Closes: 333678
Changes:
 libgphoto2 (2.1.6-5.2) unstable; urgency=low
 .
   * Non-Maintainer Upload.
   * Add /etc/udev/rules.d to libgphoto2-2.dirs (closes: #333678).
Files:
 18885bc11fd7f8798f011062e0fa51dd 896 libs optional libgphoto2_2.1.6-5.2.dsc
 ddd7660cca87785e0d00185a0551df36 10779 libs optional libgphoto2_2.1.6-5.2.diff.gz
 11d655a7101cd33a2ed72c8843e3b293 549182 libdevel optional libgphoto2-2-dev_2.1.6-5.2_i386.deb
 62e4c4fa8173fc542cf600544d72de68 96648 libs optional libgphoto2-port0_2.1.6-5.2_i386.deb
 b85a3e86781d937430dba01aa24833f6 933788 libs optional libgphoto2-2_2.1.6-5.2_i386.deb

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

iD8DBQFDU9m3zWFP1/XWUWkRAvysAKDGxOqoukVsYbKqqodWylsLm8JpNQCeINd0
qz0P94itg/gm+za8vDmXKbs=
=zM8q
-----END PGP SIGNATURE-----

Changed in libgphoto2:
status: Unconfirmed → Fix Committed
status: Unconfirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

We have this version in Dapper, closing.

Changed in libgphoto2:
status: Fix Committed → Fix Released
Revision history for this message
In , Frederic Peters (fpeters-debian) wrote : fixed in nmu, now incorporated

close 239576
close 326353
close 333678
close 344011
close 353613
close 334581
close 338880
close 332936
thanks

        Frederic

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.