slackpkg + security updates
Hi all,
I'm new to Slackware (been running Ubuntu for awhile but wanted to really start and understand Linux). The question I have pertains to updates - I know there's been a ton of questions asked on this but I'll tell you where I'm currently at. I've subscribed to the slackware-security mailing list and received an email pertaining to a security update. However, after commenting out a mirror in /etc/slackpkg/mirrors and running the following commands, I get no indication that any packages have updates available. Code:
slackpkg update |
Well, after running
Code:
slackpkg update Code:
slackpkg check-updates What you should run is Code:
slackpkg check-updates When you notice that there are updates, you run Code:
slackpkg update Eric |
I think you misunderstood the "check-updates" option... it merely checks if there are updates in the changelog.
What you need to do (and I assume you are running slackware 13) is this: Code:
slackpkg update If you place those 2 commands in a script and call it regularly (I recommend a cron job) you can expect your slackware to be updated with any security patch that might become available. EDIT: I took too long (stupid mobile internet *kicks hsdpa modem*) and Alien Bob beat me to it. Do what he said :) as it will work even if you are running slackware-current. |
Ahhhhh....thanks to both of you. I was basically cancelling myself out by running
Code:
slackpkg update Code:
slackpkg check-updates Code:
slackpkg upgrade-all |
Alien Bob, if I have a script with the following contents:
Code:
#!/bin/sh If it's supposed to send the results some place, then how can I make it so I either see the message at login or in every console/terminal when the script runs (preferably at login)? |
Make sure your account receives email sent to the root account.
Eric |
It doesn't look like my root account is getting any emails. There haven't been any updates, but a run of slackpkg check-updates shows "No news is good news". Are emails only sent when updates come?
|
All times are GMT -5. The time now is 06:48 PM. |