SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
~/scripts# slpkg -u
Traceback (most recent call last):
File "/usr/sbin/slpkg", line 5, in <module>
from slpkg.main import main
File "/usr/lib/python3.11/site-packages/slpkg/main.py", line 19, in <module>
from slpkg.choose_packages import Choose
File "/usr/lib/python3.11/site-packages/slpkg/choose_packages.py", line 8, in <module>
from slpkg.dialog_box import DialogBox
File "/usr/lib/python3.11/site-packages/slpkg/dialog_box.py", line 5, in <module>
from dialog import Dialog
ModuleNotFoundError: No module named 'dialog'
### 5.0.5 - 12/04/2024
- Added:
* Added maximum parallel for downloading in the config file
* Added --pkg-version option in search command
* Added display the file size with the command find
- Removed:
* Removed support for local repositories
- Updated:
* Updated to exclude packages from slack_extra repository (Thanks to Marav)
* Updated salixos mirrors
* Updated the repositories.toml config file
- Fixed:
* Fixed BrokenPipeError: [Errno 32] Broken pipe
* Fixed for download path in download only
* Fixed alignment in search command
### 5.0.6 - 19/04/2024
- Release note:
* You may need to force update your local repositories before using this version
- Update:
* Updated to read configuration values even they are lower or uppercase
- Added:
* Added to support custom repositories
* Added KERNEL_VERSION config to handle custom slackbuild version
Today I manually upgraded to slpkg-5.0.6
I want to share some infos:
a) If you upgrade from older slpkg version, after upgrade you must run
Code:
slpkg_new-configs
and then replace all old conf files with new.
b) The most important is if you are in current to enable correct repos for current.
here is an example of my /etc/slpkg/repositories.toml
Code:
# This is the general repositories configuration file of slpkg:
# /etc/slpkg/repositories.toml
# Updated: 18/04/2024, Version: 5.0.6
# Set 'true' or 'false' to enable or disable the repository you want.
# You can use a mirror not included in this file.
# Notes: Before using a repository, make sure you have read about it.
# Some repositories are for -current only. Change the mirror
# if it is necessary. The mirror or every part of the mirror
# should end with a slash '/'.
# Template to define a binary custom repository.
# At least are required [NAME], ENABLE, MIRROR and TAG options.
# The MIRROR should include the files ChangeLog.txt, PACKAGES.TXT,
# and CHECKSUMS.md5. If the file ChangeLog.txt is located in
# a different branch, it should be set a variable CHANGELOG.
# Example:
# [NAME]
# ENABLE = true
# MIRROR = "https://slackware.nl/people/alien/sbrepos/15.0/x86_64/"
# CHANGELOG = "https://slackware.nl/people/alien/sbrepos/"
# TAG = "alien"
# Salix OS Distribution:
# Replace the SLACK, SLACK_EXTRA and SLACK_PATCHES with the mirrors:
# https://repo.greeklug.gr/data/pub/linux/salix/x86_64/slackware-15.0/
# https://repo.greeklug.gr/data/pub/linux/salix/x86_64/slackware-15.0/extra/
# https://repo.greeklug.gr/data/pub/linux/salix/x86_64/slackware-15.0/patches/
# This is the DEFAULT REPOSITORY.
# You can change it with one that you see below.
# Make sure you have enabled it before.
[DEFAULT]
REPO = "ponce"
[SBO]
ENABLE = false
MIRROR = "https://slackbuilds.org/slackbuilds/15.0/"
[PONCE]
ENABLE = true
MIRROR = "https://cgit.ponce.cc/slackbuilds/plain/"
[SLACK]
ENABLE = false
MIRROR = "http://mirror.nl.leaseweb.net/slackware/slackware64-15.0/"
[SLACK_EXTRA]
ENABLE = false
MIRROR = "http://mirror.nl.leaseweb.net/slackware/slackware64-15.0/extra/"
[SLACK_PATCHES]
ENABLE = false
MIRROR = "http://mirror.nl.leaseweb.net/slackware/slackware64-15.0/patches/"
[ALIEN]
ENABLE = true
MIRROR = "https://slackware.nl/people/alien/sbrepos/current/x86_64/"
[MULTILIB]
ENABLE = false
MIRROR = "https://slackware.nl/people/alien/multilib/15.0/"
[RESTRICTED]
ENABLE = true
MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/"
[GNOME]
ENABLE = true
MIRROR = "https://reddoglinux.ddns.net/linux/gnome/45.x/x86_64/"
[MSB]
ENABLE = false
MIRROR = "https://slackware.uk/msb/15.0/1.28/x86_64/"
[CSB]
ENABLE = false
MIRROR = "https://slackware.uk/csb/15.0/x86_64/"
[CONRAID]
ENABLE = true
MIRROR = "https://slackers.it/repository/slackware64-current/"
[SLACKDCE]
ENABLE = false
MIRROR = "https://slackware.uk/slackdce/15.0/x86_64/"
[SLACKONLY]
ENABLE = false
MIRROR = "https://packages.slackonly.com/pub/packages/15.0-x86_64/"
[SALIX]
ENABLE = false
MIRROR = "https://repo.greeklug.gr/data/pub/linux/salix/x86_64/15.0/"
[SALIX_EXTRA]
ENABLE = false
MIRROR = "https://repo.greeklug.gr/data/pub/linux/salix/x86_64/extra-15.0/"
[SLACKEL]
ENABLE = false
MIRROR = "http://www.slackel.gr/repo/x86_64/current/"
[SLINT]
ENABLE = false
MIRROR = "https://slackware.uk/slint/x86_64/slint-15.0/"
[PPRKUT]
ENABLE = true
MIRROR = "https://repo.liwjatan.org/pprkut/current/x86_64/"
slpkg by default is focused on slackware-15 if there are 15.0/current for repo.
Also some repos are only for current and slackware-15.0 user should be careful and not edit them to true.
example: CONRAID and PONCE. But I think if you have SBo=true then even if you have PONCE=true by mistake it not work...
Generally speaking need attention this file (/etc/slpkg/repositories.toml)
To avoid conflict it's not possible to upgrade all packages from all repositories at once
But it's possible to check for upgrade with this command:
Code:
# slpkg -U -o '*' --check
Note:
I've been using it for a while now with "slack" as the default repo + "slack_extra" + 1 slackbuild (ponce) + 1 binary (conraid).
After spending some time helping Dimitris to make it usable with this kind of configuration, it works very well.
He does an amazing job
I did it differently. Still worked, upgraded to 5.0.5 from 5.0.6.
Merged the changes in all of the configurations files. Paying particular attention to /etc/slpkg/repositories.toml since I use -current. Ran 'slpkg update' all was A-OK.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.