LinuxQuestions.org
Review your favorite Linux distribution.
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 11-20-2009, 08:52 AM   #1
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Upslack - security updates made easy


Attached is a small Python program that checks which versions of packages you have installed, and compares them with the versions located in a repository to see if you're up to date. With one click of a button, you can fetch and install the update. Uses GTK. Remove the ".txt" suffixes off all of the files, including mirrors, before trying to run. Must be run as root, but if you want to circumvent that, then snip off the if statement at the bottom of upslackgtk.py

You want to execute upslackgtk.py, not upslack.py. Incompatible with Python 3.0

Well let me know if you have any suggestions. I plan on writing another one that mainly uses bash and curl, haven't gotten around to it yet.

...Oh yeah, before running, make sure you edit the variables at the top of upslack.py to reflect your needs. And you can delete shutil from the import statement, I forgot to. It was used in the script before and is no longer.
Attached Files
File Type: txt upslack.py.txt (2.9 KB, 19 views)
File Type: txt upslackgtk.py.txt (3.1 KB, 8 views)
File Type: txt mirrors.txt (453 Bytes, 10 views)

Last edited by voyciz; 11-20-2009 at 09:30 AM.
 
Old 11-20-2009, 10:02 AM   #2
Ivshti
Member
 
Registered: Sep 2008
Distribution: Linvo
Posts: 132

Rep: Reputation: 43
I appreciate your effort, but there is slapt-get and slackpack for those purposes, and they do pretty good and are simple and easy to use.
 
Old 11-20-2009, 10:11 AM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thanks for your efforts, but, slackpkg does the job for me.
 
  


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
KDE 3.4 desktop, made easy ;) halo14 Debian 10 07-05-2005 02:01 PM
Website maint. made easy? rickenbacherus Linux - Software 1 11-30-2004 06:57 PM
Easy Install AND Security Updates pmconway Linux - Networking 3 10-04-2004 11:21 AM
snort made easy, is it possible? f1uke Linux - Security 7 06-08-2003 03:23 PM
forum updates made - be on the lookout jeremy LQ Suggestions & Feedback 3 03-11-2001 05:36 PM

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

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