LinuxQuestions.org
Review your favorite Linux distribution.
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 08-27-2014, 08:17 PM   #1
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Slpkg New Slackware packaging tool


Hello to you all,

It's my first Post here.

I'm relatively new to the world of linux and for about four years only uses the distribution Slackware. I found it very interesting and I loved it immediately

So I created a little tool that facilitates the use regarding the building and installing packages.

I would be happy if you were using and tell me your opinion.

Project site: https://github.com/dslackw/slpkg

Best regards
Dimitris
 
Old 08-28-2014, 11:20 PM   #2
corstar
Member
 
Registered: Feb 2005
Location: Perth, Western Australia
Distribution: Manjaro Linux
Posts: 30

Rep: Reputation: 2
Looks nice. I'll be checking it out soon
 
Old 08-29-2014, 03:02 AM   #3
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 234

Rep: Reputation: 125Reputation: 125
Thnak you!
And wellcome to Slackware forum. Utility looks promising, will definitely try it out!
 
Old 08-29-2014, 05:09 AM   #4
corstar
Member
 
Registered: Feb 2005
Location: Perth, Western Australia
Distribution: Manjaro Linux
Posts: 30

Rep: Reputation: 2
Be careful though, once a slackware script has the ability to resolve dependencies, the flood of ubuntu refugees will follow, lol.
I can't talk. I cut my teeth on it.

Last edited by corstar; 08-29-2014 at 05:11 AM. Reason: Can't spell
 
Old 08-29-2014, 05:30 AM   #5
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
the flood of ubuntu refugees will follow
Followed by a torrent of threads asking why sudo is not working, and complaining that there is no Synaptic and Software Centre.
 
Old 08-29-2014, 06:15 AM   #6
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
the flood of ubuntu refugees will follow
very funny, man...
I don't see having more Slackware users as a "problem".
 
1 members found this post helpful.
Old 08-29-2014, 06:29 AM   #7
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Take a look at what happened to Debian.
 
5 members found this post helpful.
Old 08-29-2014, 06:32 AM   #8
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
i see...
thousands of ubuntu refugees swarmed poor Debian. The results are self evident -- it switch to systemd!
 
1 members found this post helpful.
Old 08-29-2014, 08:22 AM   #9
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
Thank you for your kind words...

There will be some updates soon and maybe add a few more features.


Quote:
Originally Posted by corstar View Post
Be careful though, once a slackware script has the ability to resolve dependencies, the flood of ubuntu refugees will follow, lol.
I can't talk. I cut my teeth on it.
Can slpkg resemble the apt-get or the yum but the Slackware is not ubuntu
 
Old 08-29-2014, 08:37 AM   #10
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
When checking for updates, does it only check the version found in SLACKBUILDS.TXT or also the BUILD variable of the SlackBuild? Because if just the BUILD number of a package increased, it then would not display it as an update, or does slpkg handle this differently? (I did not check it out yet, sorry.) It does look nice, though, I especially like how it displays packages to install with version, arch and repository etc.
 
Old 08-29-2014, 08:42 AM   #11
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Hey dslackw,

Nice tool.. But I do have a problem:

Code:
root@desk:/etc# slpkg -c slack upgrade
Traceback (most recent call last):
  File "/usr/bin/slpkg", line 20, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/slpkg/main.py", line 109, in main
    patches()
  File "/usr/lib/python2.7/site-packages/slpkg/slack/patches.py", line 27, in patches
    PACKAGE_TXT = url_read(mirrors(name='PACKAGES.TXT', location='patches/'))
  File "/usr/lib/python2.7/site-packages/slpkg/slack/mirrors.py", line 17, in mirrors
    slack_ver(), location, name)
IndexError: tuple index out of range
root@desk:/etc# slpkg -c sbo upgrade

No such package upgrade: Not installed
I'm using slackware-14.1 (not current and 32-bit).. Am I missing something?
 
Old 08-29-2014, 08:55 AM   #12
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by Smokey_justme View Post
Hey dslackw,

Nice tool.. But I do have a problem:

Code:
root@desk:/etc# slpkg -c slack upgrade
Traceback (most recent call last):
  File "/usr/bin/slpkg", line 20, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/slpkg/main.py", line 109, in main
    patches()
  File "/usr/lib/python2.7/site-packages/slpkg/slack/patches.py", line 27, in patches
    PACKAGE_TXT = url_read(mirrors(name='PACKAGES.TXT', location='patches/'))
  File "/usr/lib/python2.7/site-packages/slpkg/slack/mirrors.py", line 17, in mirrors
    slack_ver(), location, name)
IndexError: tuple index out of range
root@desk:/etc# slpkg -c sbo upgrade

No such package upgrade: Not installed
I'm using slackware-14.1 (not current and 32-bit).. Am I missing something?
Thanks for reporting that, but tell me which version uses ?
 
1 members found this post helpful.
Old 08-29-2014, 09:12 AM   #13
EYo
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 190

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by Randicus Draco Albus View Post
Take a look at what happened to Debian.
LOL! Not intended to be nasty laughing at your cry, but I know what you mean. I've been dog-fooding systemd et al on Jessie and don't like the taste.

Very grateful to be a customer of Pat's, I hope he (we all) can survive the next few years.

Linus at DebConf14 in Portland. Draw your own conclusions about the future.
http://meetings-archive.debian.net/p...ebconf14/webm/ QA_with_Linus_Torvalds.webm
Warning: 550M

Last edited by EYo; 08-31-2014 at 12:19 PM. Reason: Futility
 
Old 08-29-2014, 09:22 AM   #14
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by lems View Post
When checking for updates, does it only check the version found in SLACKBUILDS.TXT or also the BUILD variable of the SlackBuild? Because if just the BUILD number of a package increased, it then would not display it as an update, or does slpkg handle this differently? (I did not check it out yet, sorry.) It does look nice, though, I especially like how it displays packages to install with version, arch and repository etc.


Yes, because they do not provide information on the state of the variable BUILD, file SLACKBUILDS.TXT. I will try in the future to add this feature as well.

Thank you for your interest.
 
Old 08-29-2014, 07:59 PM   #15
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by dslackw View Post
Thanks for reporting that, but tell me which version uses ?
Ohh, sorry that I forgot to mention.. 1.7.5 installed from Slackbuilds.org
 
  


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
Install Advanced Packaging Tool on a linux from scratch machine ledzepp4eva Linux - Newbie 7 12-16-2011 09:13 AM
Upgrading Slackware (packaging questions) jrdioko Slackware 5 08-17-2005 07:23 PM
Slackware packaging wombat53 Slackware - Installation 16 07-08-2005 11:44 AM
Packaging manager for Slackware 9.1 ??? Fernando534 Linux - Newbie 4 05-07-2004 02:26 PM

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

All times are GMT -5. The time now is 06:45 AM.

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