<div dir="ltr"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 19 Mar 2022, 22:53 Sam Varshavchik, <<a href="mailto:mrsam@courier-mta.com" target="_blank">mrsam@courier-mta.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Colin Law writes:<br>
<br>
> On Sat, 19 Mar 2022 at 12:33, Sam Varshavchik <<a href="mailto:mrsam@courier-mta.com" rel="noreferrer" target="_blank">mrsam@courier-mta.com</a>> wrote:<br>
> ><br>
> > My question was a technical, rather than a policy one: if an installed<br>
> > package A "Depends" on B, apparently you can end up with dpkg removing B  <br>
> and<br>
> > not doing anything about A. That just does not compute for me. My question<br>
> > was that if merely specifying that A "Depends" on B is insufficient, then<br>
> > what is?<br>
> ><br>
> > If the answer here is "well, the policy says don't do it", then that's just<br>
> > my indirect answer: no, this cannot be enforced by deb packages'<br>
> > dependencies.<br>
><br>
> This thread is well beyond my knowledge base, but have you tried<br>
> installing and removing via apt rather than dpkg<br>
<br>
No, not yet. It's on my todo list; but first I wanted to make sure I  <br>
understood fully how inter-package dependencies were supposed to work. <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">The reason I asked is that I am pretty sure that, with apt, if you install a package that pulls in others, then if you uninstall the pulled in then apt wants to remove the main package.  However, it may be that this is a feature of apt rather than dpkg.  I don't know though.  I think perhaps this is not the best place to ask such questions.   Perhaps ubuntu-devel-discuss (<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a>) might be better, though there may be a Debian list too.</div><div dir="auto"><br></div><div>If you do find the solution elsewhere then please come back and tell us.</div><div><br></div><div>Colin</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div></div>
</div>