[SERVER-17420] Broken package results in corrupt install on Debian 7.8 Wheezy Created: 01/Mar/15  Updated: 09/Jul/16  Resolved: 03/Aug/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jordan Dolan [X] Assignee: Ernie Hershey
Resolution: Incomplete Votes: 0
Labels: build-planning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-14786 Mongodb installation on debian Closed
Operating System: ALL
Steps To Reproduce:

Install MongoDB on Debian GNU/Linux 7.8 (wheezy) following the instructions given here: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian.

Participants:

 Description   

Installing MongoDB on Debian GNU/Linux 7.8 (wheezy) following the instructions given here: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian results in a broken / corrupt install.

On attempting to uninstall, mongodb-org-server does not cleanly uninstall.



 Comments   
Comment by Ramon Fernandez Marina [ 18/Jun/15 ]

returnFalse, we haven't heard you from some time. If this is still an issue for you can you please provide the additional information requested by Ernie above?

Thanks,
Ramón.

Comment by Ernie Hershey [ 18/May/15 ]

Hi returnFalse, the detials in the stack overflow question are related to uninstaling, which failed because the init script wasn't present. I confirmed that it's in the package so should have been copied onto the system at installation time. Can you post the details of the errors you got when installing the package? Do you know why the init script wasn't there at uninstalation time?

vagrant@vagrant-debian-wheezy:~$ curl -LO http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/main/binary-amd64/mongodb-org-server_3.0.3_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8401k  100 8401k    0     0  1591k      0  0:00:05  0:00:05 --:--:-- 30.6M
vagrant@vagrant-debian-wheezy:~$ dpkg -c mongodb-org-server_3.0.3_amd64.deb
drwxr-xr-x root/root         0 2015-05-12 16:49 ./
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/bin/
-rwxr-xr-x root/root  21444968 2015-05-12 16:49 ./usr/bin/mongod
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/man/
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/man/man1/
-rw-r--r-- root/root     12170 2015-05-12 16:49 ./usr/share/man/man1/mongod.1.gz
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/doc/
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/doc/mongodb-org-server/
-rw-r--r-- root/root     11769 2015-05-11 21:56 ./usr/share/doc/mongodb-org-server/GNU-AGPL-3.0.gz
-rw-r--r-- root/root      4737 2015-05-11 21:56 ./usr/share/doc/mongodb-org-server/THIRD-PARTY-NOTICES.gz
-rw-r--r-- root/root       483 2015-05-11 21:29 ./usr/share/doc/mongodb-org-server/copyright
-rw-r--r-- root/root       694 2015-05-12 16:48 ./usr/share/doc/mongodb-org-server/changelog.gz
-rw-r--r-- root/root      1359 2015-05-11 21:56 ./usr/share/doc/mongodb-org-server/README
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/lintian/
drwxr-xr-x root/root         0 2015-05-12 16:49 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       891 2015-05-12 16:49 ./usr/share/lintian/overrides/mongodb-org-server
drwxr-xr-x root/root         0 2015-05-12 16:49 ./etc/
-rw-r--r-- root/root      1693 2015-05-12 16:49 ./etc/mongod.conf
drwxr-xr-x root/root         0 2015-05-12 16:49 ./etc/init.d/
-rwxr-xr-x root/root      8216 2015-05-11 21:29 ./etc/init.d/mongod
vagrant@vagrant-debian-wheezy:~$

Comment by Jordan Dolan [X] [ 01/Mar/15 ]

http://unix.stackexchange.com/questions/187464/mongodb-will-not-uninstall. A file should be in the package and is missing.

Generated at Thu Feb 08 03:44:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.