View Single Post
Posts: 540 | Thanked: 387 times | Joined on May 2009
#9
The GUI front-end HAM has no idea how to process errors.

I doubt you'll need to re-flash however it would be EASIER.

$ sudo apt-get -f install
That probably won't fix the problem but at least it SHOULD indicate which packages are causing trouble.

If it asks you:
Code:
Remove (y/n)?
just type y and enter.
That should hopefully fix any dependency errors.

Please note: helloworld is nothing more than a sample/example package name and a place-holder for *insert name here*

If it asks you:
Code:
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?
Then DO NOT type that in, you are nearly guaranteed to bork your install.

If it says:
Code:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential: Depends: helloworld (>= 1.0.0) but it is not going to be installed
E: Broken packages
Then you are in for a world of hurt. You can either re-flash or attempt the following.

<*insert standard THIS IS FOR ADVANCED USERS ONLY - it may brick your device, kidnap your dog, or crash your car...*>
Method 1: Ignore Method
Remove the line listing the dependency in /var/lib/dpkg/status
via http://ubuntuforums.org/showthread.php?t=187293

---------------------------

If you have the error:
Code:
Building dependency tree... Done
E: The package helloworld needs to be reinstalled, but I can't find an archive for it.
Method 1: Built-in script method(never works)
Code:
$ sudo dpkg --remove --force-remove-reinstreq helloworld
Method 2: Remove method (works)
Code:
$ sudo mv /var/lib/dpkg/info/helloworld.* /dev/null/
Post the errors the CLI utilities give and a more precise assessment can be made. This of course assumes that you are experiencing "dependency hell" - if it's something else such as a corrupt Hildon Application Manager, well then that's another issue altogether.
 

The Following 2 Users Say Thank You to linuxeventually For This Useful Post: