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 05-06-2023, 02:00 AM   #16
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514

I use slackpk(gplus) for most systems I maintain for others.

I prefer to have a mirrored tree for my main even if I occasionally use slackpkg for new-config from time to time.
 
Old 05-06-2023, 02:34 AM   #17
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 644

Rep: Reputation: 490Reputation: 490Reputation: 490Reputation: 490Reputation: 490
https://www.youtube.com/watch?v=JRZtkyjgW4k <--- this is what I do daily
 
2 members found this post helpful.
Old 05-06-2023, 03:23 AM   #18
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I maintain a mirror of -current and update from this with upgradepkg. Most of it scripted these days...
 
1 members found this post helpful.
Old 05-06-2023, 03:58 AM   #19
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Ubuntu
Posts: 134

Rep: Reputation: Disabled
I was using slackpkg to install upgrades on an old 32bit Intel computer with Slackware 15.0 but I have been forced to give
up using it due to its strange behavior during the slackpkg update step. It apparently tries to resolve the name of
the local ftp.lip6.fr mirror everytime it downloads a file. The name resolution take much longer than dig or nslookup. Then, the file transfer often stops with timeouts followed by retries. Upgrading a few packages can take sometimes more than 1 hour. It is much faster to download directly the packages with ftp and install them with upgradepkg. I could not to determine the cause of the problem. ftp.lip6.fr is a FreeBSD server belonging to the computer lab of University Pierre and Marie Curie, and switching HTTP/FTP or using a server in Germany does not improve anything. It also does not look like a networking issue on Slackware as I can browse the web or send email with seamonkey.
I suspect the downloader used by slackpkg to retrieve the files is the bottleneck, but I have no idea how it can br tested.
 
Old 05-06-2023, 04:18 AM   #20
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
I often use the lip6 mirror without any problem. That said, I barely fire up my last 32bits system.
Might worth some vm test.
 
Old 05-06-2023, 07:51 AM   #21
slalik
Member
 
Registered: Nov 2014
Location: Moscow
Distribution: Slackware
Posts: 233

Rep: Reputation: 203Reputation: 203Reputation: 203
I use slackscan by GazL. I find it much more flexible than slackpkg.

In particular, slackscan make it possible to use slackrepo without gen_repos_files.sh, which makes slackrepo really fast (i.e., remove slackrepo's main flaw).
 
2 members found this post helpful.
Old 05-06-2023, 08:09 AM   #22
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 691
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
I have my own script that is a wrap around for pkgtool(8) and downloads for a very long time. Every so often I toy with the idea of using slackpkg, but then get lazy
 
1 members found this post helpful.
Old 05-06-2023, 09:13 AM   #23
dhalliwe
Member
 
Registered: Mar 2022
Location: Ontario, Canada
Distribution: Slackware
Posts: 163

Rep: Reputation: 154Reputation: 154
Assuming that "no, I don't" answers are also of interest...

Only one computer to maintain, running 15.0 (not current). I manually download patches to a directory as a regular user, su to root, install them with upgradepkg. Back as regular user I do an "ls -l *.txz >>{text file}" to track what was installed on what date, move the packages to an "installed" directory, move older versions of the same patch to a "superceded" directory. All old copies kept... This way I control what is installed, and know when.

I also drive a car with a manual transmission.
 
2 members found this post helpful.
Old 05-06-2023, 10:24 AM   #24
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,059

Rep: Reputation: Disabled
I do not use slackpkg. I use slapt-get, the tools shipped in the pkgtools packages and spkg. I will try slpkg when I find the time, i.e. not soon. Caveat: I run a derivative of Slackware most of the time, to which slackpkg is not well suited. I could use it when running Slackware, although I also use slapt-get also in this case, as it comes handy to install packages from repositories providing the metadata it needs in PACKAGES.TXT, like those maintained by Eric Hameleers ot George Vlahavas.
 
1 members found this post helpful.
Old 05-06-2023, 04:05 PM   #25
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Rep: Reputation: Disabled
I use my own scripts.
 
Old 05-06-2023, 10:41 PM   #26
linuxdaddy
Member
 
Registered: May 2022
Location: New Mexico, USA
Distribution: Slackware 15.0 & 64 bit-current, antiX
Posts: 118

Rep: Reputation: 29
On my server I do then decide if it needs to. doing
Code:
upgradepkg --reinstall --install-new
as stated earlier if needed. Haven't in some time.
update/ upgrade based on your need for the most current on things.

Last edited by linuxdaddy; 05-06-2023 at 10:45 PM.
 
Old 05-07-2023, 01:12 AM   #27
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
why would someone not use slackpkg?
 
Old 05-07-2023, 02:13 AM   #28
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Rep: Reputation: Disabled
I download manually the ChangeLog.txt and new patches with Midnight Commander on ftp.lip6.fr, verify *.asc with gpg then apply patches with upgradepkg. Also check for *.new files.

Last edited by dodoLQ; 05-07-2023 at 02:18 AM.
 
Old 05-07-2023, 05:54 AM   #29
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 972

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
Quote:
Originally Posted by linuxdaddy View Post
On my server I do then decide if it needs to. doing
Code:
upgradepkg --reinstall --install-new
as stated earlier if needed. Haven't in some time.
update/ upgrade based on your need for the most current on things.
I have a directory "updates" which contains symbolic links to packages in the patches directory and another directory with custom packages. This directory also contains a copy of the file /etc/slackware-version and a Makefile with the follwing contents:

Code:
PACKAGES = $(wildcard *.t?z)
LOG_FILES = $(PACKAGES:%.tgz=/var/log/packages/%) \
            $(PACKAGES:%.txz=/var/log/packages/%)
VERSION_FILE = $(wildcard sla*-version)

all: Check_Version $(sort $(LOG_FILES))


/var/log/packages/%: %.tgz
        upgradepkg --install-new --reinstall $<

/var/log/packages/%: %.txz
        upgradepkg --install-new --reinstall $<

Check_Version:
        diff $(VERSION_FILE) /etc/$(VERSION_FILE)
This directory is mounted by all machines in the network and they have a cron job as /etc/cron.hourly/slack_update looking like something this:

Code:
#!/bin/sh
if [ -r /auto/slack150/updates/Makefile ]; then
  ( cd /auto/slack150/updates ; make ) > /var/log/slack_update
fi
The Makefile starts by checking that it is being run on the right version of Slackware (installing packages for the wrong version of Slackware can give a really annoying result) and then updates all packages needed to be updated in alphabetical order. Sometimes this alphabetical order is important, the package management itself might become broken if the wrong package is installed too early.

regards Henrik
 
Old 05-07-2023, 12:31 PM   #30
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,268
Blog Entries: 24

Rep: Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195
I see that others have mentioned maintaining a local directory or repo of packages so to add to my previous post...

I use Eric's mirror script to maintain a local mirror of the Slackware release versions that I use, and always update from those local repos, whether manually or using slackpkg. This allows a great deal of flexibility when upgrading multiple hosts, and maintains my ability to recover or install new instances to the most recently used state entirely from local repos, in the increasingly likely event we lose access to remote repos for any number of reasons.
 
1 members found this post helpful.
  


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
When using slackpkg+ does the regular slackpkg repo always take priority? plisken Slackware 2 01-09-2023 04:23 AM
[SOLVED] Slackpkg+: searching for current packages at cgit.ponce.cc not working (slackpkg+-1.7.9-noarch-1mt) drew_gui Slackware 18 12-07-2021 02:56 AM
[SOLVED] slackpkg is not able to update due to a certificate error. Post install, slackpkg running for 1st time (Slackware 14.2). fighter_fish Slackware - Installation 2 02-07-2021 09:27 PM
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

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