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

Re: dpkg error, can't install and can't uninstall libread*



phyrster wrote:
> Hi debianers, 
> 
> When I performed a dist-upgrade from sarge to testing, the upgrade process
> was not completed when I ran out of disk space. 
> 
> After that, I can't install or uninstall any packages and it is always the
> libread* packages that caused trouble:
> 
> ---------------
> #dpkg -i libreadline5_5.0-11_i386.deb 
> 
> Preparing to replace libreadline5 5.0-10 (using
> libreadline5_5.0-11_i386.deb) ...
> 
> install-info: No dir file specified; try --help for more information.
> 
> dpkg: warning - old pre-removal script returned error exit status 1
> 
> dpkg - trying script from the new package instead ...
> 
> dpkg: error processing libreadline5_5.0-11_i386.deb (--install):
>  there is no script in the new version of the package - giving up
>  install-info: unrecognized option `--description=GNU Readline Library API
>  (v5)'
>  	Try `install-info --help' for a complete list of options.
> 	dpkg: error while cleaning up:
> 	 subprocess post-installation script returned error exit status 1
> 	 Errors were encountered while processing:
> 	  libreadline5_5.0-11_i386.deb
> 
> ---------------
> 
> I tried to reinstall, purge or another dist-upgrade but nothing changed. It
> seems to me that the last resort is to reinstall the whole system. What
> shall I do? 
> 
> I just want to make apt work normally and does not care about what dist I
> have to run now. 

The libreadline .deb you have is corrupt.  You could remove the
offending file from /var/cache/apt/archives and apt-get -f install.



Reply to: