Wednesday, January 27, 2016

gdbm fatal: lseek error

 gdbm fatal: lseek error  
   
 on my nice ubuntu 10 system, i get the above when i run an non-existent commmand.  
   
 when i issue:  
 # lasal  
   
 i would expect to see something like:  
   
 No command 'lastal' found, did you mean:  
   Command 'lastal' from package 'last-align' (universe)  
  lasal: command not found  
  -bash: lasal: command not found  
    
 that function is dependent upon this package:  
   
 command-not-found  
   
 i issue:  
 # apt-get remove command-not-found  
   
 then when i run a non-existent command:  
 # /usr/bin/python: can't find '__main__.py' in '/usr/share/command-not-found'  
   
 oh... there appears to be a bug with command-not-do and amd64  
   
 # dpkg -L command-not-found-data  
   
 ...  
   
 # cd /usr/share/command-not-found/programs.d/  
 # rm amd*  
   
 and there we go.  
Post a Comment