Click to See Complete Forum and Search --> : dpkg problems . . . please help!


complication
10-29-2001, 12:42 AM
Some background info: I'm running Debian Potato. I had a pretty stable distro until I decided to change to unstable.

I have some conflicting errors with dpkg. It says it's an error code (1). It's a problem with xfonts. apt-get install, dselect, and dpkg --install will not do anything until i correct this.

When I check for problems by running "dpkg --audit" i get a return of this:

The following packages are only half installed, due to problems during installation. The installation can probably be completed by retrying it; the packages can be removed using dselect or dpkg --remove:
xfonts-a12k12
xfonts-arphic-bkai00mp
xfonts-arphic-bsmi001p
xfonts-arphic-gbsn001p
xfonts-arphic-gkai00mp
xfonts-baekmuk
xfonts-bitmap-mule
xfonts-cmex-big5p
xfonts-kaname
xfonts-marumoji
xfonts-naga10


When I go to remove them I get this error:

Removing xfonts-naga10 . . .
/var/lib/dpkg/info/xfonts-naga10.postrm: /usr/bin/X11/mkfontdir: No such file or directory
dpkg: error processing xfonts-naga10 (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
xfonts-a12k12
xfonts-arphic-bkai00mp
xfonts-arphic-bsmi001p
xfonts-arphic-gbsn001p
xfonts-arphic-gkai00mp
xfonts-baekmuk
xfonts-bitmap-mule
xfonts-cmex-big5p
xfonts-kaname
xfonts-marumoji
xfonts-naga10
E: Sub-process /usr/bin/dpkg returned an error code (1)


Does anyone know how I can fix this? Thanks for the help in advance.

complication
10-31-2001, 12:16 AM
anyone? please ........ :(?

Strike
10-31-2001, 12:43 AM
Well, something was apparently supposed to create that directory. You have two things you can try:

1) dpkg -S /usr/bin/X11/mkfontdir to see if anything you have installed provides (that is, should have created) this directory/file. If it does, reinstall that package (you must have manually removed it)
2) if that doesn't work, just create it yourself since it is probably just removing it anyway

[ 31 October 2001: Message edited by: Strike ]