package nginx-full (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

Bug #1446883 reported by Bernhard Nikola
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nginx (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Removing nginx-core and installing nginx-full (the 1.6 version in the Ubuntu repositories)

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: nginx-full (not installed)
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
AptOrdering:
 nginx-core: Remove
 nginx-full: Install
 nginx-full: Configure
 nginx: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Wed Apr 22 00:23:36 2015
DuplicateSignature: package:nginx-full:(not installed):Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
InstallationDate: Installed on 2015-04-21 (0 days ago)
InstallationMedia: Lubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150417.1)
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt 1.0.9.7ubuntu4
SourcePackage: nginx
Title: package nginx-full (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bernhard Nikola (bnikola) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Thomas Ward (teward) wrote :

Lets redefine "fresh" here. A "fresh" installation is an installation in which none of the other components exists on the system (or you purged them).

------

Here's an excerpt from the History Log for dpkg, and why this is *not* a fresh installation:

Start-Date: 2015-04-22 00:22:48
Commandline: apt-get install nginx
Install: nginx-core:amd64 (1.6.2-5ubuntu3, automatic), nginx-common:amd64 (1.6.2-5ubuntu3, automatic), nginx:amd64 (1.6.2-5ubuntu3)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2015-04-22 00:22:59

Start-Date: 2015-04-22 00:23:30
Commandline: apt-get install nginx-full
Install: nginx-full:amd64 (1.6.2-5ubuntu3)
Remove: nginx-core:amd64 (1.6.2-5ubuntu3)

Therefore, this is not a 'fresh' install, you're removing one flavor and installing another.

------

Now to the actual issue. Can you try doing `sudo apt-get install -f` to try and complete the process all over again with configuring packages, or manually force reconfiguration of nginx-full with `sudo dpkg-reconfigure nginx-full` and then do `sudo apt-get install -f` if there's no errors, and see if that fixes it? (It's ambiguous what the actual error is in reconfiguration :/)

description: updated
description: updated
Changed in nginx (Ubuntu):
status: New → Incomplete
Revision history for this message
Thomas Ward (teward) wrote :

Using the steps you've done on a ***fully updated Ubuntu 15.04 system*** in a Virtual Environment, I am unable to reproduce this problem. After digging into the command line options via the history provided, I'm posting the notes I made, in three steps. It'll be the attached output (in English) of the commands, as seen in the command line. It's likely you have something else broken as a result of something else. Did you have any other versions of NGINX installed previously that could be causing conflicts?

Revision history for this message
Thomas Ward (teward) wrote :
Revision history for this message
Thomas Ward (teward) wrote :
Revision history for this message
Thomas Ward (teward) wrote :
Revision history for this message
Thomas Ward (teward) wrote :
Revision history for this message
Thomas Ward (teward) wrote :

There is a potential workaround for this issue. Try the following steps:

sudo apt-get remove nginx
sudo apt-get install nginx-common nginx-full

If it still fails attach the terminal and command output to the bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nginx (Ubuntu) because there has been no activity for 60 days.]

Changed in nginx (Ubuntu):
status: Incomplete → Expired
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.