[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with removing package.

>> "dave" == dave  <dave@geko.dhs.org> writes:

dave> geko:/home/geko# dpkg -i python-base_1.5.2-4.deb 
dave> (Reading database ... 28377 files and directories currently
dave> installed.)
dave> Preparing to replace python-base 1.5.2-4 (using
dave> python-base_1.5.2-4.deb) ...
dave> Unpacking replacement python-base ...  dpkg (subprocess): unable
dave> to execute old post-removal script: Exec format error

Maybe the file is corrupted.

ls -l /var/lib/dpkg/info/python-base*
file /var/lib/dpkg/info/python-base*

/var/lib/dpkg/info/python-base.list:     ASCII text
/var/lib/dpkg/info/python-base.md5sums:  ASCII text
/var/lib/dpkg/info/python-base.postinst: Bourne shell script text
/var/lib/dpkg/info/python-base.prerm:    Bourne shell script text
/var/lib/dpkg/info/python-base.shlibs:   ASCII text

You may try to use a dummy postinst script like 

exit 0


Reply to: