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 04-18-2016, 10:21 PM   #1
WhereAreTheseMangoes
LQ Newbie
 
Registered: Feb 2016
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Upgrade without using slackpkg


Hello everyone! I'm relatively new to Slackware but I have been so impressed with it that I made it my main distribution in January.

My question is about whether or not it is considered to be dangerous or careless to download the packages from the changelog and use upgradepkg to install them. I am thinking about writing a script that does it automatically. The reason I would want this instead of using slackpkg is because I want to install Slackware on a computer used by a couple of older folks who won't remember to install the updates themselves. I will be around infrequently, otherwise I would just do all the updates myself.

Please let me know your thoughts. Thanks!
 
Old 04-18-2016, 10:45 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,664

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
both method works
even if you use slackpkg, you still need to read the ChangeLog as there may be some warnings for incompatibilities (eg. PHP and OpenSSH update)
 
1 members found this post helpful.
Old 04-18-2016, 11:44 PM   #3
WhereAreTheseMangoes
LQ Newbie
 
Registered: Feb 2016
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks, Willy! I have been checking the ChangeLog regularly and am subscribed to the security updates.
 
Old 04-19-2016, 02:48 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by willysr View Post
even if you use slackpkg, you still need to read the ChangeLog as there may be some warnings for incompatibilities (eg. PHP and OpenSSH update)
keeping this in mind, you can also run slackpkg unattended: see the BATCH option in /etc/slackpkg/slackpkg.conf.
 
1 members found this post helpful.
Old 04-19-2016, 05:38 AM   #5
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by WhereAreTheseMangoes View Post
The reason I would want this instead of using slackpkg is because I want to install Slackware on a computer used by a couple of older folks who won't remember to install the updates themselves.
this update notification tool can help to remember when updates are available

https://github.com/dslackw/sun
 
1 members found this post helpful.
Old 04-19-2016, 05:51 AM   #6
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware
Posts: 128

Rep: Reputation: 64
If you decide to use your own custom script, it would be a good idea to exclude packages that require additional tuning -- e.g. kernel and X. I don't use slackpkg, so I'm not sure how it handles these cases.
 
1 members found this post helpful.
Old 04-19-2016, 08:34 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
My strong advice is DO NOT!
Updates of a stable Slackware release are usually unobtrusive requiring no manual intervention, but there heve been exceptions.
There have been instances of kernel upgrades (which may require running lilo, or if you run a generic kernel requiring also running mkinitrd), ssh and other package upgrades requiring manual intervention to handle config files,

Slackpkg is a mature tool that sat in /testing for a long while before entering official Slackware. It has inbuilt smarts such as recognising that the glibc-solibs package is being updated and so installs that first. It recognises kernel upgrades and prompts to run lilo. It looks for new config files and offers options to handle them. It offers a blacklist to avoid upgrading problematic packages.

I suggest that you do updates only when you are around. With your use case, delaying updates is highly unlikely to be an issue, even in the event of something like the shellshock bash bug.

If you must do this, follow ponce's suggestion with a carefully considered /etc/slackpkg/blacklist.
 
1 members found this post helpful.
Old 04-19-2016, 09:05 AM   #8
WhereAreTheseMangoes
LQ Newbie
 
Registered: Feb 2016
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
keeping this in mind, you can also run slackpkg unattended: see the BATCH option in /etc/slackpkg/slackpkg.conf.
Thanks! I hadn't seen this option yet. It is superior to me writing my own script.

Quote:
Originally Posted by allend View Post
My strong advice is DO NOT!
Updates of a stable Slackware release are usually unobtrusive requiring no manual intervention, but there heve been exceptions.
There have been instances of kernel upgrades (which may require running lilo, or if you run a generic kernel requiring also running mkinitrd), ssh and other package upgrades requiring manual intervention to handle config files,

Slackpkg is a mature tool that sat in /testing for a long while before entering official Slackware. It has inbuilt smarts such as recognising that the glibc-solibs package is being updated and so installs that first. It recognises kernel upgrades and prompts to run lilo. It looks for new config files and offers options to handle them. It offers a blacklist to avoid upgrading problematic packages.

I suggest that you do updates only when you are around. With your use case, delaying updates is highly unlikely to be an issue, even in the event of something like the shellshock bash bug.

If you must do this, follow ponce's suggestion with a carefully considered /etc/slackpkg/blacklist.
Thanks! I have ruled out using my own script now for full updates. The computer is going to be running the upcoming 14.2 stable. I would definitely blacklist the kernel, among some other risky offenders if I use the slackpkg batch option. I will probably just do the updates myself as you recommended.

Do you think a script to update the Firefox ESR is a risk also?
 
Old 04-19-2016, 09:39 AM   #9
archfan
Member
 
Registered: Mar 2016
Location: /dev/hug
Distribution: Slackware 14.2 x64
Posts: 85

Rep: Reputation: 32
Quote:
Do you think a script to update the Firefox ESR is a risk also?
No. Updating ESR releases is perfectly safe, recommended even.

Quote:
Maintenance of each ESR, through point releases, is limited to high-risk/high-impact security vulnerabilities and in rare cases may also include off-schedule releases that address live security vulnerabilities. Backports of any functional enhancements and/or stability fixes are not in scope.
https://www.mozilla.org/en-US/firefo...nizations/faq/
 
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
[SOLVED] After upgrade all using slackpkg upgrade, configuration is failed to read ethereal1m Linux - Newbie 3 04-28-2010 01:03 AM
slackpkg upgrade-all does not show an upgrade sycamorex Slackware 6 11-03-2009 05:29 AM
Upgrade with slackpkg STARHARVEST Slackware 11 05-17-2008 07:07 PM
slackpkg and jre upgrade uselpa Slackware 5 07-23-2005 09:47 AM
slackpkg upgrade _mu_ Slackware 9 01-29-2004 08:28 PM

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

All times are GMT -5. The time now is 02:14 AM.

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