On Wed, Jul 11, 2007 at 15:08:02 +0200, Jörg-Volker Peetz wrote: [...]
> I think, I understand now why > > $ aptitude search '~i~D(libc6~V2\.3)' > > doesn't find any package on my system. It first searches in the list of > available packages (determined by the entries in /etc/apt/sources.list) > those matching the pattern in brackets. For these packages aptitude then > searches the installed packages depending on them. Since there is no > libc6 with version number matching 2.3 on my system, the returned list > is empty. > On your system aptitude finds a libc6 with version number matching 2.3 > in the available packages list and then returns all names of packages > depending on libc6. Ah yes, of course. Thanks. > And, as you already said, this does not help to find packages depending > on a certain version of package libc6 which itself can only be installed > in one version. The only thing I can think of is simulating to remove libc6, like so: sudo dpkg --simulate --remove libc6 This produces lots of warnings like these: libboost-thread1.33.1 depends on libc6 (>= 2.3.5-1). libavformat1d depends on libc6 (>= 2.6-1). libwv2-1c2 depends on libc6 (>= 2.3.5-1). maxima depends on libc6 (>= 2.5-5). This can be processed further (grep, awk, etc.) to find installed packages that depend on a specific version of libc6. One probably has to be careful to take the "greater or equal" dependencies into account properly. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian |