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.
I just want to share with you this. I added it in my .bashrc now when I want to install a package, example vlc, I command "install vlc"
slpkg search if vlc deps are installed and everything that is installed escape from the installation/upgradepkg list. it works like alias=sudo slpkg -i <package> -fp='*'
4.5.4 - 05/02/2023
Updated:
- Message for configs
Added:
- For concatenating the short options (Thanks to marav)
- Help command for extra helping
- Ponce repository
- lftp downloader
Fixed:
- TOML decoder error for blacklist file
- Fixed to compare versions for dependencies (Thanks to marav)
I tested slpkg with ponce repo for Slackware-current and I found it ok.
I want to share here a small howto for everyone who running Slackware-current and want to use ponce repo via slpkg.
1) IF you install slpkg for first time then you should edit /etc/slpkg/slpkg.toml like this
Code:
nano /etc/slpkg/slpkg.toml
and edit line 55 like this
Code:
# You can choose downloader between wget and curl.
# Ponce repository works only with 'lftp' downloader.
# Default is wget. [wget/curl/lftp].
DOWNLOADER = "lftp"
also line 94
Code:
PONCE_REPO = true
then save and exit.
you are ready for
Code:
slpkg update
2) If you already have slpkg in the installation, then when you upgrade slpkg version, you should have a file /etc/slpkg/slpkg.toml.new
this is the file you must edit like above, save and exit
Then command
4.5.6 - 02/03/2023
Updated:
- Ponce repository
- slpkg.toml file for ponce repository
Added:
- Option --generate-only for ponce repository
- Command clean-data to delete repositories data
- Dialog text help for items
- Read packages from file
- Ask question to the config
For everyone who installed 4.5.5 and use the 'ponce' repository, it will be needed to run `slpkg clean-data` & `slpkg update` to recreate the database, otherwise, the database will crash.
With the version 4.5.6 the 'ponce' repository is fully supported.
4.5.7 - 07/03/2023
Added:
- Ignore comments for list.pkgs files (Thanks to rizitis)
- The file pattern in the config file
- Command new-configs to managing .new files
Updated:
- Blacklist config file
- To support '.sqf' files (Thanks to rizitis)
Fixed:
- TypeError: '<' not supported between instances of 'str' and 'int
4.5.8 - 09/03/2023
Updated:
- View the name of the repository instead of the size
- Highlighted with grey of the installed packages
- Ignored question when there are updates available
4.5.9 - 10/03/2023
BugFixed:
- Default build path /tmp/slpkg/build
- Build a package with multiple sources
Added:
- lftp as the source file downloader
- Support for multiprocess downloading
- Config for parallel download
- Option --parallel to download in parallel
- Build tag to the view packages (Thanks to marav)
Updated:
- Upgrade packages with the same versions but with different build tags (Thanks to marav)
- Moved new-configs to slpkg_new-configs
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
Hello, a little problem here:
Code:
Traceback (most recent call last):
File "/usr/sbin/slpkg", line 5, in <module>
from slpkg.main import main
File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 20, in <module>
from slpkg.download_only import Download
File "/usr/lib64/python3.9/site-packages/slpkg/download_only.py", line 11, in <module>
from slpkg.downloader import Downloader
File "/usr/lib64/python3.9/site-packages/slpkg/downloader.py", line 12, in <module>
from slpkg.progress_bar import ProgressBar
File "/usr/lib64/python3.9/site-packages/slpkg/progress_bar.py", line 5, in <module>
from progress.spinner import PixelSpinner
ModuleNotFoundError: No module named 'progress'
but I already have progress module:
Code:
-rw-r--r-- 1 root root 968 mars 12 16:09 progress-0.16-x86_64-1_SBo
-rw-r--r-- 1 root root 1287 mars 12 16:08 python2-pythondialog-3.4.0-x86_64-1_SBo
-rw-r--r-- 1 root root 1678 mars 12 16:08 python3-pythondialog-3.5.3-x86_64-1_SBo
-rw-r--r-- 1 root root 42326 mars 12 16:06 SQLAlchemy-1.4.46-x86_64-1_SBo
Traceback (most recent call last):
File "/usr/sbin/slpkg", line 5, in <module>
from slpkg.main import main
File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 20, in <module>
from slpkg.download_only import Download
File "/usr/lib64/python3.9/site-packages/slpkg/download_only.py", line 11, in <module>
from slpkg.downloader import Downloader
File "/usr/lib64/python3.9/site-packages/slpkg/downloader.py", line 12, in <module>
from slpkg.progress_bar import ProgressBar
File "/usr/lib64/python3.9/site-packages/slpkg/progress_bar.py", line 5, in <module>
from progress.spinner import PixelSpinner
ModuleNotFoundError: No module named 'progress'
but I already have progress module:
Code:
-rw-r--r-- 1 root root 968 mars 12 16:09 progress-0.16-x86_64-1_SBo
-rw-r--r-- 1 root root 1287 mars 12 16:08 python2-pythondialog-3.4.0-x86_64-1_SBo
-rw-r--r-- 1 root root 1678 mars 12 16:08 python3-pythondialog-3.5.3-x86_64-1_SBo
-rw-r--r-- 1 root root 42326 mars 12 16:06 SQLAlchemy-1.4.46-x86_64-1_SBo
Hi,
You need to install 'python3-progress', I guess 'progress' is a different package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.