Call compare-versions in preinst with no version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
Fix Released
|
Undecided
|
Luke Yelavich |
Bug Description
Binary package hint: alsa-utils
In alsa-utils.preinst script dpkg is called:
if dpkg --compare-versions $2 le 1.0.21-1ubuntu1; then
rm -f /etc/init.
fi
in install phase, but $2 is empty and a error is show in console:
Unpacking alsa-utils (from .../alsa-
dpkg: --compare-versions takes three arguments: <version> <relation> <version>
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
Please test $2 before using it.
affects ubuntu/alsa-utils
status inprogress
assignee themuso