Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242903

Re: upgrade - packages have been kept back

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: upgrade - packages have been kept back
Date 2021-12-10 14:20 +0100
Message-ID <DsNYB-6Sa-1@gated-at.bofh.it> (permalink)
References <DsAym-6HA-5@gated-at.bofh.it> <DsAI2-70n-11@gated-at.bofh.it> <DsJ8B-402-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

upgrade - packages have been kept back <teamaster@mad-hatters-teatime.teanet.org> - 2021-12-10 00:00 +0100
  Re: upgrade - packages have been kept back "Andrew M.A. Cater" <amacater@einval.com> - 2021-12-10 00:10 +0100
    Re: upgrade - packages have been kept back <teamaster@mad-hatters-teatime.teanet.org> - 2021-12-10 09:10 +0100
      Re: upgrade - packages have been kept back john doe <johndoe65534@mail.com> - 2021-12-10 09:30 +0100
        Re: upgrade - packages have been kept back <teamaster@mad-hatters-teatime.teanet.org> - 2021-12-10 14:30 +0100
      Re: upgrade - packages have been kept back Reco <recoverym4n@enotuniq.net> - 2021-12-10 14:20 +0100
      Re: upgrade - packages have been kept back Tim Woodall <debianuser@woodall.me.uk> - 2021-12-10 18:50 +0100
        Re: upgrade - packages have been kept back <teamaster@mad-hatters-teatime.teanet.org> - 2021-12-10 23:40 +0100
          Re: upgrade - packages have been kept back Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-11 00:00 +0100
            Re: upgrade - packages have been kept back <teamaster@mad-hatters-teatime.teanet.org> - 2021-12-11 02:00 +0100
              Re: upgrade - packages have been kept back Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-11 10:10 +0100
  Re: upgrade - packages have been kept back Greg Wooledge <greg@wooledge.org> - 2021-12-10 02:00 +0100

csiph-web