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

Bug#48392: apt-get install libc6- libc6 will remove 160 package without questioning



Package: apt
Version: 0.3.14
Severity: critical

I tried to get the url of libc6 using --print-uris, bt since I have
the newest libc6 installed it wouldn´t tell me the url, so I tried to
trick it into telling me anyway.

One of the things I tried was

apt-get --print-uris -s install libc6-libc6

Just good that I used the -s option, because it gave the following
output:

Reading Package Lists...
Building Dependency Tree...
Sorry, libc6 is already the newest version
The following packages will be REMOVED:
  aalib1 adduser ae alsa-base alsalib0.3.2 apmd apt ash at autoconf automake
.....
  xserver-vga16 xteddy xterm xtokkaetama xv zile zip zlib1g zlib1g-dev zsh 
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  base-files base-passwd (due to base-files) libc6 (due to base-passwd) bash
  libncurses4 (due to bash) bsdutils debianutils diff dpkg libstdc++2.10 (due
  to dpkg) e2fsprogs fileutils findutils grep gzip hostname login
  libpam-modules (due to login) libpam0g (due to login) mount ncurses-bin
  perl-base sed shellutils sysvinit util-linux (due to sysvinit) tar textutils
  update slang1 (due to util-linux) 
0 packages upgraded, 0 newly installed, 310 to remove and 0 not upgraded.
Remv xteddy
Remv eterm
Remv imlib1
....
Remv bin86
Remv libc6


It never asked if I realy want to remove those 310 packages, as it
should and does when unsing

apt-get --print-usris -s install libc6-

apt-get should never do that on its own without questioning the
user. Thats the critical error. Just my luck that I was using -s.

Also apt-get should not remove any package, since I told him to
install a new libc6 while removing the old. It should have detected
that libc6 is to be installed and cancel it from the deinstall list,
which would be nice for apt to do, but might not be a bug but a
feature.

May the Source be with you.
			Goswin

PS: Is there any way to get the url of a package even if already
installed?

-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux mrvnbook 2.2.12 #8 Thu Sep 30 17:00:39 CEST 1999 i686

Versions of packages apt depends on:
ii  libc6                     2.1.2-5        GNU C Library: Shared libraries an
ii  libstdc++2.10             1:2.95.2-0pre2 The GNU stdc++ library            


Reply to: