2010-01-24 22:39:21 |
Jean-Baptiste Lallement |
bug |
|
|
added bug |
2010-01-24 22:40:04 |
Jean-Baptiste Lallement |
tags |
|
bugpattern-needed |
|
2010-01-24 22:47:23 |
Jean-Baptiste Lallement |
description |
Binary package hint: dpkg
== 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 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.
== WORKAROUNDS ==
Execute the following commands in a terminal ( Applications -> Accessories -> Terminal )
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 格式错误 |
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.
== WORKAROUNDS ==
Execute the following commands in a terminal ( Applications -> Accessories -> Terminal )
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 格式错误
|
|
2010-01-24 22:47:41 |
Jean-Baptiste Lallement |
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 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.
== WORKAROUNDS ==
Execute the following commands in a terminal ( Applications -> Accessories -> Terminal )
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 格式错误
|
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.
== WORKAROUNDS ==
Execute the following commands in a terminal ( Applications -> Accessories -> Terminal )
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 格式错误
|
|
2010-01-25 00:40:30 |
Philip Muškovac |
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 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.
== WORKAROUNDS ==
Execute the following commands in a terminal ( Applications -> Accessories -> Terminal )
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 格式错误
|
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.
== 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 格式错误
|
|
2010-01-26 18:56:56 |
shankao |
tags |
bugpattern-needed |
bugpattern-needed metabug |
|
2010-01-27 12:54:07 |
Jean-Baptiste Lallement |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567089 |
|
2010-01-27 12:54:07 |
Jean-Baptiste Lallement |
bug task added |
|
dpkg (Debian) |
|
2010-01-27 13:14:19 |
Bug Watch Updater |
dpkg (Debian): status |
Unknown |
New |
|
2010-02-09 00:38:00 |
Jean-Baptiste Lallement |
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 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.
== 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 格式错误
|
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 格式错误
|
|
2010-02-09 20:39:25 |
Gerald Käferle |
removed subscriber Gerald Käferle |
|
|
|
2010-02-14 12:13:56 |
Jean-Baptiste Lallement |
attachment added |
|
dpkg_1.15.5.6ubuntu2.debdiff http://launchpadlibrarian.net/39182845/dpkg_1.15.5.6ubuntu2.debdiff |
|
2010-02-14 12:15:37 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): assignee |
|
Jean-Baptiste Lallement (jibel) |
|
2010-02-14 12:15:54 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): importance |
Undecided |
High |
|
2010-02-14 12:15:54 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): status |
New |
Triaged |
|
2010-02-14 12:15:54 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): assignee |
Jean-Baptiste Lallement (jibel) |
|
|
2010-02-14 12:16:07 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): assignee |
|
Jean-Baptiste Lallement (jibel) |
|
2010-02-14 21:13:34 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): status |
Triaged |
In Progress |
|
2010-03-01 11:25:26 |
Colin Watson |
removed subscriber Ubuntu Sponsors for main |
|
|
|
2010-03-01 11:30:12 |
Brian Murray |
tags |
bugpattern-needed metabug |
bugpattern-needed metabug patch |
|
2010-03-05 23:43:25 |
Brian Murray |
tags |
bugpattern-needed metabug patch |
bugpattern-needed metabug patch-upstreaminput |
|
2010-03-05 23:43:36 |
Brian Murray |
removed subscriber Ubuntu Review Team |
|
|
|
2010-03-07 23:41:53 |
Colin Watson |
nominated for series |
|
Ubuntu Karmic |
|
2010-03-07 23:41:53 |
Colin Watson |
bug task added |
|
dpkg (Ubuntu Karmic) |
|
2010-03-07 23:47:10 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/dpkg |
|
2010-03-11 00:50:28 |
Launchpad Janitor |
dpkg (Ubuntu): status |
In Progress |
Fix Released |
|
2010-03-11 00:50:28 |
Launchpad Janitor |
cve linked |
|
2010-0396 |
|
2010-04-01 00:29:49 |
Bug Watch Updater |
dpkg (Debian): status |
New |
Fix Released |
|
2010-04-01 07:22:04 |
anoop |
dpkg (Ubuntu): status |
Fix Released |
Confirmed |
|
2010-04-01 11:18:17 |
Colin Watson |
dpkg (Ubuntu): status |
Confirmed |
Fix Released |
|
2010-04-06 15:41:49 |
Philip Muškovac |
dpkg (Ubuntu): status |
Fix Released |
Triaged |
|
2010-04-06 17:12:55 |
Colin Watson |
dpkg (Ubuntu): status |
Triaged |
Fix Released |
|
2010-04-21 18:58:15 |
ubik |
dpkg (Ubuntu): status |
Fix Released |
Fix Committed |
|
2010-04-21 20:07:06 |
Przemek K. |
dpkg (Ubuntu): status |
Fix Committed |
Fix Released |
|
2010-04-26 20:28:14 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): status |
Fix Released |
Triaged |
|
2010-04-26 20:28:14 |
Jean-Baptiste Lallement |
dpkg (Ubuntu): assignee |
Jean-Baptiste Lallement (jibel) |
|
|
2010-04-26 20:38:32 |
Alijah |
removed subscriber Alijah |
|
|
|
2010-05-02 06:44:59 |
Rickard Närström |
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 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 格式错误
|
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
|
|
2010-06-26 22:39:49 |
maria rossi |
branch linked |
|
lp:~maxb/launchpad/wrongly-resolved-conflict |
|
2010-06-27 18:46:29 |
Randal Workman |
removed subscriber Randal Workman |
|
|
|
2010-07-06 15:30:17 |
enguerran |
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 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
|
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
|
|
2010-08-22 11:40:44 |
papukaija |
tags |
bugpattern-needed metabug patch-upstreaminput |
bugpattern-needed metabug patch patch-upstreaminput |
|
2010-10-05 10:52:58 |
era |
bug |
|
|
added subscriber era |
2011-03-09 07:22:09 |
Raphaël Hertzog |
dpkg (Ubuntu): status |
Triaged |
Fix Released |
|
2011-03-09 07:26:45 |
Raphaël Hertzog |
dpkg (Ubuntu Karmic): status |
New |
Confirmed |
|
2011-03-09 15:29:25 |
Raphaël Hertzog |
dpkg (Ubuntu Karmic): status |
Confirmed |
Won't Fix |
|
2011-03-29 13:05:34 |
era |
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 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
|
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:
. fr: Erreur de format pour exec()
. Error de formato ejecutable
. Errore di formato di exec
. en: Exec format error
. hu: Érvénytelen végrehajtható fájlformátum
. Exec formátum hiba
. nl: Verkeerd uitvoerbaar bestand
. Exec 格式错误
. sv: Formatfel på körbar fil
. fi: Käynnistettävän tiedoston muoto virheellinen
. zh_CN: 可执行文件格式错误
. ja: 実行形式エラー
. ru: шибка формата выполняемого файла
. es: Formato de ejecutable incorrecto
. it: Formato eseguibile non valido
More localizations can be found at https://translations.launchpad.net/ubuntu/lucid/+source/eglibc/+pots/ |
|
2011-03-29 13:09:18 |
era |
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 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:
. fr: Erreur de format pour exec()
. Error de formato ejecutable
. Errore di formato di exec
. en: Exec format error
. hu: Érvénytelen végrehajtható fájlformátum
. Exec formátum hiba
. nl: Verkeerd uitvoerbaar bestand
. Exec 格式错误
. sv: Formatfel på körbar fil
. fi: Käynnistettävän tiedoston muoto virheellinen
. zh_CN: 可执行文件格式错误
. ja: 実行形式エラー
. ru: шибка формата выполняемого файла
. es: Formato de ejecutable incorrecto
. it: Formato eseguibile non valido
More localizations can be found at https://translations.launchpad.net/ubuntu/lucid/+source/eglibc/+pots/ |
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:
. fr: Erreur de format pour exec()
. Error de formato ejecutable
. Errore di formato di exec
. en: Exec format error
. hu: Érvénytelen végrehajtható fájlformátum
. Exec formátum hiba
. nl: Verkeerd uitvoerbaar bestand
. Exec 格式错误
. sv: Formatfel på körbar fil
. fi: Käynnistettävän tiedoston muoto virheellinen
. zh_CN: 可执行文件格式错误
. ja: 実行形式エラー
. ru: Ошибка формата выполняемого файла
. es: Formato de ejecutable incorrecto
. ca: L’executable té un format erroni
. it: Formato eseguibile non valido
. de: Fehler im Format der Programmdatei
. pt: Erro de formato de executável
. pt_BR: Erro no formato exec
. da: Ugyldigt format på eksekverbar fil
More localizations can be found at https://translations.launchpad.net/ubuntu/lucid/+source/eglibc/+pots/ |
|
2011-03-30 09:37:30 |
John T Gowing |
removed subscriber John T Gowing |
|
|
|
2011-11-24 14:59:09 |
Ubuntu QA Website |
tags |
bugpattern-needed metabug patch patch-upstreaminput |
bugpattern-needed iso-testing metabug patch patch-upstreaminput |
|
2011-11-24 15:13:35 |
mdl3v8 |
bug |
|
|
added subscriber mdl3v8 |
2011-11-24 15:13:40 |
mdl3v8 |
removed subscriber mdl3v8 |
|
|
|
2011-12-03 13:52:01 |
gilbert.van.der.veken1@telenet.be |
bug |
|
|
added subscriber gilbert.van.der.veken1@telenet.be |
2012-12-28 01:28:50 |
Esau B. |
bug |
|
|
added subscriber Esau B. |