![]() |
Slackware -current. Slackpkg ended with warning: incorrect md5sum during upgrade
I use my own local mirror for Slackware 64 -current. I use AlieBob mirror-current.sh script. I synced mirror. Then I started slackpkg to upgrade system, slackpkg version 2.83.0. I noticed following strange behavior: slackpg because kernel was updated told to rerun mkinitrd because it thinks there is kernel with initrd ram disk. Slackpkg refers to this part of /etc/lilo.conf
Code:
# cat /etc/lilo.conf |
About initrd and mkinitrd rerun message.
May be filtering lilo.conf comments can fix this: /usr/libexec/slackpkg/functions.d/post-functions.sh Code:
- if [ -x /sbin/lilo ] && [ -r /etc/lilo.conf ] && grep -q initrd /etc/lilo.conf ; then |
Thanks I will have look at this. Till now system works. I am much more worried about mismatch mdsum warning. Something went wrong. No idea what. Disk failure during file copy? Does it possible to reconfigure slackpkg to use local repository (mirror) instead of local or remote ftp/http server? This will avoid necessity to copy files from place to another. I would sync mirror and then slackpkg would install directly from my own local mirror Now it access it through ftp service. Connects and copies them into its own cache. From my point it is the same work done twice.
Edit: It is generally good idea to add parser to slackpkg which will be capable to ignore all lines commented out. Then look for initrd. Possible spaces, tabs at the start of line followed by #. Correct parser is of course contained in lilo - it reads lilo.conf and skips all commented out lines. So preferably we should go the way lilo goes. |
All times are GMT -5. The time now is 10:29 PM. |