Emlid Raspbian 20160718 doesn't let itself apt-get upgrade properly

Glad to hear it! We’re planning to do the same thing today. We’re anxious to hear from you.

Could you please run sudo apt-key list?

Hello,

I have same problem updating a fresh 20160718 installation.

apt-key list show two pub & sub entries (2012-04-01 and 2012-06-17) and your key pub from 2016-03-28.

With Ros same error

pi@navio:~ $ sudo apt-get update && sudo apt-get upgrade
Hit http://mirrordirector.raspbian.org jessie InRelease
Get:1 http://files.emlid.com jessie InRelease [1,440 B]
Hit http://archive.raspberrypi.org jessie InRelease
Err http://files.emlid.com jessie InRelease

Hit http://packages.ros.org trusty InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://packages.ros.org trusty/main armhf Packages
Ign http://packages.ros.org trusty/main Translation-en_US
Ign http://packages.ros.org trusty/main Translation-en
Ign http://packages.ros.org trusty/main Translation-en_US.UTF-8
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US.UTF-8
Ign http://archive.raspberrypi.org jessie/main Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US.UTF-8
Ign http://archive.raspberrypi.org jessie/main Translation-en_US.UTF-8
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US.UTF-8
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US.UTF-8
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US.UTF-8
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://files.emlid.com jessie InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D2D4790B01F8D571

W: Failed to fetch http://files.emlid.com/debian/dists/jessie/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
python-catkin-pkg python-rosdistro python-rospkg
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
pi@navio:~ $ apt-key list
/etc/apt/trusted.gpg

pub 2048R/90FDDD2E 2012-04-01
uid Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) mpthompson@gmail.com
sub 2048R/5373DC6C 2012-04-01

pub 2048R/7FA3303E 2012-06-17
uid Raspberry Pi Archive Signing Key
sub 2048R/EDD83D6C 2012-06-17

pub 2048R/7EB86477 2016-03-28
uid Georgii Staroselskii georgii.staroselskii@emlid.com

pub 2048R/27B618E1 2016-10-31
uid Emlid Builder support@emlid.com
sub 2048R/905B598C 2016-10-31

pub 1024D/B01FA116 2009-12-24
uid ROS Builder rosbuild@ros.org
sub 2048g/8F3611A0 2009-12-24

pi@navio:~ $

If I try to modify dkms, I have this error

pi@navio:~ $ dpkg -l | grep rcio-dkms
ii rcio-dkms 0.6.3 all rcio driver in DKMS format.
pi@navio:~ $ git clone https://github.com/emlid/navio-rcio-linux-driver rcio-dkms
fatal: destination path ‘rcio-dkms’ already exists and is not an empty directory.
pi@navio:~ $ cd rcio-dkms
pi@navio:~/rcio-dkms $ dkms mkdeb --source-only

Creating symlink /tmp/tmp.BFL3Jgw1w1/rcio/0.6.6/source ->
/tmp/tmp.L94GfJ6BsE/rcio-0.6.6

DKMS: add completed.
dpkg-query: package ‘debhelper’ is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Using /etc/dkms/template-dkms-mkdeb
copying template…
modifying debian/changelog…
modifying debian/compat…
modifying debian/control…
modifying debian/copyright…
modifying debian/dirs…
modifying debian/postinst…
modifying debian/prerm…
modifying debian/README.Debian…
modifying debian/rules…
copying legacy postinstall template…
Copying source tree…
Building binary package… dpkg-source --before-build rcio-dkms-0.6.6
fakeroot debian/rules clean
make: dh_testdir: Command not found
make: *** [clean] Error 127
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
(bad exit status: 2)
Error! There was a problem creating your deb.
pi@navio:~/rcio-dkms

Marc

sudo apt-get install debhelper to fix this.

It’s not the same actually. This is a warning that should be read "only sudo apt-get dist-upgrade` will do.

We’ll be rolling out a new stable release in a couple of days. I suggest waiting on it. The only upgrades that will be deployed on older releases are bugfixes for older ArduPilot to work. If you absolutely want to try out RC5, you can either upgrade rcio-dkms with the method I described above or use Beta v4.

Thanks, Ros ßeta v4 is OK,

Well Done, rcio-dkms 0.6.6 is active,

Waiting for the next stable release.

Marc

1 Like