Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

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

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

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

#1 Post by KoO »

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.
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
Adrian
Developer
Posts: 8230
Joined: Wed Jul 12, 2006 1:42 am

Re: How to tell what packages are broken..

#2 Post by Adrian »

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
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#3 Post by KoO »

@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.
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
dolphin_oracle
Developer
Posts: 19831
Joined: Sun Dec 16, 2007 1:17 pm

Re: How to tell what packages are broken..

#4 Post by dolphin_oracle »

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 X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Adrian
Developer
Posts: 8230
Joined: Wed Jul 12, 2006 1:42 am

Re: How to tell what packages are broken..

#5 Post by Adrian »

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
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#6 Post by KoO »

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
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#7 Post by KoO »

After installing with pip now all I get is
koo@antix:~➤ glances
zsh: command not found: glances
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
timkb4cq
Developer
Posts: 3179
Joined: Wed Jul 12, 2006 4:05 pm

Re: How to tell what packages are broken..

#8 Post by timkb4cq »

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?
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: How to tell what packages are broken..

#9 Post by KoO »

@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
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
anticapitalista
Developer
Posts: 4158
Joined: Sat Jul 15, 2006 10:40 am

Re: How to tell what packages are broken..

#10 Post by anticapitalista »

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 with runit - lean and mean.
https://antixlinux.com

Post Reply

Return to “antiX”