SRN
Posts: 2
Joined: Mon Aug 03, 2015 2:57 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Mon Aug 03, 2015 3:02 am

Anyone install desktop recently e.g. apt-get install lubuntu-desktop ? I got lots of unmet dependencies. Do we change another repo or any way to resolve this? Thanks.

SRN
Posts: 2
Joined: Mon Aug 03, 2015 2:57 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Mon Aug 03, 2015 11:45 pm

answering this myself, repo seems fixed.

Mirmathrax
Posts: 1
Joined: Tue Aug 04, 2015 3:44 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Tue Aug 04, 2015 4:00 pm

ORLRO wrote:I always get this error

Code: Select all

The following packages have unmet dependencies:
 libqt4-opengl-dev : Depends: libgles2-mesa-dev
to be specific when I do any of the following

Code: Select all

sudo apt-get install tightvncserver
or
sudo apt-get install ros-indigo-desktop-full
or
 sudo apt-get install winetricks
when I do

Code: Select all

sudo apt-get -f install
to solve this as suggested by the "terminal" I get:

Code: Select all

dpkg: error processing archive /var/cache/apt/archives/libegl1-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb (--unpack):
 trying to overwrite '/usr/include/EGL/eglext.h', which is also in package libraspberrypi-dev 1.20150323.7650bcb-1
Preparing to unpack .../libgles2-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb ...
Unpacking libgles2-mesa-dev (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/apt/archives/libgles2-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb (--unpack):
 trying to overwrite '/usr/include/GLES2/gl2.h', which is also in package libraspberrypi-dev 1.20150323.7650bcb-1
Errors were encountered while processing:
 /var/cache/apt/archives/libegl1-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb
 /var/cache/apt/archives/libgles2-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
when I do

Code: Select all

sudo apt-get update
i get these errors

Code: Select all

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Any Ideas how to solve this issue??

I solved this by doing the following:

I used : sudo apt-get download <package>
to download the packages (the two listed after you ran apt-get install -f).

Then I used: dpkg -i --force-overwrite <package_name>
to install the packages with forcing overwrites of files from other packages.

For Libegl1-mesa-dev, it installed, but it failed to configure because it was missing other dependencies. Don't worry, we fix this in a second...

I then ran dpkg with force overwrite for the second package (libgles2...) the same way. It installed, but did not configure because libegl1 did not finish configuring...

now run: sudo apt-get install -f
this will download all dependencies, and configure everything.

voilà

Sorry for the formatting, I'm in a hurry (and lazy) and not yet familiar with the forums. I hope this helps someone.

-Colin

srnaranja
Posts: 1
Joined: Fri Aug 07, 2015 10:06 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Fri Aug 07, 2015 10:12 pm

Hi! I have already installed Ubuntu 14.04 LTS in my SD Card and connected to a RaspberryPi 2B. Then I connected to my Macbook ir order to start playing with it but when I try to SSH into it, using "ubuntu/ubuntu":

Code: Select all

ssh [email protected]_ip
Password:ubuntu
I get:

Code: Select all

debug1: Authentications that can continue: publickey,keyboard-interactive
Three times, and refused. The IP address has been assigned auto using DHCP through Ethernet cable from the laptop. What am I doing wrong?
Thank you

bateau62
Posts: 5
Joined: Sun May 20, 2012 1:50 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Fri Sep 18, 2015 8:40 am

Hi,
this post is a sign of gratitude towards the makers of the ubuntu LTS image.
Using the Pi for unattended server style work, this image is the closest I have found to a good image. Not wanting to start a flame war, but if one is looking for stable, low maintenance and long lasting headless server style setups, Ubuntu LTS or RHEL/Centos are the only (easy) options one has. Debian/Raspbian is not made for that, and it would surprise me a lot if they claim it to be so.

The only thing lacking in the image is a set of adaptations to make it into a mostly read-only file system, in order to make it last longer on a low grade SD card (anything but very high grade flash storage will get corrupted over time, no matter what you do, but making it read-only will significantly improve stability). Which I did for my chosen set of packages. If anyone is interested, I might share it, but others have done it also.

I really wish Ubuntu LTS on raspi would get more visibility. They put the very premature Ubuntu Core for pi on the downloads page (for marketing reason probably), but no sign of a ready and very capable server OS. It is not the foundation's target though. Fair enough. (But neither are media centers, so why do I see 2 of them?)

One thing that might help is this: With 2 Ubuntu versions on the download page, and trusty LTS being at least number three, there is not even an ubuntu section in the forum. Who can make it? I'm not promising I would be a big user of such a section, but it seems a bit odd not having one. Come on, even plan9 has one. ;-)

gkreidl
Posts: 5951
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Fri Sep 18, 2015 9:52 am

bateau62 wrote:Hi,
this post is a sign of gratitude towards the makers of the ubuntu LTS image.
Using the Pi for unattended server style work, this image is the closest I have found to a good image. Not wanting to start a flame war, but if one is looking for stable, low maintenance and long lasting headless server style setups, Ubuntu LTS or RHEL/Centos are the only (easy) options one has. Debian/Raspbian is not made for that, and it would surprise me a lot if they claim it to be so.

The only thing lacking in the image is a set of adaptations to make it into a mostly read-only file system, in order to make it last longer on a low grade SD card (anything but very high grade flash storage will get corrupted over time, no matter what you do, but making it read-only will significantly improve stability). Which I did for my chosen set of packages. If anyone is interested, I might share it, but others have done it also.

I really wish Ubuntu LTS on raspi would get more visibility. They put the very premature Ubuntu Core for pi on the downloads page (for marketing reason probably), but no sign of a ready and very capable server OS. It is not the foundation's target though. Fair enough. (But neither are media centers, so why do I see 2 of them?)

One thing that might help is this: With 2 Ubuntu versions on the download page, and trusty LTS being at least number three, there is not even an ubuntu section in the forum. Who can make it? I'm not promising I would be a big user of such a section, but it seems a bit odd not having one. Come on, even plan9 has one. ;-)
Ubuntu is nothing else than a regular (every 6 months) snapshot of Debian unstable with a lot of fixes to make something (more or less) stable again with newer package versions. So where's the real difference (except for stability, where Debian is ways ahead).?

BTW. I'm a long time Ubuntu user, on Desktops as well as on Internet servers.
The only thing that we might complain about with Raspbian is the rather long time (5 months now) it takes to get a final Jessie release.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

zeehere
Posts: 1
Joined: Thu Sep 24, 2015 8:46 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Thu Sep 24, 2015 8:53 am

Hi Thanks for providing Ubuntu for RPi2. I have installed minidlna on ubuntu and it works great.
I was wondering if I can somehow play media on RPi2 and output to my home theatre and TV. And have a mobile app to control the media to play.

I have tried OSMC, but I was looking for a solution where I would not be requiring to switch on the TV. For example if i only want to listen to music and control it from my mobile.

Thanks in advance.

bateau62
Posts: 5
Joined: Sun May 20, 2012 1:50 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Fri Sep 25, 2015 10:23 am

gkreidl wrote:Ubuntu is nothing else than a regular (every 6 months) snapshot of Debian unstable with a lot of fixes to make something (more or less) stable again with newer package versions. So where's the real difference (except for stability, where Debian is ways ahead).?
The difference is exactly that: Ubuntu is not ahead. Not everybody wants that.

If one wants a system that one can install, and then let run unattended (please configure security updates though), and maybe once every 3 years look if a big update is needed, then LTS or RHEL/Centos is the way to go. That is a market where "stability" has positive value and where "ahead" has none or even negative value.

DougSanti
Posts: 1
Joined: Fri Oct 02, 2015 11:26 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Fri Oct 02, 2015 11:48 pm

Just a quick question.

On http://www.finnie.org/software/raspberrypi/ there is a .deb package linux-image-3.18.0-29-rpi2_3.18.0-29.30_armhf.deb

May I ask what is the purpose of it?

Thank you

juthab
Posts: 1
Joined: Sun Feb 08, 2015 10:33 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Sun Oct 04, 2015 2:55 pm

Did anyone ever got Python RPi.GPIO working with this image? For me it crashes with segfault and the dmesg error message

Code: Select all

Program python tried to access /dev/mem between 20200000->20201000.

silth
Posts: 1
Joined: Fri May 23, 2014 4:43 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Mon Oct 05, 2015 7:46 pm

Hi everyone!
I've installed ubuntu 14.04 on my RPi2, but i can't get working my wifi dongles.

I've got 2:
Image

- Bus 001 Device 006: ID 148f:7601 Ralink Technology, Corp.
- Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.

Does anyone knows how to make them work? Or known one that really works.

Thank you!

menola
Posts: 3
Joined: Sun Mar 29, 2015 1:25 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Tue Oct 06, 2015 5:05 am

http://www.amazon.com/Edimax-EW-7811Un- ... B003MTTJOY

Works but you'll most likely need an externally powered usb hub to power it.

Also, you'll most likely be disappointed with the performance.

alaricd
Posts: 1
Joined: Tue Oct 06, 2015 6:51 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Tue Oct 06, 2015 6:54 pm

Any help forum? The kernel crashes if I try to use bridging with IP tables

oramirez
Posts: 2
Joined: Tue Oct 13, 2015 9:46 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Tue Oct 13, 2015 9:50 pm

silth wrote:Hi everyone!
I've installed ubuntu 14.04 on my RPi2, but i can't get working my wifi dongles.

I've got 2:
Image

- Bus 001 Device 006: ID 148f:7601 Ralink Technology, Corp.
- Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.

Does anyone knows how to make them work? Or known one that really works.

Thank you!
Did you install try: sudo apt-get install linux-firmware?

jcort
Posts: 1
Joined: Sat Nov 07, 2015 9:01 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Sat Nov 07, 2015 9:07 am

I get the following error when trying to run apt-get update, anyone able to help ?

Ign http://ppa.launchpad.net trusty InRelease
Ign http://ports.ubuntu.com trusty InRelease
Ign http://webmin.mirror.somersettechsolutions.co.uk sarge InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Get:1 http://webmin.mirror.somersettechsolutions.co.uk sarge Release.gpg [189 B]
Hit http://ppa.launchpad.net trusty Release
Get:2 http://ports.ubuntu.com trusty-updates InRelease [64.4 kB]
Hit http://webmin.mirror.somersettechsolutions.co.uk sarge Release
Get:3 http://ports.ubuntu.com trusty Release.gpg [933 B]
Get:4 http://ports.ubuntu.com trusty-security InRelease [64.4 kB]
Get:5 http://ppa.launchpad.net trusty/main armhf Packages [11.7 kB]
Get:6 http://ports.ubuntu.com trusty-backports InRelease [64.5 kB]
E: Method bzip2 has died unexpectedly!
E: Sub-process bzip2 received a segmentation fault.

sim667
Posts: 8
Joined: Tue May 19, 2015 9:00 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Thu Dec 03, 2015 10:26 am

Has anyone tried ubuntu on pi with acd_cli to mount amazon cloud drive?

cbnidk
Posts: 1
Joined: Fri Dec 04, 2015 7:01 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Fri Dec 04, 2015 7:21 pm

Hi
I got this error everytime I boot up

EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
I have tried this
touch /forcefsck and then reboot but the file system is not checked when bootup Again
any help will be nice

CB

lucvdv
Posts: 2
Joined: Thu Dec 17, 2015 12:33 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Thu Dec 17, 2015 1:03 pm

I downloaded the 14.04 image through the download link in the Ubuntu wiki (https://wiki.ubuntu.com/ARM/RaspberryPi).
After playing around with it for a while, I noticed that there's a memory leak in the irqbalance service.
After a week of uptime, it was consuming more than 40% of the RAM on my Raspberry Pi 2.

Not having irqbalance running should not make the OS unstable (AFAIK) or unusable, but it will negatively impact performance.

Googled around a bit and found the cause in a comment on github: a bug in irqbalance that causes this memory leak when it is running on hardware that has no PCI bus.

There are two solutions, the simplest is to restart the service regularly through crontab. Once a day is probably enough, I chose to do it once an hour.
Pitfall: that only works if you explicitly set the path (cron jobs don't get that by default), either in your crontab file or in a shell script that you call from cron.

I put this in root's crontab file, it fixed the problem:

Code: Select all

# m h  dom mon dow   command
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0 * * * * /usr/sbin/service irqbalance restart
Repeat, this will NOT work if you omit the PATH= line. It will still stop the service, but not restart it. It still won't work without PATH when you use other commands to do the restart (stop irqbalance && start irqbalance, etc.).

The other solution, *not* tested by me: fix the source and recompile irqbalance.
According to the comment on github I mentioned, it is located in classify.c.
Original version: g_list_free_full is skipped if collect_full_irq_list returns NULL, apparently causing a memory leak even while tmp_irqs contains nothing.

Code: Select all

void rebuild_irq_db(void)
{
    DIR *devdir;
    struct dirent *entry;
    GList *tmp_irqs = NULL;
 
    free_irq_db();
    tmp_irqs = collect_full_irq_list();
    devdir = opendir(SYSDEV_DIR);
    if (!devdir)
        return;

    do {
            /* process stuff */
    } while (entry != NULL);
 
    closedir(devdir);
 
    for_each_irq(tmp_irqs, add_missing_irq, NULL);
 
    g_list_free_full(tmp_irqs, free);
 
}
Probably fixed (by me) but UNTESTED version:

Code: Select all

void rebuild_irq_db(void)
{
    DIR *devdir;
    struct dirent *entry;
    GList *tmp_irqs = NULL;

    free_irq_db();
    tmp_irqs = collect_full_irq_list();
    devdir = opendir(SYSDEV_DIR);
    if (devdir)
    {
        do {
            /* process stuff */
        } while (entry != NULL);

        closedir(devdir);

        for_each_irq(tmp_irqs, add_missing_irq, NULL);
    }
    g_list_free_full(tmp_irqs, free);
}

jjadams
Posts: 1
Joined: Sat Jan 16, 2016 9:53 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Sat Jan 16, 2016 10:05 pm

Has anyone had boot issues with the 2015-04-06 img file? I'm creating the sd on Ubunut which works well with creating Raspbian sd's. I tried the 2015-04-06 and the prior images with ddrescue and bmaptool with no luck. I tried the 2015-03-2 version too with no luck.

Mine gets stuck at the rainbow screen. with the 6 LED status flash (6 flashes: start.elf not launched).

Ryfong704
Posts: 9
Joined: Mon Dec 28, 2015 11:58 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Thu Jan 28, 2016 5:09 pm

how do you extend the ext4 volume and create a swap partition? just starting out.


User avatar
fustini
Posts: 2
Joined: Mon Mar 07, 2016 4:27 pm
Contact: Website

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Mon Mar 07, 2016 5:09 pm

Anyone know where I can find source for Linux kernel 3.18.0-25-rpi2 used on this Ubuntu 14.04 image for Raspberry Pi 2?

The wiki page https://wiki.ubuntu.com/ARM/RaspberryPi#Kernel describes:
The kernel used by the Raspberry Pi 2 port is an Ubuntu-style kernel package of an "rpi2" flavor, e.g. linux-image-3.18.0-20-rpi2. Currently it is comprised of the following functionality:

* Mainline 3.18.x
* Fork of Ubuntu-3.18.0-14.15 from the ubuntu-vivid git tree
* Raspberry Pi-specific patches from the rpi-3.18.y branch of Raspberry Pi's linux git tree
I ran apt-get source -b linux-image-$(uname -r) which did build the kernel but it was 3.13.0-79. I don't really understand why that happened. flash-kernel refused to install it as it is older than the existing 3.18 kernel.

Background:
I'm trying to help this user on the Adafruit forum:
https://forums.adafruit.com/viewtopic.p ... ft#p457474

I need to compile the out-of-tree fbtft kernel module:
https://github.com/notro/fbtft

User avatar
fustini
Posts: 2
Joined: Mon Mar 07, 2016 4:27 pm
Contact: Website

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Wed Mar 09, 2016 8:25 pm

A followup to my question:

I was able to compile Linux kernel 3.18.0-29-rpi2 with fbtft modules for Ubuntu 14.04 on Raspberry Pi 2.

This GitHub Gist contains the steps I followed:
https://gist.github.com/pdp7/440f522ff7060ab9ae72

Linux kernel .deb package with fbtft modules:
linux-image-3.18.0-29-rpi2_3.18.0-29.30_armhf.deb
https://drive.google.com/open?id=0B_NI2 ... 3NESF81TWM

mck
Posts: 1
Joined: Sun Mar 13, 2016 2:09 am

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Sun Mar 13, 2016 3:59 pm

Hi, I would like to install Ubuntu 14.04 LTS on the new Raspberry Pi 3. Is there a way to get this build updated to support Rpi3? Thanks for your guidance.

jacksonkr
Posts: 2
Joined: Wed Mar 30, 2016 6:19 pm

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Wed Mar 30, 2016 6:21 pm

@mirmathrax I can verify that this works. Thanks!
Mirmathrax wrote:
ORLRO wrote:I always get this error

Code: Select all

The following packages have unmet dependencies:
 libqt4-opengl-dev : Depends: libgles2-mesa-dev
to be specific when I do any of the following

Code: Select all

sudo apt-get install tightvncserver
or
sudo apt-get install ros-indigo-desktop-full
or
 sudo apt-get install winetricks
when I do

Code: Select all

sudo apt-get -f install
to solve this as suggested by the "terminal" I get:

Code: Select all

dpkg: error processing archive /var/cache/apt/archives/libegl1-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb (--unpack):
 trying to overwrite '/usr/include/EGL/eglext.h', which is also in package libraspberrypi-dev 1.20150323.7650bcb-1
Preparing to unpack .../libgles2-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb ...
Unpacking libgles2-mesa-dev (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/apt/archives/libgles2-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb (--unpack):
 trying to overwrite '/usr/include/GLES2/gl2.h', which is also in package libraspberrypi-dev 1.20150323.7650bcb-1
Errors were encountered while processing:
 /var/cache/apt/archives/libegl1-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb
 /var/cache/apt/archives/libgles2-mesa-dev_10.1.3-0ubuntu0.4_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
when I do

Code: Select all

sudo apt-get update
i get these errors

Code: Select all

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-armhf/Packages  404  Not Found [IP: 91.189.91.14 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Any Ideas how to solve this issue??

I solved this by doing the following:

I used : sudo apt-get download <package>
to download the packages (the two listed after you ran apt-get install -f).

Then I used: dpkg -i --force-overwrite <package_name>
to install the packages with forcing overwrites of files from other packages.

For Libegl1-mesa-dev, it installed, but it failed to configure because it was missing other dependencies. Don't worry, we fix this in a second...

I then ran dpkg with force overwrite for the second package (libgles2...) the same way. It installed, but did not configure because libegl1 did not finish configuring...

now run: sudo apt-get install -f
this will download all dependencies, and configure everything.

voilà

Sorry for the formatting, I'm in a hurry (and lazy) and not yet familiar with the forums. I hope this helps someone.

-Colin

Return to “Other”