package python-sphinx 1.2.3+dfsg-1ubuntu3 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Bug #1555468 reported by Matthieu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sphinx (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Was not doing anything, happen just after boot.

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: python-sphinx 1.2.3+dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
AptOrdering:
 logwatch: Install
 apt-xapian-index: Configure
 python-sphinx: Configure
 logwatch: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Thu Mar 10 08:50:14 2016
DuplicateSignature: package:python-sphinx:1.2.3+dfsg-1ubuntu3:le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
InstallationDate: Installed on 2015-12-08 (92 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.2ubuntu5.1
 apt 1.0.10.2ubuntu1
SourcePackage: sphinx
Title: package python-sphinx 1.2.3+dfsg-1ubuntu3 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
UpgradeStatus: Upgraded to wily on 2016-02-03 (35 days ago)

Revision history for this message
Matthieu (matthieu-perin) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Did you change any files on your system? Such error may happen if you for example switched shebang of /usr/bin/pycompile to python3.

What is the first line of /usr/bin/pycompile?

What is the output of this command?
$(head -n1 /usr/bin/pycompile | sed "s/#\!//") --version

Changed in sphinx (Ubuntu):
status: New → Incomplete
Revision history for this message
Matthieu (matthieu-perin) wrote :

Hi Dmitry, I have exactly pass (or at least try to :) ) my sphinx installation from Python 2 to Python 3.

My /usr/bin/pycompile is linked to python 2.7

#! /usr/bin/python2.7 (first line)

And the return of the command asked is "Python 2.7.10"

Have you any way to help me fix the issue ?

By the way thanks for taking time to help me !

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

That's very strange. Can you check if the following command exits normally or prints any errors?

python2.7 -c "import ConfigParser"

Also, what did you exactly do to port your installation to Python 3? Did you modify any system files or remove any packages?

Do you have any broken packages now? What does `sudo apt-get install -f` say?

Revision history for this message
Matthieu (matthieu-perin) wrote :

The command exit normally (no error, no output).

To switch my sphinx install i just changed the /usr/bin links from python 2.7 to Python 3.

All the package are good, but some package are strangely not installed (e.g. python-sphinxbase).

Both python-sphinw & python3-sphinx are installed.

I added pythan-sphinxbase et updated the system + reboot -> no more error for the moment ...

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Which exactly files in /usr/bin did you change? So far I can *not* understand what is the cause of this bug, but provided that nobody else reported it, I believe it is something wrong on your system.

python-sphinxbase is a completely different package, it is the speech recognition system, not the documentation generator.

Does this error occur when you purge all sphinx-related packages and install them again? (If you only need python3 you can install only python3-sphinx and files in /usr/bin will use Python 3).

Revision history for this message
Matthieu (matthieu-perin) wrote :

I have purged all sphinx related files (both python 2 & 3).

Then reinstalled them. the package was broken, so I force the update of the packages repo -> the installation has gone well.

Sphinx is working well so far.

Thank you very much for your help !

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Ok, so let's close it.

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