LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 06: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, 08:08 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
execute
dkpg -configure -a
 
Old 04-01-2017, 09: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, 09:48 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

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

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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, 10: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, 10: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, 11:09 AM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

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

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

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

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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, 12: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



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 08:23 PM
[SOLVED] Broken Packages gillsman Linux - Newbie 2 09-30-2014 04:13 PM
Broken Packages hraposo Ubuntu 1 08-23-2007 12:23 PM
Broken packages hraposo Debian 2 08-13-2006 01:55 PM
Broken packages mcnearcj Ubuntu 3 08-01-2006 01:56 PM

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

All times are GMT -5. The time now is 08:51 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
Open Source Consulting | Domain Registration