Tag Archives: Ubuntu

Kept back packages in apt-get

I faced the following error/message in Ubuntu 14.04 LTS while updating my softwares through apt-get command:

The following packages have been kept back:
libglib2.0-0:i386 libhwloc-plugins
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

After some googling and reading some posts which were either inappropriate or risky/dangerous, I came up with the following solution that works every time and is safe.
Continue reading Kept back packages in apt-get

Remote logout user through SSH

I had an issue with my Ubuntu recently that the computer was not stopping screesaver and didn’t show me the login page after a screenlock. Most people usually try to forcefully shutdown by pressing and holding the power button for about 10 seconds. This is not a good choice specially when you have some services on that machine or having some other users logged in through SSH to that computer.

In this article I will briefly explain how to logout a specific user remotely through SSH without touching or terminating any service or any other user.

Continue reading Remote logout user through SSH

Install and enable SSH in Ubuntu 14.04

I was setting up a service on a local computer with Ubuntu 14.04 Trusty Tahr OS which I realized there is no SSH server daemon what so ever on Ubuntu, so I thought installation and enabling SSH in Ubuntu 14.04 can be a issue for some beginners, so here is the solution:

First you should install the OpenSSH server:

sudo apt-get install openssh-server

Continue reading Install and enable SSH in Ubuntu 14.04

Add custom icon in Ubuntu launcher

Ubuntu uses Unity GUI (Graphical User Interface) and it has a great feature which is handy for running the application which you frequently use. While working with Linux, you may want to run your scripts (shell, Perl, Python, etc.) and you want to add your script to your launcher menu.

There are two ways to add your own icon in Ubuntu launcher (sidebar), you can write the icon script your self or you can use wizard. In the following post I have described how to add your custom icon (to run your custom script) to your application list and also your launcher menu.

Continue reading Add custom icon in Ubuntu launcher

“ubi-partman failed with exit code 10” error during Ubuntu 12.04.* resolution

During installing Ubuntu 12.04.2 LTS on an Acer laptop I got the following error:

ubi-partman failed with exit code 10

the error message had three buttons and the “continue” button was letting me proceed the installation progress to select date and other stuff, but before selecting the partition I was stock ! After few hours searching and reading blogs I found a clue but there was no specific solution for it, so I decided to write this article.

The problem occurs when the Ubuntu installer wants to check the HDD (Hard Drive Disk) but it was failing each and every time. The solution I found was in configuring the live disk before loading. Follow the following steps:

Continue reading “ubi-partman failed with exit code 10” error during Ubuntu 12.04.* resolution

How to install Plymouth Theme (aka Boot Splash) in Linux.

Many Linux users love the platform due to the customization options available and thus here is one option to customize the appearance of your Linux Box from the very beginning i.e. Boot Screen or Boot Splash, (of course it begins with the GRUB, but we’ll go for customizing that later).

Here are the steps to Install Plymouth Theme to your Linux Machine.

Steps:

Tip : Make sure your OS is of a version higher than Ubuntu 10.04 or Fedora 10 (should basically support Plymouth, more information link at the bottom)

  • Google or Bing (what ever you prefer) and look for a Plymouth Boot Splash and download a the zip or tarball.
  • For the purpose of learning the process you can use this Ubuntu Sunrise Plymouth. Download from the link provided which just says “ubuntu sunrise” and not the Debian package, because it is better to learn the “Terminal WaY” of doing things rather than relying on .deb or .rpm packages.
  • The file you will download has the name ” 129696-ubuntu-sunrise.tar.gz “.
  • Open terminal and go to the directory where the archive is downloaded and deflate the archive by command :
 tar -xvf 129696-ubuntu-sunrise.tar.gz