Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to Install package libc6-dev-i386

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Unable to Install package libc6-dev-i386

#1 Post by xc0d3r »

I am running Debian 9 (stretch) amd64. I tried to run a program that relies on libc6-dev-i386 to work, but I was unable to install the package using this command:

apt-get install libc6-dev-i386

I get this error:

The following packages have unmet dependencies:

libc6-dev-i386 : Depends: libc6-i386 (= 2.24-11+deb9u3) but it is not going to be installed
Depends: libc6-dev (= 2.24-11+deb9u3) but 2.27-6 is to be installed
Recommends: gcc-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I try to downgrade the libc6-i386 but wasnt sucessfull
Reading database ... 274743 files and directories currently installed.)
Preparing to unpack libc6-i386_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-i386 (2.24-11+deb9u3) over (2.24-11+deb9u3) ...
Replaced by files in installed package libc6:i386 (2.27-6) ...
dpkg: dependency problems prevent configuration of libc6-i386:
libc6-i386 depends on libc6 (= 2.24-11+deb9u3); however:
Version of libc6:amd64 on system is 2.27-6.

dpkg: error processing package libc6-i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-5) ...
Errors were encountered while processing:
libc6-i386

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Unable to Install package libc6-dev-i386

#2 Post by arzgi »

Welcome to the forums!

To enable packages from other architecture, you have to enable multiarch support.

https://wiki.debian.org/Multiarch

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#3 Post by xc0d3r »

thanks

not compleatly clear which is the way to active multi-arch, so in my case what would need to do?

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#4 Post by xc0d3r »

e.g dpkg --configure i386

then, sudo apt-get install libc6-dev-i386

same error. :?: :|

User avatar
Ardouos
Posts: 1075
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: Unable to Install package libc6-dev-i386

#5 Post by Ardouos »

This is slightly warmer, it literally gives you an example.

https://wiki.debian.org/Multiarch/HOWTO
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Unable to Install package libc6-dev-i386

#6 Post by bw123 »

xc0d3r wrote:I am running Debian 9 (stretch) amd64.
<snip>
libc6-dev-i386 : Depends: libc6-i386 (= 2.24-11+deb9u3) but it is not going to be installed
Depends: libc6-dev (= 2.24-11+deb9u3) but 2.27-6 is to be installed
Recommends: gcc-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
If you are running stretch, why is https://packages.debian.org/search?keywords=libc6-dev pkg from testing marked for installation?

should see something sort of like this on a stretch system:

Code: Select all

$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://http.us.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin http.us.debian.org
 500 http://http.us.debian.org/debian stretch/main amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin http.us.debian.org
Pinned packages:

$ apt policy  libc6-dev 
libc6-dev:
  Installed: (none)
  Candidate: 2.24-11+deb9u3
  Version table:
     2.24-11+deb9u3 500
        500 http://http.us.debian.org/debian stretch/main amd64 Packages
     2.24-11+deb9u1 500
        500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
$ apt policy  libc6
libc6:
  Installed: 2.24-11+deb9u3
  Candidate: 2.24-11+deb9u3
  Version table:
 *** 2.24-11+deb9u3 500
        500 http://http.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     2.24-11+deb9u1 500
        500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages

resigned by AI ChatGPT

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#7 Post by xc0d3r »

I post the apt policy for better comprehension

