package gallery2 2.3-1ubuntu3 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1

Bug #558961 reported by kero_coco
72
This bug affects 16 people
Affects Status Importance Assigned to Milestone
gallery2 (Ubuntu)
Fix Released
Undecided
Charlie_Smotherman

Bug Description

Binary package hint: gallery2

package gallery2 2.3-1ubuntu3 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: gallery2 2.3-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Thu Apr 8 23:24:28 2010
ErrorMessage: el subproceso script post-installation instalado devolvió el código de salida de error 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitecture: all
SourcePackage: gallery2
Title: package gallery2 2.3-1ubuntu3 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1

Related branches

Revision history for this message
kero_coco (kerococoec) wrote :
Revision history for this message
Artemis3 (artemis3) wrote :

I'm getting this when trying to install the gallery2 package (System upgraded from Ubuntu 9.10):

LANG=C sudo aptitude install gallery2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  gallery2
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up gallery2 (2.3-1ubuntu3) ...
ln: creating symbolic link `/usr/share/gallery2/lib/smarty': No such file or directory
dpkg: error processing gallery2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 gallery2
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up gallery2 (2.3-1ubuntu3) ...
ln: creating symbolic link `/usr/share/gallery2/lib/smarty': No such file or directory
dpkg: error processing gallery2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 gallery2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

BTW: smarty appears to be in /usr/share/php, it looks similar but not identical to an older (fixed) bug.

Revision history for this message
GerhardGaußling (ggrubbish-web) wrote :

I got the same error.
This seems to be a bug in the package post-installation script . This one might be related:
https://bugzilla.redhat.com/show_bug.cgi?id=497098

dpkg -i -D163 --force-all /var/cache/apt/archives/gallery2_2.3-1ubuntu3_all.deb
[...]
D000100: process_archive ... found in gallery2

D000040: checking dependencies of gallery2 (- <none>)
D000040: ok 2 msgs >><<
D000040: checking Breaks
Setting up gallery2 (2.3-1ubuntu3) ...
D000001: deferred_configure updating conffiles
D000002: fork/exec /var/lib/dpkg/info/gallery2.postinst ( configure 2.3-1ubuntu3 )
ln: creating symbolic link `/usr/share/gallery2/lib/smarty': No such file or directory
dpkg: error processing gallery2 (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 gallery2

Changed in gallery2 (Ubuntu):
status: New → Confirmed
status: Confirmed → In Progress
assignee: nobody → Charlie_Smotherman (porthose) (cjsmo)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery2 - 2.3-1ubuntu4

---------------
gallery2 (2.3-1ubuntu4) maverick; urgency=low

  * debian/gallery2.postinst adjusted smarty sym link creation so it does not fail on
     upgrades. (LP: #558961)
 -- Charlie Smotheraman <email address hidden> Tue, 18 May 2010 15:35:15 -0500

Changed in gallery2 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :
Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

I beg to differ, it is the current version in *maverick*.

https://edge.launchpad.net/ubuntu/+source/gallery2

There is currently an effort underway to merge 2.3.1 from debian,

https://bugs.edge.launchpad.net/ubuntu/+source/gallery2/+bug/578137

Revision history for this message
Logics (karim-hosein) wrote : Re: [Bug 558961] Re: package gallery2 2.3-1ubuntu3 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1

I have no idea what you mean. I hit the link and got a match for lucid
(bottom of the list). That would be Ubuntu 10.04. Why you did not see
it, I do not know.

[maintainer: Ubuntu MOTU Developers]
  [Section: World Wide Web (Universe)]
The above from Synaptic Package Manager

On 5/29/2010 8:54 AM, Ralf Hildebrandt wrote:
> This version is NOT in any of the repositories:
> http://packages.ubuntu.com/search?keywords=gallery2&searchon=names&suite=all&section=all
>
>

--
Karim Hosein 954.805.5006

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote : Re: [Bug 558961] Re: packagegallery2 2.3-1ubuntu3 failed to install/upgrade: el subproceso script post-installation instalado devolvió el códigode salida de error 1

* Logics <email address hidden>:
> I have no idea what you mean. I hit the link and got a match for lucid
> (bottom of the list). That would be Ubuntu 10.04. Why you did not see
> it, I do not know.

The link for lucid is STILL (now) the broken version:

lucid (web): web-based photo album written in PHP [universe]
2.3-1ubuntu3: all
^^^^^^^^^^^^

As you can see in the title of this bugreport:
package gallery2 2.3-1ubuntu3 failed to install/upgrade
                 ^^^^^^^^^^^^

--
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  <email address hidden> | http://www.charite.de

Revision history for this message
Gavin Hurlbut (gjhurlbu) wrote :

Get:1 http://archive.ubuntu.com/ubuntu/ maverick/universe gallery2 2.3-1ubuntu4 [14.3MB]
Fetched 14.3MB in 18s (760kB/s)
Preconfiguring packages ...
(Reading database ... 178867 files and directories currently installed.)
Preparing to replace gallery2 2.3-1ubuntu3 (using .../gallery2_2.3-1ubuntu4_all.deb) ...
Unpacking replacement gallery2 ...
Setting up gallery2 (2.3-1ubuntu4) ...
ln: creating symbolic link `/usr/share/gallery2/lib/smarty': No such file or directory
dpkg: error processing gallery2 (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

This problem still seems to be there.

Changed in gallery2 (Ubuntu):
status: Fix Released → New
status: New → Confirmed
Revision history for this message
Gavin Hurlbut (gjhurlbu) wrote :

Never mind... it was other busted stuff on the system.

Changed in gallery2 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
John Dong (jdong) wrote :

A SRU upload was made, but no SRU bug description was added. Please follow the procedure at https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

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.