Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I keep getting the following message:

Check if you are using third-party repositories. If so, disable them, because they are a common source of problems.
Furthermore, run the following command in a Terminal: apt-get install -f

I have no idea how to disable third-party repositories, or even that I had them. I also encounter the same problem every time I try sudo apt-get install -f:

dpkg: error processing /var/cache/apt/archives/libflite1_1.4-release-2_i386.deb (--unpack):
 corrupted filesystem tarfile - corrupted package archive
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libflite1_1.4-release-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question
    
Try this method here liberiangeek.net/2010/11/…. Are you using any additional PPA , try disabling it from update manager settings in Software source as here and run the command you mentioned in question. –  atenz Jun 26 '12 at 20:37
    
I think that tutorial is outdated. How do I access "System"? –  Louis Jun 26 '12 at 23:31
    
Try removing the corrupted package with sudo rm /var/cache/apt/archives/libflite1_1.4-release-2_i386.deb. –  mikewhatever Jun 27 '12 at 3:31
    
"System" ????, you can refer the Software sources in Answers screenshots , there in "software column" you can see third party repositories. –  atenz Jun 27 '12 at 5:35

2 Answers 2

This is normally due to an incomplete download or some sort of manipulation of the deb file without the proper tools. Removing the package and trying again would solve the issue:

sudo apt-get clean
sudo apt-get install -f
share|improve this answer

install ubuntu tweak to disable third party repos

sudo rm /var/cache/apt/archives/libflite1_1.4-release-2_i386.
sudo purge libflite1_1.4-release-2_i386
sudo apt clean && sudo auto-remove
share|improve this answer
    
Please give details on the Ubuntu tweak recommendation, and explain the commands. The first command looks unnecessary to me. Why would the OP need to purge libflite1, surely he wants it to be installed? –  Flimm Dec 4 '12 at 14:09

Your Answer

 
discard

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.