help needed to manually install kernel 4.15.0-23 [<SOLVED>]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

help needed to manually install kernel 4.15.0-23 [<SOLVED>]

Post by biersmaak1 » Sun Jul 22, 2018 2:27 pm

Hi there,

I try to install lm 19 Cinnamon (64) offline. Update manager shows the kernel to install but can't because i'm offline. After internet connection downloads the kernel and install but after install it is disappeared. Not showing in the kernel listing and not showing when i use inxi -Fxz. Still shows the 4....20 as installed. I need to install the kernel 4.15.0-23 by hand but i don know how to do this.

Please, don't say V2 is released and that solves the problem because it doesn't. Same issue to install kernel 4.15.0-23. It will not install but will replace it with the newest 4....-29.


So, what i really need is the instruction to manually add this kernel in Terminal.

Thanks in advance.

BiersmaaK (NooB)

P.S. I don't know how to add the results from terminal to this message.
Last edited by biersmaak1 on Sun Jul 22, 2018 11:07 pm, edited 1 time in total.
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: help needed to manually install kernel 4.15.0-23

Post by JeremyB » Sun Jul 22, 2018 2:29 pm

Reboot into the installed Linux Mint and install it from there, or is there another issue?

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 2:45 pm

Hi Jeremy, Did a clean/fresh install. After install direct reboot. Then i changed update manager not to install automaticly. Then connect to internet to download the kernel and installed it. But it doesn't show anywhere as being installed. not even after a reboot. So i'm totally lost because i made the biggest misstake to install v2 of Cinnamon. (tested it first). But suddenly after installation my swap dissapeared and nowhere to find. Sdd was suddenly 16Gb smaller. Try to fix that with Gpart but unsuccesfully. That's why i switched back to V1. (still had a copy). So can't go back to previous because there isn't.
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

gm10
Level 10
Level 10
Posts: 3456
Joined: Thu Jun 21, 2018 5:11 pm

Re: help needed to manually install kernel 4.15.0-23

Post by gm10 » Sun Jul 22, 2018 2:48 pm

Sounds like you may be trying to update the kernel on a live USB/DVD? Remove the USB/DVD, then boot your system, post output of

Code: Select all

inxi -Fxz

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 2:52 pm

Code: Select all

System:    Host: xfactor-LM-19-V1 Kernel: 4.15.0-20-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 20JS0004US v: ThinkPad T470s W10DG serial: N/A
           Mobo: LENOVO model: 20JS0004US v: SDK0J40705 WIN serial: N/A
           UEFI [Legacy]: LENOVO v: N1WET28W (1.07 ) date: 02/13/2017
Battery    BAT0: charge: 16.7 Wh 79.4% condition: 21.0/23.5 Wh (89%)
           model: SMP 00HW023 status: Discharging
           BAT1: charge: 1.2 Wh 4.8% condition: 25.1/26.1 Wh (96%)
           model: SMP 01AV406 status: N/A
CPU:       Dual core Intel Core i7-6600U (-MT-MCP-) 
           arch: Skylake rev.3 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11232
           clock speeds: max: 3400 MHz 1: 500 MHz 2: 500 MHz 3: 500 MHz
           4: 500 MHz
Graphics:  Card: Intel HD Graphics 520 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.02hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
           version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Intel Ethernet Connection I219-LM
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: down mac: <filter>
           Card-2: Intel Wireless 8260 driver: iwlwifi bus-ID: 3a:00.0
           IF: wlp58s0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (3.1% used)
           ID-1: /dev/nvme0n1 model: THNSF5256GPUK_TOSHIBA size: 256.1GB
Partition: ID-1: / size: 234G used: 7.4G (4%) fs: ext4 dev: /dev/nvme0n1p1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 41.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 196 Uptime: 1:48 Memory: 1287.9/7629.2MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
Last edited by JeremyB on Sun Jul 22, 2018 3:24 pm, edited 1 time in total.
Reason: added code tags
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

gm10
Level 10
Level 10
Posts: 3456
Joined: Thu Jun 21, 2018 5:11 pm

Re: help needed to manually install kernel 4.15.0-23

Post by gm10 » Sun Jul 22, 2018 3:27 pm

Ok, looking good. Forgot that inxi only lists mounted partitions. I was mainly wondering whether that's the only operating system you've got installed. If you've got a second Linux with its own boot loader installed then you may be booting from that one. If you don't know, post output of lsblk.

