Dependency Issues

Hi All,

I have the 4.3 ppa installed and it's completely broken my package manager. Pastebin link: http://pastebin.com/YLcZsUJT

I can't even purge, I get this error: http://pastebin.com/tsG5d7w2

Real nightmare as I can't install anything as I get errors. Synaptic is no solution.

Ubuntu 12.04 (actually Bodhi but it's built on 12.04)

Advice appreciated.

Best,
Joel

Hi Joel,

Uh, I'd really need to be sitting at the keyboard to get a real handle
on this, but looking at your second image, have you tried "apt-get -f
install" as it suggests?

Or maybe try removing package "libreoffice-report-builder-bin" first,
see what errors that gives?

Looking at the first image, it does seem to suggest that something is
broken in the libreoffice package, but assuming that it can't be
anything major as it would have been picked up by now, maybe it only
comes into play in the specific state your machine is in. So maybe try
removing everything libreoffice (as you have tried, but assuming the
above suggestions work), then try re-installing from scratch.

Can't suggest anything else myself, maybe others have more info on the
error. Or maybe if you've tried the suggestions above, you'll get new
error messages you can post, that might shed more light.

Paul

Hi Joel,

Uh, I'd really need to be sitting at the keyboard to get a real handle
on this, but looking at your second image, have you tried "apt-get -f
install" as it suggests?

This was the first pastebin - results in errors :-/

Or maybe try removing package "libreoffice-report-builder-bin" first,
see what errors that gives?

Package doesn't even exist. But also can't "reinstall" libreoffice (but I can run libreoffice fine....)

Looking at the first image, it does seem to suggest that something is
broken in the libreoffice package, but assuming that it can't be
anything major as it would have been picked up by now, maybe it only
comes into play in the specific state your machine is in. So maybe try
removing everything libreoffice (as you have tried, but assuming the
above suggestions work), then try re-installing from scratch.

Can't - I'd have to reinstall my entire distro :frowning:

Best,
Joel

Hey Tom,

Hi :slight_smile:
Yeh, you don't need to reinstall your entire distro. It takes a bit of wriggling but you can wriggle out of it.

Even if you do give up and reinstall a *buntu then you might be pleasantly surprised. Just DON'T reformat the partition with your /home (even if that's your / partition). That way *buntu attempts to reinstall all the same programs you had before.

I do this at least once a month :wink: So not a huge big deal but I have some custom setups that need redone every time (never have made an iso of my root partition) including my exports, fstab, samba, printers, etc.... so it's not super easy and I just started second year of law school so time is stretched real thin :wink:

Best,
Joel

Hi Joel,

Sorry, I thought the first pastebin was the first thing you tried,
followed by the second. Given that the second recommends the first,
have you tried both more than once, and they both repeatedly give the
same errors? Have you tried running apt-get check ?

The problem seems to be coming from a conflict between libreoffice-base
and libreoffice-common, so you could try playing with removing or
reinstalling them in different orders.

Or, as the conflicting file seems to be
"/usr/lib/libreoffice/share/basic/script.xlc" you could try manually
deleting that file, or maybe renaming it first. I don't know what's in
that file, so I don't know how important it is. Also, I assume you
don't have any libreoffice processes running, that might be blocking
access to that file? I know there used to be a quickstarter that ran
as a service on Windows, but I'm not sure if that exists anymore...

Paul

Hi Joel,

Sorry, I thought the first pastebin was the first thing you tried,
followed by the second. Given that the second recommends the first,
have you tried both more than once, and they both repeatedly give the
same errors? Have you tried running apt-get check ?

The problem seems to be coming from a conflict between libreoffice-base
and libreoffice-common, so you could try playing with removing or
reinstalling them in different orders.

It won't allow me to reinstall or purge the package. Beginning to get pretty irritated :frowning: Probably going to reinstall distro as I currently can't do anything in terms of upgrades or installs.

Best,
Joel

Hi :slight_smile:
Yeh, you don't need to reinstall your entire distro. It takes a bit of
wriggling but you can wriggle out of it.

Even if you do give up and reinstall a *buntu then you might be pleasantly
surprised. Just DON'T reformat the partition with your /home (even if
that's your / partition). That way *buntu attempts to reinstall all the
same programs you had before.
Regards from
Tom :slight_smile:

Hi :slight_smile:
Ahh, i had that with a different package, also from a PPA. Try editing the
sources.list to remove the PPA.

There is a way to do this from the command-line but i think you would need
to install the purge-ppa (or something) package first, which you can't do.

So, best way is to open Synaptic and click on
Settings - Repos
and untick the PPA.

If you really must stay on the command-line then maybe

sudo cp /etc/apt/sources.list /etc/apt/sources.list-2014-08-20
sudo vi /etc/apt/sources.list

(in vi you need to press i to make it let you edit. When done press Esc
and then
:w
:q
the colons show vi that you are issuing commands). The cp command is just
to make a back-up and i tend to stick the date in reverse order at the end
to help me sort out my back-ups.

Whichever way you edit the sources.list you will need to update the list of
repos by doing something like

sudo apt-get update

THEN it should be possible to use that -f tag
Good luck and regards from
Tom :slight_smile:

jmadero wrote

I have the 4.3 ppa installed and it's completely broken my package
manager. Pastebin link: http://pastebin.com/YLcZsUJT

I can't even purge, I get this error: http://pastebin.com/tsG5d7w2

Ubuntu appears to have broken a maintenance script. I think this is the same
issue as reported here:

http://ask.libreoffice.org/en/question/38486/

Full solution over on AskUbuntu:

http://askubuntu.com/questions/512162/

Hi :slight_smile:
It looks like the solved thread is this one
http://askubuntu.com/questions/512162/libreoffice-base-not-configured-yet

The other gives 1 answer and no further feedback. When that 1 things was
tried in the AskUbuntu forum it didn't solve the problem. I could be
reading the threads wrong though and anyway ymmv. Good links though as
they did seem to solve the problem.
Regards from
Tom :slight_smile: