I'm trying to install GCC 4.7.2 from Wheezy on Jessie but it fails with unmet dependencies
apt-get install gcc-4.7/wheezy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '4.7.2-5' (Debian:7.11/oldstable [i386]) for 'gcc-4.7'
Selected version '4.7.2-5' (Debian:7.11/oldstable [i386]) for 'cpp-4.7' because of 'gcc-4.7'
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:
gcc-4.7 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
Depends: cpp-4.7 (= 4.7.2-5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And when I try to install gcc-4.7-base the output is:
apt-get install gcc-4.7-base/wheezy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '4.7.2-5' (Debian:7.11/oldstable [i386]) for 'gcc-4.7-base'
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:
gcc-6-base : Breaks: gcc-4.7-base (< 4.7.3) but 4.7.2-5 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Uname:
uname -a
Linux 4.5.0-2-686-pae #1 SMP Debian 4.5.5-1 (2016-05-29) i686 GNU/Linux
Is there a way to install GCC 4.7.2? Thanks in advance.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 275
تاريخ: سه
شنبه
25 خرداد
1395 ساعت: 14:25