Installing GCC, but some packages will have to be removed

3 réponses [Dernière contribution]
fhp
fhp
Hors ligne
A rejoint: 07/20/2012

Hey, I am new in Trisquel.

I am using Trisquel version 5.5 standard edition. I need GCC for compiling software, but there is no GCC on trisquel 5.5. So I follow installation instructions from this topic.

when I typed this,

sudo aptitude install gcc

the output warn me:

The following NEW packages will be installed:
  binutils{a} gcc gcc-4.6{a} libc-dev-bin{a} libc6-dev{a} libquadmath0{a} 
  linux-libc-dev{a} manpages{a} manpages-dev{a} 
The following packages will be REMOVED:
  apt-clone{u} archdetect-deb{u} dpkg-repack{u} gir1.2-gstreamer-0.10{u} 
  gir1.2-timezonemap-1.0{u} libdebconfclient0{u} libdebian-installer4{u} 
  libtimezonemap1{u} python-argparse{u} python-pyicu{u} python-xklavier{u} 
  rdate{u} 
0 packages upgraded, 9 newly installed, 12 to remove and 112 not upgraded.
Need to get 18.3 MB of archives. After unpacking 50.3 MB will be used.
Do you want to continue? [Y/n/?] n

So I aborted the installation, because there are packages which have to be removed if I continued. I am afraid of destroying the system or missing some program.

Is there another "Safe" way to install GCC on trisquel?

DNS
DNS
Hors ligne
A rejoint: 10/18/2010

Hi :-)

did you try: sudo apt-get install gcc
or: sudo apt-get install gcc-4.6
?

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

It is a safe way to install GCC. The packages aptitude wants to remove are unnecessary dependencies (unless you are actually using these libraries for programming and, then you should explicitly install them).

sphynx
Hors ligne
A rejoint: 11/30/2011

Sorry for the delay on answering that; maybe your situation is now different, but did you notice there was 112 packages to upgrade in your system? Try "apt-get update", "apt-get upgrade", "apt-get autoremove" and then "apt-get install gcc".