Hardcore Linux

Anything about Ubuntu, Centos, openSuSe and Fedora

Category Archives: 14.04

Ubuntu 14.04 Hash Sum mismatch problem.

Some update and upgrade session might corrupt the metadata of the package information in Ubuntu, more known as the “Hash Sum mismatch” error after the  apt-get update command. A workaround if the simple update command doesn’t work is you need to manually clean the package metadata record being produced, here’s how:

  1. Run these series of command on your terminal:
    apt-get clean
    rm -rf /var/cache/apt/*
    rm -rf /var/lib/apt/lists/*
  2. Then check if all works out by doing another package metadata update:
    apt-get update
  3. Done.

Full information about the discussion here: (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/628)

 

 

Fix for Elantech touchpad on Ubuntu 14.04

Since I recently got my new Lenovo G5070 notebook few days ago, I rush in to install second OS : Ubuntu 14.04, though installation process is tough, need to fix video card defaults, from fgrlx to intel graphics. Then another issue is wireless network RTL8723BE drops after each connection, but this article is about the touchpad: the ElanTech Touchpad, which by default not functioning well. Issues like there’s no switch off touchpad option in Ubuntu settings, multi-touch is not working, neither the scrolling.

Now to fix this issues, here’s the guide:

1. First, download the patch for the touchpad here.

2. Install dkms (if you haven’t done it yet)

sudo apt-get install dkms

3.  Go to the directory where you store the file and perform the following:

sudo dkms ldtarball psmouse-elantech-x551c.tar.gz
sudo dkms install -m psmouse -v elantech-x551c

4. Then reconfigure the driver

sudo rmmod psmouse
sudo modprobe psmouse
sudo update-initramfs -u -k all

5. Done

error: Diskfilter writes are not supported Ubuntu 14.04

After a clean install or upgrade from 12.04 to 14.04 on raid or lvm setup, normally you will encounter this error, which is related to the setup I mentioned. From various test, I encounter a workaround to fix this error.

Modify /etc/grub.d/10_linux 

Replace quick_boot=1 with quick_boot=0

Done.