Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

How to tell what packages are broken..[Solved]

Message
Author
User avatar
KoO
Forum Regular
Forum Regular
Posts: 312
Joined: Fri Feb 10, 2017 1:21 am

How to tell what packages are broken..[Solved]

#1 Post by KoO » Sat Aug 11, 2018 10:53 pm

How to tell what packages are broken as tiring to install glances and synaptic can,t fix this..
Last edited by KoO on Tue Aug 14, 2018 4:46 pm, edited 1 time in total.
AntiX 17.2 (4.19.7) i3 ,Windows8.1 , Intel Xeon E3-1241 v3 , 16gb HyperX , Samsung EVO 860 500 GB , Samsung EVO 860 500 GB , GTX 970
Lenovo T430 AntiX17.2 (4.19.7) i3 ,MX17 ,Windows8.1 , i5 +4000 , 8gb , Samsung EVO 860 500 GB , 1TB HGST

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9156
Joined: Wed Jul 12, 2006 1:42 am

Re: How to tell what packages are broken..

#2 Post by Adrian » Sat Aug 11, 2018 11:07 pm

Start with:

Code: Select all

dpkg --configure -a
Then:

Code: Select all

apt-get -f install
Make sure you read the prompts and not remove anything you don't need to remove.

User avatar
KoO
Forum Regular
Forum Regular
Posts: 312
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#3 Post by KoO » Sun Aug 12, 2018 7:43 pm

@Adrian

As you can see from below not much happened after running your commands. Thanks for your time anyways..


antix# dpkg --configure -a
antix# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

If I try an install glances after the running the above commands still the same error.

The following packages have unmet dependencies:
glances : Depends: python3-psutil (>= 2.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
antix#

If i try to install python3-psutl

The following packages have unmet dependencies:
python3-psutil : Depends: python3 (< 3.6) but 3.6.6-1 is to be installed
E: Unable to correct problems, you have held broken packages.

I have glances install on my main desktop an everything runs just fine. Trying to install it on my T430 I just get the above everything is the same on both computers

https://github.com/nicolargo/glances I would do a pip install but their is no pip in the repository..
Last edited by KoO on Sun Aug 12, 2018 8:02 pm, edited 1 time in total.
AntiX 17.2 (4.19.7) i3 ,Windows8.1 , Intel Xeon E3-1241 v3 , 16gb HyperX , Samsung EVO 860 500 GB , Samsung EVO 860 500 GB , GTX 970
Lenovo T430 AntiX17.2 (4.19.7) i3 ,MX17 ,Windows8.1 , i5 +4000 , 8gb , Samsung EVO 860 500 GB , 1TB HGST

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9992
Joined: Sun Dec 16, 2007 1:17 pm

Re: How to tell what packages are broken..

#4 Post by dolphin_oracle » Sun Aug 12, 2018 7:48 pm

what I generally do is keep drilling down until I find the offending package. In this case

Code: Select all

apt-install python3-psutil
and note what depends won't be installed (pretty sure a depend since the python3-psutil in the repo meets the version requirement).

and so on and so forth.

For what its worth, I didn't get any package conflict here with just our stable repos, which possibly means a package from test repo or some third party is conflicting.
Last edited by dolphin_oracle on Sun Aug 12, 2018 7:51 pm, edited 1 time in total.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9156
Joined: Wed Jul 12, 2006 1:42 am

Re: How to tell what packages are broken..

#5 Post by Adrian » Sun Aug 12, 2018 7:49 pm

Ah, OK I understand now, it's not a broken package per se in your system the problem is in the repo. Maybe python3-psutil is < 2.0 You might ask packagers to re-package the program you want to install. Post a request in packaging request forum since it might need backporting.

User avatar
KoO
Forum Regular
Forum Regular
Posts: 312
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#6 Post by KoO » Sun Aug 12, 2018 8:32 pm

Sorry to waste you time. Thanks

I installed python-pip ,python-setuptools , python-wheel.


pip install glances
Collecting glances
Using cached https://files.pythonhosted.org/packages ... 1.1.tar.gz
Collecting psutil>=2.0.0 (from glances)
Using cached https://files.pythonhosted.org/packages ... 4.6.tar.gz
Building wheels for collected packages: glances, psutil
Running setup.py bdist_wheel for glances ... done
Stored in directory: /home/koo/.cache/pip/wheels/25/1e/90/5c14b840f7ba3c72f3bb78c8c8d47f96b5bd32e8e7773867fa
Running setup.py bdist_wheel for psutil ... done
Stored in directory: /home/koo/.cache/pip/wheels/0a/61/aa/a6f8545fc2a5d4402e303832ed2ea02b046396049bc5f34008
Successfully built glances psutil
Installing collected packages: psutil, glances
Successfully installed glances-2.11.1 psutil-5.4.6
AntiX 17.2 (4.19.7) i3 ,Windows8.1 , Intel Xeon E3-1241 v3 , 16gb HyperX , Samsung EVO 860 500 GB , Samsung EVO 860 500 GB , GTX 970
Lenovo T430 AntiX17.2 (4.19.7) i3 ,MX17 ,Windows8.1 , i5 +4000 , 8gb , Samsung EVO 860 500 GB , 1TB HGST

User avatar
KoO
Forum Regular
Forum Regular
Posts: 312
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#7 Post by KoO » Sun Aug 12, 2018 8:57 pm

After installing with pip now all I get is
koo@antix:~➤ glances
zsh: command not found: glances
AntiX 17.2 (4.19.7) i3 ,Windows8.1 , Intel Xeon E3-1241 v3 , 16gb HyperX , Samsung EVO 860 500 GB , Samsung EVO 860 500 GB , GTX 970
Lenovo T430 AntiX17.2 (4.19.7) i3 ,MX17 ,Windows8.1 , i5 +4000 , 8gb , Samsung EVO 860 500 GB , 1TB HGST

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4475
Joined: Wed Jul 12, 2006 4:05 pm

Re: How to tell what packages are broken..

#8 Post by timkb4cq » Sun Aug 12, 2018 9:07 pm

Your main problem seems to be that you have python3 from debian sid installed, but were trying to install glances from a different repo.
Did you update python and then disable the sid repo?
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
KoO
Forum Regular
Forum Regular
Posts: 312
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#9 Post by KoO » Mon Aug 13, 2018 4:17 am

@timkq4cq

Yes you are right I found python 3.6.6.1 which is an unstable but can't even remove it as I still have broken packages. Too many versions and too many repository's just because I like to use i3 and not your normal run of the mill desktops, I suppose I pay the price. I have no idea how this happened maybe it came down with i3 I bloody know. But if I can't have i3 running on AntiX, antix is the wrong system for me. Thanks everyone for your help anyways
AntiX 17.2 (4.19.7) i3 ,Windows8.1 , Intel Xeon E3-1241 v3 , 16gb HyperX , Samsung EVO 860 500 GB , Samsung EVO 860 500 GB , GTX 970
Lenovo T430 AntiX17.2 (4.19.7) i3 ,MX17 ,Windows8.1 , i5 +4000 , 8gb , Samsung EVO 860 500 GB , 1TB HGST

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 5820
Joined: Sat Jul 15, 2006 10:40 am

Re: How to tell what packages are broken..

#10 Post by anticapitalista » Mon Aug 13, 2018 9:04 am

i3 works fine on antiX using default stable repos. Post your repo list (inxi -r)
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-17 "Heather Heyer" - lean and mean.
https://antixlinux.com

Post Reply

Return to “antiX”