PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > libc6 kernel upgrade problem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

libc6 kernel upgrade problem

Réponse
 
LinkBack Outils de la discussion
Vieux 18/08/2007, 21h50   #1
Robert Jerrard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut libc6 kernel upgrade problem

I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
processor. When I try to upgrade the kernel it tells me:

penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7
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:
linux-image-2.6.22-1-k7: Depends: initramfs-tools (>= 0.55) but it is
not going to be installed or
yaird (>= 0.0.12-8) but it is not going to be installed or
linux-initramfs-tool
locales: Depends: glibc-2.6-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

But, when I try 'apt-get -f install' I get:

penrose:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
1 not fully installed or removed.
Need to get 0B/4405kB of archives.
After unpacking 184kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 233224 files and directories currently installed.)
Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
WARNING: POSIX threads library NPTL requires kernel version
2.6.8 or later. If you use a kernel 2.4, please upgrade it
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 etch sources to your /etc/apt/sources.list and run:
apt-get install -t etch linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.6.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How does one get out of this cycle? Any is appreciated.

cat /proc/cpuinfo gives:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1008.980
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1998.84

Bob Jerrard



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h10   #2
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> processor. When I try to upgrade the kernel it tells me:
>
> penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7


Your reason for the "-t etch" may prove enlightening. Is this a mixed
system? Are you in the midst of an upgrade? What are the contents of
/etc/apt/sources.list and /etc/debian_version?

For etch, the release notes say that the preferred package manager is
aptitude since it handles problems such as this more intellegently.

Doug.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h10   #3
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> processor. When I try to upgrade the kernel it tells me:
>
> penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7


Your reason for the "-t etch" may prove enlightening. Is this a mixed
system? Are you in the midst of an upgrade? What are the contents of
/etc/apt/sources.list and /etc/debian_version?

For etch, the release notes say that the preferred package manager is
aptitude since it handles problems such as this more intellegently.

Doug.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h20   #4
Robert Jerrard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

On Sat, 2007-08-18 at 17:06 -0400, Douglas A. Tutty wrote:
> On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> > I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> > processor. When I try to upgrade the kernel it tells me:
> >
> > penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7

>
> Your reason for the "-t etch" may prove enlightening. Is this a mixed
> system? Are you in the midst of an upgrade? What are the contents of
> /etc/apt/sources.list and /etc/debian_version?
>
> For etch, the release notes say that the preferred package manager is
> aptitude since it handles problems such as this more intellegently.
>
> Doug.


I am in the midst of an upgrade. It is not a mixed system, the real
reason for using -t etch is that is suggested in the response to the -f
install attempt.

Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h20   #5
Robert Jerrard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

On Sat, 2007-08-18 at 17:06 -0400, Douglas A. Tutty wrote:
> On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> > I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> > processor. When I try to upgrade the kernel it tells me:
> >
> > penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7

>
> Your reason for the "-t etch" may prove enlightening. Is this a mixed
> system? Are you in the midst of an upgrade? What are the contents of
> /etc/apt/sources.list and /etc/debian_version?
>
> For etch, the release notes say that the preferred package manager is
> aptitude since it handles problems such as this more intellegently.
>
> Doug.


I am in the midst of an upgrade. It is not a mixed system, the real
reason for using -t etch is that is suggested in the response to the -f
install attempt.

Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h20   #6
Sven Joachim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

Robert Jerrard <rjerrard@math.concordia.ab.ca> writes:

> But, when I try 'apt-get -f install' I get:
>
> penrose:~# apt-get -f install
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> libc6
> The following packages will be upgraded:
> libc6
> 1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/4405kB of archives.
> After unpacking 184kB disk space will be freed.
> Do you want to continue [Y/n]?
> (Reading database ... 233224 files and directories currently installed.)
> Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
> WARNING: POSIX threads library NPTL requires kernel version
> 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> 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 etch sources to your /etc/apt/sources.list and run:
> apt-get install -t etch linux-image-2.6
> Then reboot into this new kernel, and proceed with your upgrade
> dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> How does one get out of this cycle? Any is appreciated.


You should install a 2.6.18 kernel from etch, after that is done you
can upgrade libc6 and the kernel to break the loop.

BTW, it is not recommended to keep such a huge backlog of packages if
you are running unstable. Resolving the dependencies for your 863 not
upgraded packages will be hard for apt-get/aptitude.

Regards,
Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h20   #7
Sven Joachim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

Robert Jerrard <rjerrard@math.concordia.ab.ca> writes:

> But, when I try 'apt-get -f install' I get:
>
> penrose:~# apt-get -f install
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> libc6
> The following packages will be upgraded:
> libc6
> 1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/4405kB of archives.
> After unpacking 184kB disk space will be freed.
> Do you want to continue [Y/n]?
> (Reading database ... 233224 files and directories currently installed.)
> Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
> WARNING: POSIX threads library NPTL requires kernel version
> 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> 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 etch sources to your /etc/apt/sources.list and run:
> apt-get install -t etch linux-image-2.6
> Then reboot into this new kernel, and proceed with your upgrade
> dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> How does one get out of this cycle? Any is appreciated.


You should install a 2.6.18 kernel from etch, after that is done you
can upgrade libc6 and the kernel to break the loop.

BTW, it is not recommended to keep such a huge backlog of packages if
you are running unstable. Resolving the dependencies for your 863 not
upgraded packages will be hard for apt-get/aptitude.

Regards,
Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 18/08/2007, 22h50   #8
Robert Jerrard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libc6 kernel upgrade problem

On Sat, 2007-08-18 at 23:05 +0200, Sven Joachim wrote:
> Robert Jerrard <rjerrard@math.concordia.ab.ca> writes:
>
> > But, when I try 'apt-get -f install' I get:
> >
> > penrose:~# apt-get -f install
> > Reading package lists... Done
> > Building dependency tree... Done
> > Correcting dependencies... Done
> > The following extra packages will be installed:
> > libc6
> > The following packages will be upgraded:
> > libc6
> > 1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
> > 1 not fully installed or removed.
> > Need to get 0B/4405kB of archives.
> > After unpacking 184kB disk space will be freed.
> > Do you want to continue [Y/n]?
> > (Reading database ... 233224 files and directories currently installed.)
> > Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
> > WARNING: POSIX threads library NPTL requires kernel version
> > 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> > 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 etch sources to your /etc/apt/sources.list and run:
> > apt-get install -t etch linux-image-2.6
> > Then reboot into this new kernel, and proceed with your upgrade
> > dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> > (--unpack):
> > subprocess pre-installation script returned error exit status 1
> > Errors were encountered while processing:
> > /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > How does one get out of this cycle? Any is appreciated.

>
> You should install a 2.6.18 kernel from etch, after that is done you
> can upgrade libc6 and the kernel to break the loop.
>
> BTW, it is not recommended to keep such a huge backlog of packages if
> you are running unstable. Resolving the dependencies for your 863 not
> upgraded packages will be hard for apt-get/aptitude.
>
> Regards,
> Sven


Thanks Sven. Sorry for my ignorance but is
linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
the correct kernel for my AMD Athlon?

Bob



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h42.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,20368 seconds with 16 queries