exit code 1 of qubes.RecieveUpdate, what does it mean? Failing to install dev packages in dom0

218 views
Skip to first unread message

tobb...@gmail.com

unread,
Sep 23, 2016, 8:37:21 AM9/23/16
to qubes-users
Dear gods,

I'm trying to install zfsonlinux in dom0. One of the first steps is to install the packages needed to build the DKMS modules.

I recieve exit code 1 and I don't know what to do. Needless to say I'm new to Qubes.

'/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent /var/lib/qubes/dom0-updates/packages/*.rpm' failed with exit code 1!

Here are the details

$ cat dom0installdev.sh
sudo qubes-dom0-update dkms kernel-devel zlib-devel libuuid-devel libblkid-devel lsscsi bc autoconf automake binutils bison flex gcc gcc-c++ gdb gettext libtool make pkgconfig redhat-rpm-config rpm-build strace

$ bash dom0installdev.sh
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
Running command on VM: 'sys-firewall'...
Last metadata expiration check: 14:18:18 ago on Thu Sep 22 23:55:13 2016.
Package binutils-2.25-17.fc23.x86_64 is already installed, skipping.
Package gettext-0.19.8.1-1.fc23.x86_64 is already installed, skipping.
Package make-1:4.0-5.1.fc23.x86_64 is already installed, skipping.
Package pkgconfig-1:0.28-9.fc23.x86_64 is already installed, skipping.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
autoconf noarch 2.69-21.fc23 fedora 709 k
automake noarch 1.15-4.fc23 fedora 695 k
bc x86_64 1.06.95-15.fc23 fedora 122 k
bison x86_64 3.0.4-3.fc23 updates 684 k
cpp x86_64 5.3.1-6.fc23 updates 8.3 M
dkms noarch 2.2.0.3-34.git.9e0394d.fc23 updates 82 k
dwz x86_64 0.12-1.fc23 fedora 106 k
elfutils x86_64 0.166-1.fc23 updates 304 k
file x86_64 5.22-6.fc23 updates 66 k
flex x86_64 2.6.0-1.fc23 updates 315 k
fpc-srpm-macros noarch 1.0-1.fc23 updates 7.8 k
gc x86_64 7.4.2-4.fc23 fedora 104 k
gcc x86_64 5.3.1-6.fc23 updates 19 M
gcc-c++ x86_64 5.3.1-6.fc23 updates 9.8 M
gdb x86_64 7.10.1-31.fc23 updates 3.2 M
ghc-srpm-macros noarch 1.4.2-2.fc23 fedora 8.2 k
glibc-devel x86_64 2.22-18.fc23 updates 914 k
glibc-headers x86_64 2.22-18.fc23 updates 497 k
gnat-srpm-macros noarch 2-1.fc23 fedora 8.4 k
go-srpm-macros noarch 2-3.fc23 fedora 8.0 k
guile x86_64 5:2.0.11-7.fc23 updates 3.9 M
isl x86_64 0.14-4.fc23 fedora 490 k
kernel-devel x86_64 1000:4.4.14-11.pvops.qubes qubes-dom0-current 10 M
kernel-headers x86_64 4.7.3-100.fc23 updates 1.0 M
libatomic_ops x86_64 7.4.2-9.fc23 updates 32 k
libbabeltrace x86_64 1.2.4-2.fc23 fedora 151 k
libblkid-devel x86_64 2.28-2.fc23 updates 76 k
libipt x86_64 1.4.3-1.fc23 updates 38 k
libmpc x86_64 1.0.2-4.fc23 fedora 55 k
libstdc++-devel x86_64 5.3.1-6.fc23 updates 1.8 M
libtool x86_64 2.4.6-8.fc23 updates 707 k
libuuid-devel x86_64 2.28-2.fc23 updates 87 k
lsscsi x86_64 0.28-2.fc23 fedora 56 k
m4 x86_64 1.4.17-8.fc23 fedora 266 k
mpfr x86_64 3.1.3-2.fc23 updates 214 k
ocaml-srpm-macros noarch 2-3.fc23 fedora 8.1 k
patch x86_64 2.7.5-2.fc23 fedora 123 k
perl-Data-Dumper x86_64 2.158-347.fc23 fedora 55 k
perl-Math-BigInt noarch 1.9997-354.fc23 updates 189 k
perl-Thread-Queue noarch 3.11-1.fc23 updates 22 k
perl-generators noarch 1.06-2.fc23 updates 15 k
perl-srpm-macros noarch 1-17.fc23 fedora 9.7 k
python-srpm-macros noarch 3-7.fc23 updates 8.1 k
redhat-rpm-config noarch 37-1.fc23.1 updates 59 k
rpm-build x86_64 4.13.0-0.rc1.13.fc23 updates 137 k
strace x86_64 4.12-1.fc23 updates 503 k
zlib-devel x86_64 1.2.8-9.fc23 fedora 55 k
Upgrading:
glibc x86_64 2.22-18.fc23 updates 3.6 M
glibc-common x86_64 2.22-18.fc23 updates 12 M

Transaction Summary
================================================================================
Install 47 Packages
Upgrade 2 Packages

Total size: 80 M
Downloading Packages:
Sending application list and icons to dom0
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
'/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent /var/lib/qubes/dom0-updates/packages/*.rpm' failed with exit code 1!

Marek Marczykowski-Górecki

unread,
Sep 23, 2016, 9:22:59 AM9/23/16
to tobb...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, Sep 23, 2016 at 05:37:21AM -0700, tobb...@gmail.com wrote:
> Dear gods,
>
> I'm trying to install zfsonlinux in dom0. One of the first steps is to install the packages needed to build the DKMS modules.
>
> I recieve exit code 1 and I don't know what to do. Needless to say I'm new to Qubes.
>
> '/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent /var/lib/qubes/dom0-updates/packages/*.rpm' failed with exit code 1!
>
> Here are the details
>
> $ cat dom0installdev.sh
> sudo qubes-dom0-update dkms kernel-devel zlib-devel libuuid-devel libblkid-devel lsscsi bc autoconf automake binutils bison flex gcc gcc-c++ gdb gettext libtool make pkgconfig redhat-rpm-config rpm-build strace
>
> $ bash dom0installdev.sh
> Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
> Running command on VM: 'sys-firewall'...
(...)
> '/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent /var/lib/qubes/dom0-updates/packages/*.rpm' failed with exit code 1!

Check /var/log/qubes/qrexec.sys-firewall.log. I'd guess it is something
about package signature verification.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJX5SysAAoJENuP0xzK19csViUH/393OTRWN1Ao73yBJcYP6z+s
3LIRZw1eFHQWXrhscmWU3dIzln03/HVT6TNaTnQ4ropAgZuqjLf7AGG1GeORhA3a
F8GGZ62P+4GtPNll+AQRE94w/nio+towYYR1Jo0xPBa/3ybBtWq6EqqHDhN9i/CA
Mq43IRh2R9t/9Fngw78Tf7YL60DDGbXlRgeW2X/DyTkY9ujr1XDdBjpuN+9NTj6y
fq5BfPfsb3k9+WNyyahCl90/UnaxgbmBsItuYcFPIKko0hd0NKloe3I8a1m9MG7A
vW2o+jVLA8bmCpHK09UR52qvg9a4JRqkIGImjG5jTQ2hxS8GRWqFF+kZo4/RSfQ=
=L0XW
-----END PGP SIGNATURE-----

Tobias Abenius

unread,
Sep 27, 2016, 6:54:00 AM9/27/16
to Marek Marczykowski-Górecki, tobb...@gmail.com, qubes-users

On 09/23/2016 03:22 PM, Marek Marczykowski-Górecki wrote:

'/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent /var/lib/qubes/dom0-updates/packages/*.rpm' failed with exit code 1!
Check /var/log/qubes/qrexec.sys-firewall.log. I'd guess it is something
about package signature verification.
Thank you for your reply. That last lines of the file is not informative:

Rpc allowed: sys-firewall dom0 qubes.NotifyUpdates
Rpc allowed: sys-firewall dom0 qubes.ReceiveUpdates

What next?

Best, Tobias

Marek Marczykowski-Górecki

unread,
Sep 27, 2016, 7:10:57 AM9/27/16
to Tobias Abenius, tobb...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ah, error messages from qrexec services are now forwarded to journald -
check `journalctl -b` and search for qubes.ReceiveUpdates.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJX6lO5AAoJENuP0xzK19csZ2wIAJq8IrYAYIui8MzV0kjnXt2S
Pk9fVWPT3q5bdQxzS+iYJEz4hpZRXEpCJ7vQdN6lOZDV5JkPSuQ9R+q/iTQThEgY
fzc278KyUQZsqQPmEOpYC6a4DW0+yZkj/eO9qj2k2/RrZEl1oLI/6/WMC6mqU5rO
afPpEGqqMxzFGMKeNxYe2CKuPWe7QIu0yrR8NJii4O4ctccB5LVZXZoSQe6FCMrL
mUvIHgXa3lDUZx8j5YP4sd3KhumF/uMPbF473I4umZHGzvIKkxbYNw8RDHxEFiiZ
wi93dn17NB/zhzOMJESrYi9wUT+qxhI/NGhN6GG8sKFon20gGymXrZJ+ze4Ppwk=
=uqQS
-----END PGP SIGNATURE-----

Tobias Abenius

unread,
Sep 28, 2016, 7:54:07 AM9/28/16
to Marek Marczykowski-Górecki, tobb...@gmail.com, qubes-users
On 09/27/2016 01:10 PM, Marek Marczykowski-Górecki wrote:

> On Tue, Sep 27, 2016 at 12:53:54PM +0200, Tobias Abenius wrote:
>> On 09/23/2016 03:22 PM, Marek Marczykowski-Górecki wrote:
>>
>>>> '/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates
>>>> /usr/lib/qubes/qfile-agent
>>>> /var/lib/qubes/dom0-updates/packages/*.rpm' failed with exit code 1!
>>> Check /var/log/qubes/qrexec.sys-firewall.log. I'd guess it is something
>>> about package signature verification.
>> Thank you for your reply. That last lines of the file is not informative:
>>
>> Rpc allowed: sys-firewall dom0 qubes.NotifyUpdates
>> Rpc allowed: sys-firewall dom0 qubes.ReceiveUpdates
>>
>> What next?
> Ah, error messages from qrexec services are now forwarded to journald -
> check `journalctl -b` and search for qubes.ReceiveUpdates.

Aha! I'm installing ZFS but I didn't have the key.

Thanks, Tobias

sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: Error
while verifing spl-0.6.5.8-1.fc23.x86_64.rpm signature:
/var/lib/qubes/updates/rpm/spl-0.6.5.8-1.fc23.x86_64.rpm: (RSA) sha1
((MD5) PGP) md5 NOT OK (MISSING KEYS: RSA#f14ab620 (MD5) PGP#f14ab620)
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]:
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: Domain
sys-firewall sent not signed rpm: spl-0.6.5.8-1.fc23.x86_64.rpm
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: Traceback
(most recent call last):
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: File
"/usr/libexec/qubes/qubes-receive-updates", line 132, in <module>
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: main()
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: File
"/usr/libexec/qubes/qubes-receive-updates", line 130, in main
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]:
handle_dom0updates(updatevm)
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: File
"/usr/libexec/qubes/qubes-receive-updates", line 99, in handle_dom0updates
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]:
dom0updates_fatal(full_path, 'Domain ' + source + ' sent not signed rpm:
' + f)
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: File
"/usr/libexec/qubes/qubes-receive-updates", line 57, in dom0updates_fatal
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: os.remove(pkg)
sep 28 12:55:49 dom0 qubes.ReceiveUpdates-sys-firewall[4060]: OSError:
[Errno 2] No such file or directory:
'/var/lib/qubes/updates/rpm/spl-0.6.5.8-1.fc23.x86_64.rpm'

Reply all
Reply to author
Forward
0 new messages