LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2020, 03:32 AM   #1
keeneadt
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 56

Rep: Reputation: Disabled
md5sum mismatch and new kernel installation


Hi everybody. Some questions about slackpkg and kernel upgrade.

1. Sometimes after upgrade i get warnings from slackpkg about md5sum of packages. As far as i understand it means that md5sum of original (remote) package differs from md5sum of downloaded (local) package. But if i check after upgrade version of such package i can see that regardless of md5sum mismatch i have new version of package installed. I don't think this is correct behavior. Shouldn't slackpkg stop upgrading or installing package if md5sum mismatch?

2. When it comes to kernel upgrade i use this instruction https://docs.slackware.com/howtos:sl...:systemupgrade . According to "System Upgrade using SlackPkg" section i should blacklist
kernel-generic
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
I wonder if kernel-firmware and kernel-headers should be in this list as well? Does firmware linked somehow to kernel version or not? If kernel-headers package is used for virtualbox or other stuff, should it be blacklisted as well?

Last edited by keeneadt; 03-01-2020 at 03:41 AM.
 
Old 03-01-2020, 06:55 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by keeneadt View Post
Hi everybody. Some questions about slackpkg and kernel upgrade.

1. Sometimes after upgrade i get warnings from slackpkg about md5sum of packages. As far as i understand it means that md5sum of original (remote) package differs from md5sum of downloaded (local) package. But if i check after upgrade version of such package i can see that regardless of md5sum mismatch i have new version of package installed. I don't think this is correct behavior. Shouldn't slackpkg stop upgrading or installing package if md5sum mismatch?

2. When it comes to kernel upgrade i use this instruction https://docs.slackware.com/howtos:sl...:systemupgrade . According to "System Upgrade using SlackPkg" section i should blacklist
kernel-generic
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
I wonder if kernel-firmware and kernel-headers should be in this list as well? Does firmware linked somehow to kernel version or not? If kernel-headers package is used for virtualbox or other stuff, should it be blacklisted as well?
1) regarding the occasional md5sum errors, are you running "slackpkg update" before install-new or upgrade-all?

2) new kernels should be downloaded then installed, not upgraded. If you plan to use a generic kernel then an initrd must be generated for the new kernel and in some cases an initrd is needed for the huge kernel. Your bootloader of choice should be updated to point at the new kernel. With a little planning the bootloader can offer a choice of either the working kernel or the new kernel at boot.

kernel-firmware can be upgraded and is usually kernel independent. kernel-headers can be upgraded and are used when a package is built/rebuilt.

Does that help?
 
Old 03-01-2020, 07:58 AM   #3
keeneadt
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Chuck56 View Post
1) regarding the occasional md5sum errors, are you running "slackpkg update" before install-new or upgrade-all?

2) new kernels should be downloaded then installed, not upgraded. If you plan to use a generic kernel then an initrd must be generated for the new kernel and in some cases an initrd is needed for the huge kernel. Your bootloader of choice should be updated to point at the new kernel. With a little planning the bootloader can offer a choice of either the working kernel or the new kernel at boot.

kernel-firmware can be upgraded and is usually kernel independent. kernel-headers can be upgraded and are used when a package is built/rebuilt.

Does that help?
1. My general upgrade scheme looks like
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade slackpkg
slackpkg upgrade-all
2. Thanks for clarifying. I'll remove firmware package from blacklist and i'll keep headers for virtualbox future compiling.
 
  


Reply

Tags
kernel, md5sum, slackpkg



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
Wear-level md5sum issue? - (Re)Imaging cards for a Linux (Android) Device, dd and md5sum... LinuxAssailant Slackware 1 02-20-2020 12:21 PM
MD5sum mismatch pda_h4x0r Debian 2 08-11-2006 04:54 PM
Ubuntu Mplayer Install Error: Md5Sum mismatch racket24 Linux - Software 4 07-12-2005 04:47 PM
MD5Sum mismatch with kubuntu JimBass Linux - Newbie 2 07-12-2005 08:19 AM
apt: MD5Sum mismatch pingu Fedora 11 03-14-2005 10:04 AM

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

All times are GMT -5. The time now is 07:02 PM.

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