LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2017, 07:50 AM   #1
Noobtopro
Member
 
Registered: Mar 2016
Posts: 41

Rep: Reputation: Disabled
Exclamation 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?
 
Old 04-01-2017, 09:08 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,195

Rep: Reputation: 164Reputation: 164
execute
dkpg -configure -a
 
Old 04-01-2017, 10:33 AM   #3
Noobtopro
Member
 
Registered: Mar 2016
Posts: 41

Original Poster
Rep: Reputation: Disabled
Thanks for reply! It gave me
Quote:
dpkg: error: unknown option -o
for additional information I run Linux mint 17
 
Old 04-01-2017, 10:48 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,195

Rep: Reputation: 164Reputation: 164
Have you used
-a
option and not
-o
?
 
Old 04-01-2017, 10:54 AM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by Noobtopro View Post
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...
 
Old 04-01-2017, 11:20 AM   #6
Noobtopro
Member
 
Registered: Mar 2016
Posts: 41

Original Poster
Rep: Reputation: Disabled
No I used "a" just tried again and even using sudo did not help
 
Old 04-01-2017, 11:27 AM   #7
Noobtopro
Member
 
Registered: Mar 2016
Posts: 41

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-01-2017, 12:09 PM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Hi...

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

Regards...
 
Old 04-01-2017, 12:17 PM   #9
Noobtopro
Member
 
Registered: Mar 2016
Posts: 41

Original Poster
Rep: Reputation: Disabled
Sure
 
Old 04-01-2017, 01:08 PM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
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.
 
Old 04-01-2017, 01:47 PM   #11
Noobtopro
Member
 
Registered: Mar 2016
Posts: 41

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
broken packages newmintuser Linux - Newbie 11 10-29-2014 09:23 PM
[SOLVED] Broken Packages gillsman Linux - Newbie 2 09-30-2014 05:13 PM
Broken Packages hraposo Ubuntu 1 08-23-2007 01:23 PM
Broken packages hraposo Debian 2 08-13-2006 02:55 PM
Broken packages mcnearcj Ubuntu 3 08-01-2006 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration