dpkg: error processing netbeans5.5 (--remove) missing final newline on a package

Asked by jonathan

Trying to auto-remove netbeans5.5

dpkg: error processing netbeans5.5 (--remove):
 files list file for package `sun-java5-jre' is missing final newline

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for this question.

Try to execute the following command:

sudo dpkg --remove --force-all netbeans5.5

I hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

- Open a Terminal from the menu Applications->Accessories->Terminal

Useful Tip: to have the terminal window always on top please right click on the terminal window top title and select "Always on Top"

then type or better copy from here and paste into terminal the rows below:
copy and paste only one row a time then press enter.

sudo dpkg --clear-avail

(the system ask you a password: give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude upgrade
sudo apt-get autoremove

then if you want to reboot your system, type:

sudo reboot

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask jonathan for more information if necessary.

To post a message you must log in.