Upgrading to Ubuntu Linux 12.04 LTS Precise Pangolin
Now that the latest LTS is out, I thought the time is ripe to upgrade.
I downloaded via BitTorrent, burned the image to a CD, then booted the CD and chose "Install." I was able to make some install choices while files were being copied and downloaded, left, and when I came back all I had to do was reboot.
On reboot, I had the unpleasant surprise to discover that my login was not functional. I got in via a Guest session, accessed System Settings, changed my password by giving the old password for root, logout and login again with the new password.
Once "in" I ran the command to encrypt my home folder and stored the key elsewhere. I had to reinstall Opera and a few other proggies from the Software Center but luckily, the old settings were recovered.
The default repos for this distro were painfully slow, so I ran the good old Software Source (software-properties-gtk) "fastest repo" routine to choose the fastest. You can run it by itself, from the Edit menu of the Software Centre or you can "unhide it" as follows:
First, I looked in the sources.list generator and used it for a few more repos:
I also easily adjusted my monitors as I wanted, using "Displays" in the System Settings. I checked if the Wacom tablet functioned as expected and it did. I will check the fingerprint stuff later. In Oneiric Ocelot 11.10 the tablet stopped working after I got the fingerprint scanner to behave.
Medibuntu from previous instructions then install libdvdcss2 for DVD playback. However, keep in mind that for some reason it is incredibly slow and tends to hang, which is why I will probably disable it.
I also downloaded and installed TrueCrypt. This involved:
Transmission Remote GUI was next, and after uncompressing it went to /usr/local/bin where stories are made.
For UbuntuOne I signed up for a new account, but unfortunately my old computer name was recognized as attached to the previous account, which I suspect is the reason for the error above. I'll sign up with the old account later, when I can find it.
To disable IPv6, echo at the end of /etc/modprobe.d/blacklist.conf: blacklist ipv6
I then intended to install a number of apps I could no longer see but for some reason apt-get was locked, so I rebooted. On reboot, apt-get autoremove went on for a minute or so removing obsolete crap, then processing triggers, and finally spewing
For TV, I installed HDHomeRun Config GUI from repos as well as hdhomerun_config. Scanning with a simple indoor antenna results in the following channels:
CFMT (multiculti) is the weakest, but the others are quite alright. Channel flipping is a bit time-consuming with their GUI as it scans unless you enter it directly. Using a more advanced application might require installing dvbhdhomerun to masquarade as DVB:
SOPcast is best served with TVmaxe. I wouldn't
For accessing network shares, I could follow the old instructions or simply go to the Connect to Server interface (in the menu) and fill in the needed info. I could then simply bookmark the drives or edit fstab so that they are mounted automatically.
To get the cube:
To install a bunch of codecs:
By default, Ubuntu hides some apps in the Startup Applications. Get them back with
Finally, I wish I could tweak the Startup menu with the old Startup-Manager, but it's not showing up.
Well, that's about it. I might add more stuff and clean up this later; or maybe not :)
Sources / More info: reinstall Opera, repos, sources.list generator, libdvdcss2, dirs, TC-digital sig, handbook, Transmission Remote GUI, XBMC-tv, Maxe-wiki, sopcast-segfault-64b, dvbhomerun, webupd8-tweaks
I downloaded via BitTorrent, burned the image to a CD, then booted the CD and chose "Install." I was able to make some install choices while files were being copied and downloaded, left, and when I came back all I had to do was reboot.
Instagram Nashville: Ubuntu Install |
Once "in" I ran the command to encrypt my home folder and stored the key elsewhere. I had to reinstall Opera and a few other proggies from the Software Center but luckily, the old settings were recovered.
Software Sources - Select Best Server |
mkdir ~/.local/share/applications # to make sure directory existsThe app will reappear after you re-log in.
cp /usr/share/applications/software-properties-gtk.desktop ~/.local/share/applications/
sed -i s/NoDisplay=true/NoDisplay=false/ ~/.local/share/applications/software-properties-gtk.desktop
First, I looked in the sources.list generator and used it for a few more repos:
deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################
###### 3rd Party Binary Repos
#### Audacity - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1024R/BB901940
deb http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main
#### Esmska - http://code.google.com/p/esmska/
## Run this command: wget -q -O - http://download.opensuse.org/repositories/Java:/esmska/common-deb/Release.key | sudo apt-key add -
deb http://download.opensuse.org/repositories/Java:/esmska/common-deb/ ./ #Esmska
#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free
#### LibreOffice - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
#### MKVToolnix - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb http://www.bunkus.org/ubuntu/precise/ ./
#### OpenShot - http://www.openshotvideo.com
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9BA26FA
deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu precise main
#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free
#### Pidgin - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main
#### Tor: anonymity online - http://www.torproject.org/
## Run this command: gpg --keyserver subkeys.pgp.net --recv 886DDD89 && gpg --export --armor 94C09C7F | sudo apt-key add -
deb http://deb.torproject.org/torproject.org precise main
#### Ubuntu Tweak - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu precise main
#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian precise contrib
#### Wine - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
####### 3rd Party Source Repos
#### Audacity (Source) - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1024R/BB901940
deb-src http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main
#### LibreOffice (Source) - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
#### MKVToolnix (Source) - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb-src http://www.bunkus.org/ubuntu/precise/ ./
#### OpenShot (Source) - http://www.openshotvideo.com
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9BA26FA
deb-src http://ppa.launchpad.net/openshot.developers/ppa/ubuntu precise main
#### Pidgin (Source) - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main
#### Tor: anonymity online (Source) - http://www.torproject.org/
## Run this command: gpg --keyserver subkeys.pgp.net --recv 886DDD89 && gpg --export --armor 94C09C7F | sudo apt-key add -
deb-src http://deb.torproject.org/torproject.org precise main
#### Ubuntu Tweak (Source) - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb-src http://ppa.launchpad.net/tualatrix/ubuntu precise main
#### Wine (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
Not as pretty as a separate file in the sources.d directory, but good enough. deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################
###### 3rd Party Binary Repos
#### Audacity - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1024R/BB901940
deb http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main
#### Esmska - http://code.google.com/p/esmska/
## Run this command: wget -q -O - http://download.opensuse.org/repositories/Java:/esmska/common-deb/Release.key | sudo apt-key add -
deb http://download.opensuse.org/repositories/Java:/esmska/common-deb/ ./ #Esmska
#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free
#### LibreOffice - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
#### MKVToolnix - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb http://www.bunkus.org/ubuntu/precise/ ./
#### OpenShot - http://www.openshotvideo.com
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9BA26FA
deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu precise main
#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free
#### Pidgin - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main
#### Tor: anonymity online - http://www.torproject.org/
## Run this command: gpg --keyserver subkeys.pgp.net --recv 886DDD89 && gpg --export --armor 94C09C7F | sudo apt-key add -
deb http://deb.torproject.org/torproject.org precise main
#### Ubuntu Tweak - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu precise main
#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian precise contrib
#### Wine - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
####### 3rd Party Source Repos
#### Audacity (Source) - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1024R/BB901940
deb-src http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main
#### LibreOffice (Source) - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
#### MKVToolnix (Source) - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb-src http://www.bunkus.org/ubuntu/precise/ ./
#### OpenShot (Source) - http://www.openshotvideo.com
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9BA26FA
deb-src http://ppa.launchpad.net/openshot.developers/ppa/ubuntu precise main
#### Pidgin (Source) - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main
#### Tor: anonymity online (Source) - http://www.torproject.org/
## Run this command: gpg --keyserver subkeys.pgp.net --recv 886DDD89 && gpg --export --armor 94C09C7F | sudo apt-key add -
deb-src http://deb.torproject.org/torproject.org precise main
#### Ubuntu Tweak (Source) - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb-src http://ppa.launchpad.net/tualatrix/ubuntu precise main
#### Wine (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
I also easily adjusted my monitors as I wanted, using "Displays" in the System Settings. I checked if the Wacom tablet functioned as expected and it did. I will check the fingerprint stuff later. In Oneiric Ocelot 11.10 the tablet stopped working after I got the fingerprint scanner to behave.
Medibuntu from previous instructions then install libdvdcss2 for DVD playback. However, keep in mind that for some reason it is incredibly slow and tends to hang, which is why I will probably disable it.
I also downloaded and installed TrueCrypt. This involved:
- Downloading the actual program, its digital sig and importing TC sig.
- I discovered that somehow gpg settings and my key did not survive the upgrade so I imported my old key, then signed TC key and verified it (see handbook):
gpg --import TrueCrypt-Foundation-Public-Key.asc
gpg --edit-key F0D6B1E0
>trust
to marginal (using choice number 3)
and then
>sign
I sign it with the above generated key and my password.
gpg --verify truecrypt-7.1a-linux-x64.tar.gz.sig truecrypt-7.1a-linux-x64.tar.gz - Uncompressing and running results in
Installing package...
usr/bin/truecrypt
usr/bin/truecrypt-uninstall.sh
usr/share/applications/truecrypt.desktop
usr/share/pixmaps/truecrypt.xpm
usr/share/truecrypt/doc/License.txt
usr/share/truecrypt/doc/TrueCrypt User Guide.pdf - Victory!
Transmission Remote GUI was next, and after uncompressing it went to /usr/local/bin where stories are made.
UbuntuOne error | |
To disable IPv6, echo at the end of /etc/modprobe.d/blacklist.conf: blacklist ipv6
I then intended to install a number of apps I could no longer see but for some reason apt-get was locked, so I rebooted. On reboot, apt-get autoremove went on for a minute or so removing obsolete crap, then processing triggers, and finally spewing
Reading package lists... DoneI'm not sure how to fix it, we'll see later.
W: Duplicate sources.list entry http://ubuntu-archives.mirror.nexicom.net/ precise-backports/multiverse amd64 Packages (/var/lib/apt/lists/ubuntu-archives.mirror.nexicom.net_dists_precise-backports_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://ubuntu-archives.mirror.nexicom.net/ precise-backports/multiverse i386 Packages (/var/lib/apt/lists/ubuntu-archives.mirror.nexicom.net_dists_precise-backports_multiverse_binary-i386_Packages)
For TV, I installed HDHomeRun Config GUI from repos as well as hdhomerun_config. Scanning with a simple indoor antenna results in the following channels:
hdhomerun_config FFFFFFFF scan /tuner0 scan0.txt
SCANNING: 671000000 (us-bcast:47)
LOCK: 8vsb (ss=77 snq=50 seq=100)
TSID: 0x43AB
PROGRAM 2: 47.1 CFMT
SCANNING: 653000000 (us-bcast:44)
LOCK: 8vsb (ss=85 snq=63 seq=100)
TSID: 0x43AD
PROGRAM 2: 57.1 CITYTV
SCANNING: 635000000 (us-bcast:41)
LOCK: 8vsb (ss=95 snq=70 seq=100)
TSID: 0x43A9
PROGRAM 1: 41.1 CIII-HD
PROGRAM 2: 41.2 CIII-SD
SCANNING: 539000000 (us-bcast:25)
LOCK: 8vsb (ss=98 snq=77 seq=100)
TSID: 0x43A7
PROGRAM 3: 25.1 CBLFT-D
SCANNING: 509000000 (us-bcast:20)
LOCK: 8vsb (ss=98 snq=85 seq=100)
TSID: 0x43A1
PROGRAM 3: 5.1 CBLT-DT
SCANNING: 503000000 (us-bcast:19)
LOCK: 8vsb (ss=92 snq=71 seq=100)
TSID: 0x43A5
PROGRAM 1: 19.1 TVO
SCANNING: 189000000 (us-bcast:9)
LOCK: 8vsb (ss=100 snq=82 seq=100)
TSID: 0x43A3
PROGRAM 1: 9.1 CFTO
CFMT (multiculti) is the weakest, but the others are quite alright. Channel flipping is a bit time-consuming with their GUI as it scans unless you enter it directly. Using a more advanced application might require installing dvbhdhomerun to masquarade as DVB:
sudo add-apt-repository ppa:tfylliv/dvbhdhomerun
sudo apt-get update
sudo apt-get install dvbhdhomerun-dkms dvbhdhomerun-utils
sudo service dvbhdhomerun-utils start
SOPcast is best served with TVmaxe. I wouldn't
Tribler allows for some limited P2P TV as well:sudo add-apt-repository ppa:venerix/blug
sudo add-apt-repository ppa:ferramroberto/sopcast
sudo apt-get update sudo apt-get install tv-maxe
sopcast-player
gksudo gedit /usr/share/sopcast-player/lib/vlc_1_0_x.py
search for # Decorator for callback methods
replace below with callbackmethod=ctypes. CFUNCTYPE( None, ctypes. POINTER( Event), ctypes.c_void_p)
sudo add-apt-repository ppa:webupd8team/tribler
sudo apt-get update
sudo apt-get install tribler
To get the cube:
- sudo apt-get install compizconfig-settings-manager # mine was already there
- search for ccsm, then launch it
- Under 'Desktop', simply tick the checkbox beneath the 'Desktop Cube' plugin (for my laptop with an Intel card it's not showing, being blacklisted). In the dialog that pops up, choose 'Disable Desktop Wall'
- Enable "rotate cube" plugin under 'Desktop'
- For a perfect cube, General > General Options > Desktop Size and change 'Horizontal Virtual Size' to '4', and 'Vertical Virtual Size' to '1' (originally 2, 2, 1).
gksudo gedit /var/lib/polkit-1/localauthority/50-local.d/hibernate.pklathen paste
then restart. 'Suspend' will disappear.[Re-enable Hibernate] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes
To install a bunch of codecs:
sudo apt-get install libxine1-ffmpeg gxine mencoder totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321To install the System Load Indicator:
sudo add-apt-repository ppa:indicator-multiload/stable-dailyTurn off recording history in Privacy (System Settings) and delete past history. I see no use for it.
sudo apt-get update
sudo apt-get install indicator-multiload
By default, Ubuntu hides some apps in the Startup Applications. Get them back with
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktopI don't bother with a screen saver, but if you do, try Xscreensaver after removing gnome-screensaver. To prevent it from starting when watching a movie, install caffeine with ppa:caffeine-developers/ppa | caffeine python-glade2.
Finally, I wish I could tweak the Startup menu with the old Startup-Manager, but it's not showing up.
Well, that's about it. I might add more stuff and clean up this later; or maybe not :)
Sources / More info: reinstall Opera, repos, sources.list generator, libdvdcss2, dirs, TC-digital sig, handbook, Transmission Remote GUI, XBMC-tv, Maxe-wiki, sopcast-segfault-64b, dvbhomerun, webupd8-tweaks
ConsumedConsumer, linux, install, tech, notes, walkthrough, tutorial, ubuntu, 12.04, precise pangolin, setup (Tags)
Comments