LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-30-2020, 08:42 AM   #1
platypo
Member
 
Registered: Sep 2015
Distribution: Debian, Archlinux
Posts: 140

Rep: Reputation: Disabled
Apt: The following packages have been kept back: linux-image-amd64


Hello!

For serveral months now i have had the message
Code:
The following packages have been kept back:
  linux-image-amd64
when running apt-get upgrade in debian buster.
Same goes for my intel machine:
Code:
The following packages have been kept back:
  linux-image-686-pae
I have found serveral workarounds wich i can't remember and never fully understood but after some updates the error allways came back.

I am currently a bit short on time to invest in this, so can someone explain to me in simple words what's happening here, wheter or not this might be unprofitable for the system and if so, how to persistently fix it for good?

TIA

Last edited by platypo; 11-30-2020 at 08:44 AM.
 
Old 11-30-2020, 08:49 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Code:
sudo apt full-upgrade
From the apt(8) manpage:
Quote:
upgrade (apt-get(8))
upgrade is used to install available upgrades of all packages currently installed on the system from the sources configured via sources.list(5). New packages will be installed if required to satisfy dependencies, but existing packages will never be removed. If an upgrade for a package requires the removal of an installed package the upgrade for this package isn't performed.
full-upgrade (apt-get(8))
full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.

Last edited by shruggy; 11-30-2020 at 09:00 AM.
 
Old 11-30-2020, 09:37 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
My guess...
You have repositories of more than one Debian/Debian derivative, some packages cannot be upgraded because of version dependency issues.
 
Old 12-01-2020, 11:47 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The answer is in post no. 2. Being "short on time", not being willing to set aside time to learn, means that you should consider paid support.
 
Old 12-02-2020, 11:15 AM   #5
platypo
Member
 
Registered: Sep 2015
Distribution: Debian, Archlinux
Posts: 140

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Brains View Post
My guess...
You have repositories of more than one Debian/Debian derivative, some packages cannot be upgraded because of version dependency issues.
I remember now that the error correlates with the installation of brave browser. I completely lost track of this issue over the past few weeks, i'm sorry. I will try to pursue this as soon i have more time.
Quote:
Originally Posted by cynwulf View Post
The answer is in post no. 2. Being "short on time", not being willing to set aside time to learn, means that you should consider paid support.
I guess i can't contradict this i was a bit quick to ask here. In my defense, i'm not permanently unwilling to work/learn but especially when it comes to updates/package distribution i know from experience that i am very happy to be able to consult interactive platforms like LQ in addition to available documentation.
 
Old 12-02-2020, 11:32 AM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
So? Did apt full-upgrade resolve it? Then mark the thread [SOLVED].
 
Old 12-02-2020, 11:38 AM   #7
platypo
Member
 
Registered: Sep 2015
Distribution: Debian, Archlinux
Posts: 140

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
So? Did apt full-upgrade resolve it? Then mark the thread [SOLVED].
I will try this as soon as i have some more time but i won't forget to mark this thread solved. Certainly thanks for the support so far.
 
Old 12-02-2020, 06:20 PM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by platypo View Post
I remember now that the error correlates with the installation of brave browser.
Though 3rd party repositories are often discouraged, and for good reason, this is unrelated.
 
Old 12-12-2020, 05:26 AM   #9
platypo
Member
 
Registered: Sep 2015
Distribution: Debian, Archlinux
Posts: 140

Original Poster
Rep: Reputation: Disabled
After investigating a bit i got a little clairity over what i did. The error seems to have occured due to an attempt to install an application from sid via apt and then trying to switch back to upgrading from stable wich obviously didn't work out well. The reason i opened this thread is that the same issue appeared on my i686 machine where i haven't found any manipulations in the sources. I don't know exactly why the conflict appeared there but it's still possible that it's something similar. Thanks for your support i hope next time i won't have to ask for help anymore.
 
Old 12-12-2020, 12:05 PM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Maybe I'm stating the obvious here, but:
https://wiki.debian.org/DontBreakDebian
 
1 members found this post helpful.
Old 12-12-2020, 02:22 PM   #11
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
It doesn't seem to be obvious to many people. Else we wouldn't have the number of people who come here with the same issue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] The following packages have been kept back cccc Debian 7 05-14-2013 06:14 PM
[SOLVED] Update: The following packages have been kept back ??? taylorkh Ubuntu 4 04-07-2011 05:58 AM
apt-get - "The following packages have been kept back: ..." Thoddy Ubuntu 2 10-20-2007 04:40 AM
apt-get upgrade packages have been kept back cccc Debian 7 04-11-2007 02:35 PM
what does "The following packages have been kept back" mean joesbox Debian 2 10-26-2003 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration