From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7146305980925476864 X-Received: by 2002:a17:903:2104:b0:178:7e81:d6d5 with SMTP id o4-20020a170903210400b001787e81d6d5mr5211521ple.16.1663879021034; Thu, 22 Sep 2022 13:37:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6a00:a1c:b0:542:8e04:f9ce with SMTP id p28-20020a056a000a1c00b005428e04f9cels5773855pfh.11.-pod-prod-gmail; Thu, 22 Sep 2022 13:37:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7HUxAfh5iGp/WbGueohA37yor9rXjDUNJcPPzwFG/Y7x+SdMxPsAM4wB4ZYdgEVgsnJ2j7 X-Received: by 2002:a05:6a00:a22:b0:54e:6a90:fbef with SMTP id p34-20020a056a000a2200b0054e6a90fbefmr5239442pfh.53.1663879020044; Thu, 22 Sep 2022 13:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663879020; cv=none; d=google.com; s=arc-20160816; b=YjbDg/UWjxtVRqFVUIA68A8wJEG1s3uG+95mFzMSxs6i/CgglKuv00csUTNNdirkVv wBuwofviGEiJDB8d9QIQmua6uDMT4YRta765raqSuFv8JJwhfs4vmQjR6Ugyhqk5xwB4 tZg70SzX/n7Ej4GJk41V8b42rWVDiJGCvhAtr1bh/GY12oIrNSeBx1Q9Vupt4bK9ghRg 7+Mzx6oqn4lUN+v1Na8VyLG7zCoYIRKOjyVVPuLYJBvcXZseM9PMmKDwu4Ch8CobxlrN 1X2HFx35W2/bQ1s2HDxVLCtIVTmceYfRpoiw/pDkWTtXVo9xWFo4uymVtKFyIWKI3xZz nLrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=WMqrKQBujyt8I4WUctl+VvAIa5HbbhG4Mxg+JONbpGo=; b=Vs7w5EVDztwoUiRBQM3BCDXfLKChCHR7Ari4UoQR5m6YKPwHk3RsQILwNJr726lE02 JMcWeQ2SF2l1K0ohRAJUbeeOZ0Ux+AoboEt33NgEUtaPKtunaWYyjJfN2bpkQPzKq3mH 89e3sP0dB2oRf8p2hWKx6Plvvkl7mta1+Mm1bw6l6KBu8pGykbd8n0X/jkq7IiYvZQH3 5fi6RuGUhT8FT1D3I10HValF9kWlUAgkRv8gzZboJ7LSiSR11NTHy0nJ9VAcytfMRhFJ yQZd0uVEHq30XVHXfdf3pTz0+dpQIdts2HNrPtVVQEVAnC51UhmFT8lshrRvINmJ4oe8 rDjA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BS1OOTOu; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-il1-x133.google.com (mail-il1-x133.google.com. [2607:f8b0:4864:20::133]) by gmr-mx.google.com with ESMTPS id p12-20020a170902e74c00b0017829f95c9asi204213plf.3.2022.09.22.13.37.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 13:37:00 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) client-ip=2607:f8b0:4864:20::133; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BS1OOTOu; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-il1-x133.google.com with SMTP id g6so5536700ild.6 for ; Thu, 22 Sep 2022 13:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=WMqrKQBujyt8I4WUctl+VvAIa5HbbhG4Mxg+JONbpGo=; b=BS1OOTOuxnOVi3SZfD1EPUMNQ1swHhQR/qAP4gyFu08oN+O8CPQRtb9U18HzijYYOA dlpZvXvqi2oamQLGRLleg7hcVCuoM/uDxFmLxgvIJ1VDsvaw55FQBb+1sttoLrNt2iiG llqM71A49zzY/Z1ScnQN2/hqTXvdWIwoSmuwCZG/ncRB2f3dVj68wjS1+a0o4O15C8I+ MukSoHjV6Lea0bPoEqoUIpt8HaPkKEV41LglzOkC3rFWaMvuL8Rl32ZZN+fjEHgjJbhF WfKl8ACYiSPnrWLGoi4uYtGsje8ZG8vEypNENiGK9rn5LgdCqJKsROYBOTt1T+hxTY6i QdCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=WMqrKQBujyt8I4WUctl+VvAIa5HbbhG4Mxg+JONbpGo=; b=M6N7P3+ai8k7zo5ZjFgri45GuZFC3F6EQCWJ6Jztrpl3d9t9ghPe0+E1vaXfxyStG0 QLZCe+yK1P3cdHwIMdG2LL9fo19qUEDgipPDhBCUsHZouIDqir+xRGuWnTksSm8h4Gsf bd6K829TyBB8E+uuOvLxBiuRp3WTqNU4393hfEym/D/HQ+Q2iyW8PgnjkVdHspW3akLv wQOLjY8br115cFNd52PePomZXQt/EzoF6S7aXDo1sIOt2zAG+82LOGy400xok03RKF3F gmmh293JUHgbTTie5oSGmk0H2fWTO1/g6qs645NeYfSNKVrtQiOvtAYqKv/CfC4/20Ia BH8Q== X-Gm-Message-State: ACrzQf1VMHrgGHWeXDUqOeL1k+MVQQpR3XSgi/4JXVw5QsEJOf9tSXRS 8td6iA5C65skz3rJEkTDRiSB0BDjpXQ4/lG64U+t5FaJdZqY X-Received: by 2002:a05:6e02:1a48:b0:2f3:2e91:b78 with SMTP id u8-20020a056e021a4800b002f32e910b78mr2716706ilv.96.1663879019074; Thu, 22 Sep 2022 13:36:59 -0700 (PDT) MIME-Version: 1.0 From: "Roberto A. Foglietta" Date: Thu, 22 Sep 2022 22:36:22 +0200 Message-ID: Subject: [PATCH 1/1] bugfix: isar-exclude-docs delete man folders but some packages expect that folders To: isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000e19aef05e94a0524" X-TUID: 5XseFiLSaW5q --000000000000e19aef05e94a0524 Content-Type: text/plain; charset="UTF-8" Hi all, bugfix: isar-exclude-docs delete man folders but some packages expect that folders. solution: adopts the same approach used for the doc folder. https://github.com/robang74/isar/commit/c656e6df63aa76701e34d7ee3f99c81e96312b9d diff --git a/meta/recipes-support/isar-exclude-docs/files/postinst b/meta/recipes-support/isar-exclude-docs/files/postinst index d34c04e..581cdc1 100644 --- a/meta/recipes-support/isar-exclude-docs/files/postinst +++ b/meta/recipes-support/isar-exclude-docs/files/postinst @@ -3,5 +3,5 @@ # time and do not need to be "the first" package # what we delete needs to be in sync with the dpkg configuration we ship -rm -rf /usr/share/man/* +find /usr/share/man/ -type f -exec rm -rf {} \; find /usr/share/doc/ -type f ! -name "copyright" ! -name "changelog.*" -exec rm -rf {} \; Here you are the error during the configuration of the package: Setting up openjdk-11-jre-headless:amd64 (11.0.16+8-1~deb11u1) ... update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode update-alternatives: error: error creating symbolic link '/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or directory dpkg: error processing package openjdk-11-jre-headless:amd64 (--configure): installed openjdk-11-jre-headless:amd64 package post-installation script subprocess returned error exit status 2 dpkg: dependency problems prevent configuration of openjdk-11-jre:amd64: openjdk-11-jre:amd64 depends on openjdk-11-jre-headless (= 11.0.16+8-1~deb11u1); however: Package openjdk-11-jre-headless:amd64 is not configured yet. Cheers, R- --000000000000e19aef05e94a0524 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

