Saturday, May 9, 2009

PPA openoffice-pkgs

gpg --keyserver keyserver.ubuntu.com --recv 247d1cff
gpg --export --armor 247d1cff | sudo apt-key add -

echo "deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu jaunty main" | sudo tee -a /etc/apt/sources.list


echo -e 'echo "#PPA openoffice-pkgs
deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/ppa.list

gpg --keyserver keyserver.ubuntu.com --recv 247d1cff
gpg --export --armor 247d1cff | sudo apt-key add -

sudo apt-get update

sudo aptitude -y safe-upgrade
sudo aptitude -y dist-upgrade
' > ./oooupgrade.sh
sudo sh ./oooupgrade.sh && rm ./oooupgrade.sh

Friday, May 1, 2009

Arora webkit

#wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/$(lsb_release -sc).list \
# -O /etc/apt/sources.list.d/winehq.list
#gpg --export --output - --armor 60D11217247D1CFF | sudo apt-key add -


#gpg --keyserver keyserver.ubuntu.com --recv 60D11217247D1CFF
#gpg --export --armor 60D11217247D1CFF | sudo apt-key add -

#gpg --keyserver keyserver.ubuntu.com --recv 60D11217247D1CFF --output - --armor 60D11217247D1CFF #| sudo apt-key add -

echo "#Arora webkit
deb http://ppa.launchpad.net/mapopa/ppa/ubuntu $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/ppa.list

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0x643dc6bd56580ceb1ab4a9f63b22ab97af1cdfa9

sudo apt-get update
sudo apt-get install arora

avant-window-navigator startup in gnome/XFCE only

echo "[Desktop Entry]
Type=Application
Name=Avant Window Navigator
Comment=A dock-like window navigator.
Exec=avant-window-navigator
Icon=/usr/share/avant-window-navigator/avant-window-navigator-48.png
Categories=GNOME;Utility;
X-Ubuntu-Gettext-Domain=avant-window-navigator
OnlyShowIn=GNOME;XFCE;" | sudo tee /usr/share/applications/avant-window-navigator.desktop

Monday, March 30, 2009

Ubuntu 8.04 to 9.04 Upgrade

Ubuntu 8.04 to 9.04 Upgrade



https://help.ubuntu.com/community/JauntyUpgrades/Kubuntu/8.04
http://www.kubuntu.org/~jriddell/9.04-upgrade/kubuntu-8.04-to-9.04-beta-upgrade

This can also work for ubuntu

#!/bin/bash
rm jaunty.tar.gz jaunty.tar.gz.gpg
wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/dist-upgrader-all/current/jaunty.tar.gz
wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/dist-upgrader-all/current/jaunty.tar.gz.gpg

gpg --keyring /etc/apt/trusted.gpg --verify jaunty.tar.gz.gpg jaunty.tar.gz
if [ $? != 0 ]; then echo "Digital signature on download did not match, quitting"; fi

tar xf jaunty.tar.gz
gksu "./dist-upgrade.py --frontend=DistUpgradeViewGtk"


other dist-upgrade.py --frontend=DistUpgradeViewText, DistUpgradeViewGtk,
DistUpgradeViewKDE

Tuesday, December 9, 2008

system management

http://wiki.systemimager.org/index.php/Quick_Start_HOWTO

Monday, November 10, 2008

dpkg restore.

Just seen this.

add a sources.list update will be really useful.


# "Have a second computer that you want to migrate your Debian-based system to, but don't want to go through the trouble of finding every package you had installed? To save your package, list:

* dpkg --get-selections > selections.txt

# To restore:

* dpkg --set-selections < selections.txt
* dselect update
* apt-get dselect-upgrade," he said.

Friday, November 7, 2008

Upgrading to Intrepid with update-manager and apt-cacher

Intrepid
update-manager has has a bug which doesn't recognize the apt.conf


Here is a work around

sudo -s
cp /etc/apt/sources.list /etc/apt/sources.list.backup
insert=`sed -e "s/^A.* \"//; s/\";$// ; s,/$,," /etc/apt/apt.conf`
sed -i -e "s,http:/,$insert," /etc/apt/sources.list
cat /etc/apt/sources.list
mv /etc/apt/apt.conf /etc/apt/apt.conf.proxy
update-manager -d -c
cp /etc/apt/sources.list.backup /etc/apt/sources.list
mv /etc/apt/apt.conf.proxy /etc/apt/apt.conf


this script copies the proxy info from the /etc/apt/apt.conf file
then hard codes it into the /etc/apt/sources.list
does the deed the reverts back to the previous state