Re: problem with aptitude upgrade or dist-upgrade
- From: Darren Salt <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 14:15:46 +0000
I demand that rRB may or may not have written...
Darren Salt wrote:
...
...[snip]
Preparing to replace libc6 2.3.6.ds1-13 (using .../
libc6_2.6.1-1+b1_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.
E: Sub-process /usr/bin/dpkg returned an error code (1)
i added etch sources and tried to switch to a new kernel, but again it
says i have to solve my unmet dependencies....
Given the presence of libc6 2.3.6.ds1-13 (or 2.3.6.ds1-13etch2, which is
what you should have if you're running etch), it's safe to upgrade your
kernel to 2.6.18 and to use that.
Does your boot loader (lilo? grub?) know about the newer kernel?
I think yes, usually on debian a new kernel will be added as first in the
grub boot list.
Just checking... :-)
I also wanted do *force* installation of the newer libc6, but as for now no
way, cause it bombs out in one of the preinst or prerm scripts.
This still looks like "install a newer kernel; reboot, selecting the
newly-installed kernel; upgrade libc6" to me.
Is there a way to install ignoring this pre* scripts?
Ignoring the preinst script is a bad idea.
You *really* want to make sure that you're using the newer kernel ("uname -r"
will report the version number) and to try to complete the installation
normally.
If you still have problems, you can try this (but if it breaks, you get to
keep both pieces):
Edit /var/lib/dpkg/info/libc6.preinst: look for
exit_check () {
exit 1
}
and remove (or comment out) that "exit 1". Then either "dpkg --configure -a"
or "aptitude install" should work.
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy less and make it last longer. INDUSTRY CAUSES GLOBAL WARMING.
You hate mail.
.
- Follow-Ups:
- References:
- [debian] problem with aptitude upgrade or dist-upgrade
- From: RRB
- Re: [debian] problem with aptitude upgrade or dist-upgrade
- From: Darren Salt
- Re: [debian] problem with aptitude upgrade or dist-upgrade
- From: RRB
- Re: problem with aptitude upgrade or dist-upgrade
- From: bacher
- Re: problem with aptitude upgrade or dist-upgrade
- From: Darren Salt
- Re: problem with aptitude upgrade or dist-upgrade
- From: rRB
- [debian] problem with aptitude upgrade or dist-upgrade
- Prev by Date: Re: How do I install the applications from a live CD?
- Next by Date: openldap and nss_ldap.. help!
- Previous by thread: Re: problem with aptitude upgrade or dist-upgrade
- Next by thread: Re: problem with aptitude upgrade or dist-upgrade
- Index(es):
Relevant Pages
|