Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After upgrading Ubuntu from 11.04 to 11.10 (32bits) I'm having trouble with ATFTPD:

Anytime I'm starting atftpd I'm getting this error:

/etc/default/atftpd: 2: Syntax error: Unterminated quoted string

Anytime I'm trying to install/remove any package (apt-get or Ubuntu Software Center) I'm getting this error:

Setting up atftpd (0.7.dfsg-10) ...

/etc/default/atftpd: 2: Syntax error: Unterminated quoted string

dpkg: error processing atftpd (--configure):

subprocess installed post-installation script returned error exit status 2

Errors were encountered while processing:


E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas? Thanks!!

share|improve this question

First try

sudo apt-get install -f

If that fails, try to remove the package

sudo dpkg --remove --force-all atftpd

If that fails, manually remove

cd /var/lib/dpkg/info
sudo rm -f atftpd.*


sudo dpkg --remove --force-remove-reinstreq atftpd
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.