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 10-22-2022, 04:25 AM   #1
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Rep: Reputation: Disabled
Linux Headers not being upgraded via CLI


For the past three days I have had Updates/Upgrades via the CLI. Using the CLI all files have been upgraded except for the Linux Header Files which are being held back for an unknown reason though the files do show to be downloaded in Update Manager.

Why would they be held back via the CLI? Running LMDE5.
 
Old 10-22-2022, 06:44 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,294

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
What's the error? Post it.
 
Old 10-22-2022, 07:14 AM   #3
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
What's the error? Post it.
That's what so strange, there is no error.
 
Old 10-22-2022, 08:19 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Please provide the exact error message along with the command (with options) which you are using to cause it.

Just a wild guess:

Code:
apt update
apt upgrade
apt full-upgrade
apt autoremove
 
Old 10-22-2022, 08:25 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
How do you know the headers were not upgraded?
 
Old 10-22-2022, 09:01 AM   #6
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Please provide the exact error message along with the command (with options) which you are using to cause it.

Just a wild guess:

Code:
apt update
apt upgrade
apt full-upgrade
apt autoremove
I will provide that when an update is available and when I upgrade it. It then shows that particular script.
Thanks
 
Old 10-22-2022, 09:03 AM   #7
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
How do you know the headers were not upgraded?
When I do the Upgrade it states that. When an upgrade is done will provide the script which states that.
 
Old 10-22-2022, 09:37 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by poncedeleon
That's what so strange, there is no error.
...and....
Quote:
Originally Posted by poncedeleon
I will provide that when an update is available and when I upgrade it. It then shows that particular script.
...and...
Quote:
Originally Posted by poncedeleon View Post
When I do the Upgrade it states that. When an upgrade is done will provide the script which states that.
So, there are no messages to post...so why are you saying "it then shows that particular script" and "...will provide the script which states that"?? Seems that SOMETHING is giving you an error/message of some sort, doesn't it?? So why can't you post it? Why can't you tell us the version you're using, or provide details when posting a question??

If it's the same machine you asked about months ago, with another package being 'held back', the solution remains the same: https://www.linuxquestions.org/quest...ck-4175715385/
 
Old 10-23-2022, 04:08 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Quote:
Originally Posted by poncedeleon View Post
When I do the Upgrade it states that. When an upgrade is done will provide the script which states that.
would be nice to see exactly what did you try and what's happened. Exactly. Do not type something similar, do not try to remember or explain, just show us what was entered and what was the response. Exactly. What you wrote is nothing more but "something happened somewhere".
 
Old 10-23-2022, 04:59 PM   #10
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-headers-amd64 linux-image-amd64
The following packages will be upgraded:
linux-compiler-gcc-10-x86 linux-kbuild-5.10 linux-libc-dev
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 2,835 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org bullseye-security/main amd64 linux-compiler-gcc-10-x86 amd64 5.10.149-2 [519 kB]
Get:2 http://security.debian.org bullseye-security/main amd64 linux-kbuild-5.10 amd64 5.10.149-2 [765 kB]
Get:3 http://security.debian.org bullseye-security/main amd64 linux-libc-dev amd64 5.10.149-2 [1,551 kB]
Fetched 2,835 kB in 1s (4,093 kB/s)
(Reading database ... 283531 files and directories currently installed.)
Preparing to unpack .../linux-compiler-gcc-10-x86_5.10.149-2_amd64.deb ...
Unpacking linux-compiler-gcc-10-x86 (5.10.149-2) over (5.10.149-1) ...
Preparing to unpack .../linux-kbuild-5.10_5.10.149-2_amd64.deb ...
Unpacking linux-kbuild-5.10 (5.10.149-2) over (5.10.149-1) ...
Preparing to unpack .../linux-libc-dev_5.10.149-2_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.149-2) over (5.10.149-1) ...
Setting up linux-compiler-gcc-10-x86 (5.10.149-2) ...
Setting up linux-libc-dev:amd64 (5.10.149-2) ...
Setting up linux-kbuild-5.10 (5.10.149-2) ...
 
Old 10-23-2022, 11:21 PM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
https://askubuntu.com/questions/601/...-do-i-solve-it
What I would suggest is to use: apt install <package>
 
Old 10-24-2022, 12:39 AM   #12
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Lightbulb Web-searching the error message provides the answer.

(How to 'fish') A web search of the error message:
"The following packages have been kept back"

Instantly gave me this ([web]fish[ing_result], a bit tastiersimpler than [today's meal], given above):
https://itsfoss.com/following-packag...een-kept-back/

(based on the saying: "Teach a person to fish...", similar to web fishsearching)

Ignore my writing in parentheses (and braces).
TL;dr: Once again, web searching the error message, provides the answer.

Also, here is a Blog about using code tags, to make the posting of output clearer:
https://www.linuxquestions.org/quest...-output-38639/

Last edited by !!!; 10-24-2022 at 12:57 AM.
 
Old 10-24-2022, 08:59 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by poncedeleon View Post
Code:
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-headers-amd64 linux-image-amd64
The following packages will be upgraded:
  linux-compiler-gcc-10-x86 linux-kbuild-5.10 linux-libc-dev
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 2,835 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org bullseye-security/main amd64 linux-compiler-gcc-10-x86 amd64 5.10.149-2 [519 kB]
Get:2 http://security.debian.org bullseye-security/main amd64 linux-kbuild-5.10 amd64 5.10.149-2 [765 kB]
Get:3 http://security.debian.org bullseye-security/main amd64 linux-libc-dev amd64 5.10.149-2 [1,551 kB]
Fetched 2,835 kB in 1s (4,093 kB/s)       
(Reading database ... 283531 files and directories currently installed.)
Preparing to unpack .../linux-compiler-gcc-10-x86_5.10.149-2_amd64.deb ...
Unpacking linux-compiler-gcc-10-x86 (5.10.149-2) over (5.10.149-1) ...
Preparing to unpack .../linux-kbuild-5.10_5.10.149-2_amd64.deb ...
Unpacking linux-kbuild-5.10 (5.10.149-2) over (5.10.149-1) ...
Preparing to unpack .../linux-libc-dev_5.10.149-2_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.149-2) over (5.10.149-1) ...
Setting up linux-compiler-gcc-10-x86 (5.10.149-2) ...
Setting up linux-libc-dev:amd64 (5.10.149-2) ...
Setting up linux-kbuild-5.10 (5.10.149-2) ...
So packages were held back...exactly as you asked before.
https://www.linuxquestions.org/quest...ck-4175715385/

Again: the answer is the same. You were provided links and commands to deal with this exact problem previously. Links and commands were looked up for you then, and have been given to you again here. At what point can you proceed??
 
Old 10-24-2022, 03:26 PM   #14
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
https://askubuntu.com/questions/601/...-do-i-solve-it
What I would suggest is to use: apt install <package>
Thank you for your considerate response to me. In addition I will surf the web prior to posting any more questions.

Have a good day.
 
Old 11-06-2022, 01:44 PM   #15
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
So packages were held back...exactly as you asked before.
https://www.linuxquestions.org/quest...ck-4175715385/

Again: the answer is the same. You were provided links and commands to deal with this exact problem previously. Links and commands were looked up for you then, and have been given to you again here. At what point can you proceed??
Please put me on your IGNORE LIST. I respectfully do not want to hear from you any longer. I will do the same so don't waste your time replying to ANY of my post's or replies. Get off of it and get a life.
 
  


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
upgraded to -current from 14.2 and then upgraded multilib, breaking everything dimm0k Slackware 1 02-16-2020 05:20 PM
[SOLVED] Upgraded distro which upgraded perl and modules from old version not transferred to new. systemlordanubis Linux - Software 1 03-25-2018 03:37 AM
[SOLVED] Why are kernel-headers not upgraded? nycbrit Red Hat 7 08-26-2015 05:26 PM
[SOLVED] keyboard stopped working in X when I upgraded udev from 1.75 to 1.82After I upgraded RandomTroll Slackware 3 07-26-2012 02:48 PM
Difference between packages linux-headers-foo and linux-headers-foo-generic? jhwilliams Ubuntu 1 10-19-2009 05:04 AM

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

All times are GMT -5. The time now is 05:58 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