Unable to Install package libc6-dev-i386

New to Debian (Or Linux in general)? Ask your questions here!

Unable to Install package libc6-dev-i386

Postby xc0d3r » 2018-09-19 13:32

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
xc0d3r
 
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

Postby arzgi » 2018-09-19 14:06

Welcome to the forums!

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

https://wiki.debian.org/Multiarch
arzgi
 
Posts: 389
Joined: 2008-02-21 17:03
Location: Finland

Re: Unable to Install package libc6-dev-i386

Postby xc0d3r » 2018-09-19 15:05

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

Postby xc0d3r » 2018-09-19 15:07

e.g dpkg --configure i386

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

same error. :?: :|
xc0d3r
 
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

Postby Ardouos » 2018-09-19 15:10

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

https://wiki.debian.org/Multiarch/HOWTO
User avatar
Ardouos
 
Posts: 1016
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: Unable to Install package libc6-dev-i386

Postby bw123 » 2018-09-19 16:30

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

User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Unable to Install package libc6-dev-i386

Postby xc0d3r » 2018-09-19 16:46

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:
xc0d3r
 
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

Postby GarryRicketson » 2018-09-19 17:03

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.
User avatar
GarryRicketson
 
Posts: 5193
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Unable to Install package libc6-dev-i386

Postby xc0d3r » 2018-09-19 17:37

: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

Postby xc0d3r » 2018-09-19 17:38

Is kinda FUN :lol:
xc0d3r
 
Posts: 9
Joined: 2018-09-19 13:20

Re: Unable to Install package libc6-dev-i386

Postby Wheelerof4te » 2018-09-19 18:58

^Backup your files and reinstall Stretch. Don't touch sources list beyond adding contrib and non-free repos.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Unable to Install package libc6-dev-i386

Postby GarryRicketson » 2018-09-19 19:11

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?f=20&t=114130#p539707
User avatar
GarryRicketson
 
Posts: 5193
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Unable to Install package libc6-dev-i386

Postby stevepusser » 2018-09-19 21:55

Technical term for state of the OP's system:

Image

Image
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.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10278
Joined: 2009-10-06 05:53

Re: Unable to Install package libc6-dev-i386

Postby xc0d3r » 2018-09-20 01:06

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

Postby xc0d3r » 2018-09-20 02:08

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

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable