apt-cache output seems fine, I'd thougth the Liquorix kernel maybe pulled in unexpected updates.
I am fine with removing it to continue testing your script.
Well if you say only the checksum commands failed there's probably no need to start over.
I'm still curious though as to why these don't work for you (maybe a bash option set somewhere?). How about
set -x echo 'f71400e63a5e3746c09b7c291d47244667a1b169 steam.deb' | sha1sum -c
Note the two spaces between the sum and steam.deb. It should output
+ sha1sum -c + echo 'f71400e63a5e3746c09b7c291d47244667a1b169 steam.deb' steam.deb: OK
Thanks for your interest.
That performed as you predicted. I feel like it has something to do with the present working directory not being /tmp/cb-steam for some reason, like the mkdir /tmp/cb-steam && cd /tmp/cb-steam command is passed to the interpreter but not actually executed or something. I myself am still learning the ins and outs of bash and can only speculate. Let me know if you need any other information.
Looks like it failed here:
sha1sum -c <<< "f71400e63a5e3746c09b7c291d47244667a1b169 steam.deb" && \ dpkg -X steam.deb cb-steam && dpkg -e steam.deb cb-steam/DEBIAN
Did you say you entered the sha1sum command manually, and it worked?
I've just run that part on a 64bit #! live cd (as well as siduction) and I couldn't reproduce it. However I've seen issues with quotes in the past. A guess; could you provide the output of:
apt-cache policy bash libc6
Note that the sha1sums are there to keep track of changes/updates to the packages, they're not a critical part of the script.
During manual entry I skipped the checksum validation, as I had verified it once during the initial download to be thorough and felt it didn't need to be verified every time thereafter.
Here's the requested info:
z0rt@icarus:~$ apt-cache policy bash libc6 bash: Installed: 4.2+dfsg-0.1 Candidate: 4.2+dfsg-0.1 Version table: *** 4.2+dfsg-0.1 0 500 http://http.debian.net/debian/ wheezy/main amd64 Packages 100 /var/lib/dpkg/status libc6: Installed: 2.13-38+deb7u1 Candidate: 2.13-38+deb7u1 Version table: *** 2.13-38+deb7u1 0 500 http://http.debian.net/debian/ wheezy/main amd64 Packages 100 /var/lib/dpkg/status
I was also able to successfully install steam using the OP installer and apt-get install -f to resolve dependency complaints, but I am fine with removing it to continue testing your script.
I've written a new Steam script:
It works on my 32bit install, but I'd appreciate it if someone with 64bit could test it.
z0rt@icarus:~$ uname -a Linux icarus 3.12-10.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Fri Feb 7 04:36:34 UTC 2014 x86_64 GNU/Linux z0rt@icarus:~$ ls -al cb-steam -rwxr--r-- 1 z0rt z0rt 1811 Mar 28 23:47 cb-steam z0rt@icarus:~$ sudo ./cb-steam No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. --2014-03-28 23:47:30-- http://media.steampowered.com/client/installer/steam.deb Resolving media.steampowered.com (media.steampowered.com)... 188.8.131.52, 184.108.40.206 Connecting to media.steampowered.com (media.steampowered.com)|220.127.116.11|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://repo.steampowered.com/steam/archive/precise/steam_latest.deb [following] --2014-03-28 23:47:30-- http://repo.steampowered.com/steam/archive/precise/steam_latest.deb Resolving repo.steampowered.com (repo.steampowered.com)... 18.104.22.168, 22.214.171.124 Connecting to repo.steampowered.com (repo.steampowered.com)|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2330592 (2.2M) [application/x-debian-package] Saving to: `steam.deb' 100%[=====================================================================================================================================================================================================>] 2,330,592 2.05M/s in 1.1s 2014-03-28 23:47:31 (2.05 MB/s) - `steam.deb' saved [2330592/2330592] sha1sum: standard input: no properly formatted SHA1 checksum lines found sed: can't read cb-steam/DEBIAN/control: No such file or directory
I went through your script and entered the commands manually and everything worked, so perhaps it is user error on my part. I would be happy to provide any additional information you require for debugging purposes.