ďťż
 
 
   dist-upgrade i problemy (lenny)
 
 

Tematy

 
    
 

 

 

 

dist-upgrade i problemy (lenny)





ElemenT - 01-08-2007 10:49
Witam,
Wczoraj postanowilem uaktualnic system do najnowszej wersji lennego, bo podczas wpisywania
apt-get upgrade zostawalo mi duzo paczek na wstrzymaniu

wiec odpalilem apt-get dist-upgrade
pomielilo pomielilo, posciagalo

i wyrzycilo
zeus:/var/log# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run âapt-get -f installâ to correct these.
The following packages have unmet dependencies.
  libc6-dev: Depends: libc6 (= 2.6-2) but 2.5-9 is installed
            Depends: linux-libc-dev but it is not installed
E: Unmet dependencies. Try using -f. czy tak powinno byc ? oczywiscie instalacja samego libc6 do nowszej wersji nie daje efektu bo zalezy od tego kupa innych rzeczy i trzeba by wszystko recznie odinstalowac

aha, aktualna wersja systemu to
Linux version 2.6.18-4-amd64 (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 11:36:53 CEST 2007

ma ktos jakis pomysl ?



velmafia - 01-08-2007 11:03
odpal najpierw:
apt-get -f install

PS.
domyślam się że przed aktualizacją dałeś:
apt-get update ?



ElemenT - 01-08-2007 11:11
to oczywiste ze dalem
apt-get update :)

dobra, teraz mam kolejny problem :P

zeus:/var/log# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
  libc6-i386 linux-libc-dev
The following packages will be REMOVED
  linux-kernel-headers
The following NEW packages will be installed
  linux-libc-dev
The following packages will be upgraded:
  libc6-i386
1 upgraded, 1 newly installed, 1 to remove and 88 not upgraded.
4 not fully installed or removed.
Need to get 4392kB of archives.
After unpacking 7115kB disk space will be freed.
Do you want to continue [Y/n]? y
Get: 1 http://ftp.pl.debian.org testing/main libc6-i386 2.6-2 [3706kB]
Get: 2 http://ftp.pl.debian.org testing/main linux-libc-dev 2.6.21-6 [686kB]
Fetched 4392kB in 1s (3240kB/s)
(Reading database ... 31365 files and directories currently installed.)
Preparing to replace libc6-i386 2.5-9 (using .../libc6-i386_2.6-2_amd64.deb) ...
Unpacking replacement libc6-i386 ...
dpkg: error processing /var/cache/apt/archives/libc6-i386_2.6-2_amd64.deb (--unpack):
 trying to overwrite `/usr/lib32', which is also in package lib32z1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-i386_2.6-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) nigdy problemu z tym nie bylo tylko nagle kurde schody

nie powiem wcale ze to samo mam na 2 linuxie

Preparing to replace libc6-i386 2.5-9 (using .../libc6-i386_2.6-2_amd64.deb) ...
Unpacking replacement libc6-i386 ...
dpkg: error processing /var/cache/apt/archives/libc6-i386_2.6-2_amd64.deb (--unpack):
 trying to overwrite `/usr/lib32', which is also in package lib32z1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-i386_2.6-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) [ Dodano: 2007-08-01, 12:00 ]
okazuje sie ze problem jest znany od miesiaca w necie i jest wynikiem buga w drzewku zaleznosci

znalazlem pare rozwiazan i wybralem jedno

#dpkg --remove --force-depends lib32z1
#apt-get -f install
#apt-get dist-upgrade i dzialamy dalej z najnowszym softem :)
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis