[Pkg-virtualbox-devel] Bug#559502: virtualbox-ose: dkms postinst querys source package for the upstream version

Patrick Matthäi pmatthaei at debian.org
Fri Dec 4 21:51:46 UTC 2009


Package: virtualbox-ose
Version: 3.1.0-dfsg-1
Severity: grave
Tags: patch

Hello,

with your new virtualbox-ose-dkms package you are querying the modul version
in your postinst like following:
 dpkg-query -W -f='${Version}' virtualbox-ose-source | awk -F "-" '{print $1}' | cut -d\: -f2

This is the wrong package. It has to look like this:
 dpkg-query -W -f='${Version}' virtualbox-ose-dkms | awk -F "-" '{print $1}' | cut -d\: -f2

Your postinst fails if -source isn't installed (which isn't needed).

So this line just has to be changed.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtualbox-ose depends on:
ii  adduser                3.111             add and remove users and groups
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcurl3               7.19.7-1          Multi-protocol file transfer libra
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libgl1-mesa-glx [libgl 7.6-1             A free implementation of the OpenG
ii  libpng12-0             1.2.41-1          PNG library - runtime
ii  libqt4-opengl          4:4.5.3-4         Qt 4 OpenGL module
ii  libqtcore4             4:4.5.3-4         Qt 4 core module
ii  libqtgui4              4:4.5.3-4         Qt 4 GUI module
ii  libsdl1.2debian        1.2.13-5          Simple DirectMedia Layer
ii  libssl0.9.8            0.9.8k-7          SSL shared libraries
ii  libstdc++6             4.4.2-3           The GNU Standard C++ Library v3
ii  libx11-6               2:1.3.2-1         X11 client-side library
ii  libxcursor1            1:1.1.10-1        X cursor management library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxml2                2.7.6.dfsg-1      GNOME XML library
ii  libxmu6                2:1.0.5-1         X11 miscellaneous utility library
ii  libxt6                 1:1.0.7-1         X11 toolkit intrinsics library
ii  python                 2.5.4-2           An interactive high-level object-o
ii  python-central         0.6.14+nmu2       register and build utility for Pyt
ii  python2.5              2.5.4-3           An interactive high-level object-o
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages virtualbox-ose recommends:
ii  libgl1-mesa-glx [libgl1]    7.6-1        A free implementation of the OpenG
ii  virtualbox-ose-dkms         3.1.0-dfsg-1 x86 virtualization solution - kern
ii  virtualbox-ose-qt           3.1.0-dfsg-1 x86 virtualization solution - Qt b
ii  virtualbox-ose-source       3.1.0-dfsg-1 x86 virtualization solution - kern

Versions of packages virtualbox-ose suggests:
ii  libasound2                    1.0.21a-1  shared library for ALSA applicatio
ii  libpulse0                     0.9.21-1   PulseAudio client libraries
pn  virtualbox-guest-additions    <none>     (no description available)

-- no debconf information





More information about the Pkg-virtualbox-devel mailing list