Package files:
100 /var/lib/dpkg/status
release a=now
900 http://deb.whonix.org stretch/main i386 Packages
release o=whonix,n=stretch,l=Whonix,c=main,b=i386
origin deb.whonix.org
900 http://deb.whonix.org stretch/main amd64 Packages
release o=whonix,n=stretch,l=Whonix,c=main,b=amd64
origin deb.whonix.org
500 http://ppa.launchpad.net/webupd8team/java/ubuntu cosmic/main i386 Packages
release v=18.10,o=LP-PPA-webupd8team-java,a=cosmic,n=cosmic,l=Oracle Java (JDK) 8 / 9 Installer PPA,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/webupd8team/java/ubuntu cosmic/main amd64 Packages
release v=18.10,o=LP-PPA-webupd8team-java,a=cosmic,n=cosmic,l=Oracle Java (JDK) 8 / 9 Installer PPA,c=main,b=amd64
origin ppa.launchpad.net
500 http://ppa.launchpad.net/teejee2008/ppa/ubuntu cosmic/main i386 Packages
release v=18.10,o=LP-PPA-teejee2008,a=cosmic,n=cosmic,l=Development,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/teejee2008/ppa/ubuntu cosmic/main amd64 Packages
release v=18.10,o=LP-PPA-teejee2008,a=cosmic,n=cosmic,l=Development,c=main,b=amd64
origin ppa.launchpad.net
900 https://packages.sury.org/php stretch/main i386 Packages
release n=stretch,c=main,b=i386
origin packages.sury.org
900 https://packages.sury.org/php stretch/main amd64 Packages
release n=stretch,c=main,b=amd64
origin packages.sury.org
900 http://repo.mysql.com/apt/debian stretch/mysql-tools i386 Packages
release o=MySQL,n=stretch,l=MySQL,c=mysql-tools,b=i386
origin repo.mysql.com
900 http://repo.mysql.com/apt/debian stretch/mysql-tools amd64 Packages
release o=MySQL,n=stretch,l=MySQL,c=mysql-tools,b=amd64
origin repo.mysql.com
900 http://repo.mysql.com/apt/debian stretch/mysql-5.7 i386 Packages
release o=MySQL,n=stretch,l=MySQL,c=mysql-5.7,b=i386
origin repo.mysql.com
900 http://repo.mysql.com/apt/debian stretch/mysql-5.7 amd64 Packages
release o=MySQL,n=stretch,l=MySQL,c=mysql-5.7,b=amd64
origin repo.mysql.com
900 http://repo.mysql.com/apt/debian stretch/mysql-apt-config i386 Packages
release o=MySQL,n=stretch,l=MySQL,c=mysql-apt-config,b=i386
origin repo.mysql.com
900 http://repo.mysql.com/apt/debian stretch/mysql-apt-config amd64 Packages
release o=MySQL,n=stretch,l=MySQL,c=mysql-apt-config,b=amd64
origin repo.mysql.com
500 http://ppa.launchpad.net/webupd8team/java/ubuntu trusty/main i386 Packages
release v=14.04,o=LP-PPA-webupd8team-java,a=trusty,n=trusty,l=Oracle Java (JDK) 8 / 9 Installer PPA,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/webupd8team/java/ubuntu trusty/main amd64 Packages
release v=14.04,o=LP-PPA-webupd8team-java,a=trusty,n=trusty,l=Oracle Java (JDK) 8 / 9 Installer PPA,c=main,b=amd64
origin ppa.launchpad.net
100 http://security.debian.org jessie/updates/non-free i386 Packages
release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=non-free,b=i386
origin security.debian.org
100 http://security.debian.org jessie/updates/non-free amd64 Packages
release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
100 http://security.debian.org jessie/updates/contrib i386 Packages
release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=contrib,b=i386
origin security.debian.org
100 http://security.debian.org jessie/updates/contrib amd64 Packages
release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
100 http://security.debian.org jessie/updates/main i386 Packages
release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=main,b=i386
origin security.debian.org
100 http://security.debian.org jessie/updates/main amd64 Packages
release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=main,b=amd64
origin security.debian.org
100 http://ftp.debian.org/debian jessie/non-free i386 Packages
release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=non-free,b=i386
origin ftp.debian.org
100 http://ftp.debian.org/debian jessie/non-free amd64 Packages
release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=non-free,b=amd64
origin ftp.debian.org
100 http://ftp.debian.org/debian jessie/contrib i386 Packages
release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib,b=i386
origin ftp.debian.org
100 http://ftp.debian.org/debian jessie/contrib amd64 Packages
release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib,b=amd64
origin ftp.debian.org
100 http://ftp.debian.org/debian jessie/main i386 Packages
release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=main,b=i386
origin ftp.debian.org
100 http://ftp.debian.org/debian jessie/main amd64 Packages
release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=main,b=amd64
origin ftp.debian.org
500 http://ftp.us.debian.org/debian stretch-updates/main i386 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=i386
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin ftp.us.debian.org
900 http://security.debian.org/debian-security stretch/updates/contrib i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=i386
origin security.debian.org
900 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
900 http://security.debian.org/debian-security stretch/updates/main i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=i386
origin security.debian.org
900 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
900 http://ftp.debian.org/debian stable/non-free i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=i386
origin ftp.debian.org
900 http://ftp.debian.org/debian stable/non-free amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
origin ftp.debian.org
900 http://ftp.debian.org/debian stable/contrib i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=i386
origin ftp.debian.org
900 http://ftp.debian.org/debian stable/contrib amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
origin ftp.debian.org
900 http://ftp.debian.org/debian stable/main i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386
origin ftp.debian.org
900 http://ftp.debian.org/debian stable/main amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin ftp.debian.org
900 http://ftp.us.debian.org/debian stretch/main i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386
origin ftp.us.debian.org
900 http://ftp.us.debian.org/debian stretch/main amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin ftp.us.debian.org
Pinned packages:

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Unable to Install package libc6-dev-i386

