Code monkey

Aveam o problema cu un debian zilele trecute:

# aptitude update
......
Fetched 5562B in 13s (421B/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
B5D0C804ADB11277
W: You may want to run apt-get update to correct these problems

In mod normal problema ar putea fi rezolvata cu un simplu:

# apt-key update

ne spune Kurt Fitzner dar la mine nu a functionat. Am mai sapat un pic, ca nu se poate sta asa cu warningurile pe ecran fara sa faci nimic, si am ajuns pe pagina lui Alexey Kovyrin care are o alta solutie care functioneaza:

# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys XXXXXXXXXXXXXXXX
...
# apt-key add /root/.gnupg/pubring.gpg
...
# apt-get update
...

Erorile au disparut, aptitude functioneaza corect acum.

Evident, poate ca o sa imi spui acum “Dar de ce folosesti aptitude, si nu folosesti good ol' apt-get?” Pai raspunsul este extrem de simplu… RTFM… dar o sa imi zici “mi-e leneeee...” ok atunci, pe scurt:

Reason: “In some cases, the use of aptget for installing packages
instead of aptitude might make aptitude consider a package as “unused”
and schedule it for removal.” [Debian Etch Release Notes, Chapter
4.2.1].

sau arunca o privire pe aici: http://www.psychocats.net/ubuntu/aptitude

Deci, daca tot nu v-am convins, have fun with your good ol’ apt-get and don’t blame me when the fat lady yells she doesn’t have all her dependencies met…

Sa trecem acum la chestii mai serioase, un clip pe YouTube azi m-a facut sa zambesc, chiar daca eu nu sunt un “code monkey” ci mai mult un “admin monkey” 😉 … Enjoy!