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 haven't been able to update of late. The details are as follows:

installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%dpkg: unrecoverable fatal error, aborting:
 files list file for package 'dropbox' is missing final newline
Error in function: 

If I remove Dropbox, will I be able to update and subsequently reinstall Dropbox? I would note that none of the updates mention Dropbox, if that makes a difference.

I have checked the following question but was hesitant to follow the suggestions because I don't want an unintentional upgrade to 12.10:

Any help would be appreciated.

share|improve this question
    
Don't worry, to upgrade to 12.10 you would have to use a completely different command:do-release-upgrade –  carnendil Feb 28 '13 at 19:33
add comment

marked as duplicate by Eliah Kagan, Mik, Nathan Osman, Eric Carvalho, Basharat Sial Apr 11 '13 at 1:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

Instead of trying to uninstall dropbox I would try the following, one at a time

  1. sudo apt-get install -f
  2. Open Software sources find the dropbox lines under the Other Software tab and disable them. Then try sudo apt-get update.
  3. If this fails too, then try sudo apt-get install -f again with the dropbox ppa diabled.
share|improve this answer
add comment

I think you would be able to uninstall Dropbox (sudo apt-get remove dropbox from a terminal session) and reinstall easily.

Edit:

There is also some that suggest to remove the dropbox.list (assuming that is what the package is called) from /var/lib/dpkg/info/ and then do an apt-get update; apt-get remove dropbox.

Here's an article that I found on the Mint forums about this:

http://forums.linuxmint.com/viewtopic.php?t=109725&f=34

Here's another article with similar issue (error code 1) and it recommends several steps that appear to be safe as well:

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

share|improve this answer
    
I tried to uninstall Dropbox and received this: "5%E: Sub-process /usr/bin/dpkg returned an error code (2)" –  user136484 Feb 28 '13 at 18:13
    
And, by the way, my goal is to update. I'll give up Dropbox to get that done. –  user136484 Feb 28 '13 at 18:21
    
Mordoc, thanks. I read through the linux mint reference and removed the libopenal1:i386.list file as it said, but it didn't do any good, so I hope it doesn't hurt me later (anyway to get it back? or don't I need it? - more than a bit of a noob here). Then I followed the same suggested commands, but removed the dropbox.list file. I was able to update through terminal afterward-successfully as far as I can tell. –  user136484 Feb 28 '13 at 20:18
    
@user136484 If you are not sure if you will be needing a file later, instead of removing it, change its name: mv filename filename.old. That way, you can get it back later. –  carnendil Feb 28 '13 at 20:33
    
Thanks for the tip, carnendil. –  user136484 Feb 28 '13 at 20:47
add comment

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