mongodb 1:2.4.6 has init script in wrong package

Bug #1217051 reported by Stephan Ruegamer on 2013-08-26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mongodb (Ubuntu)
Stephan Ruegamer
Stephan Ruegamer

Bug Description

Looks like the newest update of mongodb package has the init script for the server in the wrong package.

sadig@sadig:~$ sudo apt-get dist-upgrade
[sudo] password for sadig:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
Need to get 0 B/6.746 B of archives.
After this operation, 44,0 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 443889 files and directories currently installed.)
Preparing to replace mongodb 1:2.4.5-1ubuntu2 (using .../mongodb_1%3a2.4.6-0ubuntu1_amd64.deb) ...
Unpacking replacement mongodb ...
dpkg: error processing /var/cache/apt/archives/mongodb_1%3a2.4.6-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/etc/init/mongodb.conf', which is also in package mongodb-server 1:2.4.6-0ubuntu1
Processing triggers for ureadahead ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Stephan Ruegamer (sadig) wrote :

Ther e are two upstart scripts in the debian dir.

debian/mongodb.upstart and debian/mongodb-server.mongodb.upstart

I think the mongodb.upstart is wrong

Stephan Ruegamer (sadig) wrote :

preparing bugfix

Stephan Ruegamer (sadig) on 2013-08-27
Changed in mongodb (Ubuntu):
assignee: nobody → Stephan Adig (sadig)
James Page (james-page) wrote :

I did the last upload - looks like 'bzr merge-upstream' merged alot more that I thought it did.

mongodb.upstart is the one of a number of files that got merged in from the upstream tarball; I'll tidy those up as well.

James Page (james-page) on 2013-08-27
Changed in mongodb (Ubuntu):
status: New → Triaged
importance: Undecided → High
Stephan Ruegamer (sadig) wrote :

Thanks James,

I uploaded a new source pkg which is in proposed right now, with the mongodb.upstart removed.
Tested that it installs cleanly now.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mongodb - 1:2.4.6-0ubuntu3

mongodb (1:2.4.6-0ubuntu3) saucy; urgency=low

  * debian/*: Drop upstream debian changes accidentally merged in
 -- James Page <email address hidden> Tue, 27 Aug 2013 15:40:16 +0100

Changed in mongodb (Ubuntu Saucy):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers