Tag Archives: linux
It’s been bugging me for some time now. Whenever I do an apt-get update I get a warning:
Hit http://www.ksplice.com quantal InRelease
Hit http://www.ksplice.com quantal/ksplice Sources
Get:1 http://www.ksplice.com quantal/ksplice amd64 Packages [1,566 B]
Get:2 http://www.ksplice.com quantal/ksplice i386 Packages [1,566 B]
Ign http://www.ksplice.com quantal/ksplice Translation-en_US
Ign http://www.ksplice.com quantal/ksplice Translation-en
Ign http://repo.steampowered.com precise/steam Translation-en_US
Ign http://repo.steampowered.com precise/steam Translation-en
Fetched 3,132 B in 3s (850 B/s)
Reading package lists... Done
W: Duplicate sources.list entry http://www.ksplice.com/apt/ quantal/ksplice amd64 Packages (/var/lib/apt/lists/www.ksplice.com_apt_dists_quantal_ksplice_binary-amd64_Packages)
W: Duplicate sources.list entry http://www.ksplice.com/apt/ quantal/ksplice i386 Packages (/var/lib/apt/lists/www.ksplice.com_apt_dists_quantal_ksplice_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Obviously /etc/apt/sources.list doesn’t have any duplicate entries for the repository, so where does the warning stem from? Checking in /etc/apt/sources.list.d reveals a file called ksplice.list. The information in this file is the same as my entry in /etc/apt/sources.list so one entry has to be removed. I choose to move the file /etc/apt/sources.list.d/ksplice.list out of the way. I prefer keeping my sources in /etc/apt/sources.list as this makes it easier to maintain between both upgrades and other machines.
Creating PDF files from images is really easy to do with the ImageMagick suite installed. This software suite can handle over 100 different image formats and is essential to have if you manipulate large batches of images. It has all sorts of useful functions; translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
- Install imagemagick if it’s not present:
- Convert some files into a PDF file:
Rebuilding a RAID1 mirror with a Truecrypt container on it may require some additional steps. I guess that since no filesystem is visible on the disk, the RAID array is having trouble determining which disk to rebuild from. If your neighbourhood have had a blackout, the filesystem in the container is probably dirty anyway. This is how I take care of the matter on my external ICY Box IB-RD4320 USB chassi.
The manual for ICY Box IB-RD4320 USB chassi have this table regarding the meaning of the LED lamps on the unit:
I think most people on Linux are aware of what a resource hog Adobe Flash is. Having recently upgraded to Opera-12.11 and at the same time purged almost all my preferences that I’ve had since for Opera version 6, I noticed stability and performance issues.
I run a horrific amount of open tabs and many sites run some sort of Flash for either ads or for your plain enjoyment/annoyance… This hogs the system and makes Opera unstable. Flash is rarely used for navigation, unless the site is lacking in content (my own cynical observation…), which is a reason to not visit it in the first place. Fortunately it’s easy to activate Opera’s On Demand Plugin and On Demand Plugin Placeholder, which blocks Flash until you click on the placeholder to activate it.
Cron is mailing me reports like these:
error: squeezeboxserver:1 duplicate log entry for /var/log/squeezeboxserver/server.log
error: found error in /var/log/squeezeboxserver/server.log , skipping
error: squeezeboxserver:14 duplicate log entry for /var/log/squeezeboxserver/scanner.log
error: found error in /var/log/squeezeboxserver/scanner.log , skipping
As the report tells you, logrotate tries to rotate some logs twice. Not a severe error but annoying enough to be fixed.
Begin by changing directory:
Search for the filenames mentioned in the error report:
It seems that squeezeboxserver changed name (this has happened before…) to logitechmediaserver with the latest software upgrade. An old entry still exists in logrotate for squeezeboxserver. Move this file out of the way:
There, problem fixed!
I found a scribbled note regarding the matter and just had to post this as a reminder:
Mounting an NFS export from a Linux server in AIX will surely fail, unless you run this command before mounting:
After this you can proceed with regular mounting.
The explanations I’ve seen to why AIX doesn’t use reserved ports to begin with, vary from AIX follows NFS standard to It’s more secure this way. Whatever the reason behind this, it’s annoying when mounting fails without an abvious and reasonable explanation.
I have previously used Lame to convert different file formats to mp3. Having stumbled on some mp4 videos that refused to being converted to mp3 I thought I’d try my luck with FFmpeg instead.
Using FFmpeg was quite easy:
Controlling the bit-rate of the created file:
The mp4 file was converted to mp3 without problems. Mission accomplished!
Keeping track of time all over the globe is hard enough. Add to this different timezones which you may not be familiar with, and brain melt-down is imminent.
Use this timezone conversion table to bring order to chaos.
You can also use
this nifty tool to compare the time of different destinations all over the world.
Having recently dist-upgraded to Kubuntu 12.04 Precise Pangolin, I was kind of hoping for the system to be able to read the SDXC card from my Nikon camera. It’s a 64GB SD card with the filesystem exfat. Exfat is an M$ proprietary filesystem intended to replace FAT32 (vfat), and unfortunately Linux is still unable to read this filesystem (kernel 3.2.0-26). Doing some googling I found this link.
The solution to the problem is simple:
sudo apt-get update
sudo apt-get install fuse-exfat
I still haven’t tried writing anything with this driver. I just want to be able to copy the images from my and the driver works well for this.
I’m sure the intent was good, but somewhere down the road they failed miserably… A Ubuntu package called ubufox, or more recently xul-ext-ubufox breaks middle-mouse paste in Ubuntu/Kubuntu.
It claims to do this:
Integrates the browser with Ubuntu to: * Enable searching for missing plugins from Ubuntu software catalog * Add the following options to the Help menu - Get help on-line - Help translating Firefox - Ubuntu Release Notes * Set homepage to Ubuntu Start Page * Display a restart notification after upgrading Firefox * Add ask.com to the search engines.
But that’s not all, since middle-mouse paste gets broken too… Geez, thanks for making my life less convenient, and disabling what I’ve come to know as a Linux default behaviour for web browsers.