I've been trying to track down several repositories and write a shell script to take the pain away from expanding your sources.list.
However, finding good repositories and getting them to work without errors is mind-numbing...
This is what I have so far, I would really appreciate it if people could help me expand and correct this list.
This isn't just a collection of bleeding software that breaks your system most of the time, it just has useful or important software not in the original list - and I hope it stays that way.
Many users feel awkward about packages that non-MOTUs and non-devs make, but I have never run into a single problem while using them in Feisty (trevino's list), Gutsy (skymera+1337455 10534), or Hardy (oshelpdesk). Still, use this at your own risk.
For the record; with this current list - I have had flawless compiz, gtk, codecs, apparmor, and kernel upgrades.
The installer (setup.sh) -
- Instructions: Download the attatched hardylist.tar.bz2, extract it onto your desktop, and open a terminal. Type
Code:
cd ~/Desktop/hardylist
sudo chmod a+x setup.sh
./setup.sh
and follow the instructions there.
setup.sh code;
Code:
#!/bin/bash
# Note;
# I am mainly a Python and C++ programmer - I know nothing of writing shell scripts,
# so forgive me. I've tried to make the code here readable...
echo "# Experimental Expanded Hardy Sources List"
echo "# - Brought to you by vminch000/Glaxed"
echo
echo "This script will;"
echo " * back up your old sources.list"
echo " * replace it with a continually updated new sources.list"
echo " * and resolve issues with the new list"
echo " - (GPG, Igns, Errs - nothing serious)"
echo
echo ">>> Why bother replacing the current sources.list?"
echo "This new one includes more repositories, hence more upgrades."
echo "New software in these repositories may not integrate well with"
echo "your computer, so PLEASE USE THIS AT YOUR OWN RISK."
echo "I (vminch@gmail.com) will be glad to help you with any problems"
echo "you may encounter, however I will not take responsibility for any"
echo "negative repercussions of this script/sources.list."
echo
echo ">>> If you are not sure you want to do this, please exit the terminal."
echo "To continue, hit enter."
read
echo
indir=~/Desktop
#/home/$USER/Desktop
echo "# Working in $indir."
echo
echo "OK - Working... Please be patient."
echo "# Operations:"
echo "Set up New sources.list and back up old one."
sudo mv /etc/apt/sources.list $indir/OLDsources.list
sudo mv $indir/sources.list /etc/apt/sources.list
echo "Updates"
sudo apt-get update
sudo apt-get upgrade
echo "Keys"
echo
echo "--------------------------------------------------------"
echo "# Base Check; Main, Canonical/Partner"
gpg --keyserver subkeys.pgp.net --recv-keys 437D05B5
gpg --export --armor 437D05B5 | sudo apt-key add -
gpg --keyserver subkeys.pgp.net --recv-key 6A423791
gpg --fingerprint 6A423791
gpg --armor --export 6A423791| apt-key add -
echo "# Seveas"
wget http://seveas.theplayboymansion.net/seveas/1135D466.gpg -O- | sudo apt-key add -
gpg --keyserver subkeys.pgp.net --recv-keys 1135D466
gpg --export --armor 1135D466 | sudo apt-key add -
echo "# Medibuntu"
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get install medibuntu-keyring geole-keyring
echo "# Morgoth"
wget -O - http://morgoth.free.fr/files/morgoth-signkey.gpg.asc | sudo apt-key add -
echo "# NLP"
wget http://cl.naist.jp/~eric-n/ubuntu-nlp/8ABD1965.gpg -O- | sudo apt-key add -
gpg --keyserver subkeys.pgp.net --recv-keys 8ABD1965
gpg --export --armor 8ABD1965 | sudo apt-key add -
echo "# Google"
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
gpg --keyserver subkeys.pgp.net --recv-keys 7FAC5991
gpg --export --armor 7FAC5991 | sudo apt-key add -
echo "# wx"
wget http://apt.wxwidgets.org/key.asc | sudo apt-key add -
echo "# Wine"
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
echo "--------------------------------------------------------"
echo
echo "Last ditch effort key check (http://www.thinkdigit.com/forum/showthread.php?t=74632)"
for i in $(grep -o -E "http.*\.(gpg|asc|key)" /etc/apt/sources.list); do echo -n "$i "; wget $i -q -O - | sudo apt-key add -; done; keylist=""; for key in $(grep -o "[A-Fa-f0-9]\{8\}" /etc/apt/sources.list); do if [ -z "$(echo "$keylist"|grep "$key")" ]; then keylist="$keylist $key"; gpg --keyserver subkeys.pgp.net --recv $key && gpg --export --armor $key | sudo apt-key add -; fi; done;
echo
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
sudo apt-get autoclean
echo "All done! (Press enter to exit.)"
read
exit
The sources.list -
Code:
# Experimental/Expanded sources.list for Ubuntu by vminch000/Glaxed
# Base
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
# Added by vminch000 -
# Base-like
deb http://archive.canonical.com/ubuntu hardy-commercial main
# Medibuntu (See setup.sh for details. Current listing is odd.)
deb http://packages.medibuntu.org/ hardy non-free free
deb http://packages.medibuntu.org/ hardy-staging non-free free
deb-src http://packages.medibuntu.org/ hardy free non-free
deb-src http://packages.medibuntu.org/ hardy-staging free non-free
# Morgoth (See setup.sh for details. Seems to be working fine.)
deb http://morgoth.free.fr/ubuntu hardy-backports main
deb-src http://morgoth.free.fr/ubuntu hardy-backports main
# Seveas (http://mirror3.ubuntulinux.nl/#mirrors)
# http://mirror.ubuntulinux.nl/seveas.gpg
# Alternate mirror: http://mirror.ubuntulinux.nl
deb http://mirror2.ubuntulinux.nl gutsy-seveas all
deb-src http://mirror2.ubuntulinux.nl gutsy-seveas all
# Debug Ubuntu Packages (https://wiki.ubuntu.com/DebuggingProgramCrash)
# Listed repos may not be currently active.
deb http://ddebs.ubuntu.com hardy main restricted universe multiverse
deb http://ddebs.ubuntu.com hardy updates main restricted universe multiverse
deb http://ddebs.ubuntu.com hardy-proposed main restricted universe multiverse
deb http://ddebs.ubuntu.com hardy-security main restricted universe multiverse
deb http://ddebs.ubuntu.com hardy main universe
deb http://ddebs.ubuntu.com hardy-updates main universe
deb http://ddebs.ubuntu.com hardy-proposed main universe
deb http://ddebs.ubuntu.com hardy-security main universe
# Ubuntu.geole.info (http://www.geole.info/index.php?id=23&l=1)
deb http://ubuntu.geole.info/ hardy universe multiverse
#deb-src http://ubuntu.geole.info/ hardy universe multiverse
deb http://ubuntu.geole.info/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.geole.info/ hardy-backports main restricted universe multiverse
# Google packages (http://www.google.com/linuxrepositories/apt.html)
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free
# NLP (GPG key: 8ABD1965)
deb http://cl.naist.jp/ eric-n/ubuntu-nlp all hardy
deb-src http://cl.naist.jp/ ~ eric-n/ubuntu-nlp all hardy
# Ekiga and Debian pkg-voip
deb http://pkg-voip.buildserver.net/ubuntu gutsy main
# WxWidgets / wxPython repository at apt.wxwidgets.org
# wget-q http://apt.wxwidgets.org/key.asc-O-| sudo apt-key add --
deb http://apt.wxwidgets.org/ main wx-hardy
deb-src http://apt.wxwidgets.org/ main wx-hardy
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu Hardy main restricted
# Swiftfox browser
deb http://getswiftfox.com/builds/debian unstable non-free
##################################################################################################
# >>> Troublemakers - will be supported (and more of them) in the future
##################################################################################################
# Audacious
deb http://ppa.launchpad.net/sebner/ubuntu Hardy Main
deb-src http://ppa.launchpad.net/sebner/ubuntu main hardy
# Jbbr Ubuntu repository, http://ubuntu.jbbr.net
# wget-q http://ubuntu.jbbr.net/jbbr_ubuntu.asc-O-| sudo apt-key add --
deb http://ubuntu.jbbr.net/packages Hardy Main
deb-src http://ubuntu.jbbr.net/packages main hardy
# # Le dépomaniak repository (GPG key: 1D59E694)
#Http://ubuntu.davromaniak.eu/1D59E694.gpg
deb http://ubuntu.davromaniak.eu hardy all-depomaniak
deb-src http://ubuntu.davromaniak.eu hardy all-depomaniak
# # Ryan Kavanagh's packages (GPG key: 02544D0E)
#Http://packages.ryanak.ca/02544D0E.gpg
######## I386 Architecture only!
deb http://packages.ryanak.ca ryan-hardy all
deb-src http://packages.ryanak.ca ryan-hardy all
# # Iuculano's debian packages (GPG key: AE3BE9AA)
#http://ubuntu.iuculano.it/AE3BE9AA.gpg
deb http://ubuntu.iuculano.it Hardy all
deb-src http://ubuntu.iuculano.it all hardy
deb http://wicd.longren.org Hardy all
# Upstream Scribus package repository
# gpg keyserver wwwkeys.eu.pgp.net-recv-keys EEF818CF && gpg-armor-export EEF818CF | sudo apt-key add --
deb http://debian.scribus.net/debian/ Hardy Main
deb-src http://debian.scribus.net/debian/ main hardy
deb http://debian.scribus.net/debian/ hardy non-free
deb-src http://debian.scribus.net/debian/ hardy non-free
For people who do wish to expand the list with new entries, try to keep posts in this format;
[repo name]
[setup.sh code]
[sources.list entries]
e.g
Google Stuff
Code:
echo "# Google"
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
gpg --keyserver subkeys.pgp.net --recv-keys 7FAC5991
gpg --export --armor 7FAC5991 | sudo apt-key add -
Code:
# Google packages (http://www.google.com/linuxrepositories/apt.html)
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free
When you guys are testing your new sources.list, if you run into any problems and wish to post the output of your update, do this;
Code:
q@QXD:~/Desktop$ sudo apt-get update >> /home/username/outfile
q@QXD:~/Desktop$ python cleanout.py outfile
q@QXD:~/Desktop$ gedit outfile
Post the outfile content - so that we don't have to look at the stuff that works . If you don't want to, that's fine too - but my eyes start to bleed after a while of looking at this stuff..
Here is the code for cleanout.py, it's in the hardylist.tar.bz2 as well.
Code:
#!/usr/bin/env python
from sys import argv
inputFile = open("%s" % argv[1],'r')
output = inputFile.readlines()
inputFile.close()
outFile = open('output','w')
lines = []
for line in output:
if line[0:3] == 'Get': pass
elif line[0:3] == 'Hit': pass
else: lines.append(line)
print line, line[0:3]
outFile.writelines(wri)
outFile.close()
Current list of repos that are producing error messages;
Side note; does anyone know why Ubuntu forums does not support tar.lzma compressed files? They are smaller than all of the rest.. next best is tar.bz2...
Bookmarks