Three Debian Install Issues

This applies to Ubuntu Precise and Debian Wheezy for sure, and perhaps other versions.

1. Libre Office Extensions: You need to install OpenJDK’s JRE version 7 (“openjdk-7-jre” is the package name) or at least some of your installable extensions from Libre Office will throw up errors ordinary users can’t parse, but the important point is seeing the words “major/minor version” and some kind of failure. It probably won’t matter if you change the system priority in using either 6 or 7, but in Libre Office you need to select it: Tools > Options > LibreOffice > Java (in Libre Office 4.x, that last item changes to “Advanced”). When you open that tab, give it a moment to find the Java on the system, then click the radio button for version 7. Then install your extensions.

2. XFCE and LXDE and pksc11 warnings: Especially with console apps like Lynx and Elinks, you’ll get an error warning about not finding some particular pksc11 key. I’ve not found it to be a serious error, but you should fix it. On Xubuntu/Lubuntu, the following is all one line; copy and paste into a terminal emulator of your choice:

sudo sed -i.bak 's/OnlyShowIn=GNOME;Unity;/OnlyShowIn=GNOME;Unity;XFCE;/g' /etc/xdg/autostart/gnome-keyring-*.desktop

Then log out and log back into your regular user account. For Debian Wheezy, you would typically su root and then run the command starting at the “sed” part and drop the “sudo”.

3. Fuse and ntfs-3g errors mounting NTFS drives as user: Some folks experience errors about clashes between ntfs-3g and fuse, particularly removable USB disks formatted in NTFS. There is a link to a site with instructions, but they don’t help. This typically shows up if, during your installation of Wheezy you need to add in some firmware package in order to connect to the Net. It’s basically additional kernel drivers. For example, I needed firmware-realtek_0.36 for my laptop, and I used a regular jump drive for this. It has to be in the top level directory of the drive, because the installer will not search any folders below that.

When you plug that drive in, the installer usually adds the requisite information to /etc/fstab and leaves it there after the installation is complete. There will be a line at the bottom indicating something like /dev/sdb1 or some other that is not a hard drive or optical drive on your system. With that line in your fstab, root can mount it just fine, but fuse will not allow the user to do it. When you plug in an NTFS drive and get this error, check the last line of dmesg and see if it is the same device on the last line of your fstab. If so, log in as root and delete that last line. Just to make sure, I checked to make sure my username was in the “plugdev” group, and added my username to the “fuse” group in /etc/group. Then reboot the system.

This entry was posted in computers and tagged , , , , . Bookmark the permalink.