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

Re: where is tzconfig ?



Florian Kulzer wrote:
[...]
> 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.
> 
Thats a nice idea and it can list the packages dependig on a newer
version ob libc6, e.g., with a sh-compatible shell and awk

sudo dpkg --simulate -r libc6 2>&1 | awk '/libc6 \(.*2\.6/ {print $1}'

-- 
Regards,
Jörg-Volker.



Reply to: