[Solved] Update problem

You have a problem with Slackel? Post here and we'll do what we can to help.
dadim
Posts: 32
Joined: 06 Dec 2021 08:31

[Solved] Update problem

Post by dadim »

Hi! Today, after a long-long time I have to admit, I attempted an update, following the usual procedure (clean, -u, upgrade). At some package (around 2xx out of 500+) the downloading was interrupted, due to an HTTP error. I repeated the procedure but the problem persists. It's on 64bit repositories.
djemos
Site Admin
Posts: 735
Joined: 15 Apr 2016 06:03

Re: Update problem

Post by djemos »

I did an update without problem.
Please try again in case repos were not updated.
Please open lxterminal and type

Code: Select all

sudo slapt-get --clean
sudo slapt-get -u
sudo slapt-get --upgrade
post here the output of

Code: Select all

cat /etc/slapt-get/slapt-getrc
dadim
Posts: 32
Joined: 06 Dec 2021 08:31

Re: Update problem

Post by dadim »

The problem persists. Following is the line of the last error (this time happened earlier) and the contents of the requested file:

Code: Select all

97/562 Λήψη https://slackware.uk/slackware/slackware64-current/ elogind 255.22-x86_64-2 [1,2MB]...Αποτυχία λήψης: Error in the HTTP2 framing layer
damian[~]$ 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_base,^devs,^glibc.*,^kernel-.*,^rootuser-settings,^zzz-settings.*,-i?86-

# This is a Slackware repository that only holds dependency info. The
# actual packages are downloaded from a real Slackware mirror. Read
# http://www.salixos.org/wiki/index.php/How_to_create_a_local_slackware_repository_with_dependency_support
# if you want to use another Slackware mirror and keep the dependency
# information.

## Slackel repositories on Sourceforge
#SOURCE=http://www.slackel.gr/repo/x86_64/slackware-current/:OFFICIAL
#SOURCE=http://www.slackel.gr/repo/x86_64/slackware-current/extra/:OFFICIAL
#SOURCE=http://sourceforge.net/projects/slackel/files/repo/x86_64/current/:CUSTOM
#SOURCE=http://www.slackel.gr/repo/x86_64/current/:CUSTOM

## Slackel repositories on slackware.uk
SOURCE=https://slackware.uk/slackel/x86_64/slackware-current/:OFFICIAL
SOURCE=https://slackware.uk/slackel/x86_64/slackware-current/extra/:OFFICIAL
SOURCE=https://slackware.uk/slackel/x86_64/current/:CUSTOM

# Local repositories
# SOURCE=file:///var/www/packages/:CUSTOM

djemos
Site Admin
Posts: 735
Joined: 15 Apr 2016 06:03

Re: Update problem

Post by djemos »

Code: Select all

sudo slapt-get -i --reinstall elogind
Reading Package Lists...Done
The following packages will be reinstalled:
  elogind 
0 upgraded, 1 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Need to get 4.0kB/1.2MB of archives.
After unpacking 4.9MB of additional disk space will be used.
Do you want to continue? [y/N] y

Preparing to replace elogind-255.22-x86_64-2 with elogind-255.22-x86_64-2

+============================================================================================================+
| Upgrading elogind-255.22-x86_64-2 package using /var/slapt-get/./slackware64/a/elogind-255.22-x86_64-2.txz |
+============================================================================================================+

Pre-installing package elogind-255.22-x86_64-2...
Removing package: elogind-255.22-x86_64-2-upgraded-2026-01-24,15:15:32
Installing package elogind-255.22-x86_64-2.txz:
PACKAGE DESCRIPTION:
# elogind (logind extracted from systemd)
#
# elogind is the systemd project's logind, extracted to a standalone
# package.
#
# Homepage: https://github.com/elogind/elogind
#
Executing install script for elogind-255.22-x86_64-2.txz.
Package elogind-255.22-x86_64-2.txz installed.
Package elogind-255.22-x86_64-2 upgraded with new package /var/slapt-get/./slackware64/a/elogind-255.22-x86_64-2.txz.
Done
djemos[~]$
no problem here.
clean the cache
sudo slapt-get --clean
sudo slapt-get -u
sudo slapt-get --upgrade

type this and see if it is working

Code: Select all

curl https://slackware.uk/slackware/slackware64-current/slackware64/a/elogind-255.22-x86_64-2.txz > elogind-255.22-x86_64-2.txz
dadim
Posts: 32
Joined: 06 Dec 2021 08:31

Re: Update problem

Post by dadim »

I repeated the whole procedure, following the same steps I did before (the ones you already suggested) and this time, the updates were downloaded and installed flawlessly! I really don't know what was the problem, but now it's gone! Should I also update the kernel? The current one is 6.1.38.
djemos
Site Admin
Posts: 735
Joined: 15 Apr 2016 06:03

Re: Update problem

Post by djemos »

type
slapt-get --clean
slapt-get --upgrade
to see if there are other packages to update as kernel-firmware or glibc-* except the kernel.
install them with
sudo slapt-get -i package_name

You can update the kernel if you like.

Code: Select all

sudo slapt-get -i kernel-generic kernel-headers
you have to see that initrd image is created in /boot
otherwise run

Code: Select all

sudo geninitrd
Note that there is no kernel-modules package in slackware current now. All modules are included in the kernel-generic package. So, you can remove the old kernel-modules package

Code: Select all

sudo spkg -d kernel-modules
and before reboot run

Code: Select all

sudo update-grub
Usually in slackware current upgrading the kernel also geninitrd is running automatically and also grub-update. But i wrote above to be sure system will boot with new kernel.
dadim
Posts: 32
Joined: 06 Dec 2021 08:31

Re: Update problem

Post by dadim »

I followed your instructions and now, I have the 6.12.67 kernel. Before updating grub, I deleted the remnants of /boot/config-huge-6.1.38.x64 and /boot/vmlinuz-huge-6.1.38. The only problem I'm facing now, is that the SMPlayer doesn't play youtube videos anymore with yt-dlp. MPV returns error code 3 and in the log there is the following error (amongst several other lines):

Code: Select all

[ffmpeg] https: HTTP error 403 Forbidden
djemos
Site Admin
Posts: 735
Joined: 15 Apr 2016 06:03

Re: Update problem

Post by djemos »

smtube is not working. I know.
So i have in repos the minitube.

Code: Select all

sudo slapt-get -i mintube
dadim
Posts: 32
Joined: 06 Dec 2021 08:31

Re: Update problem

Post by dadim »

I managed to solve the youtube problem in SMPlayer. :-) I set in "Δίκτυο" (network) options page, the value "mpv" (instead of "automatic") in the "Υποστήριξη ιστοτόπων βίντεο" (sorry for the greek, but this is my active language setting, I presume that in english it should display something as: "video sites support") combo box (drop down list) value.

Thank you very much! :)
djemos
Site Admin
Posts: 735
Joined: 15 Apr 2016 06:03

Re: Update problem

Post by djemos »

Yes. It is working. But you have to paste the youtube song url in smplayer.
In the past running smtube could search for an artist and click on it smplayer was running and playing the song. Installing smtube now reports an error and not searching.

Code: Select all

A client error occurred: Error calling GET https://www.googleapis.com/youtube/v3/videos?part=id%2Csnippet%2Cstatistics%2CcontentDetails&chart=mostPopular&maxResults=10&regionCode=GR&pageToken=&videoCategoryId=10&key=<KEY>: (403) The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.

Now you can fix the "Daily Limit Exceeded" problem by using a personal Youtube API key. Click here for more info.
Alternatively you can visit YouTube.com.
Running minitube can type a song or an artist name or a music kind e.g. laika and show a list and play the song inside minitube.
Post Reply