[Çözüldü] g++ yüklenemiyor

Başlatan hasanyılmaz, 20 Haziran 2012 - 00:15:17

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

hasanyılmaz

g++ yüklemeye çalıştığımda aşağıdaki hatalar geliyor. Uçbirimden:

hassan@hassan-Lenovo-IdeaPad-Y550:~$ sudo apt-get install g++
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı inşa ediliyor.       
Durum bilgisi okunuyor... Bitti       
Bazı paketler kurulamadı. Bu, gerçekleştirilmesi mümkün olmayan bir işlemi uygulamaya
çalışmanızdan ya da gerekli bazı paketlerin henüz oluşturulmadığı kararsız bir dağıtım
kullanmanızdan kaynaklanabilir.
Aşağıdaki bilgi durumu çözmenize yardımcı olabilir:

[code]
Aşağıdaki paketler karşılanmamış bağımlılıklara sahip:
g++ : Bağımlılıklar: g++-4.6 (>= 4.6.2-2~) ama kurulmayacak
E: Sorunları düzeltilemiyor, bozuk paketleri tutuyorsunuz.


Yazılım merkezinden deneyince:

Aşağıdaki paketler karşılanmamış bağımlılıklara sahip:

g++: Depends: cpp (>= 4:4.6.2-2ubuntu1) ama 4:4.6.3-1ubuntu5 kurulacak
     Depends: gcc (>= 4:4.6.2-2ubuntu1) ama 4:4.6.3-1ubuntu5 kurulacak


Bazı konularda belli bir depo kaynaklı olduğu belirlenmiş. Bu yüzden kaynak çıktıları:


hassan@hassan-Lenovo-IdeaPad-Y550:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise main restricted
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-updates main restricted
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise universe
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise universe
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-updates universe
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise multiverse
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise multiverse
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-updates multiverse
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-backports main restricted universe multiverse

deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-security main restricted
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-security main restricted
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-security universe
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-security universe
deb http://russell.cs.bilgi.edu.tr/ubuntu/ precise-security multiverse
deb-src http://russell.cs.bilgi.edu.tr/ubuntu/ precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main


hassan@hassan-Lenovo-IdeaPad-Y550:~$ ls -a /etc/apt/sources.list.d/*.list
/etc/apt/sources.list.d/alexey-smirnov-deadbeef-precise.list
/etc/apt/sources.list.d/chromium-daily-stable-precise.list
/etc/apt/sources.list.d/cooperjona-nitrotasks-precise.list
/etc/apt/sources.list.d/diodon-team-stable-precise.list
/etc/apt/sources.list.d/emesene-team-emesene-stable-precise.list
/etc/apt/sources.list.d/hotot-team-ppa-precise.list
/etc/apt/sources.list.d/hydr0g3n-qbittorrent-unstable-precise.list
/etc/apt/sources.list.d/ikarosdev-unity-revamped-precise.list
/etc/apt/sources.list.d/motumedia-mplayer-daily-precise.list
/etc/apt/sources.list.d/nae-team-ppa-precise.list
/etc/apt/sources.list.d/nilarimogard-webupd8-precise.list
/etc/apt/sources.list.d/opera.list
/etc/apt/sources.list.d/otto-kesselgulasch-gimp-precise.list
/etc/apt/sources.list.d/pidgin-developers-ppa-precise.list
/etc/apt/sources.list.d/rvm-smplayer-precise.list
/etc/apt/sources.list.d/tualatrix-ppa-precise.list
/etc/apt/sources.list.d/ubuntu-langpack-ppa-precise.list
/etc/apt/sources.list.d/upubuntu-com-nvidia-precise.list
/etc/apt/sources.list.d/weather-indicator-team-ppa-precise.list
/etc/apt/sources.list.d/webupd8team-jupiter-precise.list
/etc/apt/sources.list.d/webupd8team-rhythmbox-precise.list


Yardımcı olursanız memnun olurum. C++ macerasına başlayabilelim.. :)

heartsmagic

apt-cache show cpp
apt-cache policy cpp
komutları ne diyor?
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

hasanyılmaz

Alıntı yapılan: heartsmagic - 20 Haziran 2012 - 01:11:58
apt-cache show cpp
apt-cache policy cpp
komutları ne diyor?

İlk komut:

hassan@hassan-Lenovo-IdeaPad-Y550:~$ apt-cache show cpp
Package: cpp
Status: install ok installed
Multi-Arch: allowed
Priority: optional
Section: interpreters
Installed-Size: 84
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: gcc-defaults (1.112ubuntu5)
Version: 4:4.6.3-1ubuntu5
Depends: cpp-4.6 (>= 4.6.3-1~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Description-en: GNU C preprocessor (cpp)
The GNU C preprocessor is a macro processor that is used automatically
by the GNU C compiler to transform programs before actual compilation.
.
This package has been separated from gcc for the benefit of those who
require the preprocessor but not the compiler.
.
This is a dependency package providing the default GNU C preprocessor.
Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>

Package: cpp
Priority: optional
Section: interpreters
Installed-Size: 83
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Architecture: amd64
Source: gcc-defaults (1.110ubuntu1)
Version: 4:4.6.2-2ubuntu1
Depends: cpp-4.6 (>= 4.6.2-2~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/cpp_4.6.2-2ubuntu1_amd64.deb
Size: 27980
MD5sum: ee0c1cefbe8933a9400e7a1434c494ad
SHA1: 97ee8022bb4359f7991bba95e2f6bee0609b15fe
SHA256: 543d65e4fe686035dcb3d027be8ad4668d2b9b7f702d5e4c7379d8e266e8244e
Description-en: GNU C preprocessor (cpp)
The GNU C preprocessor is a macro processor that is used automatically
by the GNU C compiler to transform programs before actual compilation.
.
This package has been separated from gcc for the benefit of those who
require the preprocessor but not the compiler.
.
This is a dependency package providing the default GNU C preprocessor.
Multi-Arch: allowed
Description-md5: aa450f6a454bdd6b0d8d9862a9240255
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Build-Essential: yes
Origin: Ubuntu
Supported: 18m
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-mobile-desktop, kubuntu-mobile, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop


İkinci komut:

hassan@hassan-Lenovo-IdeaPad-Y550:~$ apt-cache policy cpp
cpp:
  Kurulu: 4:4.6.3-1ubuntu5
  Aday:   4:4.6.3-1ubuntu5
  Sürüm tablosu:
*** 4:4.6.3-1ubuntu5 0
        100 /var/lib/dpkg/status
     4:4.6.2-2ubuntu1 0
        500 http://russell.cs.bilgi.edu.tr/ubuntu/ precise/main amd64 Packages

heartsmagic

bilgi.edu.tr yansısını değiştir, güncel değil gibi görünüyor. Ana sunucuyu veya benim gibi hollanda sunucularını seç. Daha sonra depoları günceller, kurmaya çalışırsın gcc'yi.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

hasanyılmaz

Aynen dediğin gibi başka bir sunucuya geçip güncelleme yaptıktan sonra yüklenebildi, teşekkürler..