MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
app4soft
Posts: 247
Joined: Tue Mar 20, 2018 1:45 pm

MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#1 Post by app4soft »

When I try install "libx11-dev" apt return me next

Code: Select all

$ sudo apt-get install libx11-dev 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libx11-dev : Depends: libxcb1-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
UPD: I found what was wrong: recently upgraded "libxcb1" from 1.12-1 to 1.12-3 prevented install "libx11-dev". When "libxcb1" downgraded all seems work.

But there no propper notification why this issue happen, so need check "libxcb1" and "libx11-dev" in MX repos.
Last edited by app4soft on Tue Jan 15, 2019 10:44 am, edited 1 time in total.

philotux
Posts: 280
Joined: Sun Apr 22, 2018 12:57 pm

Re: MX-17.1: Could not install "libx11-dev"

#2 Post by philotux »

This might help:

Code: Select all

sudo apt install --fix-broken libx11-dev
If it doesn't, post the output from:

Code: Select all

inxi -Sr
for forum members to have an idea about your sources.

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#3 Post by Stevo »

libxcb1 1.12-3 is coming from the antiX repo, where it was updated for some unknown reason. But libx11-dev installs fine on MX 17/18, which enables the antiX repo by default, so you must have some issue with the antiX repo.

What does "inxi -r" show?

User avatar
app4soft
Posts: 247
Joined: Tue Mar 20, 2018 1:45 pm

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#4 Post by app4soft »

Stevo wrote: Tue Jan 15, 2019 3:26 pm libxcb1 1.12-3 is coming from the antiX repo
Thanks, I already fixed this issue by dwngrading libxcb1 by install MX repos.

antiX repos now disabled (for prevent such issues in the future).

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

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#5 Post by anticapitalista »

Out of interest, why do you need libx11-dev?

So we can perhaps fix the problem
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

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#6 Post by Stevo »

I can't reproduce the issue on standard MX with the antiX repos enabled--libx11-dev installs just fine. The OP had something else going on, which is why I requested "inxi -r" (no response, though).

There's nothing to fix, as far as I can tell.

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

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#7 Post by anticapitalista »

Stevo wrote: Thu Jan 17, 2019 6:31 pm I can't reproduce the issue on standard MX with the antiX repos enabled--libx11-dev installs just fine. The OP had something else going on, which is why I requested "inxi -r" (no response, though).

There's nothing to fix, as far as I can tell.
That's why I want the OP to reply.
OP is always asking for MX packagers to upgrade packages. (and I assume installs them)
Maybe this is why OP has an issue?
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

User avatar
app4soft
Posts: 247
Joined: Tue Mar 20, 2018 1:45 pm

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#8 Post by app4soft »

Stevo wrote: Thu Jan 17, 2019 6:31 pm I can't reproduce the issue on standard MX with the antiX repos enabled--libx11-dev installs just fine. The OP had something else going on, which is why I requested "inxi -r" (no response, though).

There's nothing to fix, as far as I can tell.
I installed MX using MX-17.1_November.iso

When I try install all dependency for AzPainter there was issue described in this topic. Not sure why I has "libx11-dev_1.12-3" installed on my system, but I found that I should downgrade it to 1.12-1 for fix issue. Then I decide also dissable antiX repos in Synaptic

Here is "inxi -r" output, but it is current state of repos.

Code: Select all

$ inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb http://mxrepo.com/mx/repo/ stretch main non-free
           2: deb http://mxrepo.com/mx/testrepo/ stretch test
           3: deb https://notesalexp.org/debian/stretch/ stretch main
           4: deb http://qgis.org/debian/ stretch main
           No active apt repos in: /etc/apt/sources.list.d/antix.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.ua.debian.org/debian/ stretch-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.ua.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates non-free contrib main
           3: deb http://www.deb-multimedia.org/ stretch main non-free
           4: deb http://deb.debian.org/debian/ stretch-backports main
           No active apt repos in: /etc/apt/sources.list.d/mx.list 
           No active apt repos in: /etc/apt/sources.list.d/various.list

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#9 Post by Stevo »

I build packages now as much as possible in isolated schroots using pbuilder and sbuild, so don't have to worry about those issues with azpainter, which will build on plain vanilla Stretch, so that's how I do it. Those kind of hassles are a thing of the past with those packaging tricks. :happy:

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

Re: MX-17.1: Could not install "libx11-dev" due to upgraded "libxcb1"

#10 Post by timkb4cq »

Code: Select all

3: deb http://www.deb-multimedia.org/ stretch main non-free
Leaving deb-multimedia enabled is notorious for creating dependency issues. We only include it in our package lists at all (disabled by default) for a few patent encumbered libraries like libdvdcss2
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

Post Reply

Return to “Bugs and Non-Package Requests Forum”