Re: [Bug 512096] Re: [MASTER] Exec format error : package failed to install/remove : installation/removal script returned error exit status 2
Good Morning I am trying to follow the work around instructions but not having full success yet. I am using libglew1.5 to replace PACKAGE and that works fine what do I use to replace PACKAGE_VERSION?? I tried 1.5.2.0ubuntu1 but that doesn't seem to work Cheers chipppy On Tue, 2010-07-06 at 15:30 +, enguerran wrote: > ** Description changed: > > Under some conditions package installation/upgrade/removal fails with > the following error: > > -- Error during installation -- > Setting up screenlets (0.1.2-7) ... > dpkg (subprocess): unable to execute installed post-installation script: > Exec format error > dpkg: error processing screenlets (--configure): >subprocess installed post-installation script returned error exit status 2 > > -- Error during removal -- > Removing gnome-do ... > dpkg (subprocess): unable to execute installed pre-removal script: Exec > format error > dpkg: error processing gnome-do (--purge): >subprocess installed pre-removal script returned error exit status 2 > > This error occurs when one of the installation or removal scripts > (/var/lib/dpkg/info/PACKAGE.p*) is empty or corrupted. > > == HOW TO REPRODUCE == > Install a package and emulates a system crash before 30 seconds: > # apt-get install hello; sleep 20; echo b > /proc/sysrq-trigger > [simulates a system crash] > After reboot both installation and removal scripts are 0 bytes. You will > notice that hello.list was correctly written to disk because of the fsync > call in dpkg/src/filesdb.c > $ ls -l /var/lib/dpkg/info/hello.* > -rw-r--r-- 1 root root 323 2010-02-09 00:42 /var/lib/dpkg/info/hello.list > -rwxr-xr-x 1 root root 0 2009-08-15 19:17 > /var/lib/dpkg/info/hello.postinst > -rwxr-xr-x 1 root root 0 2009-08-15 19:17 /var/lib/dpkg/info/hello.prerm > > If you replay the test but adding a sync before the system crash: > # apt-get install hello; sync; echo b > /proc/sysrq-trigger > After reboot the files are fine: > $ ls -l /var/lib/dpkg/info/hello.* > -rw-r--r-- 1 root root 323 2010-02-09 00:46 /var/lib/dpkg/info/hello.list > -rwxr-xr-x 1 root root 103 2009-08-15 19:17 > /var/lib/dpkg/info/hello.postinst > -rwxr-xr-x 1 root root 74 2009-08-15 19:17 /var/lib/dpkg/info/hello.prerm > > If I adjust /proc/sys/vm/dirty_expire_centisecs to be below the sleep > time, ( for exemple 1000 in the test above ) then data are correctly > written to disk. > > == WORKAROUNDS == > Execute the following commands in a terminal > (GNOME: Applications -> Accessories -> Terminal >KDE: KMenu -> Applications -> System -> Terminal [Konsole] ) > > Workaround A: Remove the package and reinstall > > $ sudo rm /var/lib/dpkg/info/PACKAGE_VERSION.p* > $ sudo apt-get remove --purge PACKAGE > $ sudo apt-get clean > $ sudo apt-get update > > Then reinstall the package > > Workaround B: Finish the install when the package can't be removed > > $ sudo apt-get clean > $ sudo aptitude download PACKAGE > $ sudo dpkg --unpack ./PACKAGE_VERSION.deb > $ sudo dpkg --configure PACKAGE > > Replace PACKAGE with the package name which fails to install/remove. > > == Localization == > The same error in non-english language: >. Erreur de format pour exec() >. Error de formato ejecutable >. Errore di formato di exec >. Exec format error >. Formatfel på körbar fil >. Érvénytelen végrehajtható fájlformátum >. Exec formátum hiba >. Verkeerd uitvoerbaar bestand >. Exec 格式错误 > - . Formatfel på körbar fil > + . Formatfel på körbar fil > > -- > [MASTER] Exec format error : package failed to install/remove : > installation/removal script returned error exit status 2 > https://bugs.launchpad.net/bugs/512096 > You received this bug notification because you are a direct subscriber > of a duplicate bug. > > Status in “dpkg” package in Ubuntu: Triaged > Status in “dpkg” source package in Karmic: New > Status in “dpkg” package in Debian: Fix Released > > Bug description: > Under some conditions package installation/upgrade/removal fails with the > following error: > > -- Error during installation -- > Setting up screenlets (0.1.2-7) ... > dpkg (subprocess): unable to execute installed post-installation script: Exec > format error > dpkg: error processing screenlets (--configure): > subprocess installed post-installation script returned error exit status 2 > > -- Error during removal -- > Removing gnome-do ... > dpkg (subprocess): unable to execute installed pre-removal script: Exec > format error > dpkg: error p
[Bug 598048] Re: package libglew1.5 1.5.2-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/50841314/Dependencies.txt ** Attachment added: "VarLogDistupgradeAptlog.gz" http://launchpadlibrarian.net/50841315/VarLogDistupgradeAptlog.gz ** Attachment added: "VarLogDistupgradeApttermlog.gz" http://launchpadlibrarian.net/50841316/VarLogDistupgradeApttermlog.gz ** Attachment added: "VarLogDistupgradeHistorylog.gz" http://launchpadlibrarian.net/50841317/VarLogDistupgradeHistorylog.gz ** Attachment added: "VarLogDistupgradeLspcitxt.gz" http://launchpadlibrarian.net/50841318/VarLogDistupgradeLspcitxt.gz ** Attachment added: "VarLogDistupgradeMainlog.gz" http://launchpadlibrarian.net/50841319/VarLogDistupgradeMainlog.gz ** Attachment added: "VarLogDistupgradeSystemstatetargz.gz" http://launchpadlibrarian.net/50841320/VarLogDistupgradeSystemstatetargz.gz ** Attachment added: "VarLogDistupgradeTermlog.gz" http://launchpadlibrarian.net/50841321/VarLogDistupgradeTermlog.gz ** Attachment added: "VarLogDistupgradeXorgfixuplog.gz" http://launchpadlibrarian.net/50841322/VarLogDistupgradeXorgfixuplog.gz -- package libglew1.5 1.5.2-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/598048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 598048] [NEW] package libglew1.5 1.5.2-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
Public bug reported: siilar reports found but on different architecture and version ProblemType: Package DistroRelease: Ubuntu 10.04 Package: libglew1.5 1.5.2-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Fri Jun 18 22:25:10 2010 ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2 InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) SourcePackage: glew Title: package libglew1.5 1.5.2-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2 ** Affects: glew (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package lucid -- package libglew1.5 1.5.2-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/598048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 464422] Re: fail to complete upgrade jaunty > karmic ttf-mscorefonts-installer
Good Morning Yep worked perfect Thanks for the work around Cheers chipppy -Original Message- From: luca Reply-to: Bug 464422 <464...@bugs.launchpad.net> To: chip...@iinet.net.au Subject: [Bug 464422] Re: fail to complete upgrade jaunty > karmic ttf-mscorefonts-installer Date: Sat, 31 Oct 2009 16:47:28 - dpkg-reconfigure -plow --force ttf-mscorefonts-installer -- fail to complete upgrade jaunty > karmic ttf-mscorefonts-installer https://bugs.launchpad.net/bugs/464422 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 464422] Re: fail to complete upgrade jaunty > karmic ttf-mscorefonts-installer
Work around sudo dpkg-reconfigure -plow --force ttf-mscorefonts-installer delete the proxy address 'http:// :8080' when asked and all works fine, including the downloadfrom the net -- fail to complete upgrade jaunty > karmic ttf-mscorefonts-installer https://bugs.launchpad.net/bugs/464422 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463918] [NEW] package ttf-mscorefonts-installer 3.0 failed to install/upgrade:
Public bug reported: Binary package hint: msttcorefonts not sure about this one as it is an auto bug report during upgrade from 9.04 to 9.10. After this bug eport was auto created and lodge the system abrted upgrade and tried to run an auto recovery (dpkg configure --a) ProblemType: Package Architecture: i386 Date: Fri Oct 30 00:59:51 2009 DistroRelease: Ubuntu 9.10 ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1 NonfreeKernelModules: nvidia Package: ttf-mscorefonts-installer 3.0 PackageArchitecture: all ProcVersionSignature: Ubuntu 2.6.28-16.55-generic SourcePackage: msttcorefonts Title: package ttf-mscorefonts-installer 3.0 failed to install/upgrade: Uname: Linux 2.6.28-16-generic i686 ** Affects: msttcorefonts (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 -- package ttf-mscorefonts-installer 3.0 failed to install/upgrade: https://bugs.launchpad.net/bugs/463918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463918] Re: package ttf-mscorefonts-installer 3.0 failed to install/upgrade:
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/34635203/Dependencies.txt ** Attachment added: "VarLogDistupgradeAptlog.gz" http://launchpadlibrarian.net/34635204/VarLogDistupgradeAptlog.gz ** Attachment added: "VarLogDistupgradeApttermlog.gz" http://launchpadlibrarian.net/34635205/VarLogDistupgradeApttermlog.gz ** Attachment added: "VarLogDistupgradeMainlog.gz" http://launchpadlibrarian.net/34635206/VarLogDistupgradeMainlog.gz ** Attachment added: "VarLogDistupgradeTermlog.gz" http://launchpadlibrarian.net/34635207/VarLogDistupgradeTermlog.gz -- package ttf-mscorefonts-installer 3.0 failed to install/upgrade: https://bugs.launchpad.net/bugs/463918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs