Monday, December 04, 2006

Update and new packages

Hello all, its been a long time since my last post. It was mostly due to school, the final weeks were rough, but all in all I'm satisfied with the result. I passed all the courses, and got some good grades to brag about, haha. Anyway, I've got two new packages and a script for ya to use.

I've got two packages for two GTK2 engines, those being Murrine and Candido. Get them here and here, respectively. And well, I got tired of typing sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove, so I just made myself a small bash script called update.

The script is as follows:

#!/bin/bash

# Date: December 04, 2006

sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove


You might also want to do this:

sudo ln -s /path-to-script/update.sh /usr/bin/update

That way you just have to type 'update' into a terminal and your whole system will be automatically upgraded and old, unneeded packages removed.

2 comments:

Anonymous said...

Easy script if you do these commands all the time but not really secure. What if autoremove would screw up someway or another and mark a bunch of packages for removal?

Normally you would notice that (if you pay attention :)) but now you'll just get screwed ;)

Arturo said...

You're right, but I do find it useful most of the time.

What I do is go into synaptic and check the packages that are set to be auto removed. I do that once every few days, or once a week sometimes. Once I'm sure the packages are not important I just run "update" and that's that.

Maybe there's a way to let the user know what packages will be removed, and let him chose. I'll look into it...

Thanks for the comment!