apt-get purge libc6-dev-i386 want to remove important packages
Solution 1
After searching for some minutes, I found this answer inside Stack Overflow site.
So the solution for my problem is, just use install --reinstall [package-name]
argument when running apt-get
, it will just reinstall you desired package without purging and downloading it back, so here is full command that solved my problem :
sudo apt-get install --reinstall libc6-dev-i386
Solution 2
The package libc6-dev
is required to compile anything, and so most, if not all, development packages depend on that package. If you remove libc6-dev
, then those headers will get removed as well (along with some of the libraries themselves, if nothing else depends on those libraries and were automatically installed).
Removing and reinstalling this package probably won't help you in compiling 32-bit programs from a 64-bit Ubuntu, since this package is for compiling 64-bit programs. Instead, make sure that libc6-dev-i386
is installed. If you are still getting an error, create a new question and post the error message there.
Related videos on Youtube
Sachin Kumar
Updated on September 18, 2022Comments
-
Sachin Kumar over 1 year
Why is this code not changing the size of the figure plotted?
fig1, ax1 = plt.subplots(nrows=1, ncols=3) fig1.set_figheight = 30 fig1.set_figwidth = 30 x = np.array([1,2,3,4,5]) for i in range(3): ax1[i].plot(x, x**i)
[This is what I am getting][]1
Is there a way to make them bigger?
-
Mohd Shahril over 9 yearsHow about it want to remove nvidia's driver too?
-
saiarcot895 over 9 years
nvidia-331
depends onlibc6-dev
(and onlinux-libc-dev
; don't ask me why). You can view this information by typing inapt-cache depends nvidia-331
. -
Mohd Shahril over 9 yearsThank you very much for willing your time for me, and I already answered my question. :) Thank you for
apt-cache depends [package-name]
command, I never knew that. -
mchid over 9 yearsdid that solve your problem compiling?
-
Mohd Shahril over 9 yearsyes it's,
gcc
don't produce error anymore with-m32
argument after reinstalllibc6-dev-i386
using above method. -
mchid over 9 yearsYou can mark your own answer as the accepted answer by clicking the icon on the left.
-
Mohd Shahril over 9 years@mchid, actually I can't, system said only 2 days after posting I'm allowed to accept my own answer. By the way, thanks for the tip.
-
Dr.jacky almost 9 yearsThe following packages have unmet dependencies: libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.12) but 2.19-0ubuntu6 is to be installed Depends: libc-dev-bin (= 2.15-0ubuntu10.12) Recommends: gcc but it is not going to be installed or c-compiler E: Unable to correct problems, you have held broken packages.