#8 Post by GarryRicketson »

Postby xc0d3r » 2018-09-19 07:32

I am running Debian 9 (stretch) amd64.
I hate to say this, but no you are not running Debian any more :

Code: Select all

--snip--500 http://ppa.launchpad.net/webupd8team/java/ubuntu cosmic/main i386 Packages
release v=18.10,o=LP-PPA-webupd8team-java,a=cosmic,n=cosmic,l=Oracle Java (JDK) 8 / 9 Installer PPA,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/webupd8team/java/ubuntu cosmic/main amd64 Packages
release v=18.10,o=LP-PPA-webupd8team-java,a=cosmic,n=cosmic,l=Oracle Java (JDK) 8 / 9 Installer PPA,c=main,b=amd64 
And that does not include the "whonix", etc,... what a mess...
What you have is not Debian , it is know as a FrankenDebian
https://wiki.debian.org/DontBreakDebian
Repositories that can create a FrankenDebian if used with Debian Stable:

Debian testing release (currently buster)
Debian unstable release (also known as sid)
Ubuntu, Mint or other derivative repositories are not compatible with Debian!
Ubuntu PPAs
Have fun and good luck.

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#9 Post by xc0d3r »

:cry: :cry:

so what should I do now?

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#10 Post by xc0d3r »

Is kinda FUN :lol:

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Unable to Install package libc6-dev-i386

#11 Post by Wheelerof4te »

^Backup your files and reinstall Stretch. Don't touch sources list beyond adding contrib and non-free repos.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Unable to Install package libc6-dev-i386

#12 Post by GarryRicketson »

I suggest asking them at the "whonix" forum, or maybe Ubuntu forums, since what you have is not Debian.
Perhaps some general Linux forum.


You could install the current stable version of Debian , Stretch.
Then , if you must use "multi-arch":
Follow these suggestions,
Post by arzgi » 2018-09-19 08:06

Welcome to the forums!

To enable packages from other architecture, you have to enable multiarch support.

https://wiki.debian.org/Multiarch
=====================
Post by Ardouos » 2018-09-19 09:10

This is slightly warmer, it literally gives you an example.

https://wiki.debian.org/Multiarch/HOWTO
=========
Don't install anything else from other Distros, and ONLY use Debian Stretch,
I noticed you have packages from Debian Jessie mixed in as well, ...
You might enjoy reading this, : http://forums.debian.net/viewtopic.php? ... 30#p539707

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Unable to Install package libc6-dev-i386

#13 Post by stevepusser »

Technical term for state of the OP's system:

Image

Image
MX Linux packager and developer

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#14 Post by xc0d3r »

stevepusser wrote:Technical term for state of the OP's system:

Image

Image
LMAO :lol:

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#15 Post by xc0d3r »

ok, last chance to tried..after uninstall my o.s. I fallow these instructions from here: https://gist.github.com/christianbundy/ ... 8ab9e53828

and debian seems to be better and less monstrouss :mrgreen:

I paste the apt policy again and now looks better:
ackage files:
100 /var/lib/dpkg/status
release a=now
500 http://deb.debian.org/debian stretch-updates/main i386 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian stretch/main i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian stretch/main amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:

so i tried to install the libc6-dev-i386 using synaptic, aad as you see same happens:
Image

xc0d3r
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

#16 Post by xc0d3r »

Problem SOLVED I install de .deb package by downloading from the debian site, then I force it to install it.

thanks for the suport guys.. PEACE

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: Unable to Install package libc6-dev-i386

#17 Post by sunrat »

That Github page is a very optimistic way to fix Frankendebian. From the error message, you still have remnants of testing/sid. The only 100% reliable way to get back to stable is to reinstall from scratch.
“ 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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Unable to Install package libc6-dev-i386

#18 Post by stevepusser »

Yes, the "blah blah is to be installed" is somewhat misleading, since it really means that newer version is already installed. The libc6 package is actually interconnected with a bunch of other newer Debian testing packages that were upgraded at the same time, so just forcing in one deb is unlikely to have managed the full downgrade. Using the "origin" feature in the Synaptic package manager might show you what else you still have installed from upstream Debian.
MX Linux packager and developer

Post Reply