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:
- Comment out your existing sources for GETDEB
Add the following sources instead:
[code]deb http://mirrors.dotsrc.org/getdeb/ubuntu quantal-getdeb apps
deb-src http://mirrors.dotsrc.org/getdeb/ubuntu quantal-getdeb apps[/code]
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”.
Import the mirror's security key:
[code]sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A8A515F046D7E7CF[/code]
- Refresh your sources and you’re done:
[code]sudo apt-get update[/code]
I recently fresh installed Linux Mint 12 (Lisa), which is based on Ubuntu 11.10 (Oneiric). I almost immediately bumped into a problem with gdebi, the graphical package installer. The message I received was:
"Could not open XXXX.deb.
The package might be corrupted or you are not allowed to open the file.
Check the permissions of the file."
After a lot of searching, I found this solution in linuxmint forums. Works like a charm:
[code]sudo apt-get install xz-lzma[/code]
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]
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!
Updated, November 2011.
My LMDE desktop
Although I thought I had come to terms with the fact that I wanted to use Ubuntu-based Mint, instead of Debian-based Mint, I finally could not resist the temptation of installing Linux Mint Debian 201012. One of the reasons was that a 64-bit version was available for the first time. Another reason was that I had used Mint 10 for over two months, I had finished polishing it, it was pretty stable and… I was getting itchy again!
In this post, I will focus on how I fine-tuned the installed system, in order to resemble Mint Main Edition, as much as possible.
Unlike the issues I encountered in my previous post, with the first incarnation of LMDE, this time the installation went pretty smooth; the installer had evolved quite a bit. However, I did not see an option to encrypt the home folder. Did I miss it? Maybe.
Update, Oct. 8, 2011: You should now download the latest (at this time) LMDE 201109
canon pixma mp560
Update, December 2012
Moving forward to Mint Nandia (based on Ubuntu 12.10), Michael’s drivers in canon-trunk suport two-sided printing! At last!
Update, May 2012.
Moving forward to Mint Maya (based on Ubuntu 12.04), I found that Michael’s Canon repository did not have a driver version for Precise and that the previous ones used in Oneiric, would not work.
In order to solve this problem, you need to follow these steps:
- Uninstall the existing canon drivers
- Remove the existing canon repository from your sources
- Add the new repository:
[code]sudo add-apt-repository ppa:michael-gruz/canon-trunk
sudo apt-get update[/code]
- Re-install the drivers corresponding to your printer, with Synaptic. You may have to use the i386 packages if amd64 ones are not available. They will still work!
(Update, Dec 29: Fine-tuning LMDE 201012 64-bit)
This article comes a few days after the original release of Linux Mint Debian edition, but the actual testing was made on the day it was released… 10 minutes after the iso image was posted online, actually. I happened to browse Linux Mint‘s blog just when the image was released.
Installing the image on a usb stick via unetbootin was pretty smooth! I booted right afterwards and then tried to install on a usb hard drive, so as to leave the computer I was using at that time intact. That was not particularly smooth…