From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 10 Feb 2025 17:10:07 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f62.google.com (mail-wm1-f62.google.com [209.85.128.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 51AGA65j011877 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 10 Feb 2025 17:10:06 +0100 Received: by mail-wm1-f62.google.com with SMTP id 5b1f17b1804b1-43933eb7f7esf12379795e9.3 for ; Mon, 10 Feb 2025 08:10:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1739203801; cv=pass; d=google.com; s=arc-20240605; b=hCF4ygy57ESiY3cHIaxi6vDfs+7VSkNAhG7EYE7r0N8gaj6K6+kWeNOHUBwAxpC0UV STZnc02m4yuRR/UsDZGcIgYsOs6Ki25BgvFotwWR4VO8v73v5D5n/TemmbD0CcXxhV/e q6BVgthwRt6TWf/36ToNfteIssu1wxXc2Y8LfCzqU6JGKRRuaqccSgE2TJyQMkDermQO lV5NoH0o0e2LdG5f30ZeYs+cSq5o56ehEDKZ8AX+k2nRCDY1kzdoqRYbJZBR0bXrweIz 9uWJ2NjbqrX7S4/HlW99YNbZZK9+rY5liI13NNqPOZo02/AYybzIUxDdl2brutbOtiVY fzBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=MpJ8wnlyx4Ja8HTWUoY9OlPadzW3bubCrr47PmFFZNU=; fh=sg+7/hM40DKSfzBO6S1qSQh+Z98GBctx4fXMqS9WBmg=; b=k91SQmnF6vu2X0tx8aHtPf+VE+w1a2qgfA1OxF7MBr7n2AXIIrtmSKEi8OlIdPWe9J uY0mtpUr0RFLakzrdT4NuGKZJVvA+0ekGUplEkhT2rQhoeequ8mxuIx58cBMKm/b4d2e Ms2g6KoBdPMyaSbSPPBj7B3ksVEJxQ0EO5WSmUfMW1tSOW3GgnraIqJ1fVNZgJLHt9HT fH3F04yJjAx9d79WLaEOI0KGfAXhIkCR8wPM9IZ2Uhw8mQMKH2Tp9wvJ7xWM+Ns5hgkk Wk1KaqFV1sOlUqImxgu8YAawB+b2EkFE1p8QebEA5eL/iPOEts2LkjmvnxzGfotDpWpr 4Gzw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1739203801; x=1739808601; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:in-reply-to:from:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=MpJ8wnlyx4Ja8HTWUoY9OlPadzW3bubCrr47PmFFZNU=; b=RQMbYS2P/t41kueBirLojBPZNbvCJuvnhxhDFn1cDZRnMaZyqVzH2QOwDGD3iCNjPd +4kCdecb4BsT+o6XnIwPluzWRJvVg+tyO+RJtaI8Ye9JtzbjhMpiOwC+RbcKd3HxU4CK cZAgEh8Xrqp+ZefVcFA1Vnb0uSBvxvUSXRSGT0+0qrGDqOJAdSDmMgUsRyjr11PVI00J fC2AeMM2cARyAbjB0hEFqD0I+3gktFOSRAUInBqHN6G1V0lW3Un6AurUxlkD2Gh283jo GYkCsEqyqHaYVeCg1x4rWYTZ1b1K62UFQrh2ZacMkbEyJ9vwVrfrKy7aHnLQ/eCQI22O xg1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739203801; x=1739808601; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:in-reply-to :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:x-beenthere:x-gm-message-state:sender :from:to:cc:subject:date:message-id:reply-to; bh=MpJ8wnlyx4Ja8HTWUoY9OlPadzW3bubCrr47PmFFZNU=; b=N1tK4o1dtHhzf+iNW2njZIWQDyqYhYa+rnc7FLWzhZapN15jtJz0TiqxJRckQGqwFr nCuBHZ/fXZMOwQbFAzZM+KdSFTYgGX+fienfqGvD9w60Bp+hUoyIPWpAeOQucGD0VtNS k92b6Eb5L2Um6Iklz9fWMMI6Qy4QL+FMM20RmXi51rQRiNiydKBag+y4b6nVv/YYOREA dwfB49VdzXS0EfhwoStlcIvzFOoR6uEI+RnbtXI1l2KwRjuZWg4u4vLQJdraQCShCoM+ TFOuQ45fb5IWkW5Wu48bzdiBK+Fy4a8vvjjhSo+gDP52PQ20aYabfdI6SOaceBUafakQ LigA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVytPH7SG0mtIuL6goR8FdxUIxxFiesPDK5TG0zDOqaxWYBQLsXKZxg4teveYrN7xtQwapW@ilbers.de X-Gm-Message-State: AOJu0YzBYfAYfGeJ7OlW6Po5NyrXCX2/PNgeuYiOnTsV+p4tpU4CooEt SePUomlp/odiUq+3mH0CCWZQNzbRjj9nYD5Rt0pP5vFB6pgb9E8W X-Google-Smtp-Source: AGHT+IHjNzMfTUU9kxmOkg/zTucUVDwBSPXze9lHJIzt29onzOMomSyV/jHwgkZ/XVyoTVpn3ay9eg== X-Received: by 2002:a5d:6d8a:0:b0:38d:dfdc:5298 with SMTP id ffacd0b85a97d-38ddfdc5430mr3574424f8f.43.1739203800141; Mon, 10 Feb 2025 08:10:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:a384:0:b0:38d:c2ec:c74a with SMTP id ffacd0b85a97d-38dc70d0d30ls875293f8f.1.-pod-prod-08-eu; Mon, 10 Feb 2025 08:09:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUCMzT+RAcP6lEiQRou8pQwjmLmi40p5g5xMyg+YJwpQE9fbWRH7pXiv7S10zB1QRHKzAxFn350MX9Q@googlegroups.com X-Received: by 2002:a05:6000:4010:b0:38d:be29:fa71 with SMTP id ffacd0b85a97d-38dc8d91f43mr10849405f8f.8.1739203797899; Mon, 10 Feb 2025 08:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739203797; cv=none; d=google.com; s=arc-20240605; b=YhSGvKsMsylAwxElM8qoFfE3JLTU/GJ69hsuojX9KDk6rQMbhZT9DwQvdoas0dHEpo dUOvpIzHClmxSFuihNTNS0rbHf5Zq40YlW6y0KBTWbHnGJ55AyWz57aAIzoK4ItXjGJ/ Iiy3doMM+huumbpSxqxE7hR2zENJVL/QxKgXdzhBaB6oIYfL6YnwxBAoVEATf1Ttbgll 2HnyBRhH/D5u5K4Rs54Wr4FOSB3iIOaQVMo6OtjN1Bz8dEZO8e/WGwa29Wtq/VCwnR6r i5jPoiqmfkJA4I0qqvCAmRbzMHEa+oS3S8MX9ET/L78wRKWzZIsR+u95s+vBZftpOEFI WAdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=GlOSm3O6wh7myhTF2zVj8Q4p1eiIZcQRJ8BNIZ42EOE=; fh=0u/s2Z+/L826+4YAaSHi/681vP1yH9VXcvRbNRXhieY=; b=Hln5bLkOxXDKh/jOHC2tW9gDWLLUQhGHLm17hEB29v9/J/hNuruPi3IC+mT713I71x 3x46fxEA8iU76Ggwe4Jeic0Smld8+oPZ85vv4foMRdR1mjM6NzbJCbrRXv0V8OFM1+Vf WnlOCrU5dP3VBci4CT/i3T6AaeXU+I2Tmg558NM9cdJKVvTCs88VmGMs9L/aE8Qk9nWT jQlhx4LZKx6SzwqNv/eoX4uckFFYSF52QRFZbe3927cqytqg04Gy1W0o1/6Lw8OQJ7LR HeecdLR1FseUvnFGEYIecJhFmdk1wYsfoIT7KDTO8ZuQA6q2IIRa1VzpnRo3dXmGJZSx cQlQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-43907f1b57bsi7151355e9.1.2025.02.10.08.09.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Feb 2025 08:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 51AG9tCt011864 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Feb 2025 17:09:56 +0100 Message-ID: <215cc575-fa4f-45e6-8511-eff4254a4383@ilbers.de> Date: Mon, 10 Feb 2025 18:09:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7] dpkg: Restore support for replacing pre-installed packages in sbuild-chroot To: Jan Kiszka , isar-users@googlegroups.com Cc: Uladzimir Bely , Baurzhan Ismagulov References: <20240127074253.24570-1-ubely@ilbers.de> <0dc61862-8da9-4fa0-a5cd-32b3a2f53262@siemens.com> <321e7729-5785-47d3-bfd5-a5c875010945@siemens.com> <06ec58b8-1322-475b-9849-ce379416bef0@ilbers.de> <9fa19809-92c6-4adb-93cc-2a307943c1bc@siemens.com> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: 8SVEkBJSvTse 10/02/2025 14:02, Jan Kiszka wrote: > Invalid partial rebuild scenario: If you are enforcing a rebuild of the > sbuild-chroot, you also need to wipe all ISAR_REBUILD_ESSENTIAL_PKGS > first. Can you explain what you actually did to trigger this? > > If you sit down for a moment, it should become clear what makes > rebuilding complex when essential packages are replaced: They can become > part of their own sbuild-chroot. > > Simply excluding isar-apt from the sbuild-chroots of essential packages > could help - but only as long as we are not rebuilding a dependency > chain of multiple packages. Granted, the latter is even less likely to > happen than already having to rebuild essential packages. We are going > down the rabbit hole of distro boot strapping here... > > Jan > Ok, it looks like I've found the case that was fixed: If package A (already installed in sbuild-chroot) gets rebuilt with an updated version, package B depends on any version of A (not just =new version like in my case), when B is built, apt would keep the old version of A and not pull the newly built one. The issues were triggered downstream after updating Isar version. I've changed a bbclass and bitbake has failed. As a user, I'd like to be able to perform rebuilds without wiping packages. I'll work on a testcase and a fix for this issue. -- 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+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/215cc575-fa4f-45e6-8511-eff4254a4383%40ilbers.de.