PDA

View Full Version : [ubuntu] dpkg error code (2) or `libsad2': Is a directory



irmiev
April 9th, 2010, 07:42 PM
Hi all

When I try to install something using apt-get or from package using dpkg I always receive
the same error...

For instance:


sudo apt-get install jeditand when the OS reach the point for unpacking and installing the package the output is:


(Reading database ... dpkg: unrecoverable fatal error, aborting:
failed in buffer_read(fd): files list for package `libsad2': Is a directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
I will appreciate your help...

lalejand
July 11th, 2011, 01:50 AM
I have the same problem ! Did you solve it ? how ?

lalejand
July 11th, 2011, 02:17 AM
Just solved it.

I created the file /var/lib/dpkg/info/xdg-utils.list and pasted what I found there : http://ns2.canonical.com/fr/natty/all/xdg-utils/filelist

Looks like the file had been transformed into a folder with a .db inside !?