Go to advanced search

by finalduty
Sat Dec 22, 2012 1:25 am
Forum: Arch
Topic: pacman -Syu - operation too slow
Replies: 10
Views: 18177

Re: pacman -Syu - operation too slow

I can no longer edit my last post, but the following section:
finalduty wrote:If you want to remove the comments from the script and strip it down, use this sed command

Code: Select all

sed '/^## /d' fastestmirror.sh && sed '/^$/d' fastestmirror.sh
Should read:

Code: Select all

sed '/##/d' fastestmirror.sh | sed '/^$/d
by finalduty
Wed Dec 19, 2012 9:49 am
Forum: Arch
Topic: pacman -Syu - operation too slow
Replies: 10
Views: 18177

Re: pacman -Syu - operation too slow

Very nice script. Would like to see it again if you get the part about choosing the mirror automated :) Today's your lucky day ;) It took me a little while of fiddling with this to get it just the way I wanted, but here is the result. I've commented it all for you, including the part at the bottom ...
by finalduty
Wed Dec 19, 2012 2:24 am
Forum: Arch
Topic: pacman -Syu - operation too slow
Replies: 10
Views: 18177

Re: pacman -Syu - operation too slow

I came across this myself and came up with the following little script: http://chiron.net.nz/useful-links/code-snippets/#archlinux-fastestrepo.sh mirrors=$(cat /etc/pacman.d/mirrorlist | grep "Server =" | sed 's/^.*\=//') for i in ${mirrors[@]}; do echo -n ">" && echo -n $i >> .massping.tmp ping -fc...
by finalduty
Sun Aug 05, 2012 2:51 am
Forum: Raspberry Pi OS
Topic: Two XBMC (.deb) compiled/prepared for users + instruction
Replies: 300
Views: 137998

Re: Two XBMC (.deb) compiled/prepared for users + instructio

I have struggled for the last couple of hours trying to get this to run under a separate user as I do not use the 'pi' user myself. I have this set to autologin and start and have finally managed to get this to running how I wanted it to: I assume you are logged in as your alternate user and in your...

Go to advanced search