hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Who to contact for broken Raspbian package?

Fri Mar 23, 2018 8:43 pm

Hello,

Does anyone know how I can contact a Raspbian package maintainer?

The reason is that I found out that the zfs-dkms package on Raspbian stretch is broken and does not install correctly. As such I would like to report that so that someone can fix it but I don't know where I should report that.

Regards,
J.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6195
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Who to contact for broken Raspbian package?

Fri Mar 23, 2018 8:58 pm

That's tricky, since the package itself probably belongs to Debian and probably builds fine against their kernel, which doesn't run on the pi. And we don't have the resources to maintain every dkms package on our end either.

Would you happen to know why it's not building exactly?

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Fri Mar 23, 2018 9:04 pm

I see, that's a tricky one..

I posted here the detailed problem in the Raspbian topic of this forum but having seen no answer I thought I'de better contact the package maintainer directly:

viewtopic.php?f=66&t=208535&p=1289339&h ... s#p1289339

Based on what I see in the output I think the problem is that it wants by default and to start with to build the kernel modules against kernel version 3.6 which is of course wrong for Raspbian stretch. It should be building for kernel 4.9 instead.

What do you think?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6195
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Who to contact for broken Raspbian package?

Fri Mar 23, 2018 9:13 pm

The first part of the problem is that when you install dkms it will try to find a package which provides the linux kernel headers. Instead of figuring out that it's raspberrypi-kernel-headers, it will pull in the version for debian's kernel.

Edit: Unless you install raspberrypi-kernel-headers first

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Fri Mar 23, 2018 10:23 pm

Thank you so much, installing the raspberryi-kernel-headers beforehand did the trick and I got all the kernel modules compiled. Now I just need to find out where is the zfsutils-linux package on Raspbian as it does not seem to be available by default...

Code: Select all

$ sudo apt-get install zfsutils-linux
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package zfsutils-linux is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'zfsutils-linux' has no installation candidate

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6195
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Who to contact for broken Raspbian package?

Fri Mar 23, 2018 11:10 pm

hostingnuggets wrote: Thank you so much, installing the raspberryi-kernel-headers beforehand did the trick and I got all the kernel modules compiled.
I didn't expect that to be enough. Great to hear it worked

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Sat Mar 24, 2018 9:29 am

Unfortunately I can't find the zfsutils-linux package which includes the binaries in order to use ZFS. Without this package it's pretty much useless. In Debian stretch itself it is available here: https://packages.debian.org/stretch/zfsutils-linux

Now I am wondering who should I contact to report this missing package?

User avatar
HawaiianPi
Posts: 5267
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Who to contact for broken Raspbian package?

Sat Mar 24, 2018 9:45 am

It looks like that should be available for armhf?

https://packages.debian.org/stretch/arm ... x/download
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6195
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Who to contact for broken Raspbian package?

Sat Mar 24, 2018 12:55 pm

Looks like the issue is that it's a 'contrib' package, which raspbian doesn't pick up by default.

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Sat Mar 24, 2018 5:03 pm

As HawaiianPi suggests I downloaded the zfsutils-linux package from the Debian stretch official APT repository and tried to install it but it looks like there are other dependencies which need to be manually downloaded too:

Code: Select all

$ sudo dpkg -i zfsutils-linux_0.6.5.9-5_armhf.deb 
Selecting previously unselected package zfsutils-linux.
(Reading database ... 98698 files and directories currently installed.)
Preparing to unpack zfsutils-linux_0.6.5.9-5_armhf.deb ...
Unpacking zfsutils-linux (0.6.5.9-5) ...
dpkg: dependency problems prevent configuration of zfsutils-linux:
 zfsutils-linux depends on libnvpair1linux; however:
  Package libnvpair1linux is not installed.
 zfsutils-linux depends on libuutil1linux; however:
  Package libuutil1linux is not installed.
 zfsutils-linux depends on libzfs2linux; however:
  Package libzfs2linux is not installed.
 zfsutils-linux depends on libzpool2linux; however:
  Package libzpool2linux is not installed.

dpkg: error processing package zfsutils-linux (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
 zfsutils-linux

User avatar
rpdom
Posts: 16398
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Who to contact for broken Raspbian package?

Sat Mar 24, 2018 11:56 pm

dpkg doesn't handle dependencies on its own. Try running apt-get -f install afterwards and see if that fixes the install.

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Sun Mar 25, 2018 9:11 am

Doing that does not install the dependencies as they also seem not to be available in the Raspbian stretch APT repo. So I guess I will have to download them and install them all manually from Debian stretch repo. As you can see doing a "apt-get -f install" only removes the zfsutils-linux package:

Code: Select all

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  zfsutils-linux
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 967 kB disk space will be freed.
Do you want to continue? [Y/n]

User avatar
rpdom
Posts: 16398
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Who to contact for broken Raspbian package?

Sun Mar 25, 2018 10:12 am

What shiftplusone said
ShiftPlusOne wrote:
Sat Mar 24, 2018 12:55 pm
Looks like the issue is that it's a 'contrib' package, which raspbian doesn't pick up by default.
You could add the Debian conrtib repo to a sources.list.d/ file to pull them in automatically (will work on Pi2 and Pi3, but not Pi1 or Pi0 in most cases)

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Sun Mar 25, 2018 11:04 am

It looks like that with Raspbian stretch the contrib repo is already there by default:

Code: Select all

$ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Sun Mar 25, 2018 2:41 pm

So as mentioned I downloaded manually the packages from Debian stretch and installed it in that order:

Code: Select all

  sudo dpkg -i libuutil1linux_0.6.5.9-5_armhf.deb
  sudo dpkg -i libnvpair1linux_0.6.5.9-5_armhf.deb
  sudo dpkg -i libzpool2linux_0.6.5.9-5_armhf.deb
  sudo dpkg -i libzfs2linux_0.6.5.9-5_armhf.deb 
  sudo dpkg -i zfsutils-linux_0.6.5.9-5_armhf.deb 
and it works. Now it would be nice if that could be fixed in the Raspbian stretch repository or wherever it needs to be fixed.

hostingnuggets
Posts: 34
Joined: Fri Dec 28, 2012 5:52 pm

Re: Who to contact for broken Raspbian package?

Thu Mar 29, 2018 1:11 pm

Unfortunately I did an apt-get update/upgrade and there was today a new kernel which upgraded my kernel from 4.9 to 4.14 and now the ZFS module won't compile anymore as it did wirh kernel 4.9. It already fails at compiling the SPL module which is required for ZFS. Here is the output of what happens:

Code: Select all

$ sudo apt-get install spl-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  spl-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/385 kB of archives.
After this operation, 3017 kB of additional disk space will be used.
Selecting previously unselected package spl-dkms.
(Reading database ... 68076 files and directories currently installed.)
Preparing to unpack .../spl-dkms_0.6.5.9-1_all.deb ...
Unpacking spl-dkms (0.6.5.9-1) ...
Setting up spl-dkms (0.6.5.9-1) ...
Loading new spl-0.6.5.9 DKMS files...
It is likely that 4.14.30-v7+ belongs to a chroot's host
Building for 4.14.30+ and 4.14.30-v7+
Building initial module for 4.14.30+
configure: error: unknown
Error! Bad return status for module build on kernel: 4.14.30+ (armv7l)
Consult /var/lib/dkms/spl/0.6.5.9/build/make.log for more information.
and the content of the /var/lib/dkms/spl/0.6.5.9/build/make.log file:

Code: Select all

DKMS make.log for spl-0.6.5.9 for kernel 4.14.30+ (armv7l)
Thu Mar 29 15:09:34 CEST 2018
make: *** No targets specified and no makefile found.  Stop.
Any idea what went wrong here with this new kernel on Raspbian stretch?

Return to “General discussion”