Wednesday, 25 May 2011

Ubuntu upgrade "Forbidden"

Kalau provider internet (kantor) punya proxy, boleh jadi beberapa paket di Ubuntu yang nama paketnya berbau pornografi akan diblok. Yang paling umum yang dibawah ini:



Cara mudah untuk mengatasinya adalah copy paste pesan "Forbidden" tersebut selengkap-lengkapnya, lalu masuk ke
http://ubuntu.pesat.net.id/archive/pool/
atau
http://repo.bppt.go.id/ubuntu/
di Firefox.

Download file-file yang hilang diatas, sesuai lokasi yang ditunjukkan. Simpan file-file tersebut di folder tersendiri (misalnya di ~/Downloads/), lalu kopi ke /var/cache/apt/archives/. Kopi-paste perintah dibawah (tidak termasuk tanda $) dengan Terminal atau Konsole.

$ cd ./Downloads/
$ sudo mv *.deb /var/cache/apt/archives/

Baru setelah itu ulangi upgrade lagi.

$ sudo apt-get dist-upgrade

Kalau mau upgrade-nya melompat, misalnya dari Jaunty ke Lucid LTS, lihat posting ini.

Demikian, mudah-mudahan bermanfaat.

Tuesday, 17 May 2011

Arabic keyboard di OpenOffice

Karena pengen nulis السّلام عليكم di OpenOffice dan kmail, saya pindah ke setting keyboard arab di KDE. Ternyata, di OpenOffice belum ada model ngetik right to left. Kalau saya menggunakan Ubuntu, maka dengan mudah saya bisa masang fitur Sabily.
$ sudo apt-get install sabily
Tapi karena saya make Debian dan hanya perlu nempelin icon dari kanan ke kiri di OpenOffice, maka saya search paket arab di Ooo,
$ apt-cache search arabic and openoffice
lalu install
$ sudo apt-get install hunspell-ar openoffice.org-l10n-ar
setelah itu ngikut tutorial di openoffice forum dibawah:
Tools > Options > Language Settings > Writing Aids
Di bagian CTL, pilih Arabic - Saudi Arabia (gambar bawah).


Mudah-mudahan manfaat.
Selamat mencoba.

Sunday, 8 May 2011

Nokia 9300 and Linux

In my Linux hardware tag entitled Evolusi gadget, I wrote that a final gadget should be those relied on Google Android. Well, this seems ultimately true, but Android implementation in market today rely much on touch pad/screen which is not as fast as normal e.g. N9300 keyboard. This is a drawback when we wish a gadget as a scratch pad, while away from desktop/laptop.
This brings my desire back to N9300 for its morphology and size. About compatibility, it seems a hack to N9300 cdb database must fill the need for Contact export/import to any Linux PIM software. Others is on search.

That's my note for the weekend, while the children is sleeping.

Other method is using SyncML. But it seems Nokia 9300 is not very much supported even though it is listed. The truthful service probably is Ubuntu One. It says only contact can be synced.

Thursday, 28 April 2011

Django on Hardy

It was not a coincidence that my old AMD64 system with NVIDIA MX4000 doesn't give X on distro above Jaunty 9.04. Perhaps, if I push myself to insert NVIDIA kernel, Lucid 10.04 might be on, but I think that's not the case. The computer is way too old for modern kernel. So it turns out that I should maintain Hardy 8.04 LTS and Jaunty.
Then it came into my mind: whom might be maintaining Hardy and with what version of Django. It resulted into Turnkey Linux. Yeah, now I might be just following policies implemented in Turnkey-Django. The last one packed with Hardy was dated back 2009.10 issue, but I think it's worth with stability.The newest 11.01 was with Lucid. So Turnkey 'agrees' with my comprehension about core distribution to follow: Ubuntu LTS or Debian.
These are notes from geodjango site:
8.04 and lower

The 8.04 (and lower) versions of Ubuntu use GEOS v2.2.3 in their binary packages, which is incompatible with GeoDjango. Thus, do not use the binary packages for GEOS or PostGIS and build some prerequisites from source, per the instructions in this document; however, it is okay to use the PostgreSQL binary packages.

For more details, please see the Debian instructions for 4.0 (Etch) below.

Debian 4.0 (Etch)

The situation here is the same as that of Ubuntu 8.04 and lower -- in other words, some packages must be built from source to work properly with GeoDjango.

Notes:

Watch packages dependency for successful install while installing from tar ball (tar.gz). You will be notified and guided for any unsuccessful steps.

Wednesday, 30 March 2011

Tuesday, 29 March 2011

sun-java di Lucid

Gara2nya mau masang freemind. Karena butuh sun-java, maka mesti masang openjdk-6-jre. Karena di Lucid require tzdata/2010m-0ubuntu0.10.04, maka download dulu paket tersebut di
https://launchpad.net/ubuntu/+source/tzdata/2010m-0ubuntu0.10.04/+buildjob/1995244
Lalu, simpen di /var/cache/apt/archives/
Kalu enggak, ya langsung install saja agar menimpah paket defaultnya.
Mungkin developernya perlu diberi tahu bahwa dependensi paketnya ada yang mogok?
Ok, deh. Aku juga register di launchpad ...

Saturday, 19 March 2011

plone collective.geo.contentlocations

  1. edit buildout.cfg
  2. run buildout
  3. got this error: "No such file or directory: '/home/enviromatics/Plone/zinstance/parts/instance/etc/zope.conf'"
  4. means zope.conf has been deleted due to unclean product install (http://plone.293351.n2.nabble.com/Restart-Zope-td5151549.html); well the product got lots of dependency.
errors:
  1. warning: no files found matching '*.mo' under directory 'collective'
  2. warning: no files found matching '*.js' under directory 'collective'
  3. warning: no files found matching '*.mo' under directory 'collective'
  4. the rest seems rooted on them
resolution:
    1. clean collectives from buildout.cfg, rerun buildout to get the site back
    2. start with the errors now ... ::debugging mode on::