Tuesday, May 18, 2004

Telling emerge *NOT* to downgrade

The Linux distro I use is Gentoo and its software packages maintanance application is called Portage and is used through the command:

emerge [packageyouwannainstall]

By default, emerge installs the "stable" version of that package. But if you want a newer and less reliable versions of a package you can put

ACCEPT_KEYWORDS="~x86"

before that command. The problem is that when, after that, you tell Portage to update all your software to newer versions it may find, using the command

emerge --update world

, it still uses the default "stable" criteria, automatically downgrading any software you had previously installed or updated using ACCEPT_KEYWORDS="~x86". And if you use that before emerge --update world, it updates ALL your system to unstable versions.

So, until today, I had no idea of how to update my system with stable versions of my packages, only keeping the newer unstable versions I had previously installed. And I found out all you need to do is type:

emerge -uU world

hit Enter, sit back and enjoy the fun of fresh (and *only* fresh) stuff being installed. :-)

Monday, May 17, 2004

Prologue

Criei esse blog com a finalidade registrar aqui as coisas que eu for aprendendo no dia-a-dia, talvez nao exclusivamente, mas em especial, relacionadas a computadores. A ideia partiu da minha nova investida no aprendizado do Linux, do qual ainda tenho muito que aprender, e da minha fraca memoria. Entao guardando aqui as coisas que eu aprendo, fica mais facil pra eu mesmo relembrar-me delas, e talvez ainda ajude alguem que esteja buscando o mesmo tipo de informacao. Quem sabe talvez no futuro eu possa colocar alguma duvida que eu tenho e receber ajuda... Bom, deu pra pegar a ideia, ne? Entao fique a vontade, comente se quiser, e aguarde as perolas de sabedoria por vir :).

[Update]: By the way, I've decide to write this blog in English. I was thinking in English when I thought of starting it, and I think this way I can help (or be helped by) more people than if I wrote it in Portuguese.