package mongodb-server 1:2.6.10-0ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 102

Bug #1709605 reported by HARDIK ASHVINBHAI GANGADWALA
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mongodb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  mongodb-clients
0 upgraded, 1 newly installed, 0 to remove and 257 not upgraded.
1 not fully installed or removed.
Need to get 0 B/48.6 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Selecting previously unselected package mongodb-clients.
(Reading database ... 247297 files and directories currently installed.)
Preparing to unpack .../mongodb-clients_1%3a2.6.10-0ubuntu1_amd64.deb ...
Unpacking mongodb-clients (1:2.6.10-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mongodb-clients (1:2.6.10-0ubuntu1) ...
Setting up mongodb-server (1:2.6.10-0ubuntu1) ...
invoke-rc.d: dangling symlink: /etc/rc5.d/S01mongodb
dpkg: error processing package mongodb-server (--configure):
 subprocess installed post-installation script returned error exit status 102
Errors were encountered while processing:
 mongodb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mongodb-server 1:2.6.10-0ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-58-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
AptOrdering:
 mongodb-server: Purge
 mongodb-clients: Purge
 NULL: ConfigurePending
Architecture: amd64
Date: Wed Aug 9 16:58:41 2017
DpkgTerminalLog:
 Removing mongodb-server (1:2.6.10-0ubuntu1) ...
 invoke-rc.d: dangling symlink: /etc/rc5.d/S01mongodb
 dpkg: error processing package mongodb-server (--purge):
  subprocess installed pre-removal script returned error exit status 102
DuplicateSignature:
 package:mongodb-server:1:2.6.10-0ubuntu1
 Removing mongodb-server (1:2.6.10-0ubuntu1) ...
 invoke-rc.d: dangling symlink: /etc/rc5.d/S01mongodb
 dpkg: error processing package mongodb-server (--purge):
  subprocess installed pre-removal script returned error exit status 102
ErrorMessage: subprocess installed pre-removal script returned error exit status 102
InstallationDate: Installed on 2017-06-17 (52 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: mongodb
Title: package mongodb-server 1:2.6.10-0ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 102
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.init.d.mongodb: [deleted]

Revision history for this message
HARDIK ASHVINBHAI GANGADWALA (ubuntuhag) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mongodb (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.