LinuxQuestions.org
Visit Jeremy's Blog.
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-05-2017, 04:43 AM   #16
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018

Quote:
Originally Posted by linuxxer View Post
I like to know how you and another Slackware Users do the package management with multiple repository.
I use rsync to mirror the repositories I'm interested in locally (either fully or partially) -- I've always thought slackware works best when you keep a copy of all the packages locally, and IMO it's a couple of GB well spent.

Then I use a tool of my own devising (a bash script called 'slacklist') that will look at a list of local directories, find the package files in there and compare them to what is installed. That script generates a list of packages to be either installed or removed.

Here's an example of it in action:
Code:
root@ws1:~$ slacklist
Usage:
         slacklist install [upgrade | reinstall]
         slacklist upgrade | reinstall
         slacklist remove

Configured package locations:
  /srv/slackware/local/packages64/
  /srv/slackware/slackware64-current/slackware64/
root@ws1:~$ slacklist install
/srv/slackware/slackware64-current/slackware64/a/kernel-generic-4.9.40-x86_64-1.txz
/srv/slackware/slackware64-current/slackware64/a/kernel-huge-4.9.40-x86_64-1.txz
/srv/slackware/slackware64-current/slackware64/a/kernel-modules-4.9.40-x86_64-1.txz
/srv/slackware/slackware64-current/slackware64/n/sendmail-8.15.2-x86_64-2.txz
/srv/slackware/slackware64-current/slackware64/n/sendmail-cf-8.15.2-noarch-2.txz
(I don't use these packages from slackware preferring alternatives which is why they show up as uninstalled.

Then I have another script I named 'slackup' which uses this tool to find what updates to do and apply them.

Whenever I've talked about this in the past I've not had that much interest expressed by others -- I'm guessing people don't like the idea of having all the packages locally stored and prefer the way slackpkg does things -- but I've used this to follow 'current' for years and it's served me well.

No offence intended to it's author but I've never liked slackpkg, though many do.
Each to their own I guess.
 
Old 08-05-2017, 05:35 AM   #17
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by linuxxer View Post
I know about slackpkg+. I like to know other tools you use.
Well, a lot are listed among the links provided by David Spencer.

Personally I exclusively use slapt-get and gslapt from Jason Woodward and contributors, that I ship in Slint (Slackware derivative). We ship a version borrowed to George Vlahavas and also used in Salix that uses spkg as back-end.

In my opinion slapt-get is by far the best tool: simple to use, very reliable, mature, flexible.

It is the recommended tool by Salix, Slackel and Slint among Slackware spin-off and can also be used in Zenwalk. It is certainly useful for Slackware users as well if they use packages coming from third-party repositories.

It could be added to David's links as well as netpkg and its GUI xnetpkg written by Jean-Philippe Guillemin for Zenwalk[1] and depfinder from George Vlahavas.

Quote:
Originally Posted by linuxxer View Post
I like to know how you and another Slackware Users do the package management with multiple repository.
Well, the best advice for newbies is "don't do that!"

This being said the configuration file of slapt-get, /etc/slapt-get/slapt-getrc, allows to include sources for several repositories with 4 levels of priority, and optional dependency handling, if the repository provides the necessary information in its PACKAGES.TXT file.

However, handling the issues that can arise using several third-party repositories can in no way be done by a tool: it always requires manual intervention from a knowledgeable enough user.

I won't elaborate here, but will write an article on that for Slint users in the coming days, that I hope will be more generally useful.

[1]In the z series of packages.

Last edited by Didier Spaier; 08-06-2017 at 01:54 PM. Reason: Typo fix.
 
3 members found this post helpful.
Old 08-05-2017, 06:01 AM   #18
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Used slapt-get and gslapt tools a lot, very simple and effective. Used official slackpkg too, especially liked the export template feature.
But I'm used to simple bash+wget+pkgtools and keeping a local copy of patches, I can easily rollback and test a patch this way.
Haven't used other packaging tools yet.

@Didier:
I'm reading the SBo lists archive, but never send any email, regarding this message, you may need:
Code:
Option        "XkbOptions"    "terminate:ctrl_alt_bksp"
Not sure if that helps, and sorry for derailing the thread.
 
Old 08-05-2017, 10:50 AM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Drakeo View Post
I love Eric's work. I donate a few times a year. we all should he needs the beer. but I have had little luck with his slackpackage plus.
Slackpkg+ wasn't developed by Eric, however, he and phenixia2003 are listed as contributors. It was developed by zerouno. I think Eric's post on his blog about configuring slackpkg+ is probably why some attribute him to be the author of the program itself.

http://slakfinder.org/slackpkg+/src/README
 
1 members found this post helpful.
Old 08-05-2017, 01:35 PM   #20
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
c++

Honestly I got to hate it, when I saw the ++, I knew it was some C++ shit.

I am not saying your project is bad but in this time and age, languages like rust and go are emerging, providing good programming principles and framework unlike c++. They have been designed to reduce bugs and bad programming practices. Have a look at that guy, Lennart Poettering, he tried to do good things but it was against the Unix philosophy, he has a long list of haters, including me.

If you were to start a new packing tool, I would like to see new features such as parallel processing and advanced package selection. Propose an API, so that tools in different languages can be built and extended.

I have seen your code, there are no comments. Is it available in github? There is a clear lack of modularity in your code, this makes me unwilling to help you!

Good luck vijay , learn new things and listen to people well and read between the lines too.

Cheers Tiger
 
2 members found this post helpful.
Old 08-05-2017, 03:09 PM   #21
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
He said it was in the early stages of development. Cut him some "slack." And please, let's not have a programming language war.
 
4 members found this post helpful.
Old 08-06-2017, 06:36 AM   #22
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by jheengut View Post
Honestly I got to hate it, when I saw the ++, I knew it was some C++ shit.
I'm here to worry you.
This shit, but mostly without ++, is powering the car you drive, the plane you fly on and the train you might go by.
The washing machine, microwave oven, your electric tooth brush (well, that would be actually most probably assembly, since 4-bit architectures are probably rarely programmed in C).
And to worry you even more, C is going to be used for many years to come.

--
Best regards,
Andrzej Telszewski
 
3 members found this post helpful.
Old 08-06-2017, 07:29 AM   #23
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by atelszewski View Post
Hi,
<<snip>>... This shit, but mostly without ++, is powering the car you drive,the plane you fly on and the train you might go by. ...<<snip>>
Not to mention, without the ++, the Kernel you drive

-- kjh
 
1 members found this post helpful.
Old 08-06-2017, 08:19 AM   #24
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Slackpkg+ wasn't developed by Eric, however, he and phenixia2003 are listed as contributors. It was developed by zerouno. I think Eric's post on his blog about configuring slackpkg+ is probably why some attribute him to be the author of the program itself.
Thank you for that info

Last edited by Drakeo; 08-06-2017 at 08:24 AM.
 
Old 08-06-2017, 10:42 AM   #25
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Thank a lot, for your reply.

The link and information you people provided is really helpful.

@jheengut
Not exist on github. In future I will try for it.
 
Old 08-06-2017, 12:58 PM   #26
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by montagdude View Post
He said it was in the early stages of development. Cut him some "slack." And please, let's not have a programming language war.
I think , I expressed myself clearly, I'm not asking for a war.
 
1 members found this post helpful.
Old 08-06-2017, 01:01 PM   #27
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by atelszewski View Post
Hi,


I'm here to worry you.
This shit, but mostly without ++, is powering the car you drive, the plane you fly on and the train you might go by.
The washing machine, microwave oven, your electric tooth brush (well, that would be actually most probably assembly, since 4-bit architectures are probably rarely programmed in C).
And to worry you even more, C is going to be used for many years to come.

--
Best regards,
Andrzej Telszewski
I understand the point, but time has proved otherwise. When performance is not an issue C++ is okay but for something as to develop a package management tool, there are better frameworks to built on.

Secondly , I never criticized C , just C++.
 
Old 08-06-2017, 01:07 PM   #28
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by kjhambrick View Post
Not to mention, without the ++, the Kernel you drive

-- kjh
Well go and tell that to linus, :-)

c++ VS linus

Linus-torvalds-right-about-c-being-so-wrong
 
Old 08-06-2017, 01:13 PM   #29
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by linuxxer View Post
Thank a lot, for your reply.

The link and information you people provided is really helpful.

@jheengut
Not exist on github. In future I will try for it.

There was a time when I wanted to write a tool that is common across all platforms, its doable but I have not been innovative enough.
Going through binary is good since the tool can be used very early on.
 
Old 08-06-2017, 01:46 PM   #30
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
If you want something to "reduce bugs and bad programming practices," C++ is already better than C. And Poettering is a C programmer, so that part of your post is nonsensical. In short, your post was flaming and devoid of any useful content. We are all dumber for having read it. I award you no points, and may God have mercy on your soul.
 
1 members found this post helpful.
  


Reply

Tags
package management, slackare



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
[SOLVED] Slackware ARM 14.1 slackpkg file at the root of the package Linux.tar.gz Slackware - ARM 3 10-04-2016 06:21 AM
LXer: APT - Advanced Package Management tool for Debian Based Systems LXer Syndicated Linux News 0 05-25-2016 06:12 AM
Package Management Tool does not display imujjwal Linux - Newbie 10 09-09-2015 02:38 AM
What is the package management tool of your choice sahko Linux - General 26 03-18-2013 07:33 AM
Package Management tool doesn't see installed packages (FC1) pekkerhed Fedora 5 06-04-2004 03:56 PM

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

All times are GMT -5. The time now is 02:03 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