bugfix: isar-exclude= -docs delete man folders but some packages expect that folders.=C2=A0
=
solution: adopts the same approach used for the doc folder.
<= div>

diff= --git a/meta/recipes-support/isar-exclude-docs/files/postinst b/meta/recip= es-support/isar-exclude-docs/files/postinst
index d34c04e..581cdc1 10064= 4
--- a/meta/recipes-support/isar-exclude-docs/files/postinst
+++ b/m= eta/recipes-support/isar-exclude-docs/files/postinst
@@ -3,5 +3,5 @@
= =C2=A0# time and do not need to be "the first" package
=C2=A0#= what we delete needs to be in sync with the dpkg configuration we ship
= =C2=A0
-rm -rf /usr/share/man/*
+find /usr/share/man/ -type f -exec r= m -rf {} \;
=C2=A0find /usr/share/doc/ -type f ! -name "copyright&q= uot; ! -name "changelog.*" -exec rm -rf {} \;

Here you are= the error during the configuration=C2=A0of the package:

Setting up = openjdk-11-jre-headless:amd64 (11.0.16+8-1~deb11u1) ...
update-alternati= ves: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/= java (java) in auto mode
update-alternatives: error: error creating symb= olic link '/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or= directory
dpkg: error processing package openjdk-11-jre-headless:amd64 = (--configure):
=C2=A0installed openjdk-11-jre-headless:amd64 package pos= t-installation script subprocess returned error exit status 2
dpkg: depe= ndency problems prevent configuration of openjdk-11-jre:amd64:
=C2=A0ope= njdk-11-jre:amd64 depends on openjdk-11-jre-headless (=3D 11.0.16+8-1~deb11= u1); however:
=C2=A0 Package openjdk-11-jre-headless:amd64 is not config= ured yet.

Cheers, R-
--000000000000e19aef05e94a0524--