OK, making progress here... The problem seems to be that gcc-3.2 depends on binutils, but that older versions of binutils conflict with one of the dependencies of initrd-tools and kernel-image-2.4.19-686.
I have a newer version of binutils installed which does not conflict with modutils. So to keep that version I put a hold on binutils. Yet apt now tries to 'change' binutils (downgrade it, I guess), and so also wants to remove the conflicting packages and those that depend on the conflicting package. Maybe pinning will help. I'll investigate that now. Dave ----- Original Message ----- From: "David De Graff" <[EMAIL PROTECTED]> To: "Travis Crump" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, September 21, 2002 12:25 PM Subject: Re: Preventing apt-get from removing pkgs while installing others > ----- Original Message ----- > From: "Travis Crump" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, September 21, 2002 11:54 AM > Subject: Re: Preventing apt-get from removing pkgs while installing others > > > > David De Graff wrote: > > >> > > >>What does "apt-get install -t unstable initrd-tools gcc-3.2" give you? > > > > > > > It then says that initrd-tools is the newest version (but does not > try to > > > remove it), and then tries to remove the kernel image while installing > the > > > gcc-3.2 and related packages: > > > > > > > > > Well, then "apt-get install -t unstable initrd-tools gcc-3.2 > > kernel-image-2.4.19-686" should fix your problem. I think that the fact > > that you are installing gcc-3.2 is a red herring. Have you tried > > installing anything else recently without having this problem? > > I just installed kernel-source-2.4.19 and started an install of links, and > neither time did apt try to remove initrd-tools or kernel-image-2.4.19-686. > See install session text at bottom of this message. > > >Check to > > see what dpkg thinks the states of initrd-tools and > > kernel-image-2.4.19-686 should be with "dpkg --get-selections | sed > > --silent -e '/kernel-image/p' -e '/initrd-tool/p'". I have a feeling > > they are set to something other than 'install'... > > They are set to install, which makes the removal attempts odd. > > root:/# dpkg --get-selections | sed --silent -e '/kernel-image/p' -e > '/initrd-tool/p' > initrd-tools install > kernel-image-2.4.19-686 install > > BTW, finding this info is even easier with feta, 'front-end to apt': > > root:/# feta list initrd-tools kernel-image-2.4.19-686 > 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 > +++-========================-========================- > ii initrd-tools 0.1.28 Tools to generate an > initrd image. > ii kernel-image-2.4.19-686 2.4.19-1 Linux kernel image > 2.4.19 on PPro/Celeron/PII/PIII/PIV. > root:/# > > I recommend checking feta out at: > > http://www.sacredchao.net/software/feta/ > > Install session info for other packages: > > root@coral:/# feta install links > Reading Package Lists... Done > Building Dependency Tree... Done > The following extra packages will be installed: > libgpmg1 liblua40 liblualib40 > The following NEW packages will be installed: > libgpmg1 liblua40 liblualib40 links > 0 packages upgraded, 4 newly installed, 0 to remove and 11 not upgraded. > Need to get 484kB of archives. After unpacking 1236kB will be used. > Do you want to continue? [Y/n] n > Abort. > W: An error occurred trying to use the 'install' command. > W: If you run Feta with -V, more information about the error may be printed. > root:/# > > root:/# apt-get install kernel-source-2.4.19 > Reading Package Lists... Done > Building Dependency Tree... Done > The following NEW packages will be installed: > kernel-source-2.4.19 > 0 packages upgraded, 1 newly installed, 0 to remove and 11 not upgraded. > Need to get 25.7MB of archives. After unpacking 25.8MB will be used. > Get:1 http://linux.csua.berkeley.edu testing/main kernel-source-2.4.19 > 2.4.19-1 [25.7MB] > Fetched 25.7MB in 35s (718kB/s) > Selecting previously deselected package kernel-source-2.4.19. > (Reading database ... 13678 files and directories currently installed.) > Unpacking kernel-source-2.4.19 (from > .../kernel-source-2.4.19_2.4.19-1_all.deb) ... > Setting up kernel-source-2.4.19 (2.4.19-1) ... > root:/# > > Thanks, > > Dave > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]