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 09-04-2018, 04:36 AM   #16
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470

Quote:
Originally Posted by akimmet View Post
I disagree, slackpkg and slackpkg+ allow one to bypass the tedium of individually downloading and installing patches and third party packages. Especially these days when daily security updates aren't an unheard of occurrence. There is no part of slackpkg+ that prevents the traditional package tools from working.
akimmet, your posts are always helpful. I have thought about this myself and come to the present conclusion that I see nothing wrong with using slackpkg+ since it just does what I would do anyway, just quicker. I have retained the knowledge of how to do things manually and still build packages manually [for 'fun'] when I feel like it, and I install packages manually.

One thing confuses me, can you please elaborate on this:

Quote:
Originally Posted by akimmet View Post
The only real downside is it is easier to confuse slackpkg, the most common example is installing a newer version of a package over an old one instead of upgrading.
Do you mean that sometimes slackpkg can install a second version of a package [i.e. leave the presently installed one and install a new one]? And if so, why is this the case?
 
Old 09-04-2018, 09:35 AM   #17
akimmet
Member
 
Registered: Jul 2018
Location: NW Ohio, USA
Distribution: Slackware64 -current
Posts: 62

Rep: Reputation: 62
Quote:
Originally Posted by Lysander666 View Post
akimmet, your posts are always helpful. I have thought about this myself and come to the present conclusion that I see nothing wrong with using slackpkg+ since it just does what I would do anyway, just quicker. I have retained the knowledge of how to do things manually and still build packages manually [for 'fun'] when I feel like it, and I install packages manually.

One thing confuses me, can you please elaborate on this:



Do you mean that sometimes slackpkg can install a second version of a package [i.e. leave the presently installed one and install a new one]? And if so, why is this the case?
Slackpkg won't do that, but installpkg will. Once there are two versions of the same package installed, slackpkg will refuse to work again until one is removed or blacklisted. If I am installing a package manually, I prefer to use upgradepkg instead to prevent myself from installing something twice by accident.
Code:
upgradepkg --install-new
 
2 members found this post helpful.
Old 09-26-2018, 12:33 PM   #18
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
I am slightly confused about something. When running slackpkg update, it gives me the following output [attached]. I thought the multilib libraries were just some of the gcc and glibc's. Should I upgrade these other packages too or leave them?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2018-09-26_18-29-38.png
Views:	97
Size:	90.2 KB
ID:	28677  
 
Old 09-26-2018, 02:06 PM   #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 Lysander666 View Post
I am slightly confused about something. When running slackpkg update, it gives me the following output [attached]. I thought the multilib libraries were just some of the gcc and glibc's. Should I upgrade these other packages too or leave them?
Technically "multilib" is just gcc and glibc. The rest of these are "compat32", which are 32bit packages that have their directories tweaked to ensure they can install on a 64bit system without overwriting the 64bit package.

They aren't multilib, just a repackaging of a 32bit package to install on a 64bit system that is multilib enabled.
 
1 members found this post helpful.
Old 09-26-2018, 02:10 PM   #20
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by bassmadrigal View Post
Technically "multilib" is just gcc and glibc. The rest of these are "compat32", which are 32bit packages that have their directories tweaked to ensure they can install on a 64bit system without overwriting the 64bit package.

They aren't multilib, just a repackaging of a 32bit package to install on a 64bit system that is multilib enabled.
Thanks bass, so it's OK to install them. Well, they came from Eric's repo so they would be fine I'm sure, I just didn't understand what they were.
 
Old 09-26-2018, 02:26 PM   #21
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
I did not saw that topic...


thanks all to share your configurations and experience.
I see that no one are using CACHEUPDATE=on; I like it (save many time in the slackpkg update and give a most compact output), and I like to know what other users think about it.

Someone are using or tested the development version? it add some feature and change some default setting.


My configuration:
Code:
SLACKPKGPLUS=on
VERBOSE=1
export TERSE=1
ALLOW32BIT=off
USEBL=on
WGETOPTS="--timeout=20 --tries=2"
SEARCH_CLOG_INPARENT=on
CACHEUPDATE=on
GREYLIST=on
SENSITIVE_SEARCH=off
WW_FILE_SEARCH=off
SHOWORDER=repository
DETAILED_INFO=basic
STRICTGPG=off
PKGS_PRIORITY=( multilib ktown )
TAG_PRIORITY=off
MIRRORPLUS['multilib']=http://bear.alienbase.nl/mirrors/people/alien/multilib/current/
MIRRORPLUS['alienbob']=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86_64/
MIRRORPLUS['ktown']=http://bear.alienbase.nl/mirrors/alien-kde/current/latest/x86_64/
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/
SBOURL=https://www.slackbuilds.org/slackbuilds/14.2/
The SBOURL is new on the development release (used only in the 'slackpkg search'; it will not install/download nothing; just notify you if the package is available on SBo)
The 'export TERSE=1' is not a new feature of slackpkg+ but a new feature of pkgtools on slackware current

Unfortunately I have too few time to develop it, but I would to know which feature you would add/modify/remove in next release stable.
 
1 members found this post helpful.
Old 09-26-2018, 02:35 PM   #22
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 Lysander666 View Post
Thanks bass, so it's OK to install them. Well, they came from Eric's repo so they would be fine I'm sure, I just didn't understand what they were.
Yeah, these are typically the 32bit libraries that a lot of 32bit programs would rely on. You get them by running covertpkg-compat32 on regular 32bit programs. It will make sure any 32bit binaries don't overwrite the standard 64bit binaries along with a few other tweaks.
 
1 members found this post helpful.
Old 09-26-2018, 03:20 PM   #23
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Quote:
Originally Posted by zerouno View Post
I see that no one are using CACHEUPDATE=on; I like it (save many time in the slackpkg update and give a most compact output), and I like to know what other users think about it.
I'm using "CACHEUPDATE=on". I appreciate very much this feature. It saves time during the update process especially when there are repositories with few or no update like my repositories 'restricted' and 'slackpkgplus' (few updates) or 'mled' and 'extras' repositories (no update as the Microlinux project is now frozen).

Code:
SLACKPKGPLUS=on
VERBOSE=1
ALLOW32BIT=off
USEBL=1
WGETOPTS="--timeout=20 --tries=2"
SEARCH_CLOG_INPARENT=on
CACHEUPDATE=on
GREYLIST=on
SENSITIVE_SEARCH=on
WW_FILE_SEARCH=on
SHOWORDER=package
DETAILED_INFO=none
STRICTGPG=on
PKGS_PRIORITY=( patches slackpkgplus restricted mled )
TAG_PRIORITY=off
REPOPLUS=( slackpkgplus mled extras alienbob restricted )
MIRRORPLUS['mled']=http://slackware.uk/microlinux/desktop-14.2-64bit/
MIRRORPLUS['extras']=http://slackware.uk/microlinux/extras-14.2-64bit/
MIRRORPLUS['alienbob']=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/14.2/x86_64/
MIRRORPLUS['restricted']=http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.2/x86_64/
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
 
Old 11-14-2018, 05:59 AM   #24
mchagas
LQ Newbie
 
Registered: Oct 2010
Location: Brasil
Distribution: Slackware64 current
Posts: 27

Rep: Reputation: 10
Ponce Repo + Slackpkg+

Hello,

Is there any way to configure Ponce repo on slackpkg+?

I never figured out how to enable it.

Thanks
 
Old 11-14-2018, 06:02 AM   #25
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
good luck with it, just be sure to read the README.txt in the repository directory, in particular the part where it says that use with any package manager is *UNSUPPORTED*

Last edited by ponce; 11-14-2018 at 07:21 AM.
 
Old 11-14-2018, 06:50 AM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,066

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
good luck with it, just be sure to read the README.txt in the repository directory, in particular the part where it says that use with package manager is *UNSUPPORTED*
This made me discover an issue about Slint in http://slakfinder.org/slackpkg+/src/repositories.txt. I see there:
Quote:
> slint: http://slackware.uk/slint/{i586,x86_64}/slint-{14.2,testing}/
Actually the Slint repositories are:
http://slackware.uk/slint/i586/slint-14.2/ # Consider it deprecated, although I still provide updates for security fixes
http://slackware.uk/slint/x86_64/slint-14.2/ # Idem
http://slackware.uk/slint/x86_64/slint-14.2.1/ # Actively maintained.

I do not advise to use slackpkg++ (not even slackpg, although it be available in Slint) with Slint repositories. If you want to install a Slint package in another distribution like Slackware better use installpkg or slapt-get and I can't guarantee that you won't encounter some incompatibility or missing dependency, depending of your system's content. I will help to sort issues if I can only then.

PS If you use installpkg, the dependencies will have to be handled manually. They are mentioned in PACKAGES.TXT and in the .dep files alongside the .txz ones in <repo>/slint and on Slackware, better have a full installation to begin with.

Last edited by Didier Spaier; 11-14-2018 at 07:19 AM. Reason: PS added.
 
Old 11-15-2018, 10:11 AM   #27
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,804

Rep: Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444Reputation: 4444
Quote:
Originally Posted by akimmet View Post
I disagree, slackpkg and slackpkg+ allow one to bypass the tedium of individually downloading and installing patches and third party packages. Especially these days when daily security updates aren't an unheard of occurrence. There is no part of slackpkg+ that prevents the traditional package tools from working. The only real downside is it is easier to confuse slackpkg, the most common example is installing a newer version of a package over an old one instead of upgrading. Of course there is also no requirement to use slackpkg+, even after it is installed.
Hello akimmet and thank you for your response as I think it may be useful to expand on the cost/benefits, and again, especially for new users.

While I agree that sometimes, though not often for me, manually handling packages and their dependencies can qualify as "tedium", I consider tedium to be part of the cost of strong administration. It's very often tedious to write code and the process away from that level largely involves a sort of "dumbing it down" to make it convenient for non-coders to run and use. Every step away from code level is, by nature, a step away from understanding and control. I'm no "leet coder" (haven't worked in Assembly in well over a decade and never was all that potent) so I, too, already accept some level of loss in understanding and control, but I came to Slackware exactly because Mandrake package management broke my system and I couldn't even figure out exactly what caused that because I let it do the tedious work instead of me.

Granted automated package management has improved tremendously since 2000 but tedium is, or at the very least, can still be part of the responsibility of strong, informed administration. By managing manually I always know what went wrong, if and when something does (rare), because I did it and usually in the very last operation I committed. It's easy to trace and fix and makes me stronger, I think, at understanding and securing my system(s).

This applies to such things as reacting with minimal understanding in handling even security updates. If we come to rely on other's judgement for all things secuirty oriented, we can easily knee-jerk to assume we must comply with daily updates. I consider that hugely over-reacting. I never do security updates daily. I have a schedule where once a month I review and handle them all. In almost 20 years and even including a public gaming server on one boxen, and even with the infamous BASH bug, I have never had any intrusion. Part of that might be my exclusion of visiting most social networking sites, but it is nevertheless true. I should mention that I do security updates for clients much more regularly for confidence sake but my own system has been either quite well attended to by once a month scheduling or just very lucky. I think the former.

The most important issue though is relying on the fact that the original manual system is still there to be used, should one desire and that is exactly the point. If one never learns to use it and enjoy the benefits that come with deeper understanding and control, then one very likely never will. Convenience is extremely seductive but it does make us weaker.

I'm not saying anything at all derogatory about you or anyone who chooses this level of convenience at this cost but I do think it is exceedingly important to grasp that cost/benefit relationship and choose very cautiously.

Last edited by enorbet; 11-15-2018 at 10:14 AM.
 
2 members found this post helpful.
Old 11-16-2018, 03:51 AM   #28
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
I just switched CACHEUPDATE=on, guess I'm late to the party. I just ran slackpkg update, I likes it. Gonna let it ride for awhile, maybe keep it.

Slackpkg+ is an awesome add on to slackpkg. I always used slackpkg for everything concerning Slackware package management. Before slackpkg+, third party package management was with the usual suspects (installpkg, updatepkg, removepkg). I stored packages using a '/home/non-slack/slackbuilds/<package name>/{build,oldpkgs,tmp}/' layout. This included not only packages I built but those from others. For example with Alien Bob's packages I downloaded the build directory via a script for a specific package and run the SlackBuild. If the build fails and I couldn't figure it out, I'd just download the package for install or update. All third party packages or non-slack packages as I like to call then are locally stored, including mirrored Alien Bob's ktown and multilib (on their own tree of '/home/non-slack/' and only the parts I need, plus source).

With the advent of slackpkg+ I was able to easily set up that tree using Alien Bob's gen_repos_files.sh to create a repository for slackpkg+ to use. For a long while I stuck to keeping all third party packages in that tree and used slackpkg to update my system. This has a side benefit of being able to use these local repositories to update my other Slackware installs. Being able to use slackpkg to update third party packages instead of using installpkg, updatepkg, removepkg is a huge plus.

I eventually added the slackpkg+ repository to slackpkg+ and recently decided to add Alien Bob's package repository to slackpkg+ instead of downloading/building to my local repository. That's only a few packages anyway. Of course now I need to add his repository to all my Slackware installs. I may go back to using my local again, better to download once than multiple times.

I still use installpkg, upgradepkg and removepkg as needed. For example, over the course of the last two days I created 79 SlackBuilds (from a template of course) to install a perl module and it's dependencies of dependencies of dependencies using installpkg (used upgradepkg --reinstall a few times and removepkg once) to install the needed dependencies before running a SlackBuild that depended on those dependencies. With these packages now all installed in my repository it simply takes a run of gen_repos_files.sh to setup the new packages, then a simple 'slackpkg update' and 'slackpkg install nonslack' on my other Slackware installations to add the new packages. On this system only a 'slackpkg update' is needed, since they are already installed. In the past I would have ran 'upgradepkg --install-new --reinstall on the repository tree probably doing only for 'perl-' packages instead of the entire tree. Not a lot of difference time wise on doing an upgrade but it really nice to be able to use slackpkg to do this.

Last edited by chrisretusn; 11-17-2018 at 01:27 AM. Reason: Minor grammer issues
 
1 members found this post helpful.
Old 01-11-2019, 07:06 PM   #29
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Interesting, so when there is an update to slackpkg+ the config is overwritten, by the looks of things. Is there any way to avoid that?
 
Old 01-11-2019, 07:56 PM   #30
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
You should get asked to update the .config's and then have several options: Keep old, overwrite with new, new but label the old one _old etc... Does that not happen?
 
1 members found this post helpful.
  


Reply

Tags
package manager, packages, slackpkg, slackpkg+



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
slackpkg+ (slackpkgplus) creates glitch with slackpkg installing full package series Poprocks Slackware 5 07-22-2018 05:47 AM
having trouble after upgrading 14.1 slackware using slackpkg and slackpkg+ [solved] slackartist Slackware 1 12-28-2015 07:28 AM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM

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

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