LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Linux Headers not being upgraded via CLI (https://www.linuxquestions.org/questions/debian-26/linux-headers-not-being-upgraded-via-cli-4175718021/)

poncedeleon 10-22-2022 04:25 AM

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.

business_kid 10-22-2022 06:44 AM

What's the error? Post it.

poncedeleon 10-22-2022 07:14 AM

Quote:

Originally Posted by business_kid (Post 6387830)
What's the error? Post it.

That's what so strange, there is no error.

Turbocapitalist 10-22-2022 08:19 AM

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


pan64 10-22-2022 08:25 AM

How do you know the headers were not upgraded?

poncedeleon 10-22-2022 09:01 AM

Quote:

Originally Posted by Turbocapitalist (Post 6387841)
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

poncedeleon 10-22-2022 09:03 AM

Quote:

Originally Posted by pan64 (Post 6387845)
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.

TB0ne 10-22-2022 09:37 AM

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 (Post 6387852)
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/

pan64 10-23-2022 04:08 AM

Quote:

Originally Posted by poncedeleon (Post 6387852)
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".

poncedeleon 10-23-2022 04:59 PM

$ 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) ...

pan64 10-23-2022 11:21 PM

https://askubuntu.com/questions/601/...-do-i-solve-it
What I would suggest is to use: apt install <package>

!!! 10-24-2022 12:39 AM

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/

TB0ne 10-24-2022 08:59 AM

Quote:

Originally Posted by poncedeleon (Post 6388182)
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??

poncedeleon 10-24-2022 03:26 PM

Quote:

Originally Posted by pan64 (Post 6388215)
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.

poncedeleon 11-06-2022 01:44 PM

Quote:

Originally Posted by TB0ne (Post 6388286)
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.


All times are GMT -5. The time now is 06:53 AM.