LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


View Poll Results: How often do you update?
Whenever updates are available 51 46.79%
Every 2-3 days 6 5.50%
Once a week 20 18.35%
Once a month 4 3.67%
Longer than once a month 1 0.92%
Whenever I feel like it / it depends on the updates 27 24.77%
Voters: 109. You may not vote on this poll

Reply
  Search this Thread
Old 04-10-2019, 10:45 AM   #16
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,086

Rep: Reputation: 115Reputation: 115

i check the changelog and when i see new updates then i update my local mirror with my rsync script, then copy the updated packages to a temp folder and run upgradepkg on the
 
Old 04-10-2019, 11:44 AM   #17
ReFracture
Member
 
Registered: Oct 2007
Location: Underneath The Waves
Distribution: Slackware64-current
Posts: 44

Rep: Reputation: 66
Quote:
Originally Posted by Okie View Post
i check the changelog and when i see new updates then i update my local mirror with my rsync script, then copy the updated packages to a temp folder and run upgradepkg on the
Would you mind sharing that script?

I subscribed to the security mailing list, so if something comes in there I will update sooner rather than later. Otherwise I update when I get around to it.. maybe within a week.

If there's anything that gives me reason to hold off I'll make an image of my boot SSD first. I haven't needed to rely on that lately but it's nice to know if I make anything explode I can revert.
 
Old 04-10-2019, 01:00 PM   #18
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,086

Rep: Reputation: 115Reputation: 115
Code:
rsync -r -a -v --checksum --ignore-times --progress --stats --exclude 'pasture' --exclude 'source' --exclude 'extra' --exclude 'testing' --exclude 'e' --exclude 'f' --exclude 'kde' --exclude 'kdei' --exclude 'y' rsync://slackware.cs.utah.edu/slackware/slackware64-current/ /home/okie/Slackware64-Current
if you need something i excluded just take the --exclude 'things' out that you need

what is Underneath? Australia? you might want to find a mirror down under from https://mirrors.slackware.com/mirrorlist/ looks like your in luck there is some .au mirrors

oh, almost forgot, i never added a --delete thing to it because i am not sure how safely rsync safely deletes old packages when it downloads newer versions, so i just check the changelog and delete the old packages by hand after the new ones are done downloading, maybe somebody can fill me in on rsync's --delete feature

Last edited by Okie; 04-10-2019 at 01:02 PM.
 
Old 04-10-2019, 01:40 PM   #19
ReFracture
Member
 
Registered: Oct 2007
Location: Underneath The Waves
Distribution: Slackware64-current
Posts: 44

Rep: Reputation: 66
Thank you kindly.

Funny you mention mirror locations and you are set to Utah, thatís where I am. I usually use the xmission mirror.

My location on my profile isnít a reference to anywhere.
 
Old 04-10-2019, 01:43 PM   #20
karlmag
LQ Newbie
 
Registered: Apr 2014
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
Quote:
Originally Posted by Okie View Post

if you need something i excluded just take the --exclude 'things' out that you need
You don't copy much over...

Quote:
Originally Posted by Okie View Post
oh, almost forgot, i never added a --delete thing to it because i am not sure how safely rsync safely deletes old packages when it downloads newer versions, so i just check the changelog and delete the old packages by hand after the new ones are done downloading, maybe somebody can fill me in on rsync's --delete feature
rsync's main idea is to make two filetrees identical. Or rather - to make sure everything in the source three is identical in the destination tree. The --delete or --delete-after will make them identical since it will delete files not present in the source tree.

You can test it out with a --dry-run. That will list what happens, but will not actually perform any copying or deleting.

--
KarlMag
 
Old 04-10-2019, 01:50 PM   #21
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,086

Rep: Reputation: 115Reputation: 115
(deleted)

Last edited by Okie; 04-10-2019 at 02:01 PM.
 
Old 04-10-2019, 02:01 PM   #22
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,086

Rep: Reputation: 115Reputation: 115
thanks karlmag, that --delete feature will make keeping my local mirror cleaned of old/obsolete files much easier now

