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

Re: Buster 10.9 why does apt -y update followed by apt -y upgrade not proceed with upgrades



On 2021-04-07, Keith Christian <keith1christian@gmail.com> wrote:
> Looking on the www, some people recommend using apt-get -y upgrade or
> apt-get -y install to avoid the following message:
>
>                     "NNN packages can be upgraded. Run 'apt list
> --upgradable' to see them."

That's the message you receive after running 'apt update,' if there are
new packages available for upgrade. 

> Is "apt" unable to perform an "upgrade," or am I missing a command
> line option (e.g. force?)

'apt upgrade' is capable of upgrading; 'apt update' is designed to
download package information from your configured sources. It is usually
advised to run the latter before the former so you'll be working with
the latest package information.

> Thanks.


-- 


Reply to: