Project

General

Profile

Actions

Bug #3895

closed

osmo-remsim raspbian package builds

Added by laforge about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/02/2019
Due date:
% Done:

100%

Spec Reference:

Description

it seems orcania has a strange build failure on raspbian 9, but it works on debian 9:

https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/orcania/Raspbian_9.0/armv7l

[  104s] [176/225] installing libtimedate-perl-2.3000-2
[  104s] Processing triggers for man-db (2.7.6.1-2) ...
[  105s] [177/225] installing raspbian-archive-keyring-20120528.2
[  105s] /var/lib/dpkg/info/raspbian-archive-keyring.postinst: 8: /var/lib/dpkg/info/raspbian-archive-keyring.postinst: apt-key: not found
[  105s] dpkg: error processing package raspbian-archive-keyring (--install):
[  105s]  subprocess installed post-installation script returned error exit status 127
[  105s] Errors were encountered while processing:
[  105s]  raspbian-archive-keyring
[  105s] exit ...

I've reported this to OBS, see https://lists.opensuse.org/opensuse-buildservice/2019-04/msg00016.html

Actions #1

Updated by laforge about 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
From: Marcus Hüwe <suse-tux@gmx.de>
To: opensuse-buildservice@opensuse.org
Subject: Re: [opensuse-buildservice] Trouble with Raspbian: "apt-key not found" during init_buildsystem

When the build chroot is set up the deps are ordered (that is, if package A
requires/depends on package B, B is (usually) installed before A). There
seems to be a "bug" in the raspbian-archive-keyring package: it uses
"apt-key" in its postinst script, but lacks a "Depends: apt" in the control
file.
As a workaround, you can add the following line to your prjconf (for instance,
via osc meta prjconf -e network:osmocom:nightly):

Order: apt:raspbian-archive-keyring

which makes sure that apt is installed before raspbian-archive-keyring.

Which is what I'm trying now.

Actions #2

Updated by laforge about 5 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100

workaround works, we do have raspbian packages now.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)