<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Jun 22, 2018 at 9:46 AM Lao Shaw <<a href="mailto:laoshaw21@gmail.com">laoshaw21@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On my freshly installed ubuntu 18.06 my cron job use 'apt-get' as 'apt' is not recommended to be used in scripts. however, 'apt-get update' will keep back my packages while 'apt upgrade' will upgrade them, this is not expected.</div></blockquote><div><br></div><div>I think you have the wrong mailing list, but, `man apt` says:</div><div><br></div><div><div>       apt provides a high-level commandline interface for the package</div><div>       management system. It is intended as an end user interface and enables</div><div>       some options better suited for interactive usage by default compared to</div><div>       more specialized APT tools like apt-get(8) and apt-cache(8).</div></div><div><br></div><div>This does not make me think that `apt` and `apt-get` are intended to have the same behavior in all operations (given that some options are explicitly (well the "some" is explicit, which actually are is not) enabled in `apt` only by default.</div><div><br></div><div>Thanks,</div><div>Nish</div></div></div>