Deinstall package *INCLUDING* all dependencies
Nikhil Fernandes
njfernandes at gmail.com
Sat Jul 8 17:43:04 UTC 2006
On 7/8/06, Alexander Skwar <listen at alexander.skwar.name> wrote:
>
> Hi!
>
> I just installed mplayer on Dapper. Synaptic told me, that some
> additional packages need to be installed to satisfy the dependencies.
> Thus, I installed those as well; packages like liblame0, libungif4g
> and some more, which I forgot.
>
> And the "forgot" is the reason why I'm asking now :) I'd like to
> deinstall mplayer *including* all the depencies which were installed
> to meet those requirements.
>
> How would I do this?
>
> On Gentoo, I'd (more or less) do it that way, that I'd now do a
> "emerge --depclean --pretend" and record the result. "--depclean"
> shows those packages, which were "once upon a time" installed as
> a dependency of some other package but are no longer required by
> any installed package. Well... After I run the "emerge --depclean
> --pretend", I'd deinstall mplayer and run "emerge --depclean
> --pretend" once more. Any new package must've been installed to
> satisfy dependencies of mplayer.
>
> Surely I can do something like that with Debian (Ubuntu) as well,
> can't I? How?
>
> Thanks,
>
> Alexander Skwar
I believe deborphan is what you are looking for. It should show you what
packages no longer depend on anything.
Alternatively, you could poke around in /var/log to find the dpkg log, and
see what was installed along with mplayer.
Hope this helps.
Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060708/94bc04b8/attachment.html>
More information about the ubuntu-users
mailing list