Setting up upstart (1.8-0ubuntu1.1) ... dpkg: error: unknown option --compare-version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Raring |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Saucy |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
[Impact]
The upstart package has a wrong version check in the postinst. This won't cause upgrade failures, but it will cause wrong handling for one of the upgrade cases, resulting in upstart not being restarted on upgrade when it can be.
[Test case]
1. upgrade package from raring to the new one in raring-proposed
2. verify that there are no warning messages about wrong dpkg syntax in the upgrade log.
[Regression potential]
Minimal, correcting a syntax bug in the postinst specific to the SRU that has otherwise been approved.
== Original Report ==
Updating Ubuntu 13.04:
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
apport (2.9.2-0ubuntu8.1 => 2.9.2-0ubuntu8.2)
python-boto (2.3.0-1 => 2.3.0-1ubuntu0.
python3-apport (2.9.2-0ubuntu8.1 => 2.9.2-0ubuntu8.2)
python3-
upstart (1.8-0ubuntu1 => 1.8-0ubuntu1.1)
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,190 kB of archives.
After this operation, 178 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 1,190 kB in 1s (973 kB/s)
(Reading database ... 303022 files and directories currently installed.)
Preparing to replace upstart 1.8-0ubuntu1 (using .../upstart_
Unpacking replacement upstart ...
Preparing to replace python3-
Unpacking replacement python3-
Preparing to replace python3-apport 2.9.2-0ubuntu8.1 (using .../python3-
Unpacking replacement python3-apport ...
Preparing to replace apport 2.9.2-0ubuntu8.1 (using .../apport_
apport stop/waiting
Unpacking replacement apport ...
Preparing to replace python-boto 2.3.0-1 (using .../python-
Unpacking replacement python-boto ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Processing triggers for shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Setting up upstart (1.8-0ubuntu1.1) ...
dpkg: error: unknown option --compare-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;
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
Setting up python3-
Setting up python3-apport (2.9.2-0ubuntu8.2) ...
Setting up apport (2.9.2-0ubuntu8.2) ...
Installing new version of config file /etc/init/
apport start/running
Setting up python-boto (2.3.0-
Processing triggers for ureadahead ...
$
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: upstart 1.8-0ubuntu1.1
ProcVersionSign
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.2
Architecture: amd64
Date: Fri Jun 28 23:31:19 2013
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: upstart
UpgradeStatus: Upgraded to raring on 2013-01-26 (153 days ago)
UpstartBugCategory: System
Changed in upstart (Ubuntu Raring): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in upstart (Ubuntu Saucy): | |
importance: | Undecided → High |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
description: | updated |
Changed in upstart (Ubuntu Raring): | |
status: | Triaged → In Progress |
Changed in upstart (Ubuntu Saucy): | |
status: | Confirmed → Fix Committed |
Changed in upstart (Ubuntu Raring): | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.