package redmine 1.4.4+dfsg1-2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redmine (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
libapache2-
apache2 já é a versão mais nova.
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
ant ant-optional aspectj default-jdk eclipse-
fastjar jarwrapper junit junit-doc junit4 libasm3-java libaspectj-java
libbonoboui2-0 libbonoboui2-common libcommons-cli-java libcommons-
libcommons-
libcommons-
libdb5.1-java libdb5.1-java-jni libeasymock-java libecj-java
libequinox-
libfelix-
libfelix-
libfelix-
libgeronimo-
libgnomecanvas2-0 libgnomecanvas2
libhamcrest-java libice-dev libicu4j-4.4-java libicu4j-java libjetty8-java
libjline-java libjsch-java libjtidy-java libkxml2-java liblucene2-java
liboro-java libosgi-
libosgi-
libregexp-java libservlet2.5-java libservlet3.0-java libsm-dev
libswt-
libswt-gtk-3-java libswt-gtk-3-jni libswt-
libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxerces2-java
libxml-
libxz-java linux-headers-
linux-
openjdk-6-jdk openjdk-7-jdk sat4j x11proto-core-dev x11proto-input-dev
x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Utilize 'apt-get autoremove' para os remover.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 8 não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar [S/n]? s
Configurando redmine (1.4.4+dfsg1-2) ...
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
rake aborted!
undefined method `pop' for LL():Rake:
(See full trace by running task with --trace)
dpkg: erro ao processar redmine (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: redmine 1.4.4+dfsg1-2
ProcVersionSign
Uname: Linux 3.8.0-35-generic i686
ApportVersion: 2.9.2-0ubuntu8.5
AptOrdering: redmine: Configure
Architecture: i386
Date: Mon Jan 27 08:02:55 2014
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2013-10-03 (116 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424)
MarkForUpload: True
PackageArchitec
SourcePackage: redmine
Title: package redmine 1.4.4+dfsg1-2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: No upgrade log present (probably fresh install)
I had the same issue and tried various things until I found out that there were incompatible gems installed locally. www.geekystuff. net/2009/ 01/14/remove- all-ruby- gems/
What I did was uninstall redmine and anything ruby-related (since I don't have other dependencies on ruby) via aptitude, then following http://
I did
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
NOTE: this will remove ALL ruby gems - if you have anything installed that needs those beware!
Finally, I reinstalled redmine and everything worked fine.