Gå til innhold

apt-get og broken dependencies


Anbefalte innlegg

Hei. Har kjørt meg fast i en blindgate føler jeg, kjørte en apt-get update og apt-get upgrade uten å tenke, og har fått noen dependencies som er på tur.

 

Kjører følgende:

elglinux:/home/elgvenn2# apt-get install glibc6
Reading package lists... Done
Building dependency tree... 65%
elglinux:/home/elgvenn2# apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
 glibc-doc libc6-i686
The following packages will be upgraded:
 libc6
1 upgraded, 0 newly installed, 0 to remove and 636 not upgraded.
10 not fully installed or removed.
Need to get 4548kB of archives.
After unpacking 344kB of additional disk space will be used.
Get: 1 ftp://ftp.no.debian.org testing/main libc6 2.9-4 [4548kB]
Fetched 4548kB in 3s (1424kB/s)
Preconfiguring packages ...
Selecting previously deselected package libc6.
(Reading database ... 68079 files and directories currently installed.)
Preparing to replace libc6 2.7-14 (using .../archives/libc6_2.9-4_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: this version of the GNU libc requires kernel version
2.6.18 or later. Please upgrade your kernel before installing
glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add lenny sources to your /etc/apt/sources.list and run:
 apt-get install -t lenny linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.9-4_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.9-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Dette fører igjen til dette:

elglinux:/home/elgvenn2# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
 libc6
Suggested packages:
 glibc-doc libc6-i686
The following packages will be upgraded:
 libc6
1 upgraded, 0 newly installed, 0 to remove and 636 not upgraded.
10 not fully installed or removed.
Need to get 0B/4548kB of archives.
After unpacking 344kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 68079 files and directories currently installed.)
Preparing to replace libc6 2.7-14 (using .../archives/libc6_2.9-4_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: this version of the GNU libc requires kernel version
2.6.18 or later. Please upgrade your kernel before installing
glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add lenny sources to your /etc/apt/sources.list and run:
 apt-get install -t lenny linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.9-4_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.9-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Prøver å rulle tilbake til v2.7-14, men får da:

elglinux:/home/elgvenn2# apt-get install libc6=2.7-14
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 locales: Depends: glibc-2.9-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

 

Som dere kanskje skjønner er jeg ikke interessert i å prøve kernel upgrade biten riktig enda.

 

En liten nøtt altså. All hjelp mottas med takk! :)

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...