If that's not the case, open Update Manager > View > Linux kernels, select the -23 kernel and click on install. Once it's done, reboot, type uame -r to see what kernel you are on.

If you're still on -20, post output of

Code: Select all

apt list --installed linux-image-*
as well as of

Code: Select all

cat /var/log/apt/term.log
(we only need the part starting from the last "Log started:" line for this one).

PS: Not sure why you don't want to install updates and don't want the most recent kernel but I generally advise against that unless you know what you're doing.

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 4:18 pm

Only way to get the 23 back in update manager is new installation of LM 19 (done).
only installed the 23 and this is result:

xfactor@xfactor-LM19-V1:~$ apt list --installed linux-image-*
Bezig met oplijsten... Klaar
linux-image-4.15.0-20-generic/bionic,now 4.15.0-20.21 amd64 [geïnstalleerd]
linux-image-generic/bionic,now 4.15.0.20.23 amd64 [geïnstalleerd,automatisch]
xfactor@xfactor-LM19-V1:~$ inxi -Fxz
System: Host: xfactor-LM19-V1 Kernel: 4.15.0-20-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: laptop System: LENOVO product: 20JS0004US v: ThinkPad T470s W10DG serial: N/A
Mobo: LENOVO model: 20JS0004US v: SDK0J40705 WIN serial: N/A
UEFI [Legacy]: LENOVO v: N1WET28W (1.07 ) date: 02/13/2017
Battery BAT0: charge: 12.8 Wh 60.9% condition: 21.0/23.5 Wh (89%)
model: SMP 00HW023 status: Charging
BAT1: charge: 19.8 Wh 79.0% condition: 25.1/26.1 Wh (96%)
model: SMP 01AV406 status: N/A
CPU: Dual core Intel Core i7-6600U (-MT-MCP-)
arch: Skylake rev.3 cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11232
clock speeds: max: 3400 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz
4: 800 MHz
Graphics: Card: Intel HD Graphics 520 bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.02hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card Intel Sunrise Point-LP HD Audio
driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network: Card-1: Intel Ethernet Connection I219-LM
driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: enp0s31f6 state: down mac: <filter>
Card-2: Intel Wireless 8260 driver: iwlwifi bus-ID: 3a:00.0
IF: wlp58s0 state: up mac: <filter>
Drives: HDD Total Size: 256.1GB (4.5% used)
ID-1: /dev/nvme0n1 model: THNSF5256GPUK_TOSHIBA size: 256.1GB
Partition: ID-1: / size: 229G used: 5.5G (3%) fs: ext4 dev: /dev/nvme0n1p1
ID-2: swap-1 size: 6.04GB used: 0.00GB (0%)
fs: swap dev: /dev/nvme0n1p5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 47.0C mobo: N/A
Fan Speeds (in rpm): cpu: 0
Info: Processes: 199 Uptime: 2 min Memory: 882.8/7629.2MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
xfactor@xfactor-LM19-V1:~$

now you see something strange... it said automaticly installed (23) but after inxi -Fxz it tell something else
and this is the last part of log

Log started: 2018-07-22 22:03:47
Voorheen niet geselecteerd pakket linux-image-generic wordt geselecteerd.
(Database wordt ingelezen ... 234812 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van .../linux-image-generic_4.15.0.20.23_amd64.deb wordt voorbereid...
Bezig met uitpakken van linux-image-generic (4.15.0.20.23) ...
Voorheen niet geselecteerd pakket linux-headers-generic wordt geselecteerd.
Uitpakken van .../linux-headers-generic_4.15.0.20.23_amd64.deb wordt voorbereid...
Bezig met uitpakken van linux-headers-generic (4.15.0.20.23) ...
Voorheen niet geselecteerd pakket linux-generic wordt geselecteerd.
Uitpakken van .../linux-generic_4.15.0.20.23_amd64.deb wordt voorbereid...
Bezig met uitpakken van linux-generic (4.15.0.20.23) ...
Instellen van linux-image-generic (4.15.0.20.23) ...
Instellen van linux-headers-generic (4.15.0.20.23) ...
Instellen van linux-generic (4.15.0.20.23) ...
Log ended: 2018-07-22 22:03:48
xfactor@xfactor-LM19-V1:~$

the other one uame -r gives an error

xfactor@xfactor-LM19-V1:~$ uame -r

Command 'uame' not found, did you mean:

command 'mame' from deb mame
command 'lame' from deb lame
command 'uname' from deb coreutils

Try: sudo apt install <deb name>
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: help needed to manually install kernel 4.15.0-23

Post by JeremyB » Sun Jul 22, 2018 4:29 pm

Try

Code: Select all

sudo update-grub
Reboot

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 4:37 pm

xfactor@xfactor-LM19-V1:~$ sudo update-grub
[sudo] password for xfactor:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
xfactor@xfactor-LM19-V1:~$
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: help needed to manually install kernel 4.15.0-23

Post by JeremyB » Sun Jul 22, 2018 4:47 pm

possibly

Code: Select all

sudo apt-get install --reinstall linux-image-4.15.0-23-generic linux-headers-4.15.0-23 linux-modules-extra-4.15.0-23-generic linux-modules-4.15.0-23 generic linux headers-4.15.0-23-generic
Reboot

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 4:53 pm

xfactor@xfactor-LM19-V1:~$ sudo apt-get install --reinstall linux-image-4.15.0-23-generic linux-headers-4.15.0-23 linux-modules-extra-4.15.0-23-generic linux-modules-4.15.0-23 generic linux headers-4.15.0-23-generic
[sudo] password for xfactor:
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
E: Kan pakket linux-image-4.15.0-23-generic niet vinden
E: Kon geen enkel pakket vinden via expansie (glob) 'linux-image-4.15.0-23-generic'
E: Kon geen enkel pakket vinden via regex 'linux-image-4.15.0-23-generic'
E: Kan pakket linux-headers-4.15.0-23 niet vinden
E: Kon geen enkel pakket vinden via expansie (glob) 'linux-headers-4.15.0-23'
E: Kon geen enkel pakket vinden via regex 'linux-headers-4.15.0-23'
E: Kan pakket linux-modules-extra-4.15.0-23-generic niet vinden
E: Kon geen enkel pakket vinden via expansie (glob) 'linux-modules-extra-4.15.0-23-generic'
E: Kon geen enkel pakket vinden via regex 'linux-modules-extra-4.15.0-23-generic'
E: Kan pakket linux-modules-4.15.0-23 niet vinden
E: Kon geen enkel pakket vinden via expansie (glob) 'linux-modules-4.15.0-23'
E: Kon geen enkel pakket vinden via regex 'linux-modules-4.15.0-23'
E: Kan pakket generic niet vinden
E: Kan pakket linux niet vinden
E: Kan pakket headers-4.15.0-23-generic niet vinden
E: Kon geen enkel pakket vinden via expansie (glob) 'headers-4.15.0-23-generic'
E: Kon geen enkel pakket vinden via regex 'headers-4.15.0-23-generic'
xfactor@xfactor-LM19-V1:~$
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

gm10
Level 10
Level 10
Posts: 3456
Joined: Thu Jun 21, 2018 5:11 pm

Re: help needed to manually install kernel 4.15.0-23

Post by gm10 » Sun Jul 22, 2018 5:05 pm

Do me a favor and go to Software Sources and switch to another mirror for Base (bionic). I'm wondering if yours is missing packages (we could check but ...). Also is there a reason why you want to install an old kernel rather than the most recent one? Most recent is -29.

To get -23 regardless, try this after you switch mirrors:

Code: Select all

apt update 
apt install -f
apt install --reinstall linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic linux-image-4.15.0-23-generic

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: help needed to manually install kernel 4.15.0-23

Post by JeremyB » Sun Jul 22, 2018 5:05 pm

Are you still trying to do this when booted from the USB?

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 5:19 pm

no, after install i removed usb. should i leave it in while rebooting and choose then booting from....?
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: help needed to manually install kernel 4.15.0-23

Post by JeremyB » Sun Jul 22, 2018 5:35 pm

Don't leave the USB plugged in

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 5:39 pm

Code: Select all

xfactor@xfactor-LM19-V1:~$ apt install --reinstall linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic linux-image-4.15.0-23-generic
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
Voorgestelde pakketten:
  fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools
De volgende NIEUWE pakketten zullen geïnstalleerd worden:
  linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic
  linux-image-4.15.0-23-generic linux-modules-4.15.0-23-generic
  linux-modules-extra-4.15.0-23-generic
0 opgewaardeerd, 5 nieuw geïnstalleerd, 0 te verwijderen en 288 niet opgewaardeerd.
Er moeten 65,7 MB aan archieven opgehaald worden.
Na deze bewerking zal er 335 MB extra schijfruimte gebruikt worden.
Ophalen:1 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-23 all 4.15.0-23.25 [11,0 MB]
Ophalen:2 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-23-generic amd64 4.15.0-23.25 [1097 kB]
Ophalen:3 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-modules-4.15.0-23-generic amd64 4.15.0-23.25 [13,0 MB]
Ophalen:4 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-image-4.15.0-23-generic amd64 4.15.0-23.25 [7880 kB]
Ophalen:5 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25 [32,7 MB]
Genegeerd:5 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25
Ophalen:5 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25 [32,7 MB]
Fout:5 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25
  Hash-som komt niet overeen
  Hashes of expected file:
   - SHA256:5dec8b2f923d923f305b4e90c36a0d183e565296d03cecc101d123b09f8b0299
   - SHA1:404b21d8aef0dc37973991c0a380460cd03e5058 [weak]
   - MD5Sum:ecf7fa627feb67da7dc7d70677cac1fd [weak]
   - Filesize:32731668 [weak]
  Hashes of received file:
   - SHA256:5453289588d9e1a67c787c437f5849f652337ce2a432230d1121029853ce0f0b
   - SHA1:ab4edd858c1608477a4940eb80235b357011229f [weak]
   - MD5Sum:55f77eea3ffe732ad8ec766c36676868 [weak]
   - Filesize:32731668 [weak]
  Last modification reported: Thu, 24 May 2018 09:04:36 +0000
33,2 MB opgehaald in 1min 6s (504 kB/s)                                        
E: Ophalen van http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-modules-extra-4.15.0-23-generic_4.15.0-23.25_amd64.deb is mislukt  Hash-som komt niet overeen
   Hashes of expected file:
    - SHA256:5dec8b2f923d923f305b4e90c36a0d183e565296d03cecc101d123b09f8b0299
    - SHA1:404b21d8aef0dc37973991c0a380460cd03e5058 [weak]
    - MD5Sum:ecf7fa627feb67da7dc7d70677cac1fd [weak]
    - Filesize:32731668 [weak]
   Hashes of received file:
    - SHA256:5453289588d9e1a67c787c437f5849f652337ce2a432230d1121029853ce0f0b
    - SHA1:ab4edd858c1608477a4940eb80235b357011229f [weak]
    - MD5Sum:55f77eea3ffe732ad8ec766c36676868 [weak]
    - Filesize:32731668 [weak]
   Last modification reported: Thu, 24 May 2018 09:04:36 +0000
E: Kon sommige archieven niet ophalen. Misschien kunt u 'apt-get update' uitvoeren of het met '--fix-missing' proberen
Last edited by JeremyB on Sun Jul 22, 2018 5:42 pm, edited 1 time in total.
Reason: code tags
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: help needed to manually install kernel 4.15.0-23

Post by JeremyB » Sun Jul 22, 2018 5:42 pm

Code: Select all

sudo apt install -f

gm10
Level 10
Level 10
Posts: 3456
Joined: Thu Jun 21, 2018 5:11 pm

Re: help needed to manually install kernel 4.15.0-23

Post by gm10 » Sun Jul 22, 2018 5:53 pm

biersmaak1 wrote:
Sun Jul 22, 2018 5:39 pm

Code: Select all

xfactor@xfactor-LM19-V1:~$ apt install --reinstall linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic linux-image-4.15.0-23-generic
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
Voorgestelde pakketten:
  fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools
De volgende NIEUWE pakketten zullen geïnstalleerd worden:
  linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic
  linux-image-4.15.0-23-generic linux-modules-4.15.0-23-generic
  linux-modules-extra-4.15.0-23-generic
0 opgewaardeerd, 5 nieuw geïnstalleerd, 0 te verwijderen en 288 niet opgewaardeerd.
Er moeten 65,7 MB aan archieven opgehaald worden.
Na deze bewerking zal er 335 MB extra schijfruimte gebruikt worden.
Ophalen:1 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-23 all 4.15.0-23.25 [11,0 MB]
Ophalen:2 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-23-generic amd64 4.15.0-23.25 [1097 kB]
Ophalen:3 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-modules-4.15.0-23-generic amd64 4.15.0-23.25 [13,0 MB]
Ophalen:4 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-image-4.15.0-23-generic amd64 4.15.0-23.25 [7880 kB]
Ophalen:5 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25 [32,7 MB]
Genegeerd:5 http://archive.ubuntu.mirror.rafal.ca/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25
Ophalen:5 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25 [32,7 MB]
Fout:5 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-23-generic amd64 4.15.0-23.25
  Hash-som komt niet overeen
  Hashes of expected file:
   - SHA256:5dec8b2f923d923f305b4e90c36a0d183e565296d03cecc101d123b09f8b0299
   - SHA1:404b21d8aef0dc37973991c0a380460cd03e5058 [weak]
   - MD5Sum:ecf7fa627feb67da7dc7d70677cac1fd [weak]
   - Filesize:32731668 [weak]
  Hashes of received file:
   - SHA256:5453289588d9e1a67c787c437f5849f652337ce2a432230d1121029853ce0f0b
   - SHA1:ab4edd858c1608477a4940eb80235b357011229f [weak]
   - MD5Sum:55f77eea3ffe732ad8ec766c36676868 [weak]
   - Filesize:32731668 [weak]
  Last modification reported: Thu, 24 May 2018 09:04:36 +0000
33,2 MB opgehaald in 1min 6s (504 kB/s)                                        
E: Ophalen van http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-modules-extra-4.15.0-23-generic_4.15.0-23.25_amd64.deb is mislukt  Hash-som komt niet overeen
   Hashes of expected file:
    - SHA256:5dec8b2f923d923f305b4e90c36a0d183e565296d03cecc101d123b09f8b0299
    - SHA1:404b21d8aef0dc37973991c0a380460cd03e5058 [weak]
    - MD5Sum:ecf7fa627feb67da7dc7d70677cac1fd [weak]
    - Filesize:32731668 [weak]
   Hashes of received file:
    - SHA256:5453289588d9e1a67c787c437f5849f652337ce2a432230d1121029853ce0f0b
    - SHA1:ab4edd858c1608477a4940eb80235b357011229f [weak]
    - MD5Sum:55f77eea3ffe732ad8ec766c36676868 [weak]
    - Filesize:32731668 [weak]
   Last modification reported: Thu, 24 May 2018 09:04:36 +0000
E: Kon sommige archieven niet ophalen. Misschien kunt u 'apt-get update' uitvoeren of het met '--fix-missing' proberen
Is that the new mirror? Run

Code: Select all

sudo rm -rf /var/lib/apt/lists/*
apt clean
And then this again, same as I said before:

Code: Select all

apt update 
apt install -f
apt install --reinstall linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic linux-image-4.15.0-23-generic

biersmaak1
Level 1
Level 1
Posts: 14
Joined: Sun Jul 22, 2018 12:45 pm

Re: help needed to manually install kernel 4.15.0-23

Post by biersmaak1 » Sun Jul 22, 2018 6:45 pm

xfactor@xfactor-LM19-V1:~$ sudo apt install -f
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 288 niet opgewaardeerd.
xfactor@xfactor-LM19-V1:~$

It seems like the hash tables gives the problem to install.
I went back to V1 because after all updates of V2 there was a partition missing and i couldn't get it back. Not even showing in Gparted. The Gb's of that partition also missing.
I only made a backup of personal files. So simply thought of me, just reinstall V1 and and don't update to newest kernel. But it didn't work out that well.
Best for now to try is another install of V2.

I thank all for trying to solve this.

P.S.
I just started a month ago with Linux, found Mint 18-3, liked it and a few days later Tara was released. With all the problems of Mesa and the kernels -24 and some settings in Mint (to small font in firefox and not adjusting to system settings.) and after trying diff distro's, I came back to Mint, installed V1 and had no problems.
Anyway the missing partition was the main reason to do a new install of V1.(second reason was the small font again in Cinnamon V2. and browser font not adjusting to system font.
Now sdd has it original size back i will try to install V2 again.
ThinkPad T470s: Dual core Intel Core i7-6600U (-MT-MCP-): Kernel: 4.15.0-29-generic x86_64: Intel HD Graphics 520: Card Intel Sunrise Point-LP HD Audio drive: Intel Wireless 8260 driver: SSD THNSF5256GPUK_TOSHIBA size: 256.1GB: Memory: 7629.2MB

gm10
Level 10
Level 10
Posts: 3456
Joined: Thu Jun 21, 2018 5:11 pm

Re: help needed to manually install kernel 4.15.0-23

Post by gm10 » Sun Jul 22, 2018 6:51 pm

I'm losing track of your back and forth tbh although a clean install probably wouldn't be the worst idea. I gave you the fix for the hash issue in the post just above yours.

Post Reply

Return to “Installation & Boot”