SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Of course that I do not expect a stable ABI from -current. And my post was an agreement that nothing was broken in -current, as its own components. Sorry for my English!
BTW, in my own case, your new ICU sent the LibreOffice and Pale Moon to the second life, but I know well that I have to wait for Eric to do his thing, that's why I do not commented about.
Also, I seen that he's aware that they are broken.
Last edited by Darth Vader; 12-08-2017 at 01:57 PM.
Keep a local archive.
Personally, I use slackpkg for doing updates, with DELALL=off in my /etc/slackpkg/slackpkg.conf.
After an update, I run my script to archive the update.
Code:
# Command to move packages cached after slackpkg is run
mv /var/cache/packages /var/cache/packages$(date +%Y%m%d)
If the local archive starts to get too large, then I run my (easy but not elegant) script to remove all archived packages with more than two newer versions.
Code:
#!/bin/sh
# Script to clean up /var/cache/packages* archive
# Remove any old files
rm /tmp/list*
# Get a list of *.t?z archive files
find /var/cache -name "*.t?z" > /tmp/list1
# Get a list of package names without build, arch, version
cat /tmp/list1 | rev | cut -d"/" -f1 | cut -d"-" -f4- | rev > /tmp/list2
# Get a list of dates
cat /tmp/list1 | cut -d"/" -f4 | sed "s/packages//" > /tmp/list3
# Paste the lists together
paste /tmp/list1 /tmp/list2 /tmp/list3 > /tmp/list4
# Sort the list by package name then date(reverse order)
sort --key=2,3r /tmp/list4 > /tmp/list5
# Get a list of packages with 2 later versions
awk '++dups[$2] > 2' /tmp/list5 > /tmp/list6
# Cut the first column from the list
cut -f1 /tmp/list6 > /tmp/list7
# Delete the older files
while read line; do
rm "$line"{,.asc}
done < /tmp/list7
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.