[Bug 1195955] Re: Setting up upstart (1.8-0ubuntu1.1) ... dpkg: error: unknown option --compare-version
Launchpad Bug Tracker
1195955 at bugs.launchpad.net
Wed Jul 3 02:32:56 UTC 2013
This bug was fixed in the package upstart - 1.9-0ubuntu1
---------------
upstart (1.9-0ubuntu1) saucy; urgency=low
[ Dmitrijs Ledkovs ]
* Use dh_auto_build to run the testsuite, as dh_auto_test stopped
finding autotools test suite.
* Correct typo in upstart postinst (LP: #1195955)
[ James Hunt ]
* New upstream release.
* init/tests/test_conf.c: Remove duplicate define.
[ Stéphane Graber ]
* Cherry-pick r1498 from upstream upstart to fix incorrect respawn handling
for jobs that have shell characters in their expanded command line.
(LP: 1181789)
[ Marc Deslauriers ]
* Added some distro-specific changes:
- init/apparmor.c: do not load apparmor if running in a container or a
live cd.
- init/job_process.c: don't fail if the security profile failed to load
to emulate current behaviour on Ubuntu.
-- Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com> Tue, 02 Jul 2013 20:14:51 +0100
** Changed in: upstart (Ubuntu Saucy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1195955
Title:
Setting up upstart (1.8-0ubuntu1.1) ... dpkg: error: unknown option
--compare-version
Status in “upstart” package in Ubuntu:
Fix Released
Status in “upstart” source package in Raring:
Fix Released
Status in “upstart” source package in Saucy:
Fix Released
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.13.04.1)
python3-apport (2.9.2-0ubuntu8.1 => 2.9.2-0ubuntu8.2)
python3-problem-report (2.9.2-0ubuntu8.1 => 2.9.2-0ubuntu8.2)
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://mirrors.mit.edu/ubuntu/ raring-proposed/main upstart amd64 1.8-0ubuntu1.1 [515 kB]
Get:2 http://mirrors.mit.edu/ubuntu/ raring-proposed/main python3-problem-report all 2.9.2-0ubuntu8.2 [9,412 B]
Get:3 http://mirrors.mit.edu/ubuntu/ raring-proposed/main python3-apport all 2.9.2-0ubuntu8.2 [90.0 kB]
Get:4 http://mirrors.mit.edu/ubuntu/ raring-proposed/main apport all 2.9.2-0ubuntu8.2 [177 kB]
Get:5 http://mirrors.mit.edu/ubuntu/ raring-proposed/main python-boto all 2.3.0-1ubuntu0.13.04.1 [398 kB]
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_1.8-0ubuntu1.1_amd64.deb) ...
Unpacking replacement upstart ...
Preparing to replace python3-problem-report 2.9.2-0ubuntu8.1 (using .../python3-problem-report_2.9.2-0ubuntu8.2_all.deb) ...
Unpacking replacement python3-problem-report ...
Preparing to replace python3-apport 2.9.2-0ubuntu8.1 (using .../python3-apport_2.9.2-0ubuntu8.2_all.deb) ...
Unpacking replacement python3-apport ...
Preparing to replace apport 2.9.2-0ubuntu8.1 (using .../apport_2.9.2-0ubuntu8.2_all.deb) ...
apport stop/waiting
Unpacking replacement apport ...
Preparing to replace python-boto 2.3.0-1 (using .../python-boto_2.3.0-1ubuntu0.13.04.1_all.deb) ...
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-problem-report (2.9.2-0ubuntu8.2) ...
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.conf ...
apport start/running
Setting up python-boto (2.3.0-1ubuntu0.13.04.1) ...
Processing triggers for ureadahead ...
$
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: upstart 1.8-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
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=/vmlinuz-3.8.0-25-generic root=/dev/mapper/rootfs--ssd--hybrid-os ro text
SourcePackage: upstart
UpgradeStatus: Upgraded to raring on 2013-01-26 (153 days ago)
UpstartBugCategory: System
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1195955/+subscriptions
More information about the foundations-bugs
mailing list