package libubuntuone1.0-cil 0.3.8-0ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9

Bug #688538 reported by siucdude
122
This bug affects 19 people
Affects Status Importance Assigned to Milestone
libubuntuone (Ubuntu)
Fix Released
High
Loïc Minier

Bug Description

I know 11.04 but here is a bug anyways.
Thx
TJ

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: libubuntuone1.0-cil 0.3.8-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.37-8.21-generic 2.6.37-rc4
Uname: Linux 2.6.37-8-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Fri Dec 10 06:43:11 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 9
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
SourcePackage: libubuntuone
Title: package libubuntuone1.0-cil 0.3.8-0ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9

Related branches

Revision history for this message
siucdude (siucdude) wrote :
Changed in libubuntuone (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
status: New → In Progress
Revision history for this message
IdleOne (idleone) wrote :

same error on 11.04
Errors were encountered while processing:
 libubuntuone1.0-cil
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libubuntuone1.0-cil (0.3.8-0ubuntu5) ...
* Installing 1 assembly from libubuntuone1.0-cil into Mono
E: installing Assembly /usr/lib/cli/ubuntuone-sharp-1.0/ubuntuone-sharp.dll failed
E: Installation of libubuntuone1.0-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing libubuntuone1.0-cil (--configure):
 subprocess installed post-installation script returned error exit status 9
Errors were encountered while processing:
 libubuntuone1.0-ci

Revision history for this message
Daniel W. Green (octoberdan-gmail) wrote :

I just upgraded from 10.10 to 11.04 and I am receiving the same error. It's causing my install of banshee to fail:

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libubuntuone1.0-cil (0.3.8-0ubuntu5) ...
* Installing 1 assembly from libubuntuone1.0-cil into Mono
E: installing Assembly /usr/lib/cli/ubuntuone-sharp-1.0/ubuntuone-sharp.dll failed
E: Installation of libubuntuone1.0-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing libubuntuone1.0-cil (--configure):
 subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of banshee-extension-ubuntuonemusicstore:
 banshee-extension-ubuntuonemusicstore depends on libubuntuone1.0-cil (>= 0.3.8); however:
  Package libubuntuone1.0-cil is not configured yet.
dpkg: error processing banshee-extension-ubuntuonemusicstore (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 libubuntuone1.0-cil
 banshee-extension-ubuntuonemusicstore
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Philip Peitsch (philip-peitsch) wrote :

When I traced the install scripts through, the step that is being failed on is when the script actually installs into the desired location. In this case, the command is:
~$ cd `dirname /usr/lib/cli/ubuntuone-sharp-1.0/ubuntuone-sharp.dll`
~$ /usr/bin/gacutil -i `basename /usr/lib/cli/ubuntuone-sharp-1.0/ubuntuone-sharp.dll`

The last line fails with the error:
Failure adding assembly ubuntuone-sharp.dll to the cache: Attempt to install an assembly without a strong name

Revision history for this message
Loïc Minier (lool) wrote :

During build:
dh_makeclilibs: debian/libubuntuone1.0-cil/usr/lib/cli/ubuntuone-sharp-1.0/ubuntuone-sharp.dll has no valid signature, ignoring

this seems similar to Debian #540737

Revision history for this message
Loïc Minier (lool) wrote :

I tried changing bindings/mono/AssemblyInfo.cs to use a full path for mono.snk:
[assembly: AssemblyKeyFile("/usr/share/cli-common/keys/mono.snk")]

but this didn't help, I still get:
dh_makeclilibs: debian/libubuntuone1.0-cil/usr/lib/cli/ubuntuone-sharp-1.0/ubuntuone-sharp.dll has no valid signature, ignoring

Revision history for this message
Loïc Minier (lool) wrote :

So this is due to srcdir != builddir; this rule:
ubuntuone-sharp.dll: U1MusicStore.cs
>-------$(MONO_CSC) -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs

doesn't glob $srcdir/bindings/mono/AssemblyInfo.cs when run from within $builddir/bindings/mono/.

If I try:
/usr/bin/gmcs -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs ../../../bindings/mono/*.cs

I get:
error CS1548: Error during assembly signing. The specified file `mono.snk' does not exist
Compilation failed: 1 error(s), 0 warnings

because mono.snk is not in the search path; I tried adding the parent source dir with -L/-lib:, but that doesn't work for keyfile.

Loïc Minier (lool)
Changed in libubuntuone (Ubuntu):
assignee: Rodrigo Moya (rodrigo-moya) → Loïc Minier (lool)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libubuntuone - 0.3.8-0ubuntu6

---------------
libubuntuone (0.3.8-0ubuntu6) natty; urgency=low

  * bindings/mono/Makefile.am: if srcdir != builddir, copy mono.snk keyfile
    into builddir and pass $(srcdir)/*.cs to gmcs as to include
    AssemblyInfo.cs and hence properly sign the DLL; LP: #688538.
 -- Loic Minier <email address hidden> Tue, 14 Dec 2010 13:46:05 +0100

Changed in libubuntuone (Ubuntu):
status: In Progress → 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.