Using private apt-repositories

11 views
Skip to first unread message

Ulrich Teichert

unread,
Apr 23, 2026, 5:11:34 AM (6 days ago) Apr 23
to isar-users
Hi,

I'm in the process of moving our image generation from ELBE to Isar - and of course
I'm running into unforseen situations ;-)

ELBE relies on apt-repositories where already build packages are stored, ready for
installation on the target, therefore we have all our custom stuff already build and
available as Debian packages and I surely do not want to rebuild these packages in
Isar.

So, I added an extra layer and appended a sources list file to DISTRO_APT_SOURCES,
pointing to our local apt-repository (aptly) and added one of our locally hosted
packages to IMAGE_INSTALL. This somewhat naive approach backfired immediatetly
when trying to build an image:

ERROR: Nothing PROVIDES 'XXXX' (but mc:qemuarm64-trixie:/home/isar/isar-image/isar/meta-isar/recipes-core/images/isar-image-base.bb DEPENDS on or otherwise requires it

where XXXX is the locally hosted package name.

This is probably expected behaviour, I assume. What would be the best way to tackle that?
Overwriting the part of the Isar-bootstrapping where the package lists are build?
Defining another list of packages to be installed after bootstrapping is complete?
I'd like to avoid adding recipies for every local package,

thanks in advance for every suggestion,
Uli

Anton Mikanovich

unread,
Apr 23, 2026, 5:27:01 AM (6 days ago) Apr 23
to isar-...@googlegroups.com, Ulrich Teichert
Hello Ulrich,

IMAGE_INSTALL variable is used for recipe dependency, those recipes will be
built and debs with those names will be installed.
What you are trying to achieve should be done with IMAGE_PREINSTALL
variable,
it will just install the deb.
> --
> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to isar-users+...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/isar-users/acd50625-b3eb-491e-9173-57ca254f80d2n%40googlegroups.com
> <https://groups.google.com/d/msgid/isar-users/acd50625-b3eb-491e-9173-57ca254f80d2n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Ulrich Teichert

unread,
Apr 23, 2026, 5:37:16 AM (6 days ago) Apr 23
to Anton Mikanovich, isar-...@googlegroups.com

Hi,


thanks Anton, you nailed it!


CU,
Uli
Mit freundlichen Grüßen / Best regards 

Dipl.-Inform. Ulrich Teichert
Senior Software Developer

Phone → +49 431 375938-0

_____________________________________

e.bs kumkeo

e.bs kumkeo GmbH
Am Kiel-Kanal 1
24106 Kiel, Deutschland

kumkeo.de

Rechnungen bitte an → e.bs kumkeo GmbH, Heidenkampsweg 82a, 20097 Hamburg 

Geschäftsführer → Michael Leitner, Günter Hagspiel
Registergericht → Amtsgericht Hamburg
Registernummer → HRB 187712
USt-Idnr. → DE449906070


Von: Anton Mikanovich <ami...@ilbers.de>
Gesendet: Donnerstag, 23. April 2026 11:26
An: isar-...@googlegroups.com; Ulrich Teichert
Betreff: [Extern] Re: Using private apt-repositories
 
WARNUNG WARNUNG WARNUNG - Diese Mail stammt von einem externen Absender. Bitte öffnet Anhänge und nutzt Links nur dann, wenn Ihr sicher seid oder auf anderem Wege, wie z.B. telefonisch nachgefragt habt, dass der Inhalt vom Absender stammt und dieser vertrauenswürdig ist. Sollte diese Mail von einem Kollegen oder Vorgesetzten stammen, handelt es sich vermutlich um einen Phishing Versuch, da nicht das Firmen-Mailkonto genutzt wurde. - WARNUNG WARNUNG WARNUNG
Reply all
Reply to author
Forward
0 new messages