[+] build-essential i niespe

Tematy związane z oprogramowaniem, instalacją, konfiguracją
S4th3N
Posty: 19
Rejestracja: 29 marca 2009, 21:43

[+] build-essential i niespełnione zaleŻności

Post autor: S4th3N »

Witam. Mam taki problem:

Kod: Zaznacz cały

Andrew-Laptop:/home/andrew# apt-get install build-essential
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Nie udało się zainstalować niektórych pakietów. Może to oznaczać,
że zażądano niemożliwej sytuacji lub używasz dystrybucji niestabilnej,
w której niektóre pakiety nie zostały jeszcze utworzone lub przeniesione
z katalogu Incoming ("Przychodzące").
Następujące informacje mogą pomóc rozwiązać sytuację:

Następujące pakiety mają niespełnione zależności:
  build-essential: Wymaga: libc6-dev ale nie zostanie zainstalowany lub
                           libc-dev
                   Wymaga: g++ (>= 4:4.3.1) ale nie zostanie zainstalowany
E: Pakiety są uszkodzone
Andrew-Laptop:/home/andrew# 
z góry dziękuje wszystkim za odpowiedzi.
ponton
Beginner
Posty: 406
Rejestracja: 24 stycznia 2007, 01:40
Lokalizacja: Kalisz/Wroc³aw

Post autor: ponton »

No i? Co Ci się udało wymyślić? Co próbowałeś? Gdzie szukałeś odpowiedzi?
ArnVaker

Post autor: ArnVaker »

No tak, wszystko jasne :mrgreen: .
Zmień serwery na inne, przeładuj listę pakietów i spróbuj jeszcze raz.
S4th3N
Posty: 19
Rejestracja: 29 marca 2009, 21:43

Post autor: S4th3N »

Przepraszam ale ja nie jestem nie wiadomo jak zaawansowany w Linuksie (co chyba już zdążyliście zauważyć) więc mógłby ktoś mi podać jak to zrobić?
Próbowałem jeszcze przed próbą instalacji tego użyć komendy:

Kod: Zaznacz cały

apt-get update
ale i tak jest to samo.
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

Mamy coś takiego jak dział dla początkujących. Zapoznaj się z informacjami w nim, dopiero później opisz dokładnie problem.
S4th3N
Posty: 19
Rejestracja: 29 marca 2009, 21:43

Post autor: S4th3N »

Mój problem jest taki że próbuje zainstalować ten pakiet build-essetial i wypluwa mi coś takiego jak przedstawiłem w pierwszym poście.
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

Upartyś kolego :) . Pytania na które potrzebne są odpowiedzi:
  1. Rodzaj i wersja systemu operacyjnego
    Zawartość pliku /etc/apt/sources.list
    Okoliczności w jakich doszło do problemu (zmieniałem płytę główną, zainstalowałem program, aktualizowałem system, zmarł mi kot)
S4th3N
Posty: 19
Rejestracja: 29 marca 2009, 21:43

Post autor: S4th3N »

Poniżej zamieszczam treść pliku /etc/apt/sources.list:

Kod: Zaznacz cały

# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54]/ lenny contrib main

deb [url]http://ftp.vectranet.pl/debian/[/url] lenny main
deb-src [url]http://ftp.vectranet.pl/debian/[/url] lenny main

deb [url]http://security.debian.org/[/url] lenny/updates main contrib
deb-src [url]http://security.debian.org/[/url] lenny/updates main contrib

deb [url]http://volatile.debian.org/debian-volatile[/url] lenny/volatile main contrib
deb-src [url]http://volatile.debian.org/debian-volatile[/url] lenny/volatile main contrib
deb [url]http://www.kadu.net/download/binary/debian/repo[/url] testing main 
deb [url]http://ftp.pl.debian.org/debian/[/url] etch main non-free contrib
deb-src [url]http://ftp.pl.debian.org/debian/[/url] etch main non-free contrib
deb [url]http://security.debian.org/[/url] etch/updates main contrib non-free
deb-src [url]http://security.debian.org/[/url] etch/updates main contrib non-free
deb [url]http://ftp.debian.org/debian/[/url] lenny main contrib non-free
Okoliczności nie było żadnych nic nie wymieniałem, a Debian stoi na laptopie. Po prostu wpadłem na pomysł że warto by było mieć ten pakiecik bo jest on mi potrzebny do kompilacji kilku programów więc jak widać to jest Debian Lenny 5.0.
fnmirk
Senior Member
Posty: 8321
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

