Trying to install Beyond Compare in Linux... a few different times / similar fails

I need to  copy data from a failing / corrupt hard drive to a new drive from a windows system.

Seems the only way to read this drive is to mount it in Linux with the -r or -ro flag (read only).

I really don't know much about linux / learning by trial an error.  I used a live rescue CD USB stick and could mount the 2 drives.

And now doing that in a Ubuntu live USB.

Now to get beyond compare installed.  I go to

http://www.scootersoftware.com/download.php

and download the .deb and then the .rpm packages.  Double click on them in download folder and I get a text document most times.  On ubuntu, for the deb install, a page opens with install button!!! I click on it and all I get is an icon in the bar saying waiting to install.  

I go to the install in linux help page

http://www.scootersoftware.com/download.php?zz=kb_linux_install

and follow steps but get errors. most recently, following the terminal install commands for ubuntu,

I get:
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libqtwebkit4


then it dawns on me - as a live install (running from thumb drive) should I be able to install apps / beyond compare?  Is there a way to enable installing on a live USB?
BeGentleWithMe-INeedHelpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NerdsOfTechTechnology ScientistCommented:
command line:
sudo apt-get update && sudo apt-get upgrade

Open in new window

sudo apt-get install libqtwebkit4

Open in new window

Then try to reinstall program.
0
NerdsOfTechTechnology ScientistCommented:
Edited above.
0
BeGentleWithMe-INeedHelpAuthor Commented:
8:50PM Live blogging... first, THANKS, regardless of the outcome.  This is SOOO frustrating - spending my weekend trying to get the data off this hard drive. Really shouldn't be this hard / I feel I should understand this better.  Thanks for giving me a few minutes of 'I may have the answer'...

8:55PM Damn...That first command is doing lots of things!

9:03 This is an intel processor (core 2 vpro) / old dell optiplex.  Keep seeing amd64 in these commands flying by.  I am thinking it should be i386.... (and the instructions for BC also talk of amd64 for the terminal install instructions.  i tried it with that command and also changing the download to ....i386. deb.  same questions about prefix and the error about that dependancy...

9:07..... problems?

No apport report written because MaxReports is reached already
                                                              dpkg: unrecoverable fatal error, aborting:
 unable to flush /var/lib/dpkg/updates/tmp.i after padding: No space left on device
E: Sub-process /usr/bin/dpkg returned an error code (2)


9:08 gotta mount the 2 drives
open terminal (no icon for that? there's a search icon).  in some page I found back on friday, they said you ahve to make a directory to point the mount.  First few lines were to get my bearings in ubuntu. In the ready CD I had the root and was puitting the drives in /media/old & /media/new

ubuntu@ubuntu:~$ cd /home/ubuntu
ubuntu@ubuntu:~$ ls
bcompare-4.2.3.22587_i386.deb  Documents  Music     Public     Videos
Desktop                        Downloads  Pictures  Templates
ubuntu@ubuntu:~$ cd music
bash: cd: music: No such file or directory
ubuntu@ubuntu:~$ cd Music
ubuntu@ubuntu:~/Music$ sudo mkdir old
ubuntu@ubuntu:~/Music$ sudo mkdir new
ubuntu@ubuntu:~/Music$ sudo mount //dev/sda1 /home/ubuntu/Music/old -r
ubuntu@ubuntu:~/Music$ sudo mount //dev/sdb1 /home/ubuntu/Music/new

9:13.  doing your 2nd command...

ubuntu@ubuntu:~$ sudo apt-get install libqtwebkit4
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ubuntu@ubuntu:~$ sudo dpkg --configure -a

then got:

ubuntu@ubuntu:~$ sudo apt-get install libqtwebkit4
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ubuntu@ubuntu:~$ sudo dpkg --configure -a

thumb drive full!?

it's a 4GB

buntu@ubuntu:~$ sudo gdebi bcompare-4.2.3.22587_i386.deb
Reading package lists... Done
Error opening the cache:
E:Write error - write (28: No space left on device), E:IO Error saving source cache, E:The package lists or status file could not be parsed or opened.
ubuntu@ubuntu:~$

oh wait.  2GB!?  F me!!!!!!!!! I have LOADS of 16GB drives. WTF am I keeping these 2GB drives around.

back in a few.  making ubuntu on 16GB thumb
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

BeGentleWithMe-INeedHelpAuthor Commented:
9:25PM
Actually, it was a 4GB thumb drive and putting it a windows PC, it says it used 1.5GB... and 2.24 gb free.

also, the name of it is Ubuntu 16.04.3 LTS amd64

again, I'd think I need i386. but it booted.  

making it again on a 16GB disk.  is there something I need to say to have it use more space on the thumbdrive?
0
BeGentleWithMe-INeedHelpAuthor Commented:
taking another shot at this with the 15GB disk

your first command asks (as before), that it'll need 121 MB, proceed? I say yes.

while that window is open / working, in another terminal window I run sudo fdisk -l

and get: loop and 3 drives (loop = RAM?).  the old, and new drives, and the USB...

Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x091ef7bb

Device     Boot Start        End    Sectors   Size Id Type
/dev/sda1          63 1953520064 1953520002 931.5G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe8900690

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1  *       63 1953503999 1953503937 931.5G  7 HPFS/NTFS/exFAT


Disk /dev/sdc: 14.6 GiB, 15623782400 bytes, 30515200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x066a509e

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1  *     2048 30515199 30513152 14.6G  c W95 FAT32 (LBA)

I did a quick google before this and found suggestions for commands like
sudo apt autoremove
sudo apt autoclean
sudo umount /tmp

I haven't used those... putting them here for me to remember them and you to warn against them : )

955 - 1st of your commands are running (already ran the first 3 of the BC commands:
wget http://www.scootersoftware.com/bcompare-4.2.3.22587_amd64.deb
sudo apt-get update
sudo apt-get install gdebi-core

nope, seeing 'no space on device messages' flying by.  GOt a message that 'this' drive only has 50MB left.

a graphic pie chart came up.  
showing 'this drive' is 2.8GB and 2.2 is taken up by /usr (and other directories using smaller amounts).  nothing in there I think I can delete without causing other problems : (

machine has 4 or 8 GB of ram

DOH!





sudo apt-get install libqtwebkit4
0
NerdsOfTechTechnology ScientistCommented:
If only you had a spare USB or SATA drive with like 250GB to install on :)

TEST #2 with fresh ISO try just:

sudo apt-get install libqtwebkit4

Open in new window


then install prog.

If that doesn't work try fresh ISO, then TEST #3:

sudo apt-get update
sudo apt-get install libqtwebkit4

Open in new window


then install prog.

AMD64 is for Intel or AMD 64 bit. It is named as such because AMD invented the CPU architecture back in the day of Athlon 64. Intel gets credit for i386 (32-bit) CPU architecture (works on 32-bit AMD and Intel CPUs). You'll likely want AMD64 versions of the OS.

I'm going to run some tests on my virtualbox here too.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BeGentleWithMe-INeedHelpAuthor Commented:
THANK YOU AGAIN AND AGAIN!!!!  

Yeah, there's always at least 2 paths and I choose the wrong (or at least longer) one and waste people's time besides mine!

This time:

1) fart around with the live install or

2) as you say: If only you had a spare USB or SATA drive with like 250GB to install on :)

in this case, I did #2 - put in an old hard drive, installed ubuntu then installed beyond compare... with just the 4 lines they gave me and it's working.                        F____ing waste of time!!!

It's a live CD for TRYING ubuntu.  Not to run your world on it / installing other things?!

hindsight is always 20-20.  You help others like me, so thank you. What little knowledge I can offer is next time someone says anything about using a live CD for more than browsing / using the apps that are preinstalled, tell them

>>>>>>>>>>>>>>>>>>If only you had a spare USB or SATA drive with like 250GB to install on :)  <<<<<<<<<<<<<<<<<<

It is sooo nice that people like you are out there!

I gotta go recapture a wasted weekend!
0
NerdsOfTechTechnology ScientistCommented:
Thanks so much! I appreciate the feedback and kind words.

For data recovery, typically a LIVE CD or DVD is all that is needed to copy files from a dying drive to a good one.

However, in this case, a program was needed to be installed on Linux; therefore, the Linux OS would need to be installed onto a drive (non-live), where installation of programs are viable.

For those trying to install Beyond Compare on Ubuntu, at the time of this post (check for updated files), the four lines would be (for Terminal Install)
wget https://www.scootersoftware.com/bcompare-4.2.3.22587_amd64.deb
sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi bcompare-4.2.3.22587_amd64.deb

Open in new window


FYI, for another Linux comparison program that is much less powerful (but free), check out Meld. http://meldmerge.org/
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.