ubuntu MATE 15.10 PowerPC in a chroot on Lubuntu 12.04.5 PowerPC
If you want to test ubuntu MATE 15.10 with a lot of new programs such as Firefox 41 or LibreOffice 5 and you don't have a free partition or you couldn't install it on your AmigaONE X1000, then you can install it in a chroot on your existing 12.04 system.
Code: Select all
debootstrap --arch powerpc wily /chroot-wily http://ports.ubuntu.com/ubuntu-ports
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 790BC7277767219C86F933B4FE6ACC0B21F32)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I Found additional base dependencies: bc libdpkg-perl libgdm3 perl perl-modules
I: Checking component main on
http://ports.ubuntu.com/ubuntu-ports....
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
...
I: Base system installed successfully.
Change to the directory /chroot-wily:
Mount proc:
Mount dev:
Mount sys:
Chroot to Ubuntu 15.10 with:
PLEASE check if you are on Ubuntu 15.10:
Ubuntu Wily Werewolf (development branch) \n \l
Congratulations you have installed Ubuntu 15.10 PowerPC in a chroot!
If you want to use the Ubuntu flavour
ubuntu MATE then you have to install the meta package
ubuntu-mate-desktop:
Please add the repositories
universe and
multiverse to the sources.list:
Afterwards you have to update the package database:
Code: Select all
apt-get install ubuntu-mate-desktop
(This takes a long time)
After that there are some errors about cups. You have to remove cups.
Code: Select all
apt-get remove cups
apt-get autoremove
apt-get remove avahi-daemon
apt-get autoremove
Ubuntu Mate 15.10 isn't installed completely. You can completely install it with:
After installing ubuntu MATE 15.10 completely, You have to remove cups again.
Code: Select all
apt-get remove cups
apt-get autoremove
apt-get remove avahi-daemon
apt-get autoremove
Please leave the ubuntu MATE 15.10 chroot with:
You have to use the X11 unix socket from the Lubuntu 12.04.5 host system for ubuntu MATE 15.10 X11 programs.
Mount the X11 unix socket from Lubuntu in the chroot environment:
Code: Select all
mount --bind /tmp/.X11-unix ./tmp/.X11-unix
You have to allow the access from the ubuntu MATE 15.10 X11 programs:
Output:
non-network local connections being added to access control list
Chroot to ubuntu MATE 15.10 again with:
Set up the DISPLAY variable to ':0':
Yeah, you can start Firefox 41:
Note: You can use the latest Firefox 41 on Lubuntu 12.04.5 PowerPC with a ubuntu MATE 15.10 PowerPC chroot. Firefox 41 isn't available for Lubuntu 12.04.5 PowerPC.
If Firefox and Thunderbird have another font in the menus and dialogue boxes than the desktop environment, then you have to create the file
.fonts.conf in the home directory.
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>
If this file exist, then the Firefox use the font configuration from the desktop environment.