S4th3N, spróbuj przejrzeć gotowe opracowania. Nie ma potrzeby powielać w nieskończoność oczywistych i solidnie opisanych na dziesiątki sposobów zdarzeń.

Przejrzyj nie ma potrzeby przepisywania tego.

Odrobinę zaangażowania, nikt za Ciebie tego nie zrobi.
S4th3N
Posty: 19
Rejestracja: 29 marca 2009, 21:43

Post autor: S4th3N »

Kod: Zaznacz cały

Andrew-Laptop:/home/andrew# apt-get update
Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny Release.gpg
Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/contrib Translation-pl
Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/main Translation-pl
Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny Release
Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/main Packages/DiffIndex
Traf [url]http://ftp.pl.debian.org[/url] etch Release.gpg                                 
Ign [url]http://ftp.pl.debian.org[/url] etch/main Translation-pl                          
Ign [url]http://ftp.pl.debian.org[/url] etch/non-free Translation-pl                      
Ign [url]http://ftp.pl.debian.org[/url] etch/contrib Translation-pl                       
Traf [url]http://ftp.vectranet.pl[/url] lenny Release.gpg                                 
Traf [url]http://ftp.vectranet.pl[/url] lenny/main Translation-pl                         
Traf [url]http://ftp.pl.debian.org[/url] etch Release                                     
Traf [url]http://ftp.vectranet.pl[/url] lenny Release                                     
Pob: 1 [url]http://www.kadu.net[/url] testing Release.gpg [189B]                          
Ign [url]http://www.kadu.net[/url] testing/main Translation-pl                            
Traf [url]http://security.debian.org[/url] lenny/updates Release.gpg                      
Ign [url]http://security.debian.org[/url] lenny/updates/main Translation-pl               
Ign [url]http://security.debian.org[/url] lenny/updates/contrib Translation-pl            
Traf [url]http://security.debian.org[/url] etch/updates Release.gpg                       
Ign [url]http://security.debian.org[/url] etch/updates/main Translation-pl                
Ign [url]http://security.debian.org[/url] etch/updates/contrib Translation-pl             
Ign [url]http://security.debian.org[/url] etch/updates/non-free Translation-pl            
Traf [url]http://security.debian.org[/url] lenny/updates Release                          
Pob: 2 [url]http://volatile.debian.org[/url] lenny/volatile Release.gpg [189B]            
Ign [url]http://volatile.debian.org[/url] lenny/volatile/main Translation-pl              
Traf [url]http://www.kadu.net[/url] testing Release                                       
Ign [url]http://ftp.pl.debian.org[/url] etch/main Packages/DiffIndex                      
Traf [url]http://ftp.debian.org[/url] lenny Release.gpg                                   
Traf [url]http://ftp.debian.org[/url] lenny/main Translation-pl                           
Traf [url]http://security.debian.org[/url] etch/updates Release                           
Ign [url]http://volatile.debian.org[/url] lenny/volatile/contrib Translation-pl           
Ign [url]http://ftp.pl.debian.org[/url] etch/non-free Packages/DiffIndex                  
Ign [url]http://ftp.pl.debian.org[/url] etch/contrib Packages/DiffIndex                   
Ign [url]http://ftp.pl.debian.org[/url] etch/main Sources/DiffIndex                       
Ign [url]http://ftp.pl.debian.org[/url] etch/non-free Sources/DiffIndex                   
Ign [url]http://ftp.pl.debian.org[/url] etch/contrib Sources/DiffIndex                    
Ign [url]http://ftp.vectranet.pl[/url] lenny/main Packages/DiffIndex                      
Pob: 3 [url]http://volatile.debian.org[/url] lenny/volatile Release [40,7kB]              
Traf [url]http://ftp.pl.debian.org[/url] etch/main Packages                               
Błąd [url]http://www.kadu.net[/url] testing Release                                       
  
