Klaatu2 wrote:Firefox can't establish a connection to the server at archive.getdeb.net.
Above is the response when I tried to download from the pkg site. Uploading screenshots always gives an 'invalid filename' error.
#!/bin/sh
# postinst script for Ultimate Edition Repositories
# Witten via TheeMahn
set -e
case "$1" in
configure)
LSB_REV="`cat /etc/lsb-release | grep DISTRIB_CODENAME | cut -d "=" -f2`"
echo "Distro detected: "$LSB_REV
case "$LSB_REV" in
lisa) KEYSTORE='oneiric';;
katya) KEYSTORE='natty';;
*)KEYSTORE="$LSB_REV";;
esac
echo "Retriving GPG Keys for $KEYSTORE..."
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 632D16BB0C713DA6 4B1E287796DD5C9A B9F1C432AE74AE63 224D9D15EE176F89 5A9BF3BB4E5E17B5 3E0219167854A3A9 58403026387EE263 2ED6BB6042C24D89 6D975C4791E7EE5E 7889D725DA6DEEAA DB70C672B219D801 531EE72F4C9D234C 69C84AD58DB2FB15 8E5D2411637A5E2A 2EBC26B60C5A2783 A8A515F046D7E7CF 6AF0E1940624A220 6A9653F936FD5529 8520F66905311B6A 7274A4DAE80D6BF5 A8AA1FAA3F055C03 43BB102C405A15CB 1015216E75198A89 38B43CC308516FBE 7816E908AA71CF6C 6CECEA1EE32DD113 5E68EC8E5E34AB6B DFB844B8BB91632D C2518248EEA14886 C2518248EEA14886 A040830F7FAC5991 94E58C34A8670E8C 4F7A22B6A744DB59 3EE67F3D0FF405B2 CBDFA02B432BB368 4CDB129629A4B41A 68980A0EA10B4DE8
#Parse all Source files and set proper #VERSION ie natty.
echo "Setting $KEYSTORE in all source.lists"
cd /etc/apt/sources.list.d/
ls *.list > tmp.txt
cat tmp.txt | while read FILE
do
sed -i s/#VERSION/$KEYSTORE/g $FILE
#Strip apostrophie we want natty not 'natty' as an example.
sed -i "s/'//g" $FILE
done
echo "Cleaning up"
rm -f /etc/apt/sources.list.d/tmp.txt
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
echo "Activiating uncomented repositories."
sed -i 's/# deb/deb/g' /etc/apt/sources.list
echo "Please update your sources list. sudo apt-get update"
exit 0
Return to Ultimate Edition 3.2
Users browsing this forum: No registered users and 2 guests