Touchpad or mouse not working after ubuntu update from 12.04

I update Linux ubuntu from 12.04 via command line. After end of update I get message update complete 3 packages have error. One of them is ubuntu – desktop. I reboot pc. After reboot trackpad does not work. When I connect mouse with usb also does not work. I think issue is some packages have not installed/updated properly. What I have tried in recovery mode and alt + ctrl + f2:

sudo apt-get install xserver-xorg-input-synaptics
Result: package already newest version.

Sudo apt-get upgrade
Result: 0 upgraded 0 to remove and 246 not upgraded.

Sudo apt-get update
Result: failed to fetch on many lines. I think it’s networking problem.

Sudo apt-get dist-upgrade

many lines ‘failed to fetch’ ‘e: unable to fetch some archives’ I think nothing is installed on this step cuz it ends in 2 seconds.

Please help me I have very dear files to me on this computer that I don’t want to lose 🙁

Ubuntu 12.04 system changing hard drive partition size in background while computer s in use with no notice or interaction

I have been having a problem with Ubuntu 12.04 in which the system is resizing the primary partition sha1 up and down in size. It is shifting space from the sha2(sha5) swap partition when the drive space gets someplace below 3.5Gb of free space.

It does this in the background while I’m using the computer with no notice or anything.

It locks up the hard drive access, which is most generally in use at the time. It has done this while I’m on the Internet downloading a file, It has done this when the computer is playing a video, etc.

When I move files off to my storage drive it then resizes the sha1 partition back down and resizes the sha2(sha5) partition back up in the background while drive is in use. As I already mentioned it does this while other programs are using the drive. This has caused the system to do weird things and crash. I have rebooted and even shut down the system since I thought it just locked up.

I only noticed that it was dorking with the partitions because I have been booting up on a cdrom and using Gparted to check and repair the partition when it would not boot.

Is there anyway to disable this automatic repartitioning? I really can’t have the computer doing partition changes in the background that I don’t know its even doing. How anyone can think this is a good idea on a home computer is insane.

Anyway I hope someone can help.

PS I figure this is in here someplace but I did a Google search and Askubuntu site search but did not find anything even remotely close. Lots of info on how to manually do this insane idea of resizing partitions while using the system but no info on the system doing it on its own. The “Similar questions” section of the post box was no help either.

Install 32-bit OpenJDK 8u111 on Ubuntu 12.04 LTS [on hold]

I would like to install 32-bit OpenJDK 8u111 JDK on Ubuntu 12.04.4 LTS, but cannot find the deliverables I need – i386 build 1.8.0_111-8u111-b14-3~12.04-b14.

My ubuntu version is: Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise

I found the revision I need for Ubuntu 14.04,, but I’m not sure it’s good for Ubuntu 12.04.

Please let me know whether revision built for 14.04 is ok for 12.04. If it’s not, please advise where I could get the i386 build of OpenJDK 1.8.0_111 JDK for Ubuntu 12.04.4 LTS.

Desktop session without monitor at boot on Precise (12.04)

I have a computer running Ubuntu 12.04.3 LTS (precise) that is inside a machine which may or may not have a monitor attached at boot.

  • If the monitor is present during boot, then it displays my autologin user’s desktop session.
  • If the monitor is not present during boot, then plugging it in will show an image of horizontal dots (which I believe is just a background).

monitor with default background

In both cases, my autologin user’s session begins and I can access it over VNC (vino-server). But in the latter case, I can only use VNC to access the session.

When the monitor is always present, the o/s Display settings page shows “normal” values (lower half), but if it is plugged in later, the Display settings page values remain blank (upper half) despite the fact there is output:

o/s display settings

Is there a way to ensure the desktop session appears on VGA, even if a monitor is attached later? I’ve found several answers related to no video at all, but none address what I see here.

Yes I have sudo access, but no this machine is an island. No apt, no upgrades.

using catch2 on ubuntu 12.04 using codeblocks

I have installed codes block 10.05 in my ubuntu which its version is 12.04. now I want to use catch2 on that , I installed catch2 but when I compile a hello world sample with #inlcude catch2.catch.hpp it gives lots of error.

I think it should be compilor related problem. because, catch2 have used c++11. I tried to download codeblocks16.01 but my ubuntu is 32 bit version and I can’t find it on codeblocks page. help me to install the upper version of codeblocks in my system or give me some advices for handing this problem.

Many thanks