Missing final newline errors abound... can't fix broken package(s)

Asked by ahhhhhz

I see this all the time. No packages will install. I can't access anything from my desktop. Package Manager won't fix any broken packages. I have a Crash report detected at the top of my screen. When I use terminal to try and fix them, I put in my password and it asks me if I'm "root" to which i have no command to reply since I am not. It's one set of failures after another. Please help.

this keeps on appearing, among other things.
files list file for package `nautilus-data' 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
ahhhhhz (riyaazs) said :
#1

I am using Ubuntu 8.04

Revision history for this message
ahhhhhz (riyaazs) said :
#2

and when I attempt to fix the Broken package...it says:

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Revision history for this message
karl michael (karlzt) said :
#3

use aptitude:

sudo aptitude

Revision history for this message
ahhhhhz (riyaazs) said :
#4

thanks, but then what do i do? it's really my third day using this linux.

Revision history for this message
karl michael (karlzt) said :
#5

press g and "yes"

Revision history for this message
karl michael (karlzt) said :
#6

press g

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

- 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 ahhhhhz for more information if necessary.

To post a message you must log in.