LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Upslack - security updates made easy (https://www.linuxquestions.org/questions/slackware-14/upslack-security-updates-made-easy-770440/)

voyciz 11-20-2009 08:52 AM

Upslack - security updates made easy
 
3 Attachment(s)
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.

Ivshti 11-20-2009 10:02 AM

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.

hitest 11-20-2009 10:11 AM

Thanks for your efforts, but, slackpkg does the job for me.


All times are GMT -5. The time now is 04:30 PM.