Closed spatiald closed 9 years ago
My comments inline:
1. It seems there were some issues in step 3. See the log file. I went in manually and pulled the files down, and that seem to work.
Did you manually pull the install files or disconnect from the internet during install? Looks like script 1 and script 3 had issues resolving domain names and, therefore, couldn't download some of the required files. I also see a key failure so some updates didn't happen.
2. I assume the MYSQL database portion isn’t completed yet. a. The MSQL database password wasn’t set, so I set it manually but there still are things missing.
SOLVED - I change the MySQL root password during install without user interaction.
3. I pulled down some modules, and they are showing up nicely.
4. I am accessing the site via the WAN port .
5. The link to the lesson planner is working fine.
Yeah!
6. One question I have, on the top right hand corner is a text http://127.0.1.1 what is that about?
It looks like you weren't connected to the Internet? It should show the either the WAN ip (primary) or the 192.168.88.1 (which I should change to 10.10.10.10 as failover; I believe I have the redirect working for 10.10.10.10)
From Bernd: I simply cut and pasted the commands from the script and execute them on the command line, I am not sure why they executed on the command line but not within the script.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
apt-get update
sudo wget https://github.com/rachelproject/rachelplus/raw/master/lighttpd.conf -O /usr/local/etc/lighttpd.conf
sudo wget https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-setwanip-install.sh -O - | bash
I am connected to the internet via my router
root@WRTD-303N-Server:~# ifconfig
eth0 Link encap:Ethernet HWaddr f8:35:dd:df:a7:91
inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1155943 errors:0 dropped:0 overruns:0 frame:0
TX packets:454321 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1690638119 (1.6 GB) TX bytes:37985013 (37.9 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:91362 errors:0 dropped:0 overruns:0 frame:0
TX packets:91362 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5326831 (5.3 MB) TX bytes:5326831 (5.3 MB)
wlan0 Link encap:Ethernet HWaddr f8:35:dd:d2:f4:cf
inet addr:192.168.88.1 Bcast:192.168.88.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5387 errors:0 dropped:0 overruns:0 frame:0
TX packets:1867 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:495193 (495.1 KB) TX bytes:418795 (418.7 KB)
Interrupt:16 Base address:0x8000
@bnordha Try running the install script again...it won't harm the hardware BUT it will erase your RACHEL partition, if that's okay. I have run the script multiple times across several devices and it hasn't harmed any device. You should find the output of the new install log file to be much better as well as they are timestamped and stored in /var/log/RACHEL/
Let me know if you decide to try again.
@spatiald I am pretty sure one of the issues is my router. It is a cheap piece of crap, but I cannot change it as I get my IPTV over it, and it is preconfigured.
I think the main issues the DNS server. For example, if when I installed an Ubuntu server, I had to specify the numeric IP address as the DNS server wasn't able to resolve the IP addresses.
1) At first, the script will report that it cannot connect to the internet, even though I can ping to the outside world. 2) I then change the DNS server to 8.8.8.8, and the script runs, but the log shows some issues, see below.
[01;32m[+][0m RACHEL CAP Install Script - Version 1 [01;32m[+][0m Install started: Fri Jul 17 10:19:13 BST 2015 [01;32m[+][0m Internet connected...continuing install. [01;35m[][0m Fixing hostname in /etc/hosts [01;32m[+][0m Done. [01;35m[][0m Delete previous RACHEL setup commands from /etc/rc.local [01;32m[+][0m Done. [01;35m[*][0m Downloading RACHEL install scripts for CAP --2015-07-17 10:19:14-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-first-install-1.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-1.sh [following] --2015-07-17 10:19:15-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-1.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2388 (2.3K) [text/plain] Saving to: `/root/cap-rachel-first-install-1.sh'
0K .. 100% 148M=0s
2015-07-17 10:19:15 (148 MB/s) - `/root/cap-rachel-first-install-1.sh' saved [2388/2388]
--2015-07-17 10:19:15-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-first-install-2.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-2.sh [following] --2015-07-17 10:19:16-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-2.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1713 (1.7K) [text/plain] Saving to: `/root/cap-rachel-first-install-2.sh'
0K . 100% 113M=0s
2015-07-17 10:19:17 (113 MB/s) - `/root/cap-rachel-first-install-2.sh' saved [1713/1713]
--2015-07-17 10:19:17-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-first-install-3.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-3.sh [following] --2015-07-17 10:19:18-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-3.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3870 (3.8K) [text/plain] Saving to: `/root/cap-rachel-first-install-3.sh'
0K ... 100% 228M=0s
2015-07-17 10:19:18 (228 MB/s) - `/root/cap-rachel-first-install-3.sh' saved [3870/3870]
--2015-07-17 10:19:18-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-setwanip-install.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-setwanip-install.sh [following] --2015-07-17 10:19:19-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-setwanip-install.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1570 (1.5K) [text/plain] Saving to: `/root/cap-rachel-setwanip-install.sh'
0K . 100% 196M=0s
2015-07-17 10:19:20 (196 MB/s) - `/root/cap-rachel-setwanip-install.sh' saved [1570/1570]
--2015-07-17 10:19:20-- https://github.com/rachelproject/rachelplus/raw/master/lighttpd.conf Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/lighttpd.conf [following] --2015-07-17 10:19:21-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/lighttpd.conf Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3655 (3.6K) [text/plain] Saving to: `/root/lighttpd.conf'
0K ... 100% 222M=0s
2015-07-17 10:19:22 (222 MB/s) - `/root/lighttpd.conf' saved [3655/3655]
[01;32m[+][0m Done. [01;35m[][0m Directory of RACHEL install log files with date/time stamps: /var/log/RACHEL [01;33m[?][0m WARNING: This process will destroy all content on /media/RACHEL [01;35m[][0m Starting first install script...please wait patiently (about 30 secs) for first reboot. [01;35m[*][0m The entire script (with reboots) takes 2-5 minutes.
[01;32m[+][0m RACHEL CAP Install - Script 1 started at Fri Jul 17 10:19:25 BST 2015
[01;35m[*][0m Updating CAP package repositories Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.Rl2WHoHI5p --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192 gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com gpg: key 3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key ftpmaster@ubuntu.com" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.K25QH8GXAK --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key ftpmaster@ubuntu.com" 27 new signatures gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: new signatures: 27 Get:1 http://mirrors.sohu.com precise Release.gpg [198 B] Hit http://mirrors.sohu.com precise-updates Release.gpg Hit http://mirrors.sohu.com precise-backports Release.gpg Get:2 http://extras.ubuntu.com precise Release.gpg [72 B] Get:3 http://mirrors.sohu.com precise-security Release.gpg [198 B] Hit http://mirrors.sohu.com precise Release Hit http://extras.ubuntu.com precise Release Hit http://mirrors.sohu.com precise-updates Release Hit http://mirrors.sohu.com precise-backports Release Hit http://mirrors.sohu.com precise-security Release Hit http://extras.ubuntu.com precise/main Sources Err http://mirrors.sohu.com precise-security Release
Hit http://mirrors.sohu.com precise/main Sources Hit http://mirrors.sohu.com precise/restricted Sources Hit http://extras.ubuntu.com precise/main i386 Packages Hit http://mirrors.sohu.com precise/universe Sources Hit http://mirrors.sohu.com precise/multiverse Sources Hit http://mirrors.sohu.com precise/main i386 Packages Ign http://extras.ubuntu.com precise/main TranslationIndex Get:4 http://mirrors.sohu.com precise/restricted i386 Packages [8,431 B] Hit http://mirrors.sohu.com precise/universe i386 Packages Hit http://mirrors.sohu.com precise/multiverse i386 Packages Get:5 http://mirrors.sohu.com precise/main TranslationIndex [3,706 B] Hit http://mirrors.sohu.com precise/multiverse TranslationIndex Get:6 http://mirrors.sohu.com precise/restricted TranslationIndex [2,596 B] Hit http://mirrors.sohu.com precise/universe TranslationIndex Hit http://mirrors.sohu.com precise-updates/main Sources Get:7 http://mirrors.sohu.com precise-updates/restricted Sources [7,981 B] Hit http://mirrors.sohu.com precise-updates/universe Sources Get:8 http://mirrors.sohu.com precise-updates/multiverse Sources [9,717 B] Hit http://mirrors.sohu.com precise-updates/main i386 Packages Get:9 http://mirrors.sohu.com precise-updates/restricted i386 Packages [13.6 kB] Hit http://mirrors.sohu.com precise-updates/universe i386 Packages Hit http://mirrors.sohu.com precise-updates/multiverse i386 Packages Get:10 http://mirrors.sohu.com precise-updates/main TranslationIndex [10.6 kB] Hit http://mirrors.sohu.com precise-updates/multiverse TranslationIndex Get:11 http://mirrors.sohu.com precise-updates/restricted TranslationIndex [7,297 B] Get:12 http://mirrors.sohu.com precise-updates/universe TranslationIndex [8,333 B] Hit http://mirrors.sohu.com precise-backports/main Sources Get:13 http://mirrors.sohu.com precise-backports/restricted Sources [28 B] Hit http://mirrors.sohu.com precise-backports/universe Sources Hit http://mirrors.sohu.com precise-backports/multiverse Sources Ign http://extras.ubuntu.com precise/main Translation-en_US Get:14 http://mirrors.sohu.com precise-backports/main i386 Packages [5,484 B] Get:15 http://mirrors.sohu.com precise-backports/restricted i386 Packages [28 B] Ign http://extras.ubuntu.com precise/main Translation-en Hit http://mirrors.sohu.com precise-backports/universe i386 Packages Get:16 http://mirrors.sohu.com precise-backports/multiverse i386 Packages [5,413 B] Get:17 http://mirrors.sohu.com precise-backports/main TranslationIndex [202 B] Get:18 http://mirrors.sohu.com precise-backports/multiverse TranslationIndex [202 B] Get:19 http://mirrors.sohu.com precise-backports/restricted TranslationIndex [193 B] Get:20 http://mirrors.sohu.com precise-backports/universe TranslationIndex [205 B] Hit http://mirrors.sohu.com precise/main Translation-en Hit http://mirrors.sohu.com precise/multiverse Translation-en Get:21 http://mirrors.sohu.com precise/restricted Translation-en [2,395 B] Hit http://mirrors.sohu.com precise/universe Translation-en Hit http://mirrors.sohu.com precise-updates/main Translation-en Get:22 http://mirrors.sohu.com precise-updates/multiverse Translation-en [9,603 B] Hit http://mirrors.sohu.com precise-updates/restricted Translation-en Hit http://mirrors.sohu.com precise-updates/universe Translation-en Get:23 http://mirrors.sohu.com precise-backports/main Translation-en [4,911 B] Get:24 http://mirrors.sohu.com precise-backports/multiverse Translation-en [4,838 B] Get:25 http://mirrors.sohu.com precise-backports/restricted Translation-en [14 B] Hit http://mirrors.sohu.com precise-backports/universe Translation-en Fetched 106 kB in 11s (9,553 B/s) Reading package lists... W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.sohu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key ftpmaster@ubuntu.com
W: Failed to fetch http://mirrors.sohu.com/ubuntu/dists/precise-security/Release
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-updates_restricted_source_Sources Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-updates_multiverse_source_Sources Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-backports_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-backports_multiverse_binary-i386_Packages Hash Sum mismatch
W: Some index files failed to download. They have been ignored, or old ones used instead. [01;32m[+][0m Done.
[01;35m[*][0m Repartitioning hard drive Disk /dev/sda: 976773168 sectors, 465.8 GiB Logical sector size: 512 bytes Disk identifier (GUID): 3F168438-9829-41A1-AB77-5EDA06C19E0C Partition table holds up to 128 entries First usable sector is 34, last usable sector is 976773134 Partitions will be aligned on 2048-sector boundaries Total free space is 4062 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 765460479 365.0 GiB 8300 preloaded 2 765460480 976771086 100.8 GiB 8300 uploaded Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Error: Partition(s) on /dev/sda are being used. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Disk /dev/sda: 976773168 sectors, 465.8 GiB Logical sector size: 512 bytes Disk identifier (GUID): 50F5CE02-8B94-4273-BF04-19BACF3DC5B2 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 976773134 Partitions will be aligned on 2048-sector boundaries Total free space is 4196318 sectors (2.0 GiB)
Number Start (sector) End (sector) Size Code Name 1 2048 41945087 20.0 GiB 8300 preloaded 2 44040192 253755391 100.0 GiB 8300 uploaded 3 255852544 976771086 343.8 GiB 8300 RACHEL [01;32m[+][0m Done.
[01;35m[*][0m Adding /dev/sda3 into /etc/fstab [01;32m[+][0m Done.
[01;32m[+][0m RACHEL CAP Install - Script 1 ended at Fri Jul 17 10:19:53 BST 2015
[01;35m[][0m I need to reboot; once rebooted, the next script will run automatically. [01;35m[][0m Rebooting in 10 seconds...
[01;32m[+][0m RACHEL CAP Install - Script 2 started at Fri Jul 17 10:20:32 BST 2015
[01;35m[*][0m Creating filesystems mke2fs 1.42 (29-Nov-2011) Filesystem label=preloaded OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 1310720 inodes, 5242880 blocks 262144 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 160 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000
Allocating group tables: 0/160 1/160 2/160 3/160 4/160 5/160 6/160 7/160 8/160 9/160 10/160 11/160 12/160 13/160 14/160 15/160 16/160 17/160 18/160 19/160 20/160 21/160 22/160 23/160 24/160 25/160 26/160 27/160 28/160 29/160 30/160 31/160 32/160 33/160 34/160 35/160 36/160 37/160 38/160 39/160 40/160 41/160 42/160 43/160 44/160 45/160 46/160 47/160 48/160 49/160 50/160 51/160 52/160 53/160 54/160 55/160 56/160 57/160 58/160 59/160 60/160 61/160 62/160 63/160 64/160 65/160 66/160 67/160 68/160 69/160 70/160 71/160 72/160 73/160 74/160 75/160 76/160 77/160 78/160 79/160 80/160 81/160 82/160 83/160 84/160 85/160 86/160 87/160 88/160 89/160 90/160 91/160 92/160 93/160 94/160 95/160 96/160 97/160 98/160 99/160100/160101/160102/160103/160104/160105/160106/160107/160108/160109/160110/160111/160112/160113/160114/160115/160116/160117/160118/160119/160120/160121/160122/160123/160124/160125/160126/160127/160128/160129/160130/160131/160132/160133/160134/160135/160136/160137/160138/160139/160140/160141/160142/160143/160144/160145/160146/160147/160148/160149/160150/160151/160152/160153/160154/160155/160156/160157/160158/160159/160 done
Writing inode tables: 0/160 1/160 2/160 3/160 4/160 5/160 6/160 7/160 8/160 9/160 10/160 11/160 12/160 13/160 14/160 15/160 16/160 17/160 18/160 19/160 20/160 21/160 22/160 23/160 24/160 25/160 26/160 27/160 28/160 29/160 30/160 31/160 32/160 33/160 34/160 35/160 36/160 37/160 38/160 39/160 40/160 41/160 42/160 43/160 44/160 45/160 46/160 47/160 48/160 49/160 50/160 51/160 52/160 53/160 54/160 55/160 56/160 57/160 58/160 59/160 60/160 61/160 62/160 63/160 64/160 65/160 66/160 67/160 68/160 69/160 70/160 71/160 72/160 73/160 74/160 75/160 76/160 77/160 78/160 79/160 80/160 81/160 82/160 83/160 84/160 85/160 86/160 87/160 88/160 89/160 90/160 91/160 92/160 93/160 94/160 95/160 96/160 97/160 98/160 99/160100/160101/160102/160103/160104/160105/160106/160107/160108/160109/160110/160111/160112/160113/160114/160115/160116/160117/160118/160119/160120/160121/160122/160123/160124/160125/160126/160127/160128/160129/160130/160131/160132/160133/160134/160135/160136/160137/160138/160139/160140/160141/160142/160143/160144/160145/160146/160147/160148/160149/160150/160151/160152/160153/160154/160155/160156/160157/160158/160159/160 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/160 1/160 2/160 3/160 4/160 5/160 6/160 7/160 8/160 9/160 10/160 11/160 12/160 13/160 14/160 15/160 16/160 17/160 18/160 19/160 20/160 21/160 22/160 23/160 24/160 25/160 26/160 27/160 28/160 29/160 30/160 31/160 32/160 33/160 34/160 35/160 36/160 37/160 38/160 39/160 40/160 41/160 42/160 43/160 44/160 45/160 46/160 47/160 48/160 49/160 50/160 51/160 52/160 53/160 54/160 55/160 56/160 57/160 58/160 59/160 60/160 61/160 62/160 63/160 64/160 65/160 66/160 67/160 68/160 69/160 70/160 71/160 72/160 73/160 74/160 75/160 76/160 77/160 78/160 79/160 80/160 81/160 82/160 83/160 84/160 85/160 86/160 87/160 88/160 89/160 90/160 91/160 92/160 93/160 94/160 95/160 96/160 97/160 98/160 99/160100/160101/160102/160103/160104/160105/160106/160107/160108/160109/160110/160111/160112/160113/160114/160115/160116/160117/160118/160119/160120/160121/160122/160123/160124/160125/160126/160127/160128/160129/160130/160131/160132/160133/160134/160135/160136/160137/160138/160139/160140/160141/160142/160143/160144/160145/160146/160147/160148/160149/160150/160151/160152/160153/160154/160155/160156/160157/160158/160159/160 done
mke2fs 1.42 (29-Nov-2011) /dev/sda2 is mounted; will not make a filesystem here! mke2fs 1.42 (29-Nov-2011) /dev/sda3 is mounted; will not make a filesystem here! [01;32m[+][0m Done.
[01;32m[+][0m RACHEL CAP Install - Script 2 ended at Fri Jul 17 10:20:35 BST 2015
[01;35m[][0m I need to reboot; once rebooted, please run the next download/install command. [01;35m[][0m Rebooting in 10 seconds...
[01;32m[+][0m RACHEL CAP Install - Script 3 started at Fri Jul 17 10:21:14 BST 2015
[01;35m[*][0m Printing paritition table: Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p4 5.3G 1.2G 3.8G 24% / udev 943M 12K 943M 1% /dev tmpfs 383M 472K 382M 1% /run none 5.0M 0 5.0M 0% /run/lock none 956M 0 956M 0% /run/shm /dev/mmcblk0p3 181M 90M 82M 53% /boot /dev/mmcblk0p5 992M 657M 285M 70% /recovery /dev/sda1 20G 44M 19G 1% /media/preloaded /dev/sda2 99G 60M 94G 1% /media/uploaded /dev/sda3 339G 978M 321G 1% /media/RACHEL /dev/mmcblk0p2 94M 54M 41M 57% /boot/efi
[01;35m[*][0m The partition table for /dev/sda should look very similar to the following: /dev/sda1 20G 44M 19G 1% /media/preloaded /dev/sda2 99G 60M 94G 1% /media/uploaded /dev/sda3 339G 67M 321G 1% /media/RACHEL
[01;35m[*][0m Installing PHP Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: git git-man liberror-perl php5-common Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb php-pear php5-suhosin The following NEW packages will be installed: git git-core git-man liberror-perl php5-cgi php5-common python-m2crypto 0 upgraded, 7 newly installed, 0 to remove and 79 not upgraded. Need to get 13.1 MB of archives. After this operation, 33.1 MB of additional disk space will be used. Get:1 http://mirrors.sohu.com/ubuntu/ precise/main python-m2crypto i386 0.21.1-2ubuntu2 [154 kB] Get:2 http://mirrors.sohu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB] Get:3 http://mirrors.sohu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB] Get:4 http://mirrors.sohu.com/ubuntu/ precise/main git i386 1:1.7.9.5-1 [5,963 kB] Get:5 http://mirrors.sohu.com/ubuntu/ precise/main git-core all 1:1.7.9.5-1 [1,384 B] Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-common i386 5.3.10-1ubuntu3.10 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-cgi i386 5.3.10-1ubuntu3.10 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-cgi_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Fetched 6,773 kB in 4s (1,403 kB/s) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? /root/cap-rachel-first-install-3.sh: line 51: /etc/php5/cgi/php.ini: No such file or directory [01;32m[+][0m Done.
[01;35m[*][0m Updating lighttpd.conf to RACHEL version [01;32m[+][0m Done.
[01;35m[*][0m Deleting previous setwanip.sh script from /etc/rc.local [01;32m[+][0m Done.
[01;35m[*][0m Adding setwanip.sh script to autorun at startup [01;32m[+][0m Done.
[01;35m[*][0m Deleting previous iptables script from /etc/rc.local [01;32m[+][0m Done.
[01;35m[*][0m Installing mysql client and server Reading package lists... Building dependency tree... Reading state information... Package mysql-client is not installed, so not removed Package mysql-common is not installed, so not removed Package mysql-server is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 php5-common php5-fpm ssl-cert Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom libipc-sharedcache-perl tinyca mailx php5-suhosin php-pear openssl-blacklist The following NEW packages will be installed: apache2-utils apache2.2-bin apache2.2-common libapache2-mod-auth-mysql libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 php5-common php5-fpm php5-mysql ssl-cert 0 upgraded, 26 newly installed, 0 to remove and 79 not upgraded. Need to get 31.8 MB of archives. After this operation, 107 MB of additional disk space will be used. Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-common all 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main libmysqlclient18 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:1 http://mirrors.sohu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] Get:2 http://mirrors.sohu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] Get:3 http://mirrors.sohu.com/ubuntu/ precise/main libdbi-perl i386 1.616-1build2 [849 kB] Get:4 http://mirrors.sohu.com/ubuntu/ precise/main libdbd-mysql-perl i386 4.020-1build2 [104 kB] Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:5 http://mirrors.sohu.com/ubuntu/ precise/main libterm-readkey-perl i386 2.30-4build3 [28.4 kB] Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-client-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-server-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:6 http://mirrors.sohu.com/ubuntu/ precise/main libapr1 i386 1.4.6-1 [91.3 kB] Get:7 http://mirrors.sohu.com/ubuntu/ precise/main libaprutil1 i386 1.3.12+dfsg-3 [75.4 kB] Get:8 http://mirrors.sohu.com/ubuntu/ precise/main libaprutil1-dbd-sqlite3 i386 1.3.12+dfsg-3 [10.2 kB] Get:9 http://mirrors.sohu.com/ubuntu/ precise/main libaprutil1-ldap i386 1.3.12+dfsg-3 [7,962 B] Get:10 http://mirrors.sohu.com/ubuntu/ precise/main libapache2-mod-auth-mysql i386 4.3.9-13ubuntu3 [22.1 kB] Get:11 http://mirrors.sohu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB] Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-client all 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-server all 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:12 http://mirrors.sohu.com/ubuntu/ precise-updates/main ssl-cert all 1.0.28ubuntu0.1 [12.3 kB] Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-common i386 5.3.10-1ubuntu3.10 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/universe php5-fpm i386 5.3.10-1ubuntu3.10 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main apache2-utils i386 2.2.22-1ubuntu1.4 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main apache2.2-bin i386 2.2.22-1ubuntu1.4 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main apache2.2-common i386 2.2.22-1ubuntu1.4 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-mysql i386 5.3.10-1ubuntu3.10 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.35-0ubuntu0.12.04.2_all.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-core-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-core-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/universe/p/php5/php5-fpm_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.22-1ubuntu1.4_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.22-1ubuntu1.4_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.22-1ubuntu1.4_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client_5.5.35-0ubuntu0.12.04.2_all.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server_5.5.35-0ubuntu0.12.04.2_all.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-mysql_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Fetched 1,344 kB in 7s (186 kB/s) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? [01;32m[+][0m Done.
[01;35m[*][0m Deleting the install scripts. [01;32m[+][0m Done.
[01;35m[*][0m Add RACHEL home directory. mkdir: cannot create directory `/media/RACHEL/rachel': File exists [01;32m[+][0m Done.
[01;32m[+][0m Log file saved to: /var/log/rachel-install-Jul-17-2015-10:21-BST.log [01;32m[+][0m RACHEL CAP Install Complete - device is ready for RACHEL content.
As a suggestion, you can clean up the log file code that you cut/paste with the following:
Your errors revolve around two issues:
When I try to pull files from the same package site as you, it fails. However, I can easily pull the same packages to my CAP (albeit from a different repo).
Cut/paste the following line into your CAP...this will change your repos to pull from Singapore: sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak; wget https://github.com/rachelproject/rachelplus/raw/master/sources-sg.list -O /etc/apt/sources.list
I did put up the US and UK repos on GitHub: UK - sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak; wget https://github.com/rachelproject/rachelplus/raw/master/sources-uk.list -O /etc/apt/sources.list US - sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak; wget https://github.com/rachelproject/rachelplus/raw/master/sources-us.list -O /etc/apt/sources.list
I would recommend setting the DNS servers on your router to 8.8.4.4 and 8.8.8.8. There might be a check box that allows your router settings to be overwritten by the upstream provider (your internet provider). If there is, ensure it is set to NOT allow that. You want to force anyone going through your router to go to Google's DNS for DNS resolving.
On Fri, Jul 17, 2015 at 5:29 AM, bnordha notifications@github.com wrote:
@spatiald https://github.com/spatiald I am pretty sure one of the issues is my router. It is a cheap piece of crap, but I cannot change it as I get my IPTV over it, and it is preconfigured.
I think the main issues the DNS server. For example, if when I installed an Ubuntu server, I had to specify the numeric IP address as the DNS server wasn't able to resolve the IP addresses.
1) At first, the script will report that it cannot connect to the internet, even though I can ping to the outside world. 2) I then change the DNS server to 8.8.8.8, and the script runs, but the log shows some issues, see below.
�[01;32m[+]�[0m RACHEL CAP Install Script - Version 1 �[01;32m[+]�[0m Install started: Fri Jul 17 10:19:13 BST 2015 �[01;32m[+]�[0m Internet connected...continuing install. �[01;35m[
]�[0m Fixing hostname in /etc/hosts �[01;32m[+]�[0m Done. �[01;35m[]�[0m Delete previous RACHEL setup commands from /etc/rc.local �[01;32m[+]�[0m Done. �[01;35m[*]�[0m Downloading RACHEL install scripts for CAP --2015-07-17 10:19:14-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-first-install-1.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-1.sh [following] --2015-07-17 10:19:15-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-1.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2388 (2.3K) [text/plain] Saving to: `/root/cap-rachel-first-install-1.sh'
0K .. 100% 148M=0s
2015-07-17 10:19:15 (148 MB/s) - `/root/cap-rachel-first-install-1.sh' saved [2388/2388]
--2015-07-17 10:19:15-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-first-install-2.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-2.sh [following] --2015-07-17 10:19:16-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-2.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1713 (1.7K) [text/plain] Saving to: `/root/cap-rachel-first-install-2.sh'
0K . 100% 113M=0s
2015-07-17 10:19:17 (113 MB/s) - `/root/cap-rachel-first-install-2.sh' saved [1713/1713]
--2015-07-17 10:19:17-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-first-install-3.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-3.sh [following] --2015-07-17 10:19:18-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-first-install-3.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3870 (3.8K) [text/plain] Saving to: `/root/cap-rachel-first-install-3.sh'
0K ... 100% 228M=0s
2015-07-17 10:19:18 (228 MB/s) - `/root/cap-rachel-first-install-3.sh' saved [3870/3870]
--2015-07-17 10:19:18-- https://github.com/rachelproject/rachelplus/raw/master/cap-rachel-setwanip-install.sh Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-setwanip-install.sh [following] --2015-07-17 10:19:19-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-setwanip-install.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1570 (1.5K) [text/plain] Saving to: `/root/cap-rachel-setwanip-install.sh'
0K . 100% 196M=0s
2015-07-17 10:19:20 (196 MB/s) - `/root/cap-rachel-setwanip-install.sh' saved [1570/1570]
--2015-07-17 10:19:20-- https://github.com/rachelproject/rachelplus/raw/master/lighttpd.conf Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/rachelproject/rachelplus/master/lighttpd.conf [following] --2015-07-17 10:19:21-- https://raw.githubusercontent.com/rachelproject/rachelplus/master/lighttpd.conf Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3655 (3.6K) [text/plain] Saving to: `/root/lighttpd.conf'
0K ... 100% 222M=0s
2015-07-17 10:19:22 (222 MB/s) - `/root/lighttpd.conf' saved [3655/3655]
�[01;32m[+]�[0m Done. �[01;35m[
]�[0m Directory of RACHEL install log files with date/time stamps: /var/log/RACHEL �[01;33m[?]�[0m WARNING: This process will destroy all content on /media/RACHEL �[01;35m[]�[0m Starting first install script...please wait patiently (about 30 secs) for first reboot. �[01;35m[*]�[0m The entire script (with reboots) takes 2-5 minutes.
�[01;32m[+]�[0m RACHEL CAP Install - Script 1 started at Fri Jul 17 10:19:25 BST 2015
�[01;35m[*]�[0m Updating CAP package repositories Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.Rl2WHoHI5p --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192 gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com gpg: key 3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key ftpmaster@ubuntu.com" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.K25QH8GXAK --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key ftpmaster@ubuntu.com" 27 new signatures gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: new signatures: 27 Get:1 http://mirrors.sohu.com precise Release.gpg [198 B] Hit http://mirrors.sohu.com precise-updates Release.gpg Hit http://mirrors.sohu.com precise-backports Release.gpg Get:2 http://extras.ubuntu.com precise Release.gpg [72 B] Get:3 http://mirrors.sohu.com precise-security Release.gpg [198 B] Hit http://mirrors.sohu.com precise Release Hit http://extras.ubuntu.com precise Release Hit http://mirrors.sohu.com precise-updates Release Hit http://mirrors.sohu.com precise-backports Release Hit http://mirrors.sohu.com precise-security Release Hit http://extras.ubuntu.com precise/main Sources Err http://mirrors.sohu.com precise-security Release
Hit http://mirrors.sohu.com precise/main Sources Hit http://mirrors.sohu.com precise/restricted Sources Hit http://extras.ubuntu.com precise/main i386 Packages Hit http://mirrors.sohu.com precise/universe Sources Hit http://mirrors.sohu.com precise/multiverse Sources Hit http://mirrors.sohu.com precise/main i386 Packages Ign http://extras.ubuntu.com precise/main TranslationIndex Get:4 http://mirrors.sohu.com precise/restricted i386 Packages [8,431 B] Hit http://mirrors.sohu.com precise/universe i386 Packages Hit http://mirrors.sohu.com precise/multiverse i386 Packages Get:5 http://mirrors.sohu.com precise/main TranslationIndex [3,706 B] Hit http://mirrors.sohu.com precise/multiverse TranslationIndex Get:6 http://mirrors.sohu.com precise/restricted TranslationIndex [2,596 B] Hit http://mirrors.sohu.com precise/universe TranslationIndex Hit http://mirrors.sohu.com precise-updates/main Sources Get:7 http://mirrors.sohu.com precise-updates/restricted Sources [7,981 B] Hit http://mirrors.sohu.com precise-updates/universe Sources Get:8 http://mirrors.sohu.com precise-updates/multiverse Sources [9,717 B] Hit http://mirrors.sohu.com precise-updates/main i386 Packages Get:9 http://mirrors.sohu.com precise-updates/restricted i386 Packages [13.6 kB] Hit http://mirrors.sohu.com precise-updates/universe i386 Packages Hit http://mirrors.sohu.com precise-updates/multiverse i386 Packages Get:10 http://mirrors.sohu.com precise-updates/main TranslationIndex [10.6 kB] Hit http://mirrors.sohu.com precise-updates/multiverse TranslationIndex Get:11 http://mirrors.sohu.com precise-updates/restricted TranslationIndex [7,297 B] Get:12 http://mirrors.sohu.com precise-updates/universe TranslationIndex [8,333 B] Hit http://mirrors.sohu.com precise-backports/main Sources Get:13 http://mirrors.sohu.com precise-backports/restricted Sources [28 B] Hit http://mirrors.sohu.com precise-backports/universe Sources Hit http://mirrors.sohu.com precise-backports/multiverse Sources Ign http://extras.ubuntu.com precise/main Translation-en_US Get:14 http://mirrors.sohu.com precise-backports/main i386 Packages [5,484 B] Get:15 http://mirrors.sohu.com precise-backports/restricted i386 Packages [28 B] Ign http://extras.ubuntu.com precise/main Translation-en Hit http://mirrors.sohu.com precise-backports/universe i386 Packages Get:16 http://mirrors.sohu.com precise-backports/multiverse i386 Packages [5,413 B] Get:17 http://mirrors.sohu.com precise-backports/main TranslationIndex [202 B] Get:18 http://mirrors.sohu.com precise-backports/multiverse TranslationIndex [202 B] Get:19 http://mirrors.sohu.com precise-backports/restricted TranslationIndex [193 B] Get:20 http://mirrors.sohu.com precise-backports/universe TranslationIndex [205 B] Hit http://mirrors.sohu.com precise/main Translation-en Hit http://mirrors.sohu.com precise/multiverse Translation-en Get:21 http://mirrors.sohu.com precise/restricted Translation-en [2,395 B] Hit http://mirrors.sohu.com precise/universe Translation-en Hit http://mirrors.sohu.com precise-updates/main Translation-en Get:22 http://mirrors.sohu.com precise-updates/multiverse Translation-en [9,603 B] Hit http://mirrors.sohu.com precise-updates/restricted Translation-en Hit http://mirrors.sohu.com precise-updates/universe Translation-en Get:23 http://mirrors.sohu.com precise-backports/main Translation-en [4,911 B] Get:24 http://mirrors.sohu.com precise-backports/multiverse Translation-en [4,838 B] Get:25 http://mirrors.sohu.com precise-backports/restricted Translation-en [14 B] Hit http://mirrors.sohu.com precise-backports/universe Translation-en Fetched 106 kB in 11s (9,553 B/s) Reading package lists... W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.sohu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key ftpmaster@ubuntu.com
W: Failed to fetch http://mirrors.sohu.com/ubuntu/dists/precise-security/Release
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-updates_restricted_source_Sources Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-updates_multiverse_source_Sources Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-backports_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_ubuntu_dists_precise-backports_multiverse_binary-i386_Packages Hash Sum mismatch
W: Some index files failed to download. They have been ignored, or old ones used instead. �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Repartitioning hard drive Disk /dev/sda: 976773168 sectors, 465.8 GiB Logical sector size: 512 bytes Disk identifier (GUID): 3F168438-9829-41A1-AB77-5EDA06C19E0C Partition table holds up to 128 entries First usable sector is 34, last usable sector is 976773134 Partitions will be aligned on 2048-sector boundaries Total free space is 4062 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 765460479 365.0 GiB 8300 preloaded 2 765460480 976771086 100.8 GiB 8300 uploaded Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Error: Partition(s) on /dev/sda are being used. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. Disk /dev/sda: 976773168 sectors, 465.8 GiB Logical sector size: 512 bytes Disk identifier (GUID): 50F5CE02-8B94-4273-BF04-19BACF3DC5B2 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 976773134 Partitions will be aligned on 2048-sector boundaries Total free space is 4196318 sectors (2.0 GiB)
Number Start (sector) End (sector) Size Code Name 1 2048 41945087 20.0 GiB 8300 preloaded 2 44040192 253755391 100.0 GiB 8300 uploaded 3 255852544 976771086 343.8 GiB 8300 RACHEL �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Adding /dev/sda3 into /etc/fstab �[01;32m[+]�[0m Done.
�[01;32m[+]�[0m RACHEL CAP Install - Script 1 ended at Fri Jul 17 10:19:53 BST 2015
�[01;35m[ ]�[0m I need to reboot; once rebooted, the next script will run automatically. �[01;35m[]�[0m Rebooting in 10 seconds...
�[01;32m[+]�[0m RACHEL CAP Install - Script 2 started at Fri Jul 17 10:20:32 BST 2015
�[01;35m[*]�[0m Creating filesystems mke2fs 1.42 (29-Nov-2011) Filesystem label=preloaded OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 1310720 inodes, 5242880 blocks 262144 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 160 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000
Allocating group tables: 0/160������� 1/160������� 2/160������� 3/160������� 4/160������� 5/160������� 6/160������� 7/160������� 8/160������� 9/160������� 10/160������� 11/160������� 12/160������� 13/160������� 14/160������� 15/160������� 16/160������� 17/160������� 18/160������� 19/160������� 20/160������� 21/160������� 22/160������� 23/160������� 24/160������� 25/160������� 26/160������� 27/160������� 28/160������� 29/160������� 30/160������� 31/160������� 32/160������� 33/160������� 34/160������� 35/160������� 36/160������� 37/160������� 38/160������� 39/160������� 40/160������� 41/160������� 42/160������� 43/160������� 44/160������� 45/160������� 46/160������� 47/160������� 48/160������� 49/160������� 50/160������� 51/160������� 52/160������� 53/160������� 54/160������� 55/160������� 56/160������� 57/160������� 58/160������� 59/160������� 60/160������� 61/160������� 62/160������� 63/160������� 64/160������� 65/160������� 66/160������� 67/160������� 68/160������� 69/160������� 70/160������� 71/160������� 72/160������� 73/160������� 74/160������� 75/160������� 76/160������� 77/160������� 78/160������� 79/160������� 80/160������� 81/160������� 82/160������� 83/160������� 84/160������� 85/160������� 86/160������� 87/160������� 88/160������� 89/160������� 90/160������� 91/160������� 92/160������� 93/160������� 94/160������� 95/160������� 96/160������� 97/160������� 98/160������� 99/160�������100/160�������101/160�������102/160�������103/160�������104/160�������105/160�������106/160�������107/160�������108/160�������109/160�������110/160�������111/160�������112/160�������113/160�������114/160�������115/160�������116/160�������117/160�������118/160�������119/160�������120/160�������121/160�������122/160�������123/160�������124/160�������125/160�������126/160�������127/160�������128/160�������129/160�������130/160�������131/160�������132/160�������133/160�������134/160�������135/160�������136/160�������137/160�������138/160�������139/160�������140/160�������141/160�������142/160�������143/160�������144/160�������145/160�������146/160�������147/160�������148/160�������149/160�������150/160�������151/160�������152/160�������153/160�������154/160�������155/160�������156/160�������157/160�������158/160�������159/160������� �������done
Writing inode tables: 0/160������� 1/160������� 2/160������� 3/160������� 4/160������� 5/160������� 6/160������� 7/160������� 8/160������� 9/160������� 10/160������� 11/160������� 12/160������� 13/160������� 14/160������� 15/160������� 16/160������� 17/160������� 18/160������� 19/160������� 20/160������� 21/160������� 22/160������� 23/160������� 24/160������� 25/160������� 26/160������� 27/160������� 28/160������� 29/160������� 30/160������� 31/160������� 32/160������� 33/160������� 34/160������� 35/160������� 36/160������� 37/160������� 38/160������� 39/160������� 40/160������� 41/160������� 42/160������� 43/160������� 44/160������� 45/160������� 46/160������� 47/160������� 48/160������� 49/160������� 50/160������� 51/160������� 52/160������� 53/160������� 54/160������� 55/160������� 56/160������� 57/160������� 58/160������� 59/160������� 60/160������� 61/160������� 62/160������� 63/160������� 64/160������� 65/160������� 66/160������� 67/160������� 68/160������� 69/160������� 70/160������� 71/160������� 72/160������� 73/160������� 74/160������� 75/160������� 76/160������� 77/160������� 78/160������� 79/160������� 80/160������� 81/160������� 82/160������� 83/160������� 84/160������� 85/160������� 86/160������� 87/160������� 88/160������� 89/160������� 90/160������� 91/160������� 92/160������� 93/160������� 94/160������� 95/160������� 96/160������� 97/160������� 98/160������� 99/160�������100/160�������101/160�������102/160�������103/160�������104/160�������105/160�������106/160�������107/160�������108/160�������109/160�������110/160�������111/160�������112/160�������113/160�������114/160�������115/160�������116/160�������117/160�������118/160�������119/160�������120/160�������121/160�������122/160�������123/160�������124/160�������125/160�������126/160�������127/160�������128/160�������129/160�������130/160�������131/160�������132/160�������133/160�������134/160�������135/160�������136/160�������137/160�������138/160�������139/160�������140/160�������141/160�������142/160�������143/160�������144/160�������145/160�������146/160�������147/160�������148/160�������149/160�������150/160�������151/160�������152/160�������153/160�������154/160�������155/160�������156/160�������157/160�������158/160�������159/160������� �������done
Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: 0/160������� 1/160������� 2/160������� 3/160������� 4/160������� 5/160������� 6/160������� 7/160������� 8/160������� 9/160������� 10/160������� 11/160������� 12/160������� 13/160������� 14/160������� 15/160������� 16/160������� 17/160������� 18/160������� 19/160������� 20/160������� 21/160������� 22/160������� 23/160������� 24/160������� 25/160������� 26/160������� 27/160������� 28/160������� 29/160������� 30/160������� 31/160������� 32/160������� 33/160������� 34/160������� 35/160������� 36/160������� 37/160������� 38/160������� 39/160������� 40/160������� 41/160������� 42/160������� 43/160������� 44/160������� 45/160������� 46/160������� 47/160������� 48/160������� 49/160������� 50/160������� 51/160������� 52/160������� 53/160������� 54/160������� 55/160������� 56/160������� 57/160������� 58/160������� 59/160������� 60/160������� 61/160������� 62/160������� 63/160������� 64/160������� 65/160������� 66/160������� 67/160������� 68/160������� 69/160������� 70/160������� 71/160������� 72/160������� 73/160������� 74/160������� 75/160������� 76/160������� 77/160������� 78/160������� 79/160������� 80/160������� 81/160������� 82/160������� 83/160������� 84/160������� 85/160������� 86/160������� 87/160������� 88/160������� 89/160������� 90/160������� 91/160������� 92/160������� 93/160������� 94/160������� 95/160������� 96/160������� 97/160������� 98/160������� 99/160�������100/160�������101/160�������102/160�������103/160�������104/160�������105/160�������106/160�������107/160�������108/160�������109/160�������110/160�������111/160�������112/160�������113/160�������114/160�������115/160�������116/160�������117/160�������118/160�������119/160�������120/160�������121/160�������122/160�������123/160�������124/160�������125/160�������126/160�������127/160�������128/160�������129/160�������130/160�������131/160�������132/160�������133/160�������134/160�������135/160�������136/160�������137/160�������138/160�������139/160�������140/160�������141/160�������142/160�������143/160�������144/160�������145/160�������146/160�������147/160�������148/160�������149/160�������150/160�������151/160�������152/160�������153/160�������154/160�������155/160�������156/160�������157/160�������158/160�������159/160������� �������done
mke2fs 1.42 (29-Nov-2011) /dev/sda2 is mounted; will not make a filesystem here! mke2fs 1.42 (29-Nov-2011) /dev/sda3 is mounted; will not make a filesystem here! �[01;32m[+]�[0m Done.
�[01;32m[+]�[0m RACHEL CAP Install - Script 2 ended at Fri Jul 17 10:20:35 BST 2015
�[01;35m[ ]�[0m I need to reboot; once rebooted, please run the next download/install command. �[01;35m[]�[0m Rebooting in 10 seconds...
�[01;32m[+]�[0m RACHEL CAP Install - Script 3 started at Fri Jul 17 10:21:14 BST 2015
�[01;35m[*]�[0m Printing paritition table: Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p4 5.3G 1.2G 3.8G 24% / udev 943M 12K 943M 1% /dev tmpfs 383M 472K 382M 1% /run none 5.0M 0 5.0M 0% /run/lock none 956M 0 956M 0% /run/shm /dev/mmcblk0p3 181M 90M 82M 53% /boot /dev/mmcblk0p5 992M 657M 285M 70% /recovery /dev/sda1 20G 44M 19G 1% /media/preloaded /dev/sda2 99G 60M 94G 1% /media/uploaded /dev/sda3 339G 978M 321G 1% /media/RACHEL /dev/mmcblk0p2 94M 54M 41M 57% /boot/efi
�[01;35m[*]�[0m The partition table for /dev/sda should look very similar to the following: /dev/sda1 20G 44M 19G 1% /media/preloaded /dev/sda2 99G 60M 94G 1% /media/uploaded /dev/sda3 339G 67M 321G 1% /media/RACHEL
�[01;35m[*]�[0m Installing PHP Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: git git-man liberror-perl php5-common Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb php-pear php5-suhosin The following NEW packages will be installed: git git-core git-man liberror-perl php5-cgi php5-common python-m2crypto 0 upgraded, 7 newly installed, 0 to remove and 79 not upgraded. Need to get 13.1 MB of archives. After this operation, 33.1 MB of additional disk space will be used. Get:1 http://mirrors.sohu.com/ubuntu/ precise/main python-m2crypto i386 0.21.1-2ubuntu2 [154 kB] Get:2 http://mirrors.sohu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB] Get:3 http://mirrors.sohu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB] Get:4 http://mirrors.sohu.com/ubuntu/ precise/main git i386 1:1.7.9.5-1 [5,963 kB] Get:5 http://mirrors.sohu.com/ubuntu/ precise/main git-core all 1:1.7.9.5-1 [1,384 B] Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-common i386 5.3.10-1ubuntu3.10 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-cgi i386 5.3.10-1ubuntu3.10 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-cgi_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Fetched 6,773 kB in 4s (1,403 kB/s) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? /root/cap-rachel-first-install-3.sh: line 51: /etc/php5/cgi/php.ini: No such file or directory �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Updating lighttpd.conf to RACHEL version �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Deleting previous setwanip.sh script from /etc/rc.local �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Adding setwanip.sh script to autorun at startup �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Deleting previous iptables script from /etc/rc.local �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Installing mysql client and server Reading package lists... Building dependency tree... Reading state information... Package mysql-client is not installed, so not removed Package mysql-common is not installed, so not removed Package mysql-server is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 php5-common php5-fpm ssl-cert Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom libipc-sharedcache-perl tinyca mailx php5-suhosin php-pear openssl-blacklist The following NEW packages will be installed: apache2-utils apache2.2-bin apache2.2-common libapache2-mod-auth-mysql libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 php5-common php5-fpm php5-mysql ssl-cert 0 upgraded, 26 newly installed, 0 to remove and 79 not upgraded. Need to get 31.8 MB of archives. After this operation, 107 MB of additional disk space will be used. Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-common all 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main libmysqlclient18 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:1 http://mirrors.sohu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] Get:2 http://mirrors.sohu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] Get:3 http://mirrors.sohu.com/ubuntu/ precise/main libdbi-perl i386 1.616-1build2 [849 kB] Get:4 http://mirrors.sohu.com/ubuntu/ precise/main libdbd-mysql-perl i386 4.020-1build2 [104 kB] Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:5 http://mirrors.sohu.com/ubuntu/ precise/main libterm-readkey-perl i386 2.30-4build3 [28.4 kB] Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-client-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-server-5.5 i386 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:6 http://mirrors.sohu.com/ubuntu/ precise/main libapr1 i386 1.4.6-1 [91.3 kB] Get:7 http://mirrors.sohu.com/ubuntu/ precise/main libaprutil1 i386 1.3.12+dfsg-3 [75.4 kB] Get:8 http://mirrors.sohu.com/ubuntu/ precise/main libaprutil1-dbd-sqlite3 i386 1.3.12+dfsg-3 [10.2 kB] Get:9 http://mirrors.sohu.com/ubuntu/ precise/main libaprutil1-ldap i386 1.3.12+dfsg-3 [7,962 B] Get:10 http://mirrors.sohu.com/ubuntu/ precise/main libapache2-mod-auth-mysql i386 4.3.9-13ubuntu3 [22.1 kB] Get:11 http://mirrors.sohu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB] Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-client all 5.5.35-0ubuntu0.12.04.2 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-updates/main mysql-server all 5.5.35-0ubuntu0.12.04.2 404 Not Found Get:12 http://mirrors.sohu.com/ubuntu/ precise-updates/main ssl-cert all 1.0.28ubuntu0.1 [12.3 kB] Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-common i386 5.3.10-1ubuntu3.10 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/universe php5-fpm i386 5.3.10-1ubuntu3.10 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main apache2-utils i386 2.2.22-1ubuntu1.4 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main apache2.2-bin i386 2.2.22-1ubuntu1.4 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main apache2.2-common i386 2.2.22-1ubuntu1.4 404 Not Found Err http://mirrors.sohu.com/ubuntu/ precise-security/main php5-mysql i386 5.3.10-1ubuntu3.10 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.35-0ubuntu0.12.04.2_all.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-core-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-core-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-5.5_5.5.35-0ubuntu0.12.04.2_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/universe/p/php5/php5-fpm_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.22-1ubuntu1.4_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.22-1ubuntu1.4_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.22-1ubuntu1.4_i386.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client_5.5.35-0ubuntu0.12.04.2_all.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server_5.5.35-0ubuntu0.12.04.2_all.deb 404 Not Found Failed to fetch http://mirrors.sohu.com/ubuntu/pool/main/p/php5/php5-mysql_5.3.10-1ubuntu3.10_i386.deb 404 Not Found Fetched 1,344 kB in 7s (186 kB/s) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Deleting the install scripts. �[01;32m[+]�[0m Done.
�[01;35m[*]�[0m Add RACHEL home directory. mkdir: cannot create directory `/media/RACHEL/rachel': File exists �[01;32m[+]�[0m Done.
�[01;32m[+]�[0m Log file saved to: /var/log/rachel-install-Jul-17-2015-10:21-BST.log �[01;32m[+]�[0m RACHEL CAP Install Complete - device is ready for RACHEL content.
— Reply to this email directly or view it on GitHub https://github.com/rachelproject/rachelplus/issues/15#issuecomment-122228295 .
Sam
I finally got it work, using the following three things. Not sure whether they are all necessary. 1) I changed the DNS server on my router (which was not easy as it is a hidden option on that router model). 2) On the CAP, I set the DNS server to 8.8.8.8 3) I do an apt-get update before running the cap-rachel-first-install.sh script
Yeah!
DNS can be frustrating. There are also timeouts that take awhile to expire. I believe #1 was what did it.
The install script runs an apt-get update before doing any installs.
On Jul 17, 2015, at 7:54 PM, bnordha notifications@github.com wrote:
Sam
I finally got it work, using the following three things. Not sure whether they are all necessary. 1) I changed the DNS server on my router (which was not easy as it is a hidden option on that router model). 2) On the CAP, I set the DNS server to 8.8.8.8 3) I do an apt-get update before running the cap-rachel-first-install.sh script
— Reply to this email directly or view it on GitHub https://github.com/rachelproject/rachelplus/issues/15#issuecomment-122457533.
All lists moved to the sources.list folder
I am still having problems when the source list is pointing to the UK. I have no issues when the source listing is from Singapore. Can we make the location of the source list an argument on the script?
Err http://uk.archive.ubuntu.com/ubuntu/ precise/main python-m2crypto i386 0.21.1-2ubuntu2 Temporary failure resolving 'uk.archive.ubuntu.com'
@bnordha about 18 hours ago I made a change to target the right source.list in the script. It was missing just the new folder from the move of all sources.lists into a folder sources.list. Have you tried it with a clean download of the scripts in the last 18 hours?
I updated the initial script. It will now ask to choose a location that you would like to download your packages from. To test, you can run the initial script over again and select “no" at the end when it asks "Are you ready to start the install? (y/n)”
Let me know if that works...
On Jul 21, 2015, at 11:53 AM, Jeremy Schwartz notifications@github.com wrote:
@bnordha https://github.com/bnordha about 18 hours ago I made a change to target the right source.list in the script. It was missing just the new folder from the move of all sources.lists into a folder sources.list. Have you tried it with a clean download of the scripts in the last 18 hours?
— Reply to this email directly or view it on GitHub https://github.com/rachelproject/rachelplus/issues/15#issuecomment-123382319.
@bnordha You asked, "One question I have, on the top right hand corner is a text http://127.0.1.1 what is that about?"
I know this was answered elsewhere but I added here to consolidate...this IP is from the /etc/hosts file prior to our Server Address fix that was applied to the RACHEL index.php file.
I believe all issues on this ticket are resolved...reopen if needed.
From Bernd Nordhausen's email:
I was able to do a fresh install using the script that Sam developed. It is very nice, and easy. Great work. I had a couple of issues:
rachel-install.log