You are not logged in.

#1 2009-12-13 16:05:27

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

[Solved] error: command failed to execute correctly en masse

Hello,
I have begun getting the messaged

error: command failed to execute correctly

a lot when updating. As far as I know I have not changed anything. I just tried to reinstall all packages however this did not seem to solve the problem. Here are the packages that are affected:

(  3/528) upgrading glibc                           
Generating locales...
  en_DK.UTF-8... done
  en_DK.ISO-8859-1... done
  en_US.UTF-8... done
  en_US.ISO-8859-1... done
Generation complete.
error: command failed to execute correctly
(  6/528) upgrading gpm                             
error: command failed to execute correctly
( 16/528) upgrading bash                            
error: command failed to execute correctly
( 21/528) upgrading acct                            
error: command failed to execute correctly
( 24/528) upgrading gcc-libs                        
error: command failed to execute correctly
( 30/528) upgrading findutils                       
error: command failed to execute correctly
( 31/528) upgrading gzip                            
error: command failed to execute correctly
( 32/528) upgrading texinfo                         
error: command failed to execute correctly
( 34/528) upgrading libtasn1                        
error: command failed to execute correctly
( 36/528) upgrading gnutls                          
error: command failed to execute correctly
( 38/528) upgrading gmp                             
error: command failed to execute correctly
( 43/528) upgrading coreutils                       
error: command failed to execute correctly
( 44/528) upgrading gdbm                            
error: command failed to execute correctly
( 48/528) upgrading heimdal                         
error: command failed to execute correctly
( 89/528) upgrading util-linux-ng                   
error: command failed to execute correctly
(105/528) upgrading aspell                          
error: command failed to execute correctly
(108/528) upgrading wget                            
error: command failed to execute correctly
(110/528) upgrading diffutils                       
error: command failed to execute correctly
(111/528) upgrading gawk                            
error: command failed to execute correctly
(112/528) upgrading m4                              
error: command failed to execute correctly
(113/528) upgrading autoconf                        
error: command failed to execute correctly
(114/528) upgrading automake                        
error: command failed to execute correctly
(124/528) upgrading binutils                        
error: command failed to execute correctly
(125/528) upgrading bison                           
error: command failed to execute correctly
(131/528) upgrading sed                             
error: command failed to execute correctly
(151/528) upgrading cpio                            
error: command failed to execute correctly
(155/528) upgrading e2fsprogs                       
error: command failed to execute correctly
(167/528) upgrading cvs                             
error: command failed to execute correctly
(199/528) upgrading grep                            
error: command failed to execute correctly
(219/528) upgrading flex                            
error: command failed to execute correctly
(230/528) upgrading libmikmod                       
error: command failed to execute correctly
(236/528) upgrading mpfr                            
error: command failed to execute correctly
(237/528) upgrading gcc                             
error: command failed to execute correctly
(238/528) upgrading gcc-fortran                     
error: command failed to execute correctly
(239/528) upgrading libidl2                         
error: command failed to execute correctly
(244/528) upgrading gdb                             
error: command failed to execute correctly
(275/528) upgrading gettext                         
error: command failed to execute correctly
(278/528) upgrading glib                            
error: command failed to execute correctly
(279/528) upgrading gnupg                           
error: command failed to execute correctly
(285/528) upgrading gperf                           
error: command failed to execute correctly
(286/528) upgrading groff                           
error: command failed to execute correctly
(287/528) upgrading grub                            
error: command failed to execute correctly
(288/528) upgrading gsfonts                         
Updating font cache... done.
(295/528) upgrading libcdio                         
error: command failed to execute correctly
(300/528) upgrading gtk                             
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
install-info: /usr/share/info/dir: empty file
error: command failed to execute correctly
(317/528) upgrading tar                             
error: command failed to execute correctly
(318/528) upgrading libtool                         
error: command failed to execute correctly
(337/528) upgrading inetutils                       
error: command failed to execute correctly
(397/528) upgrading make                            
error: command failed to execute correctly
(400/528) upgrading sbcl                            
error: command failed to execute correctly
(401/528) upgrading maxima                          
error: command failed to execute correctly
(419/528) upgrading nano                            
error: command failed to execute correctly
(488/528) upgrading which                           
error: command failed to execute correctly

Does anybody have a clue on what is going on here?

Thanks,
Rasmus

Last edited by Pank (2010-01-15 19:09:47)


Arch x64 on Thinkpad X200s/W530

Offline

#2 2009-12-17 14:31:27

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: [Solved] error: command failed to execute correctly en masse

The following packages also had problems

( 2/17) upgrading glibc                           
error: command failed to execute correctly
( 3/17) upgrading binutils                         
error: command failed to execute correctly
( 4/17) upgrading coreutils                       
error: command failed to execute correctly
( 8/17) upgrading gcc                              
error: command failed to execute correctly
( 9/17) upgrading gcc-fortran                   
error: command failed to execute correctly
(10/17) upgrading gcc-libs                       
error: command failed to execute correctly

Does anybody have a clue?

Thanks,


Arch x64 on Thinkpad X200s/W530

Offline

#3 2010-01-14 23:45:11

Tuxe
Member
From: Finland
Registered: 2005-02-28
Posts: 8
Website

Re: [Solved] error: command failed to execute correctly en masse

Hi,

I had the same problem and figured out that it appears with packages which run install-info command in their install file. For some reason my /usr/share/info/dir file was empty and that caused install-info not to run correctly. Removing the file solved the problem. The dir file can be re-generated with

for j in $( { for i in /usr/share/info/*.info /usr/share/info/*.gz; do echo "$i" | sed -r 's/-([0-9]+)\.gz$/\.gz/g'; done; } | uniq) ; do install-info "$j" /usr/share/info/dir; done

I hope this helps.

Last edited by Tuxe (2010-01-14 23:46:42)

Offline

#4 2010-01-15 19:09:29

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: [Solved] error: command failed to execute correctly en masse

Yay. It worked! Thanks a bunch!


Arch x64 on Thinkpad X200s/W530

Offline

#5 2011-06-28 22:16:58

Warper
Member
From: Quito, Ecuador
Registered: 2008-04-08
Posts: 47

Re: [Solved] error: command failed to execute correctly en masse

Hey everyone,

Certainly this forum is an enormous source of information. cool
Yesterday I upgraded my system and had to force the installation of gcc and this message appeared. Even though this post is more than a year old the process described here worked!!! lol

Thanks Tuxe.

Warper

Offline

#6 2011-06-28 23:04:39

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Solved] error: command failed to execute correctly en masse

please don't necrobump. closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB