How to identify and fix broken packages

Kernels & Hardware, configuring network, installing services

How to identify and fix broken packages

Postby ckosloff » 2018-12-21 20:41

I messed up my system by loading files from another repo, I commented out that repo, but now dist-upgrade complains of broken packages.
I don't know how to fix, I could purge these packages and reinstall from official repo, if I knew which ones they are.
User avatar
ckosloff
 
Posts: 392
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: How to identify and fix broken packages

Postby GarryRicketson » 2018-12-21 20:49

Well, I am sure some other members will offer a better answer, eventually, but in the meantime, did you try this ? :
How to identify and fix broken packages on Debian

There also are quite a few topics here on this forum where people have done the same thing.
Here is 1 of the many results, it might be help full :https://raphaelhertzog.com/2011/02/21/debian-cleanup-tip-4-find-broken-packages-and-reinstall-them/
User avatar
GarryRicketson
 
Posts: 5239
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to identify and fix broken packages

Postby CwF » 2018-12-21 21:06

Both aptitude and synaptic can easily find the offending packages. In synaptic, custom filters button >highlight broken > those...
CwF
 
Posts: 193
Joined: 2018-06-20 15:16

Re: How to identify and fix broken packages

Postby stevepusser » 2018-12-21 21:29

Inquiring minds also want to know what repo and packages those were...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.13 kernel, wine-staging 4.0~rc4, Stellarium 0.18.3, VLC 3.0.5, Midori 7.0
User avatar
stevepusser
 
Posts: 10433
Joined: 2009-10-06 05:53

Re: How to identify and fix broken packages

Postby ckosloff » 2018-12-21 22:02

stevepusser wrote:Inquiring minds also want to know what repo and packages those were...

Sure, thank you very much for your help with flash, but after a dist-upgrade using your repo I got conflicts with my Debian stable system, maybe packages
in MX repo are newer versions.
The thing I miss the most is I lost integration between Dolphin and LibreOffice, right-click NEW no longer brought office files only text and HTML new files were possible to create.
Tried to install libreoffice-kde, which provides this integration, but unable.
Please dont take this to offense, I appreciate all you do for Debian Community.
User avatar
ckosloff
 
Posts: 392
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: How to identify and fix broken packages

Postby sunrat » 2018-12-21 23:56

You could just restore the backup you made before installing the broken packages.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2509
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: How to identify and fix broken packages

Postby llivv » 2018-12-22 03:31

This seems a bit unintuitive to me so I'll tread lightly

what happens when you enable the MX repo again.

does the package manager you use find the broken packages and fix the
brokenness after enabling MX than run the update command?

Steve will know better than I best practices when using MX
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5857
Joined: 2007-02-14 18:10
Location: cold storage

Re: How to identify and fix broken packages

Postby ckosloff » 2018-12-22 15:29

llivv wrote:Steve will know better than I best practices when using MX

I will wait for Steve's answer, then.
Thanks for answer.
I am very busy with other stuff, so it might take a while to test this stuff.
User avatar
ckosloff
 
Posts: 392
Joined: 2011-12-29 15:08
Location: South Florida, USA


Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable