Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Caution -- Linux headers to be removed  (Read 3945 times)

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Caution -- Linux headers to be removed
« on: 2020/05/22, 11:22:18 »
Full-upgrade at this moment will give you:

Code: [Select]
.......
.
.
The following packages will be REMOVED:
  gcc-10 linux-headers-5.6.12-towo.2-siduction-amd64 linux-headers-5.6.13-towo.1-siduction-amd64
  linux-headers-siduction-amd64
.
.
...


EDIT: That was on an HP laptop.  On an older Dell laptop, there is no problem -- so .....

EDIT #2: One machine shows this problem, three machines do not have the problem.  It might be a configuration issue of some kind with my HP laptop -- if that is it, sorry tor the noise!
« Last Edit: 2020/05/22, 12:14:47 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline bevo

  • User
  • Posts: 319
Re: Caution -- Linux headers to be removed
« Reply #1 on: 2020/05/22, 12:30:47 »
not so with
Code: [Select]
apt upgrade strange  :-\

Offline oduffo

  • User
  • Posts: 198
Re: Caution -- Linux headers to be removed
« Reply #2 on: 2020/05/22, 15:05:25 »
Same for me

Code: [Select]
Die folgenden Pakete werden ENTFERNT:
  gcc-10 linux-headers-5.6.12-towo.1-siduction-amd64 linux-headers-5.6.13-towo.1-siduction-amd64 linux-headers-siduction-amd64

on my desktop

Code: [Select]
System:    Host: kronos Kernel: 5.6.13-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.17.5
           Distro: siduction 16.1.0 Patience - kde - (201612232347)
CPU:       Quad Core: Intel Core i5-6600K type: MCP speed: 3772 MHz min/max: 800/3900 MHz
----

Code: [Select]
apt upgrade
doesn't want to remove anything.

Indeed, strange.

Gruß oduffo

Offline vilde

  • User
  • Posts: 708
Re: Caution -- Linux headers to be removed
« Reply #3 on: 2020/05/22, 16:29:42 »
It's not at all strange, that's how it shall be.
Apt upgrade never remove anything, it shall not, can not.

Offline unklarer

  • User
  • Posts: 816
Re: Caution -- Linux headers to be removed
« Reply #4 on: 2020/05/22, 16:50:48 »
You are not alone. Same here!

Code: [Select]
Die folgenden Pakete werden ENTFERNT:
  gcc-10 linux-headers-5.6.12-towo.1-siduction-amd64 linux-headers-5.6.13-towo.1-siduction-amd64 linux-headers-siduction-amd64

wait   8)


Offline vilde

  • User
  • Posts: 708
Re: Caution -- Linux headers to be removed
« Reply #5 on: 2020/05/22, 16:57:38 »
For me as a lacy user who not do a du so often the full-upgrade did install the kernel 5.6.13-towo.1-siduction-amd64 x86_64 probably with headers and also installed gcc-10.

BUT it removed gcc-7. I let that go even if I have no idea if I need it or not. My installations is rather messy anyway, I go on as long it works ;). Maybe gcc-7 is a problem?

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Caution -- Linux headers to be removed
« Reply #6 on: 2020/05/22, 19:03:31 »
Here™, nothing to be removed!

And I always do a full-upgrade, I never only use "apt upgrade".
Doing "apt upgrade" is the best way to shoot in your own feet, on a debian unstable/sid, my two cents.
What i do, is, i cherry-pick important security updates, if a  big remove will perform during "apt full-upgrade" because of a  transition.

Code: [Select]
:~$ LANG=C apt full-upgrade -s
[ ... ]
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

:~$ LANG=C apt policy gcc-10
gcc-10:
  Installed: 10.1.0-2
  Candidate: 10.1.0-2
  Version table:
 *** 10.1.0-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

l:~$ LANG=C inxi -Sx
System:    Host: hhl Kernel: 5.6.13-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5
           Distro: siduction 18.3.0 Patience - kde - (201809172151) base: Debian GNU/Linux bullseye/sid

Take a deeper look to gcc-10, maybe there is the reason why!?

Offline ReinerS

  • User
  • Posts: 1.061
Re: Caution -- Linux headers to be removed
« Reply #7 on: 2020/05/22, 19:27:57 »
Looks like really the gcc stuff somehow triggers this problem on some boxes.
I donot have it on my AMD Phenom II X6 big box but on my I5-3360 based HP-Laptop I get it as soon as I try to mark/update a gcc/cpp10 package for update.
Both boxes were softwarewise much the same, the laptop had been newly installed a while ago, the big box around a year ago.
regards
Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline unklarer

  • User
  • Posts: 816
Re: Caution -- Linux headers to be removed
« Reply #8 on: 2020/05/22, 20:16:37 »
@hendrikL,
I swear never to do anything different:
Code: [Select]
apt update && apt dist-upgrade

The difference to you is patience 16.1.0 and plasma 5.17.5
Code: [Select]
$ LANG=C apt policy gcc-10
gcc-10:
  Installed: 10.1.0-1
  Candidate: 10.1.0-2
  Version table:
     10.1.0-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
 *** 10.1.0-1 100
        100 /var/lib/dpkg/status
Code: [Select]
$ LANG=C inxi -Sx
System:    Host: sidukde Kernel: 5.6.13-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc
           v: 10.1.0 Desktop: KDE Plasma 5.17.5
           Distro: siduction 16.1.0 Patience - kde - (201702251051)
           base: Debian GNU/Linux bullseye/sid

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Caution -- Linux headers to be removed
« Reply #9 on: 2020/05/22, 20:47:06 »
I got curious and started playing on the HP laptop that caused me to make the original post.  The bad actor appears to be libgcc1, which falsely claims there is a problem with the installed gcc-10-base package. Here is how I fixed it:

Code: [Select]
apt full-upgrade
Let it rip out all the packages.

Code: [Select]
apt remove libgcc1

apt install linux-headers-siduction-amd64

This pulled back in everything that was removed.

The system is stable and nothing else appears to have been changed.

System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Caution -- Linux headers to be removed
« Reply #10 on: 2020/05/22, 21:23:15 »
@unklarer
mh, try "apt full-upgrade gcc-10+"

or first "apt install gcc-10"

Offline unklarer

  • User
  • Posts: 816
Re: Caution -- Linux headers to be removed
« Reply #11 on: 2020/05/22, 21:34:16 »
@dibl,
thank you very much! That's the way it went.   :D
Code: [Select]
~$ LANG=C apt policy gcc-10
gcc-10:
  Installed: 10.1.0-2
  Candidate: 10.1.0-2
  Version table:
 *** 10.1.0-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

@hendrikL,
I'm sorry, but I've already taken the path of dibl.   :)

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Caution -- Linux headers to be removed
« Reply #12 on: 2020/05/22, 21:43:33 »
Code: [Select]
$ LANG=C apt policy libgcc1
libgcc1:
  Installed: (none)
  Candidate: 1:10.1.0-1

@unklarer, everything is okay, no reason to be sorry

Offline unklarer

  • User
  • Posts: 816
Re: Caution -- Linux headers to be removed
« Reply #13 on: 2020/05/22, 22:15:11 »
^^I'm glad you're here.   :)

Offline vilde

  • User
  • Posts: 708
Re: Caution -- Linux headers to be removed
« Reply #14 on: 2020/05/22, 22:28:49 »
I got curious and started playing on the HP laptop that caused me to make the original post.  The bad actor appears to be libgcc1, which falsely claims there is a problem with the installed gcc-10-base package. Here is how I fixed it:

Code: [Select]
apt full-upgrade
Let it rip out all the packages.

Code: [Select]
apt remove libgcc1

apt install linux-headers-siduction-amd64

This pulled back in everything that was removed.

The system is stable and nothing else appears to have been changed.


I did a check, I don't have libgcc1 installed, probably the reason that I got another behavior.