Re: upgrade - packages have been kept back
Hi.
On Fri, Dec 10, 2021 at 09:04:25AM +0100, teamaster@mad-hatters-teatime.teanet.org wrote:
> On Thu, 9 Dec 2021 23:09:34 +0000
> "Andrew M.A. Cater" <amacater@einval.com> wrote:
>
> > On Thu, Dec 09, 2021 at 11:58:33PM +0100,
> > teamaster@mad-hatters-teatime.teanet.org wrote:
> > > hey,
> > > i have not been using debian for long and not sure how to proceed
> > > here. is a:
> > > apt-get upgrade linux-image-amd64
> > > the right way?
> > > ty, jens.
> >
> > apt-get update ; apt-get upgrade
> >
> > [You need to pull in an up to date list of packages first]
>
> exactly that did not work
And it's because it should not work in the first place in the situation
like this. "apt-get upgrade" should and will refuse to install any new
packages (or uninstall existing ones).
What should solve your problem is:
apt update; apt upgrade
And it's because "apt" (not to be confused with "apt-get") is allowed to
install new packages during the update.
What also could solve your problem (but it's inherently dangerous, as
it will allow to remove installed packages as well) is:
apt-get update; apt-get dist-upgrade
In short, when in doubt, use "apt", not "apt-get".
Reco
Reply to: