Your message dated Sun, 15 May 2016 10:24:01 +0000
with message-id <e1b1tdn-0000wz...@franck.debian.org>
and subject line Bug#824093: fixed in libdvd-pkg 1.4.0-1-2
has caused the Debian Bug report #824093,
regarding dpkg-reconfigure libdvd-pkg fails to build libdvdcss2 with dpkg 1.18.7
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 ow...@bugs.debian.org
immediately.)
--
824093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824093
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libdvd-pkg
Version: 1.4.0-1-1
Severity: normal
Tags: patch
With dpkg version 1.18.7 (possibly other versions > 1.18.4 as well),
'dpkg-reconfigure libdvd-pkg' fails to build anything. It always ends up
with the following error:
libdvd-pkg: dpkg database is locked. You may need to use command "sudo
dpkg-reconfigure libdvd-pkg".
libdvd-pkg: Building and installation of package(s) [libdvdcss2
libdvdcss-dev] postponed till after next APT operation.
The problem occurs in /usr/lib/libdvd-pkg/b-i_libdvdcss.sh, which uses
"dpkg -i /dev/zero" to determine the lock status of dpkg. Newer versions
of dpkg produce the following error:
dpkg: error: archive '/dev/zero' is not a regular file
which also returns an error status of 2, hence nothing ever builds.
Purging or removing a non-existent package should restore the original
behaviour. I have attached a patch with this fix.
Best regards,
Carlos
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libdvd-pkg depends on:
ii build-essential 12.2
ii debconf [debconf-2.0] 1.5.59
ii debhelper 9.20160403
ii devscripts 2.16.4
ii dh-autoreconf 12
ii wget 1.17.1-2
Versions of packages libdvd-pkg recommends:
ii libcap2-bin 1:2.24-12
libdvd-pkg suggests no packages.
-- debconf information excluded
>From 254f7072153f865e7301b487ebc6024ab1a3e53d Mon Sep 17 00:00:00 2001
From: Carlos Maddela <e7ap...@gmail.com>
Date: Thu, 12 May 2016 16:10:33 +1000
Subject: [PATCH] Use alternative way to check if dpkg database is locked
Version 1.18.7 of dpkg also returns an error status of 2 when
attempting to install /dev/zero, so this method can no longer
be used to check the lock status. Trying to purge a non-existent
package achieves the original behaviour.
---
debian/b-i_libdvdcss.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/b-i_libdvdcss.sh b/debian/b-i_libdvdcss.sh
index 127799d..8615185 100755
--- a/debian/b-i_libdvdcss.sh
+++ b/debian/b-i_libdvdcss.sh
@@ -17,7 +17,7 @@ if [ -f "${DIR}/${PKGG}-${VERGG}.is-installed" ]; then
fi
## check if DPKG database is locked
-dpkg -i /dev/zero 2>/dev/null
+dpkg -P non-existent-package 2>/dev/null
if [ "$?" -eq 2 ]; then
echo "${PKGI}: dpkg database is locked. You may need to use command \"sudo dpkg-reconfigure ${PKGI}\"."
if [ -h "/etc/apt/apt.conf.d/${P88}" ]; then
--
2.8.1
--- End Message ---
--- Begin Message ---
Source: libdvd-pkg
Source-Version: 1.4.0-1-2
We believe that the bug you reported is fixed in the latest version of
libdvd-pkg, 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 824...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Smirnov <only...@debian.org> (supplier of updated libdvd-pkg 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 15 May 2016 20:06:43 +1000
Source: libdvd-pkg
Binary: libdvd-pkg
Architecture: source all
Version: 1.4.0-1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: Dmitry Smirnov <only...@debian.org>
Description:
libdvd-pkg - DVD-Video playing library - installer
Closes: 824093
Changes:
libdvd-pkg (1.4.0-1-2) unstable; urgency=medium
.
[ Carlos Maddela ]
* Use alternative way to check if dpkg database is locked.
Version 1.18.7 of dpkg also returns an error status of 2 when
attempting to install /dev/zero, so this method can no longer
be used to check the lock status. Trying to purge a non-existent
package achieves the original behaviour (Closes: #824093).
.
[ Dmitry Smirnov ]
* Vcs-Browser URL to HTTPS.
* Standards-Version: 3.9.8.
Checksums-Sha1:
2085135178b44afd45dfe80caf50c08fe62e005c 1920 libdvd-pkg_1.4.0-1-2.dsc
f791d27148529716f3b8c02e67c98420cd24091f 13848
libdvd-pkg_1.4.0-1-2.debian.tar.xz
b61a3ae4dc15a9fef6387b712ec39fc8aeea78ac 15824 libdvd-pkg_1.4.0-1-2_all.deb
Checksums-Sha256:
a060576b690e8fb011168a29c648e025c66073d2205e53ef9681d22518c24286 1920
libdvd-pkg_1.4.0-1-2.dsc
61565c3b735d63b320fe37d09ce80f7edd4c487dcef6087c62faf12f9e40d315 13848
libdvd-pkg_1.4.0-1-2.debian.tar.xz
0a4c3ab438261c6763c7941359eb344f0004317c053112c1222eb17a6e43c875 15824
libdvd-pkg_1.4.0-1-2_all.deb
Files:
3067f10dd94cd268109a4300f1301a4d 1920 contrib/utils optional
libdvd-pkg_1.4.0-1-2.dsc
5ec2ed5e75c4eec702841f15136886b2 13848 contrib/utils optional
libdvd-pkg_1.4.0-1-2.debian.tar.xz
8099c588650060b9eb22d59f6261c8de 15824 contrib/utils optional
libdvd-pkg_1.4.0-1-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXOErDAAoJEFK2u9lTlo0beUIP/0dcl6tLUeEUmZcqUB+iEeBJ
8y91pgEzIDWuFj09AXpzzJFtBOJ/ijT9UMjfQbA365a8lVnVCPW8xoc2KwhPl87o
RiZ56Zc6d7M/o0YBG3VEwLVlf2aN0tkBWrl7WA5mW9h95lYWn2QXUiHbK5p/qqGi
6IoXpJZbKzzC+lRtEHgy9RRfwRoY0EJkcoBHGArbmzgcDvW6sf8Sf89EG5yh/oT4
yBX8V7+gM60w6/N+rR21bgCjXvJWmK0wGMMmT7dPK00wGqBjfLp8s0RC33TR0REt
zPizJQE1S59qfrVZ8Me2a11tmJWJq4SUeEX/dUg2BGIvr4ZPyQKyA8edSXwA3hnB
DYpG/xSAF3G7trxx6yt6gUkr6Woc9ILdfe/X/a9dTMM/zRA6pYpm+9apa4A24VyO
RuP+EBvr6kyRRWadR7NT0JAyi5pbuMTLu+0ZI+RSQvljf+WPw1UpnYZhEJbYhszn
Dgek3ZIpUyjh1RIpDDmarJyq99i8U3RjNPR1L7JJ3aOrfJ0fOdGl3Dhe7tIeVrP3
L4gNamCZ+eBpuByJ2d/qZKnv+Q68uhvHrKUCy9AOvZnHdpuNWdf0oWcklofCPR+X
ARvo694HghZscF5O7MZfEsErSvSsCSk+m2UiiAKuT+nVE6EY5qlIwMenlccFtHMv
sKn6DfiYqABa8OZMbh3D
=3/Sw
-----END PGP SIGNATURE-----
--- End Message ---