Re: apt update behaves differently from apt-get update

2018-06-22 Thread Dan Streetman
On Fri, Jun 22, 2018 at 4:23 PM Nish Aravamudan wrote: > > On Fri, Jun 22, 2018 at 9:46 AM Lao Shaw wrote: >> >> 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

Re: apt update behaves differently from apt-get update

2018-06-22 Thread Nish Aravamudan
On Fri, Jun 22, 2018 at 9:46 AM Lao Shaw wrote: > 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. > I think

apt update behaves differently from apt-get update

2018-06-22 Thread Lao Shaw
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. root@do-u1804:~# apt update Hit:1