package fgfs-base 2.4.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #942886 reported by Tom
870
This bug affects 119 people
Affects Status Importance Assigned to Milestone
fgfs-base (Debian)
Fix Released
Unknown
fgfs-base (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This appeared to fail when it was installed as a dependancy of flight gear. I did a apt-get purge fgfs-base fgfs-atlas flightgear (I had to do it twice to get it to work) then installed each component seperately...that seemed to work fine.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: fgfs-base 2.4.0-1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
ApportVersion: 1.93-0ubuntu2
Architecture: i386
Date: Tue Feb 28 14:20:36 2012
DuplicateSignature:
 Setting up fgfs-base (2.4.0-1) ...
 Moving /usr/share/games/FlightGear to /usr/share/games/flightgear...
 cp: cannot stat `/usr/share/games/FlightGear/*': No such file or directory
 dpkg: error processing fgfs-base (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.1)
PackageArchitecture: all
SourcePackage: fgfs-base
Title: package fgfs-base 2.4.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tom (teeks99) 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 fgfs-base (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

So that you don't have to purge all of your existing flightgear configuration, an easier workaround is to manually remove the Flightgear directory if it is empty:

sudo rmdir /usr/share/games/FlightGear/
sudo dpkg --configure -a

Revision history for this message
Loïc Corbasson (cnb) wrote :

This also happens when installing on a fresh install of Kubuntu 12.04.

Des erreurs ont été rencontrées pendant l'exécution :
 fgfs-base
 fgfs-atlas
 flightgear
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Paramétrage de fgfs-base (2.4.0-1) ...
Moving /usr/share/games/FlightGear to /usr/share/games/flightgear...
cp: impossible d'évaluer «/usr/share/games/FlightGear/*»: Aucun fichier ou dossier de ce type
dpkg : erreur de traitement de fgfs-base (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg : des problèmes de dépendances empêchent la configuration de flightgear :
 flightgear dépend de fgfs-base (>= 2.4.0) ; cependant :
 Le paquet fgfs-base n'est pas encore configuré.
dpkg : erreur de traitement de flightgear (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de fgfs-atlas :
 fgfs-atlas dépend de fgfs-base (>= 1.0.0) ; cependant :
 Le paquet fgfs-base n'est pas encore configuré.
dpkg : erreur de traitement de fgfs-atlas (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 fgfs-base
 flightgear
 fgfs-atlas
Press return to continue.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This bug was fixed in the package fgfs-base - 2.6.0-1

---------------
fgfs-base (2.6.0-1) unstable; urgency=low

  * New upstream release.
  * Updated debian/watch, the mirror is now ibiblio.org.
  * Changed postinst to (hopefully) not fail migration if the
    source directory is empty. Closes: #671268.

 -- Ove Kaaven <email address hidden> Mon, 16 Jul 2012 04:40:55 +0200

Changed in fgfs-base (Ubuntu):
status: Confirmed → Fix Released
Changed in fgfs-base (Debian):
status: Unknown → Fix Released
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.