i copy just enough over to make a good lightweight but functional slackware install, i dont use kde, i do like xfce and the other lightweight window managers in /xap, and i dont need anything in /extra or /pasture, i was using the pure alsa system for a while but have since went back to using pulseaudio
 
Old 04-10-2019, 02:29 PM   #23
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 178

Rep: Reputation: 67
About twice a week barring any Plasma5 breaking changes.
 
Old 04-10-2019, 03:10 PM   #24
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Debian, Xubuntu
Posts: 251
Blog Entries: 1

Rep: Reputation: 91
I selected ‘weekly’, because that’s my average update frequency.

At the moment, I’m running a bit behind, though.

I’ve been trying to get ‘gcc5’ and ‘openjdk’ from the ponce SlackBuilds repository to successfully build, and haven’t been paying attention to the updates recently. With a bit of patching, I now have both of them built and installed.

However, the ‘openjdk’ build ran into a Java Exception (“java.lang.ClassFormatError: org.apache.tools.ant.launch.Launcher (unrecognized class file version)”) when I attempted it with Apache Ant version 1.10.5, so I created an ‘apache-ant199’ package (for Apache Ant 1.9.9) that I could install alongside any version that is considered “current” by the SlackBuilds repository (similar to how ‘gcc5’ can be installed alongside the “current” ‘gcc5’ package).

QUESTION (albeit off-topic): Once I’m done with these packages, and I’m satisfied that they work, is there an officially supported way for me to send my patches as a contribution to the ponce repository? Or should I simply post them in the appropriate thread on this forum?

NOTE: I run two bash scripts to perform the updates, one to rsync my local copy to my selected online mirror, and another one to actually install the updates. I blacklist the kernel packages, for which I install the updates separately, and for which I run a third bash script that, however, leaves something to be desired; specifically, it takes a bit of manual post-processing to create the initrd and to get the symbolic links right so I can run LILO without having to edit the ‘lilo.conf’ file. I’m still considering to what extent I really want to automate these manual steps, though.

Last edited by luvr; 04-10-2019 at 03:54 PM.
 
Old 04-10-2019, 03:54 PM   #25
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 156

Rep: Reputation: 88
I use the following script to sync the both 32/64 bits -current into a ftp server space in one of my machine. Then slackpkg update from other machines. I used to rsync both 14.2 and current, but I has convert all my machines to run on -current exclusivity, that is why TARGET is defined as array

Code:
#!/bin/bash    
HOST="rsync://mirrors.kernel.org"
#HOST="rsync://mirror.slackbuilds.org"
SLACKWARE_LOCAL_ROOT="/home/ftp/slackware"

#TARGET=(14.2 current)
TARGET=(current)
SRC_ROOT_PATH="/slackware/slackware-"
SRC64_ROOT_PATH="/slackware/slackware64-"
DST_ROOT_PATH="$SLACKWARE_LOCAL_ROOT/slackware-"
DST64_ROOT_PATH="$SLACKWARE_LOCAL_ROOT/slackware64-"


RSYNC_OPT="-av --delete --exclude kernels/ --chown ftp:ftp"
RSYNC_NO_SRC_OPT="$RSYNC_OPT --exclude source/"

for VER in ${TARGET[@]}; do
    echo "Updating Slackware-$VER"
    echo "rsync $RSYNC_NO_SRC_OPT $HOST$SRC_ROOT_PATH$VER/ $DST_ROOT_PATH$VER/"
    rsync $RSYNC_NO_SRC_OPT $HOST$SRC_ROOT_PATH$VER/ $DST_ROOT_PATH$VER/
    echo "Updating Slackware64-$VER"
    if [ "$VER" = "current" ]; then
	echo "rsync $RSYNC_OPT $HOST$SRC64_ROOT_PATH$VER/ $DST64_ROOT_PATH$VER/"
	rsync $RSYNC_OPT $HOST$SRC64_ROOT_PATH$VER/ $DST64_ROOT_PATH$VER/
    else
	echo "rsync $RSYNC_NO_SRC_OPT $HOST$SRC64_ROOT_PATH$VER/ $DST64_ROOT_PATH$VER/"
	rsync $RSYNC_NO_SRC_OPT $HOST$SRC64_ROOT_PATH$VER/ $DST64_ROOT_PATH$VER/

    fi
