fails to install or remove upon dpkg or apt-gotten for install

Bug #254266 reported by darkraven

This bug report was converted into a question: question #41303: fails to install or remove upon dpkg or apt-gotten for install.

2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libglade-java

have same issues with libgtk-java and libgtk-cni files.cant remove or install once apt-get or dpkg -i starts.

gtk sources depend upon some of these files.not an unmet dependency error, just refuses to install/remove as script fails.

using 8.04 ppc version.

ProblemType: Package
Architecture: powerpc
Date: Sat Aug 2 13:31:36 2008
Dependencies:

DistroRelease: Ubuntu 8.04
ErrorMessage: dependency problems - leaving unconfigured
Package: libglade-java-dev None [modified: /var/lib/dpkg/info/libglade-java-dev.list]
PackageArchitecture: powerpc
SourcePackage: libglade-java
Title: package libglade-java-dev None [modified: /var/lib/dpkg/info/libglade-java-dev.list] failed to install/upgrade: dependency problems - leaving unconfigured
Uname: Linux 2.6.24-19-powerpc ppc

Revision history for this message
darkraven (jasminr) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

There is no bug that I can see; your file system is possibly corrupted since the error is:

dpkg (subprocess): unable to execute post-installation script: Exec format error

coming from libgnome-cni, which is however fine if I check your arch/version in the archive.
Can you give this command in a terminal an attach here the resulting postinst file:

cat /var/lib/dpkg/info/libgnome-cni.postinst > postinst

?

Changed in libglade-java:
status: New → Incomplete
Revision history for this message
darkraven (jasminr) wrote : Re: [Bug 254266] Re: fails to install or remove upon dpkg or apt-gotten for install

here you go.thought so, but not sure how it happened.all i did was base
install on ppc and add some packages i needed, moreso from a dselect, as
it takes quite some time to install apps otherwise.i copied my home
folder from a intel box, but that shouldn't mess things up.

Cesare Tirabassi wrote:
> There is no bug that I can see; your file system is possibly corrupted
> since the error is:
>
> dpkg (subprocess): unable to execute post-installation script: Exec
> format error
>
> coming from libgnome-cni, which is however fine if I check your arch/version in the archive.
> Can you give this command in a terminal an attach here the resulting postinst file:
>
> cat /var/lib/dpkg/info/libgnome-cni.postinst > postinst
>
> ?
>
> ** Changed in: libglade-java (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: ubuntu
> Sourcepackagename: libglade-java => None
>
>

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Your postinst seems to be fine.
Can you check if that file and /var/lib/dpkg/info/ have the executable bit set? Can you check if /var is mounted with the exec flag set?
Can you try to manually execute that script?
If worst come to worse, you can try to force the installation with:

sudo dpkg --force-all -i /var/cache/apt/archives/libgnome-cni_2.12.7-4_powerpc.deb

Its a dangerous command to give, so try other solutions first.
This may not solve others problem you have which could be related to a corrupt file system but at least should solve this one.
Anyhow, I'm transforming this into a question since there doesn't seem to be any bug.

Revision history for this message
darkraven (jasminr) wrote :

no such file or directory when forcing....how do i have corrupted FS
with a CLEAN install?

Cesare Tirabassi wrote:
> Your postinst seems to be fine.
> Can you check if that file and /var/lib/dpkg/info/ have the executable bit set? Can you check if /var is mounted with the exec flag set?
> Can you try to manually execute that script?
> If worst come to worse, you can try to force the installation with:
>
> sudo dpkg --force-all -i /var/cache/apt/archives/libgnome-
> cni_2.12.7-4_powerpc.deb
>
> Its a dangerous command to give, so try other solutions first.
> This may not solve others problem you have which could be related to a corrupt file system but at least should solve this one.
> Anyhow, I'm transforming this into a question since there doesn't seem to be any bug.
>
> ** Changed in: ubuntu
> Status: Incomplete => Invalid
>
> ** bug changed to question:
> https://answers.edge.launchpad.net/ubuntu/+question/41303
>
>

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I just stumbled against this reply by pure chance. Pls. do not add comments to a bug report marked invalid, they won't be seen by anyone; if you need support please refer to the question this has been transformed to.

Revision history for this message
darkraven (jasminr) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

its maked invalid because somebody over THERE thinks the OS is
corrupted, when in fact it is a CLEAN install.the package fails to
remove or install, and i cant force it to do either, despite following
directions.it was needed to install ksynaptic, which fails to build, so
its left hanging orphaned in my debian tree.

Cesare Tirabassi wrote:
> I just stumbled against this reply by pure chance. Pls. do not add
> comments to a bug report marked invalid, they won't be seen by anyone;
> if you need support please refer to the question this has been
> transformed to.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoL/TZWyv5fvyGz0RAh8kAJ9/i+H4vGimOJYrjW0A9XC/OtwNEgCgoqd+
a7n5V2A/3GbIgWfPljB+NxQ=
=bN8W
-----END PGP SIGNATURE-----

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.