LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2009, 05:46 AM   #1
vkalasa
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
how to upgrade libc6?i am not able to install


hi all,
i'm getting these errors wihile upgrading libc6 plz help me....





Quote:
Quote:
Suggested packages:
glibc-doc libc6-i686
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 1105 not upgraded.
3 not fully installed or removed.
Need to get 0B/4551kB of archives.
After this operation, 352kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libc6
Install these packages without verification [y/N]?

Quote:
xscreensaver and xlockmore must be restarted before upgrading │
│ │
│ One or more running instances of xscreensaver or xlockmore have been detected on this system. Because of incompatible │
│ library changes, the upgrade of the GNU libc library will leave you unable to authenticate to these programs. You │
│ should arrange for these programs to be restarted or stopped before continuing this upgrade, to avoid locking your │
│ users out of their current sessions. │
│ │
│ <Ok> │
│ │
and if i click ok ill get this screen .....



Quote:
Quote:
Running services and programs that are using NSS need to be restarted, otherwise they might not be able to do lookup │
│ or authentication any more. The installation process is able to restart some services (such as ssh or telnetd), but │
│ other programs cannot be restarted automatically. One such program that needs manual stopping and restart after the │
│ glibc upgrade by yourself is xdm - because automatic restart might disconnect your active X11 sessions. │
│ │
│ This script detected the following installed services which must be stopped before the upgrade: gdm │
│ │
│ If you want to interrupt the upgrade now and continue later, please answer No to the question below. │
│ │
│ Do you want to upgrade glibc now? │
│ │
│ <Yes> <No> │
│ │
└─────────────────────────────────────────────────────────────────────────────────────────────────── ─────────────────────┘
later ill end up with these errors ...
Quote:
Preconfiguring packages ...
(Reading database ... 148348 files and directories currently installed.)
Preparing to replace libc6 2.7-16 (using .../archives/libc6_2.9-12_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-12_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.9-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
thank u,
vinay
 
Old 06-04-2009, 07:22 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
1. The first thing is just a warning and not an error. It will not prevent your packages from being installed. It can be
fixed by installing the debian-archive-keyring package.
2. Not a problem. Installing libc6 requires shutting down and restarting certain services.
It is just informing you that it will do this.
3. Same as 2.
4. This is a real error. You are running a very old kernel. You need to install a more recent kernel first before trying
to upgrade libc6.
Code:
 sudo aptitude install linux-image...
will do the trick. Check on what kernel is appropriate for your machine.
cheers,
jdk
 
Old 06-05-2009, 11:58 PM   #3
vkalasa
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
how to install the appropriate kernel to my machine....

sir i tried as u told but i'm getting these error messages....



Quote:
bcvinod:~# sudo aptitude install linux-image
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following packages are BROKEN:
libc6-amd64 locales
0 packages upgraded, 0 newly installed, 0 to remove and 1106 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
locales: Depends: glibc-2.9-1 which is a virtual package.
libc6-amd64: Depends: libc6 (= 2.9-12) but 2.7-16 is installed and it is kept back.
E: I wasn't able to locate file for the libc6 package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Upgrade the following packages:
libc6 [2.7-16 (now) -> 2.9-12 (testing)]

Score is 120

Accept this solution? [Y/n/q/?] y
The following packages will be upgraded:
libc6
The following partially installed packages will be configured:
libc6-amd64
1 packages upgraded, 0 newly installed, 0 to remove and 1105 not upgraded.
Need to get 0B/4551kB of archives. After unpacking 352kB will be used.
Do you want to continue? [Y/n/?] y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

libc6

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": yes
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 148348 files and directories currently installed.)
Preparing to replace libc6 2.7-16 (using .../archives/libc6_2.9-12_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-12_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.9-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libc6-amd64:
libc6-amd64 depends on libc6 (= 2.9-12); however:
Package libc6 is not installed.
dpkg: error processing libc6-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of locales:
locales depends on glibc-2.9-1; however:
Package glibc-2.9-1 is not installed.
dpkg: error processing locales (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6-amd64
locales
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done



where to find the image of the kernal plz help me...

regards
vinay
 
Old 06-06-2009, 12:12 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
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
Have you done this? If you are not sure please post the contents of your /etc/apt/sources.list file.
cheers,
jdk
 
Old 06-08-2009, 02:22 AM   #5
vkalasa
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
hello sir,
but where to get the package????
i'm getting these errors..
where to find the linux image???

bcvinod:/etc/apt# apt-get install -t lenny linux-image-2.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-image-2.6 is a virtual package provided by:
linux-image-2.6.12-1-686-smp 2.6.12-10
linux-image-2.6.15-1-686-smp 2.6.15-8
linux-image-2.6.26-2-xen-686 2.6.26-15
linux-image-2.6.26-2-vserver-686-bigmem 2.6.26-15
linux-image-2.6.26-2-vserver-686 2.6.26-15
linux-image-2.6.26-2-openvz-686 2.6.26-15
linux-image-2.6.26-2-amd64 2.6.26-15
linux-image-2.6.26-2-686-bigmem 2.6.26-15
linux-image-2.6.26-2-686 2.6.26-15
linux-image-2.6.26-2-486 2.6.26-15
You should explicitly select one to install.
E: Package linux-image-2.6 has no installation candidate
bcvinod:/etc/apt# apt-get install -t linux-image-2.6.26-2-686 2.6.26-15
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package 2.6.26-15

with regards
vinay
 
Old 06-08-2009, 11:45 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Please post the current kernel you are using. Do this by typing
Code:
uname -a
in a terminal.
jdk
 
Old 06-09-2009, 11:35 PM   #7
vkalasa
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
hello sir,
here is the version
Linux bcvinod.aylus.com 2.6.15.7-smp-aylus.38 #1 SMP PREEMPT Wed Jan 31 15:50:10 EST 2007 i686 GNU/Linux



vinay
 
Old 06-10-2009, 11:15 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Where did you get the kernel 2.6.15.7-smp-aylus.38? And do you know why it's a smp-aylus kernel? What kind of chip are you using?
cheers,
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardy package upgrade libc6-686 broken Spearhead40 Ubuntu 2 04-05-2008 10:17 AM
upgrade hangs on libc6 hazelett Debian 4 01-03-2008 07:51 PM
Can I roll back a failed libc6 upgrade? davcefai Debian 7 10-21-2007 02:04 AM
libc6-dev version conflicts with libc6 in Dapper peppill Ubuntu 2 12-04-2006 01:13 PM
libc6 upgrade error SiQDiZ Debian 3 08-12-2004 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration