slapt-get not upgrading kernel

Talk about other linux distributions, or even other OSes.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

slapt-get not upgrading kernel

Post by mimosa »

I seem to be stuck on 5.15.14!

Code: Select all

root[mimosa]# ls /var/log/packages/kernel*
/var/log/packages/kernel-firmware-20220111_13dca28-noarch-1  /var/log/packages/kernel-headers-5.15.14-x86-1  /var/log/packages/kernel-huge-5.15.14-x86_64-1  /var/log/packages/kernel-modules-5.15.14-x86_64-1  /var/log/packages/kernel-source-5.15.14-noarch-1
root[mimosa]# slapt-get --upgrade
Reading Package Lists...Done
The following packages have been EXCLUDED:
  aaa_base 
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 1 not upgraded.

Done
root[mimosa]# cat /etc/slapt-get/slapt-getrc
# Working directory for local storage/cache.
WORKINGDIR=/var/slapt-get

# Exclude package names and expressions.
# To exclude pre and beta packages, add this to the exclude: 
#   [0-9\_\.\-]{1}pre[0-9\-\.\-]{1}
EXCLUDE=^aaa_elflibs,^aaa_base,^devs,^glibc.*,^kernel-.*,^rootuser-settings,^zzz-settings.*,-i?86-

# The Slackware repositories, including dependency information
SOURCE=http://slackware.uk/salix/x86_64/slackware-15.0/:OFFICIAL
SOURCE=http://slackware.uk/salix/x86_64/slackware-15.0/extra/:OFFICIAL

# The Salix repository
SOURCE=http://slackware.uk/salix/x86_64/15.0/:PREFERRED
# And the Salix extra repository
SOURCE=http://slackware.uk/salix/x86_64/extra-15.0/:OFFICIAL

# Local repositories
# SOURCE=file:///var/www/packages/:CUSTOM
5.15.17 is here:
https://slackware.uk/salix/x86_64/slack ... kware64/a/
User avatar
ivanovnegro
Donor
Posts: 36
Joined: 5. Jul 2021, 22:07

Re: slapt-get not upgrading kernel

Post by ivanovnegro »

AFAIK you are tracking current and therefor I would do:

Code: Select all

slapt-get --dist-upgrade
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: slapt-get not upgrading kernel

Post by mimosa »

Well, I could try that, but it was working before.

This is indeed Slackware current, but at gapan's suggestion, I installed slapt-get, pointing to Salix repositories as well. However, I may have made an unwitting mistake somewhere along the line since.
galmei
Posts: 166
Joined: 1. Jun 2018, 21:54

Re: slapt-get not upgrading kernel

Post by galmei »

Ah mimosa, the age strikes more and more relentlessly! :)

I can clearly see that you exclude the kernel by the expression ^kernel-.* in the EXCLUDE string.

The real problem seems to be that only aaa_base is shown as excluded, although other packages are excluded.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: slapt-get not upgrading kernel

Post by gapan »

Hi mimosa, what do you mean exactly? What happens if you run

Code: Select all

sudo slapt-get --upgrade
There was an issue with spkg, where packages with installed size >1GB (kernel-source is) would not install/upgrade, but I've fixed that, so you probably need to upgrade spkg first. Not sure if that's what you're seeing.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: slapt-get not upgrading kernel

Post by mimosa »

Code: Select all

root[mimosa]# slapt-get --update
[...]
root[mimosa]# slapt-get -i spkg
Reading Package Lists...Done
spkg is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.

Done
root[mimosa]# slapt-get -i --reinstall spkg
Reading Package Lists...Done
The following packages will be reinstalled:
  spkg 
0 upgraded, 1 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Need to get 752.0kB of archives.
After unpacking 63.0kB disk space will be freed.
Do you want to continue? [y/N] y
1/1 Get http://slackware.uk/salix/x86_64/15.0/ spkg 1.2-x86_64-1gv [752.0kB]...Failed to download: HTTP response code said error
root[mimosa]# slapt-get --upgrade
Reading Package Lists...Done
The following packages have been EXCLUDED:
  aaa_base 
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 1 not upgraded.

Done
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: slapt-get not upgrading kernel

Post by gapan »

This is weird... Do you have a /bin/sh?
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: slapt-get not upgrading kernel

Post by mimosa »

The problem appears to be the non-existent Salix extra repository. Here is the output from slapt-get (notice the message at the end):

Code: Select all

root[mimosa]# slapt-get -u
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/]...Cached
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...Verified
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Verified
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/15.0/]...Cached
Retrieving patch list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/15.0/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/15.0/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/15.0/]...Verified
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/15.0/]...Cached
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/extra-15.0/]...Failed to download: HTTP response code said error
Sources failed to download, correct sources and rerun --update
root[mimosa]# slapt-get --upgrade
Reading Package Lists...Done
The following packages have been EXCLUDED:
  aaa_base 
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 1 not upgraded.

Done
Now I have commented out the line in slapt-getrc referring to the Extra repository, and all works as expected. It seems none of the sources are updated if one gives an error.

And probably, you told me to do that, but it got put back when I ran reposetup at some point.

qt5 has been excluded because of an unmet dependency on "gst", though - but there is no such package according to slapt-get.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: slapt-get not upgrading kernel

Post by gapan »

Ah, that's right, I missed that.

As for the "gst" dependency, no idea how it got there... I just removed it.
Image
Image
Post Reply