Jump to content

Problem - nie moge zainstalowac gcc


rudzi
 Share

Recommended Posts

Gdy wpisuje w konsoli:

 

apt-get install gcc

 

wyswietla mi komunikat:

 

Reading Package Lists... Done

Building Dependency Tree... Done

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.

 

Since you only requested a single operation it is extremely likely that

the package is simply not installable and a bug report against

that package should be filed.

The following information may help to resolve the situation:

 

The following packages have unmet dependencies:

gcc: Depends: cpp (= 3.2.2-5) but 3.3.2-1 is to be installed

E: Broken packages

 

Jakies sugestie? Prosze o pomoc ;-)

Link to comment
Share on other sites

Zaczalem grzebac i szukac - myslalem ze nie mam czegos doinstalowanego. Sami ocencie:

 

 

 

[root@localhost root]# rpm -ivh gcc

gcc3-3.0.4-1.i386.rpm gcc-3.3.3-3.i386.rpm

[root@localhost root]# rpm -ivh gcc-3.3.3-3.i386.rpm

warning: gcc-3.3.3-3.i386.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8

error: Failed dependencies:

binutils >= 2.14.90.0.4-4 is needed by gcc-3.3.3-3

cpp = 3.3.3-3 is needed by gcc-3.3.3-3

libgcc >= 3.3.3-3 is needed by gcc-3.3.3-3

[root@localhost root]# apt-get install libgcc

Reading Package Lists... Done

Building Dependency Tree... Done

libgcc is already the newest version.

0 packages upgraded, 0 newly installed, 0 removed and 0 not upgraded.

[root@localhost root]# apt-get install cpp

Reading Package Lists... Done

Building Dependency Tree... Done

cpp is already the newest version.

0 packages upgraded, 0 newly installed, 0 removed and 0 not upgraded.

[root@localhost root]# apt-get install binutils

Reading Package Lists... Done

Building Dependency Tree... Done

binutils is already the newest version.

0 packages upgraded, 0 newly installed, 0 removed and 0 not upgraded.

[root@localhost root]#

 

Pisze mi ze ze czegos nie mam(lub nie mam nowej wersjii) a przy uzyciu apt pisze ze mam w najnowszej wersji te pakiety. Ktos cos z tego rozumie? ;]

Link to comment
Share on other sites

Juz doszedlem o co chodzilo. Jednak jak czlowiek jest zmuszony, to jest to najlepszy bodziec do odkrycia rozwiazania problemu ;-) Wystarczylo poszukac najnowszych wersji pakietow o ktore "krzyczala" Fedora, i zainstalowac je uzywajac komendy:

 

rpm -Uhv nazwa_pakietu.rpm

 

czyli je upgrejdowac a nie instalowac "na chama" tak jak to robilem wczesniej ;-)

(rpm -ivh nazwa_pakietu.rpm)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...