LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Broken packages (https://www.linuxquestions.org/questions/linux-software-2/broken-packages-4175602968/)

Noobtopro 04-01-2017 07:50 AM

Broken packages
 
I have some broken packages which I tried to fix with
Code:

sudo apt-get -f install
and it tries to install package called libopenthreads20 and got this as the output
Code:

Unpacking libopenthreads20:amd64 (3.2.3+dfsg1-2+openmw~trusty4) ...
dpkg: error processing archive /var/cache/apt/archives/libopenthreads20_3.2.3+dfsg1-2+openmw~trusty4_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenThreads.so.3.2.1', which is also in package libopenthreads14:amd64 3.2.3+dfsg1-2+openmw~trusty3
E: Sub-process /usr/bin/dpkg returned an error code (1)

What is the problem?

Keruskerfuerst 04-01-2017 09:08 AM

execute
dkpg -configure -a

Noobtopro 04-01-2017 10:33 AM

Thanks for reply! It gave me
Quote:

dpkg: error: unknown option -o
for additional information I run Linux mint 17

Keruskerfuerst 04-01-2017 10:48 AM

Have you used
-a
option and not
-o
?

ardvark71 04-01-2017 10:54 AM

Quote:

Originally Posted by Noobtopro (Post 5691254)
It gave me...

Hi...

The results you posted indicate you may have used "-o" rather than "-a" in the command that Keruskerfuerst suggested. You may also need to use the "sudo" prefix before the command, as mentioned here. :)

Regards...

Noobtopro 04-01-2017 11:20 AM

No I used "a" just tried again and even using sudo did not help

Noobtopro 04-01-2017 11:27 AM

Oh shit I'm stupid it's --configure not -configure but yeah doing
Quote:

sudo dpkg --configure -a
gave me output [QUOTE]
Quote:

dpkg: dependency problems prevent configuration of openmw-cs:
openmw-cs depends on libopenthreads20; however:
Package libopenthreads20:amd64 is not installed.

dpkg: error processing package openmw-cs (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libopenscenegraph-3.4-130:amd64:
libopenscenegraph-3.4-130:amd64 depends on libopenthreads20; however:
Package libopenthreads20:amd64 is not installed.

dpkg: error processing package libopenscenegraph-3.4-130:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmw:
openmw depends on libopenscenegraph-3.4-130; however:
Package libopenscenegraph-3.4-130:amd64 is not configured yet.
openmw depends on libopenthreads20; however:
Package libopenthreads20:amd64 is not installed.

dpkg: error processing package openmw (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmw-launcher:
openmw-launcher depends on openmw (>= 0.41.0-1+openmw~trusty5); however:
Package openmw is not configured yet.

dpkg: error processing package openmw-launcher (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openmw-cs
libopenscenegraph-3.4-130:amd64
openmw
openmw-launcher

ardvark71 04-01-2017 12:09 PM

Hi...

Please refrain from using profanity, in part because folks of all ages use this forum. Thanks! :)

Regards...

Noobtopro 04-01-2017 12:17 PM

Sure

hydrurga 04-01-2017 01:08 PM

Hi Noobtopro.

I think the first thing we should do is check your software sources (the list of repositories that you get your packages from).

Please paste the output from inxi -r (if you don't have inxi installed, do so with sudo apt-get install inxi).

Also, please let us know which distro (and version) you are running.

Many thanks.

Noobtopro 04-01-2017 01:47 PM

Thank you all for your replies. I fixed it by downloading libopenthreads20:i386 from software manager. Have no idea how it fixed that but that doesn't really matter at least not for me.


All times are GMT -5. The time now is 03:59 PM.