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

Re: Repository Problem



On Fri, Aug 17, 2018 at 10:32:39PM +0100, Brian wrote:
> On Fri 17 Aug 2018 at 21:49:53 +0200, john doe wrote:
> 
> > As an aside, you should consider using 'apt' and not 'apt-get'.
> 
> Why? What functional difference is there between 'apt-get upgrade' and
> 'apt-get install' and the apt equivalents?

I don't agree with john doe's assertion; I'm just answering the literal
question.

"apt upgrade" will install new packages, if necessary, to satisfy the
upgrade dependencies; "apt-get upgrade" will not.  This is quite visible
every time there's a new kernel ABI bump.

"apt upgrade" or "apt install ..." will remove the *.deb files that
it downloads into /var/cache/apt/archives on this particular run, but
not any pre-existing files there.  "apt-get" will not.

"apt" uses yellow text that is virtually unreadable on a white terminal
background.  "apt-get" does not; it doesn't use ANY colors.


Reply to: