LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2023, 12:22 PM   #16
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 628

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484

Code:
install(){
    sudo slpkg -i $1 -fp='*'
}
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='*'

Last edited by rizitis; 02-13-2023 at 12:25 PM.
 
1 members found this post helpful.
Old 03-02-2023, 12:41 PM   #17
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
A new Release 4.5.4 for slpkg was published

Changelog:
Code:
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)
 
2 members found this post helpful.
Old 03-03-2023, 04:11 AM   #18
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 628

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
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
Code:
mv /etc/slpkg/slpkg.toml.new /etc/slpkg/slpkg.toml
and thats all you are ready to use slpkg focus to ponce repo for Slackware-current.
 
4 members found this post helpful.
Old 03-03-2023, 10:36 AM   #19
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
A new Release 4.5.5 for slpkg was published

Changelog:
Code:
4.5.5 - 02/03/2023
Fixed:
- Genarator type to list return
 
1 members found this post helpful.
Old 03-04-2023, 05:25 AM   #20
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Quote:
Originally Posted by rizitis View Post
Then command
Code:
mv /etc/slpkg/slpkg.toml.new /etc/slpkg/slpkg.toml
and thats all you are ready to use slpkg focus to ponce repo for Slackware-current.
Code:
# slackpkg new-config
also works

If you want to see diff, to merge your old conf with the new one, etc.
 
1 members found this post helpful.
Old 03-04-2023, 07:51 AM   #21
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Code:
Added:
- For concatenating the short options
Now, we can do, e.g. for reinstalling a pkg, multi jobs, "yes" by default:
Code:
# slpkg -irjy <package>
-irjy = install --reinstall --jobs --yes

note:
MAKEFLAGS must be set in your environment for --jobs (e.g. MAKEFLAGS="-j$(nproc)")

Last edited by marav; 03-04-2023 at 07:57 AM.
 
1 members found this post helpful.
Old 03-07-2023, 10:56 AM   #22
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
A new Release 4.5.6 for slpkg was published

Changelog:
Code:
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
https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt
 
Old 03-07-2023, 11:18 AM   #23
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Hi to all,

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.

Cheers
 
2 members found this post helpful.
Old 03-09-2023, 03:40 AM   #24
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
A new Release 4.5.7 for slpkg was published

Changelog:
Code:
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
https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt
 
2 members found this post helpful.
Old 03-09-2023, 04:18 AM   #25
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Quote:
Originally Posted by marav View Post
Code:
# slackpkg new-config
also works

If you want to see diff, to merge your old conf with the new one, etc.
Added a new command 'slpkg new-config' only for slpkg configs files!

Cheers
 
3 members found this post helpful.
Old 03-10-2023, 02:40 AM   #26
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
A new Release 4.5.8 for slpkg was published

Changelog:
Code:
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
https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt
 
Old 03-14-2023, 02:23 PM   #27
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Original Poster
Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
A new Release 4.5.9 for slpkg was published

Changelog:
Code:
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
https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt

Last edited by marav; 03-14-2023 at 03:30 PM.
 
1 members found this post helpful.
Old 03-15-2023, 01:50 AM   #28
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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
 
Old 03-15-2023, 03:15 AM   #29
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Quote:
Originally Posted by nobodino View Post
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

Hi,

You need to install 'python3-progress', I guess 'progress' is a different package.
 
Old 03-15-2023, 12:21 PM   #30
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
thanks, that did the trick.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slpkg New Slackware packaging tool dslackw Slackware 228 11-23-2022 02:04 AM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
confused about iojs installation using slpkg Sefid par Slackware 4 08-31-2015 07:13 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration