----- Original Message ----- From: "Travis Crump" <[EMAIL PROTECTED]> To: "Debian User List" <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 10:59 PM Subject: Re: Preventing apt-get from removing pkgs while installing others
> David De Graff wrote: > > I'm trying to install gcc-3.2 from unstable on a box that's running woody, > > and am running into trouble with apt-get trying to remove packages that need > > to remain in place. > > > > See the session text below: > > > > root:/usr/bin# apt-get -t unstable install gcc-3.2 > > Reading Package Lists... Done > > Building Dependency Tree... Done > > The following extra packages will be installed: > > binutils cpp-3.2 gcc-3.2-base libc6 libc6-dev libdb1-compat libgcc1 > > modconf modutils > > The following packages will be REMOVED: > > initrd-tools kernel-image-2.4.19-686 > > The following NEW packages will be installed: > > cpp-3.2 gcc-3.2 gcc-3.2-base libdb1-compat > > 6 packages upgraded, 4 newly installed, 2 to remove and 88 not upgraded. > > Need to get 0B/11.2MB of archives. After unpacking 18.4MB will be freed. > > Do you want to continue? [Y/n] n > > Abort. > > > > When I first ran the above command and chose to proceed, I got a warning > > about removing the kernel image, and I also had to reinstall initrd-tools. > > After looking through a lot of apt-get docs, I haven't found a command or > > option to force an installation to proceed without removing packages that > > are listed for removal. And I don't see how the two listed for removal above > > would conflict with gcc-3.2 in any case. > > > > Thanks for any help, > > > > Dave De Graff > > > > > > > > What does "apt-get install -t unstable initrd-tools gcc-3.2" give you? Thanks for the reply. 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: root@:~# apt-get install -t unstable initrd-tools gcc-3.2 Reading Package Lists... Done Building Dependency Tree... Done Sorry, initrd-tools is already the newest version. The following extra packages will be installed: binutils cpp-3.2 gcc-3.2-base libc6 libc6-dev libdb1-compat libgcc1 modconf modutils The following packages will be REMOVED: kernel-image-2.4.19-686 The following NEW packages will be installed: cpp-3.2 gcc-3.2 gcc-3.2-base libdb1-compat 6 packages upgraded, 4 newly installed, 1 to remove and 88 not upgraded. Need to get 0B/11.2MB of archives. After unpacking 18.3MB will be freed. Do you want to continue? [Y/n] n Abort. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]