Re: libc6 kernel upgrade problem

2007-08-23 Thread Bob Proulx
Bill Wohler wrote:
 Bob Proulx writes:
  Correct.  Linux 2.4 support has been dropped post Etch.
 
  Since the kernel for this particular system (a vserver) is not under
  my control and I don't expect it to be upgraded anytime soon if ever
  this would be bad.
 
  That could be a problem.  The calls made by libc will in some cases
  require a linux 2.6 kernel.
 
 Any thoughts on which cases?

Sorry, unfortunately I do not know which kernel calls the newer glibc
might call which might not be supported in the older kernel.

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-21 Thread Bill Wohler
[EMAIL PROTECTED] (Bob Proulx) writes:

 Bill Wohler wrote:
 Robert Jerrard writes:
  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.
 
 Does this imply that lenny will not support 2.4 at all?

 Correct.  Linux 2.4 support has been dropped post Etch.

 Since the kernel for this particular system (a vserver) is not under
 my control and I don't expect it to be upgraded anytime soon if ever
 this would be bad.

 That could be a problem.  The calls made by libc will in some cases
 require a linux 2.6 kernel.

Any thoughts on which cases?

 Taking a quick look, I see that glibc isn't installed on this system
 either, so maybe I'm OK?

 In Debian the glibc package name is libc6 or libc6.1 or libc0.1 or
 possibly other things depending upon the architecture.  There are
 probably many different ways to deduce this but these are useful.

   dpkg -S /lib/libc.*
   libc6: /lib/libc.so.6

   dpkg -l libc6'*' | grep ^ii

[EMAIL PROTECTED]:498]$ dpkg -S /lib/libc.*
libc6: /lib/libc.so.6
[EMAIL PROTECTED]:499]$ dpkg -l libc6'*' | grep ^ii
ii  libc6   2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libc6-dev   2.3.6.ds1-13etch2 GNU C Library: Development Libraries 
and Hea

-- 
Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-19 Thread Sven Joachim
[Robert, please do not take this off-list. Thanks.] 

Robert Jerrard [EMAIL PROTECTED] writes:

 On Sat, 2007-08-18 at 23:05 +0200, Sven Joachim wrote:
 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

 I suppose the kernel I need should be linux-image-2.6.18-4-k7 but trying
 to install (simulated using -s option) it leads me back to the -f
 install issue with libc6:

 penrose:~# apt-get -s install -t etch linux-image-2.6.18-4-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.18-4-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).

I suppose apt-get is trying to install your initrd creator from sid,
which brings you back to the libc6 problem.  Try

# apt-get -s install -t etch linux-image-2.6.18-4-k7 initramfs-tools

and see if that would help.

Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-19 Thread Bill Wohler
Robert Jerrard [EMAIL PROTECTED] writes:

 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.

Does this imply that lenny will not support 2.4 at all? I know that
2.4 isn't recommended under etch, but since I'm not using udev, I was
able to get away with the upgrade to from sarge to etch.

Since the kernel for this particular system (a vserver) is not under
my control and I don't expect it to be upgraded anytime soon if ever
this would be bad.

Taking a quick look, I see that glibc isn't installed on this system
either, so maybe I'm OK?

-- 
Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-19 Thread Bob Proulx
Bill Wohler wrote:
 Robert Jerrard writes:
  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.
 
 Does this imply that lenny will not support 2.4 at all?

Correct.  Linux 2.4 support has been dropped post Etch.

 Since the kernel for this particular system (a vserver) is not under
 my control and I don't expect it to be upgraded anytime soon if ever
 this would be bad.

That could be a problem.  The calls made by libc will in some cases
require a linux 2.6 kernel.

 Taking a quick look, I see that glibc isn't installed on this system
 either, so maybe I'm OK?

In Debian the glibc package name is libc6 or libc6.1 or libc0.1 or
possibly other things depending upon the architecture.  There are
probably many different ways to deduce this but these are useful.

  dpkg -S /lib/libc.*
  libc6: /lib/libc.so.6

  dpkg -l libc6'*' | grep ^ii

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



libc6 kernel upgrade problem

2007-08-18 Thread Robert Jerrard
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 help 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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-18 Thread Douglas A. Tutty
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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-18 Thread Robert Jerrard
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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-18 Thread Sven Joachim
Robert Jerrard [EMAIL PROTECTED] 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 help 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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-18 Thread Robert Jerrard
On Sat, 2007-08-18 at 23:05 +0200, Sven Joachim wrote:
 Robert Jerrard [EMAIL PROTECTED] 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 help 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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libc6 kernel upgrade problem

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 03:14:32PM -0600, Robert Jerrard wrote:
 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.

Good luck.  My upgrade from Sarge to Etch fried libc6 and it was faster
to just reinstall to Etch directly than to try to fix it.  I did the
same thing going from Potato (2.2) to Woody (3.0) although Woody to
Sarge (3.1) went OK.

Doug.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]