Ign [url]http://ftp.debian.org[/url] lenny/contrib Translation-pl                         
Ign [url]http://ftp.debian.org[/url] lenny/non-free Translation-pl                        
Traf [url]http://ftp.pl.debian.org[/url] etch/non-free Packages                           
Traf [url]http://ftp.pl.debian.org[/url] etch/contrib Packages                            
Ign [url]http://ftp.vectranet.pl[/url] lenny/main Sources/DiffIndex                       
Traf [url]http://ftp.pl.debian.org[/url] etch/main Sources                                
Traf [url]http://ftp.pl.debian.org[/url] etch/non-free Sources                            
Traf [url]http://ftp.debian.org[/url] lenny Release                                       
Pob: 4 [url]http://www.kadu.net[/url] testing Release [3773B]                             
Traf [url]http://ftp.pl.debian.org[/url] etch/contrib Sources                             
Traf [url]http://ftp.vectranet.pl[/url] lenny/main Packages                               
Ign [url]http://www.kadu.net[/url] testing Release                                        
Traf [url]http://ftp.vectranet.pl[/url] lenny/main Sources                                
Ign [url]http://ftp.debian.org[/url] lenny/main Packages/DiffIndex                        
Ign [url]http://www.kadu.net[/url] testing/main Packages/DiffIndex                        
Ign [url]http://ftp.debian.org[/url] lenny/contrib Packages/DiffIndex                     
Ign [url]http://ftp.debian.org[/url] lenny/non-free Packages/DiffIndex                    
Traf [url]http://www.kadu.net[/url] testing/main Packages                                 
Traf [url]http://ftp.debian.org[/url] lenny/main Packages                                 
Traf [url]http://ftp.debian.org[/url] lenny/contrib Packages                              
Ign [url]http://security.debian.org[/url] lenny/updates/main Packages/DiffIndex           
Ign [url]http://security.debian.org[/url] lenny/updates/contrib Packages/DiffIndex        
Ign [url]http://security.debian.org[/url] lenny/updates/main Sources/DiffIndex            
Traf [url]http://ftp.debian.org[/url] lenny/non-free Packages                             
Ign [url]http://security.debian.org[/url] lenny/updates/contrib Sources/DiffIndex         
Ign [url]http://security.debian.org[/url] etch/updates/main Packages/DiffIndex
Ign [url]http://security.debian.org[/url] etch/updates/contrib Packages/DiffIndex
Ign [url]http://security.debian.org[/url] etch/updates/non-free Packages/DiffIndex
Ign [url]http://security.debian.org[/url] etch/updates/main Sources/DiffIndex
Ign [url]http://security.debian.org[/url] etch/updates/contrib Sources/DiffIndex
Ign [url]http://security.debian.org[/url] etch/updates/non-free Sources/DiffIndex
Traf [url]http://security.debian.org[/url] lenny/updates/main Packages 
Traf [url]http://security.debian.org[/url] lenny/updates/contrib Packages
Traf [url]http://security.debian.org[/url] lenny/updates/main Sources  
Traf [url]http://security.debian.org[/url] lenny/updates/contrib Sources
Traf [url]http://security.debian.org[/url] etch/updates/main Packages  
Traf [url]http://security.debian.org[/url] etch/updates/contrib Packages
Traf [url]http://security.debian.org[/url] etch/updates/non-free Packages
Traf [url]http://security.debian.org[/url] etch/updates/main Sources   
Traf [url]http://security.debian.org[/url] etch/updates/contrib Sources
Traf [url]http://security.debian.org[/url] etch/updates/non-free Sources
Ign [url]http://volatile.debian.org[/url] lenny/volatile/main Packages/DiffIndex
Ign [url]http://volatile.debian.org[/url] lenny/volatile/contrib Packages/DiffIndex
Ign [url]http://volatile.debian.org[/url] lenny/volatile/main Sources/DiffIndex
Ign [url]http://volatile.debian.org[/url] lenny/volatile/contrib Sources/DiffIndex
Pob: 5 [url]http://volatile.debian.org[/url] lenny/volatile/main Packages [3886B]
Traf [url]http://volatile.debian.org[/url] lenny/volatile/contrib Packages
Pob: 6 [url]http://volatile.debian.org[/url] lenny/volatile/main Sources [1123B]
Traf [url]http://volatile.debian.org[/url] lenny/volatile/contrib Sources
Pobrano 49,9kB w 1s (48,6kB/s) 
Czytanie list pakietów... Gotowe
W: GPG error: [url]http://www.kadu.net[/url] testing Release: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 5EC42C53D86A66BA
W: Należy uruchomić apt-get update aby naprawić te problemy.
Andrew-Laptop:/home/andrew# 
No to już chyba mamy winowajcę. Zaraz spróbuje z tym powojować i w ostateczności jak już nie będę miał pomysłu to napisze tutaj, więc prosiłbym o nie zamykanie/usuwanie tematu.
ODPOWIEDZ