done

Last edited by qunying; 04-10-2019 at 03:56 PM.
 
Old 04-10-2019, 04:03 PM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,829

Rep: Reputation: Disabled
Using the -H option can save some space on mass storage media for those syncing e.g. several archs (and maybe also versions) as Pat uses hard links whenever appropriate. Anyway it won't hurt, and is not implied by the -a option so one have to write it explicitly in the command.
 
1 members found this post helpful.
Old 04-10-2019, 06:05 PM   #27
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 969

Rep: Reputation: 235Reputation: 235Reputation: 235
I update my local mirror as often as I see an update to -current and of course this is several times a week. Actual time of installation from this local mirror varies a little as I will hold off for several days if:
  • There is a major change of kernel version, point upgrades are fine
  • There is shared library version bump that could effect other installed applications
  • There is a major Xorg update

For these cases above I will be cautious and allow wiser heads than mine to deal with installation issues and then benefit from their example. Otherwise upgrade occurs with the updated local mirror immediately...
 
Old 04-10-2019, 06:48 PM   #28
0XBF
LQ Newbie
 
Registered: Nov 2018
Location: Winnipeg
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
I opted for the once per month option. For the last couple years I've been tracking AlienBOB's updates and/or major rebuilds to the Plasma 5 packages and then updating everything on a weekend when I have some time to sort it all out with a few cups of coffee. I only have a handful of SBo's that I run outside of the official or Alien's repos so I haven't had to do much fixing with major updates.

I guess I'm more in the mindset of keeping things relatively stable vs. using the latest and greatest and the debugging that comes with it. I still like using current since there have been software additions since 14.2 that I use regularly so it seemed useful to follow. However, I'm still grateful for those gurus who are out there on the bleeding edge and sorting out the kinks!
 
1 members found this post helpful.
Old 04-11-2019, 02:20 AM   #29
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,946

Rep: Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644
I have local mirrors set up for 64bit versions of 14.2 and -current. They are updated automatically every night with a cron job.

As for the original question, I usually don't run -current. As much as I'd love to help find bugs with -current, I just don't have the time. (I used to run nightlies with CyanogenMod back in the Eclair/Froyo/Gingerbread timeframe, but I found it was just taking too much time and I'd rather spend that time on other things.)

Normally, I will stick with the latest stable. I will sometimes cherrypick programs out of -current (usually by grabbing the source and compiling it locally). About the only time I run -current is when I'm running into major issues with the stable release (not with the release itself, but in how I want to use it... like for newer hardware support or newer libraries needed for some software). In that case, I will install -current and only install updates if I feel it isn't stable enough. Once I feel it is stable enough, I tend to leave it alone until the next stable is released and then will usually do a clean install to the stable version (although, if there aren't significant changes from when I last updated, I may just simply update it to the stable release).
 
2 members found this post helpful.
Old 04-11-2019, 02:39 AM   #30
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 816

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Quote:
Originally Posted by solarfields View Post
it's gonna take longer than a day, considering the amount of software I need to install even only from SBo. Then, there's configuration, putting certain databases to their proper place, installing more software in /opt and sometimes even in /usr/local/bin
When I used to follow -current, all of my packages were built in the same way as Slackware's - the packages don't overwrite configs nor databases of any kind. This allows you to make a build script to build them all in order and upgrade.
It's a bit of work to do that, but if it makes sense and you have time, it's a good investment!

Last edited by drmozes; 04-11-2019 at 02:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] -current, often got [make] <defunct> when compiling with -j option Linux.tar.gz Slackware - ARM 3 10-11-2018 12:27 AM
How often do you update your system? Lysander666 Slackware 91 09-07-2018 08:45 AM
Slackware64 current crashes X11 often! WiseDraco Slackware 14 03-17-2017 02:45 AM
How often do you have to update your nvidia drivers, slackers? CoffeeKing!!! Slackware 5 01-11-2011 05:18 PM

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

All times are GMT -5. The time now is 10:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration