Collecting thoughts, giving them meaning and having fun while at it

Ετικέτα: Sudo (Σελίδα 1 από 2)

What to do when the GETDEB repository is down

Logo Linux Mint

Logo Linux Mint (Photo credit: Wikipedia)

If during an update in either Linux Mint or Ubuntu you get error messages from apt, about failing to fetch data from the GETDEB repository (which happens a lot, I’m afraid), here’s a brilliant solution I found at askubuntu.com. Use a mirror!

Here are the steps:

  1. Comment out your existing sources for GETDEB
  2. Add the following sources instead:

deb http://mirrors.dotsrc.org/getdeb/ubuntu quantal-getdeb apps
deb-src http://mirrors.dotsrc.org/getdeb/ubuntu quantal-getdeb apps

Replace “quantal” with your edition if necessary; also, you can add the games repo just by repeating the above two lines with “games” in the end instead of “apps”.

  1. Import the mirror’s security key:

sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com A8A515F046D7E7CF

  1. Refresh your sources and you’re done:

sudo apt-get update

Setting up Debian for Android Development

After almost 9 months of beating around the bush, I finally started experimenting with developing Android Apps. I’m using Linux Mint Debian (based on Debian Testing), so after some googling, I used this excellent guide over at howtoforge.com:

Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap (Debian Squeeze)

Of course, I used the latest available version of every software mentioned (binary packages, not .deb as they were somewhat outdated in Testing). The only things I changed during the process of setting up was to edit nss.cfg so that I would not get the “nss initialization” error message on my 64-bit system:

[code]sudo gedit /etc/java-6-openjdk/security/nss.cfg[/code]

and changed its content into the following (thanks to java.io.FileNotFoundException: /usr/lib/libnss3.so error on Debian Wheezy):

[code]name = NSS
nssLibraryDirectory = /usr/lib/x86_64-linux-gnu
nssDbMode = noDb
attributes = compatibility[/code]

I left may main user as owner of /etc/eclipse and I made sure that I used the right java, by:

[code]sudo update-alternatives –config javac

sudo update-alternatives –config java[/code]

That’s all!

Enhanced by Zemanta

Linux Mint Debian is now usable by almost anyone!

Linux Mint

Image via Wikipedia

After I tried the December 2010 edition of Linux Mint Debian 64-bit, I had come to the conclusion that it was not for me, as it was, and that I would rather stick with the Main edition of Linux Mint, built on the current Ubuntu base distribution.

Two things made me change my mind and try it again: First, I tried Ubuntu 11.04 and I really did not like the new launcher! Second, I really could not put up with Mint’s Main Edition requirement, to have to back up and re-install from scratch with every new version…

So, I thought I should give LMDE 64-bit another try; and I’m glad I did!

Περισσότερα

« Παλαιότερα άρθρα

© 2024 Stratos' Sphere

Θέμα εμφάνισης από τον Anders NorenΠάνω ↑