Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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
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...
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.