[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stable->unstable = dependency problems with libc6 and kernel



Trying to upgrade a sparc20 from stable to unstable.

# apt-get update
<snip>
# apt-get dist-upgrade
<snip>

Preparing to replace libc6 2.2.5-11.5 
(using .../libc6_2.3.2.ds1-11_sparc.deb) ...

Name Service Switch has changed in the C Library: pre-installation question.

Running programs may not be able to do NSS lookups until they are restarted.
Some services can not accept all authentication after extracting glibc
package into your system.  This script automatically restarts some packages
for example ssh or telnetd, but other packages for example xdm
cannot restart because if it restarts automatically, then your X11 session
is disconnected.  So you have to logout and stop xdm; you have to
restart all such services after upgrading glibc with your hands.
Known packages that are needed to stop before installing glibc 2.3:
        xdm kdm gdm postgresql xscreensaver

This script does not detect services which need to stop.
If you want to stop upgrade for the present, please answer the below
question as No.

Do you want to upgrade glibc? [Y/n] y

WARNING: You have a cpu which requires kernel 2.4.21 or greater in order to 
install this version of glibc. Please upgrade the kernel before installing 
this package.

You should be able to install the latest version of the sparc kernel-image in 
order to satisfy this need. You can also download and compile the latest 
kernel source yourself from a kernel mirror (see http://www.kernel.org/). 
dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-11_sparc.deb 
(--unpack): subprocess pre-installation script returned error exit status 1

Errors were encountered while 
processing: /var/cache/apt/archives/libc6_2.3.2.ds1-11_sparc.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1)

# apt-get install kernel-image-2.4.21
Sorry, but the following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-11) but 2.2.5-11.5 is to be installed
libdb1-compat: Depends: libc6 (>= 2.2.5-13) but 2.2.5-11.5 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
solution).

# apt-get -f install
The following extra packages will be installed:
  libc6
1 packages upgraded, 0 newly installed, 0 to remove and 111  not upgraded.
3 packages not fully installed or removed.
Need to get 0B/4128kB of archives. After unpacking 332kB will be freed.
Do you want to continue? [Y/n] Y

<same error as above>

# ncftp http://url/to/debian/kernel-image-2.4.21-sparc32-smp_33_sparc.deb
# dpkg -i --force-all kernel-image-2.4.21-sparc32-smp_33_sparc.deb
<snip>
Setting up kernel-image-2.4.21-sparc32-smp (33) ...
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/crypto/aes.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/crypto/blowfish.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/crypto/deflate.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/crypto/des.o
<lots of these>
depmod: *** Unresolved symbols 
in /lib/modules/2.4.21/kernel/net/sched/sch_teql.o
There was a problem running depmod.  This may be benign,
(You may have versioned symbol names, for instance).
Or this could be an error.
        depmod exited with return value 1
In any case, since depmod is run at install time,
we could just defer running depmod
Would you like to abort now? [Yes] no
Not updating image symbolic links since we are being updated (33)

# dpkg -l kernel-image
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  kernel-image   <none>         (no description available)


Any help would be appreciated. Thanks.

-- 
Bob Tanner <tanner@mn-linux.org>          | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288



Reply to: