Re: [debian] problem with aptitude upgrade or dist-upgrade



Darren Salt wrote:

Thank you very much for your answer;
....
a) i really don't want to change my kernel until it's strictly necessary, i
simply want to be up-to-date, and obviously it includes updating libc

It'll be necessary sooner or later. It may already be a Very Good Idea due to
security fixes.

Ok i did it this morning (i have an AMD so i choose the last k7 kernel from testing- hope it is ok) but as usual, i went in a deadlock:

[snip]
My sources.list:
deb http://security.debian.org/ testing/updates main
deb http://ftp.it.debian.org/debian/ testing main
deb-src http://ftp.it.debian.org/debian/ testing main

That's not etch. That's lenny.

Kernel: 2.6.7-1-386

Definitely worth a kernel upgrade, I'd say...

# aptitude install linux-image-2.6.22-2-k7
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
busybox initramfs-tools klibc-utils libc6-i686 libklibc libvolume-id0 udev
The following packages have been kept back:
*lot-of-packages-listed*
The following NEW packages will be installed:
busybox initramfs-tools klibc-utils libc6-i686 libklibc libvolume-id0 linux-image-2.6.22-2-k7 udev
The following packages will be upgraded:
libc6
1 packages upgraded, 8 newly installed, 0 to remove and 912 not upgraded.
Need to get 20.2MB/24.9MB of archives. After unpacking 58.7MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://ftp.de.debian.org testing/main libc6-i686 2.6.1-1+b1 [1201kB]
Get:2 http://ftp.de.debian.org testing/main busybox 1:1.1.3-5 [287kB]

Get:3 http://ftp.de.debian.org testing/main libklibc 1.5-4 [43.3kB]

Get:4 http://ftp.de.debian.org testing/main klibc-utils 1.5-4 [161kB]

Get:5 http://ftp.de.debian.org testing/main initramfs-tools 0.90a [68.2kB]

Get:6 http://ftp.de.debian.org testing/main linux-image-2.6.22-2-k7 2.6.22-4 [18.4MB]
Fetched 20.2MB in 1m20s (251kB/s)

Preconfiguring packages ...
(Reading database ... 147804 files and directories currently installed.)
Preparing to replace libc6 2.5-9+b1 (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.

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+b1_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+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
------------------------------------------------------------------

I *am* trying to install a new kernel, why the hell they insert such weird code that asks to install a new kernel, when if you try you don't go nowhere, it ends in the same error (some time ago i tryed to do EXACTLY how it is suggested in the message but the result was the same as now).. ?


No way to get out of this situation?

--
Faciait li signeur!

Roy Batty
http://www.biolabnet.it/
.



Relevant Pages

  • unsubscribe
    ... > Subject: debian newbie... ... If I need to recompile the kernel, ... Also, what other additional packages, ... >> The package you're trying to install presumably ...
    (Debian-User)
  • Apt Gone Mad?-Or Is It Me?-Expert Help Needed
    ... So tried to upgrade OO to 2.0 but Apt refused to do so. ... Aptitude doesn't show anything but Wajig shows unmet dependency for kdelibs-data. ... The following packages are unused and will be REMOVED: agsync arson barcode brahms cdda2wav cddb digikam digikamimageplugins gmessage guarddog guidedog hotswap-gui hotswap-text i2e id3v2 kbarcode kbear kbiff kdebase-dev kdirstat kile kimdaba klog klogic kmymoney2 knetfilter knutclient komba2 kover kprof kpsk krusader ksimus ksimus-boolean ksimus-datarecorder ksimus-floatingpoint ksocrat ksocrat-data kvdr kvirc kvirc-data kvirc-doc kwavecontrol kxmleditor lesstif2 libdynamite libimlib2-dev libkonq4-dev libmimedir liborange ... ChatagnierL-Home:/temp# wajig install openoffice.org Reading Package Lists... ...
    (Debian-User)
  • libc6 kernel upgrade problem
    ... I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon ... When I try to upgrade the kernel it tells me: ... You might want to run `apt-get -f install' to correct these: ... The following packages have unmet dependencies: ...
    (Debian-User)
  • SUSE Security Announcement: Linux Kernel (SuSE-SA:2004:001)
    ... installable through rpm, because of a bug in RPM (update of ... the kernel source is not ... sources that the binary kernel rpm packages are made from. ... are being offered to install from the maintenance web. ...
    (Bugtraq)
  • [Full-Disclosure] SUSE Security Announcement: Linux Kernel (SuSE-SA:2004:001)
    ... installable through rpm, because of a bug in RPM (update of ... the kernel source is not ... sources that the binary kernel rpm packages are made from. ... are being offered to install from the maintenance web. ...
    (Full-Disclosure)