Ye blog of Adam Wright

DIY, tutorials, stuff for geeks, all updated when I have the time to spare.

Tag Archives: install

How To Successfully Install Wine PPA In Linux Mint 14

After installing Linux Mint 14, I attempted to install Wine by adding the Wine PPA to my software sources. However, when I tried updating I got this error:

Err nadia/main Sources
404 Not Found

Notice that the word after the PPA location is “nadia”. This is the codename for Linux Mint 14, not the codename for the version of Ubuntu that it is based off of, which is what needs to go there.

To fix this, you just need to manually edit your /etc/apt/sources.list.d/ubuntu-wine-ppa-nadia.list file. My command-line editor of choice for quick edits is nano:

Screenshot from 2013-03-24 17:43:13

Replace the two “nadia” words with “quantal” (Linux Mint 14 “nadia” is based off of Ubuntu 12.10, and the codename for Ubuntu 12.10 is “quantal”).

Screenshot from 2013-03-24 17:40:44

Save and try updating again (“sudo apt-get update”) and it should update fine. You should now be able to install Wine fine.

Simple explanation of why this happens:
Normally, when adding a PPA to an Ubuntu or Ubuntu-based Linux distribution, aptitude adds the codename of the system to the line it adds in the sources.list entry so that the packages are pulled from the correct repositories (i.e. “quantal”, “precise”, etc.). It seems that the creators of Linux Mint decided to rebrand every aspect of the Ubuntu operating system to match the Linux Mint details, and in doing so changed the internal Ubuntu-based codename of the distribution to the Linux Mint codename. For this reason, aptitude tries to use the Linux Mint codename rather than the Ubuntu one and then aptitude fails when searching the Ubuntu repositories for the Linux Mint codename.

This is the first I’ve seen this problem, but I imagine its fairly common among Mint users installing packages via PPAs added via software sources.

WineHQ – Installing the latest Wine on Ubuntu.

How to install Google Chrome in Ubuntu 10.04

I recently made the switch from Firefox to Chrome, and decided to install it on all my machines. I had some problems getting it installed for Ubuntu 10.04 at first, but then I found this post that spelled it all out.

Here’s the steps in simple, copy/paste format:

wget -q -O - | sudo apt-key add -
sudo sh -c 'echo "deb stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update -y
sudo apt-get install -y google-chrome-stable

Or if you’d like one long line:

wget -q -O - | sudo apt-key add - && sudo sh -c 'echo "deb stable main" >> /etc/apt/sources.list.d/google.list' && sudo apt-get update -y && sudo apt-get install -y google-chrome-stable

That should work.

Again, thanks to UbuntuUpdates for original post: UbuntuUpdates – PPA: Google Chrome
heck them out for more PPA sources and install tutorials!

%d bloggers like this: