Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 9386F225A94 for <~alpine/users@lists.alpinelinux.org>; Sun, 2 Feb 2025 08:11:28 +0000 (UTC) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-38c5ba0be37so141485f8f.2 for <~alpine/users@lists.alpinelinux.org>; Sun, 02 Feb 2025 00:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738483886; x=1739088686; darn=lists.alpinelinux.org; h=content-transfer-encoding:mime-version:references:in-reply-to :organization:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=BamEHf1iDsj5hTl+2el2pV+zMeCyfdWy4vc9xvJ0upw=; b=H2y0xcS5iYAphy0vvWOxX40siidWerExlSGfouKf04DexAqiA4nFJ0Zg/UvYnPk+tL pPJVSOdm8rmXSOKyaZKaAXsUcvohwui4H+8+Ny+bc7f+T/Sk7//oyyA4/dj92iBtsG0X z5hHqTMu3LGmHEe9HaxtiQuhm32ej4aQTOrdZdL2L82HJZCDmHTJfHTuoSugPkEYLxpL aCCtcYUXSvsq65qVjzhzLMQjtLRvNrD/lFku8L7r7Ru9APoP1DtV6myeuCLPxeY53mZL mfgqbvWRJDrqxRjUysGk1aRbhmq3voPxg4nOXerKUxWCq1B/nPEk6/ZIWNUuwsVuRHOS 3zrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738483886; x=1739088686; h=content-transfer-encoding:mime-version:references:in-reply-to :organization:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BamEHf1iDsj5hTl+2el2pV+zMeCyfdWy4vc9xvJ0upw=; b=PZITIySo5+x8TTmms/kwWozeuP1z9gtCWKYSkva8tw5mFOkQA8ipdViF99xjLg6aJB B3p0NWOcN1qXCtYOS+6Cvjq1KHOozUgmm0YXRQLqgo84uQJoKakKCqZjaDUKoSc9kKQy kTVaezcEXazInCZih8bpfUxtRPm2QC5PLXGSSQs2VlxwVuayC/b+RkCZfLEnO3dtLDHt m2gQWHerj1ibwSQn2I8lHN/297UM57wUs2C/TVHVau/61riaJfsL4nQDZ8kpwwpVYolF qP7tggi2n2YNwp0QyDDPtkf0pa1norasBTym3bOdSsAaSKkKy2RDHuvKLZVgwGEO5GKW cjCA== X-Gm-Message-State: AOJu0Yzsjrqv8X9fCVnubuWz02wEgaDayYrFvATzqSarndtrizwZ5oFU EYKUguT4sFag4QkSZ4Rc40M7/7Q2HNRxKUb/F4wIrjpY+N/StlM0X/bJFQ== X-Gm-Gg: ASbGncssEm3KacORkCs6sXSOAXC/XCefB/3HFmVnYFO54BL6d+DoRdlBfRZejmj/59U IBrEOH1qTEuUVoK2XOpDRK7eN7Y1j+hSkYzXIUWaRoIUxk6sxcczYDhRBVmw828iRyJ+bbsLSC4 QTlkqkOt82g4tOlRwZVT6lD2bYWtJkArGoOfVhRD1xAqcMyb16Vl8yCxuNeNrMBqrkWSRea99bd +GIUW5zr8Q3eH9c1OwvePhJMijBQBj9W66j0nz4zUpXkS0cKJn8h8th6NabRl5t1UH5bS4aCL+/ dh9w9VzKLZdMR52FdciKOMFy3Xjlym13 X-Google-Smtp-Source: AGHT+IHxwL9amlZEunnmav0pHGfVfUri/zf4Y6RRz6RxBYJYqiXeyFOJ2YZARja5zKqmxWsqG+/4SQ== X-Received: by 2002:a5d:5986:0:b0:38b:ef22:d8d2 with SMTP id ffacd0b85a97d-38c520a3383mr5187777f8f.12.1738483885802; Sun, 02 Feb 2025 00:11:25 -0800 (PST) Received: from cloud.fritzweb.at (cloud.fritzweb.at. [37.252.189.50]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c5c0ec7e6sm9476849f8f.19.2025.02.02.00.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2025 00:11:25 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by cloud.fritzweb.at (Postfix) with ESMTP id 60177800A65; Sun, 2 Feb 2025 09:11:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cloud.fritzweb.at Received: from cloud.fritzweb.at ([IPv6:::1]) by localhost (cloud.fritzweb.at [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id ttJWTQ_tRJDJ; Sun, 2 Feb 2025 09:11:23 +0100 (CET) Received: from ntb-norbert.localnet (unknown [62.93.118.77]) by cloud.fritzweb.at (Postfix) with ESMTPSA id 59827800B1A; Sun, 2 Feb 2025 09:11:23 +0100 (CET) From: MBB To: ~alpine/users@lists.alpinelinux.org, Sertonix Subject: Re: Diskless systems do not boot with latest apk versions from cache Date: Sun, 02 Feb 2025 09:11:22 +0100 Message-ID: <2324387.irdbgypaU6@ntb-norbert> Organization: Private In-Reply-To: <2700244.k3LOHGUjKi@ntb-norbert> References: <9410103.CDJkKcVGEf@ntb-norbert> <2700244.k3LOHGUjKi@ntb-norbert> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Samstag, 1. Februar 2025, 14:39:34 Mitteleurop=C3=A4ische Normalzeit sch= rieb MBB: > Am Samstag, 1. Februar 2025, 13:12:29 Mitteleurop=C3=A4ische Normalzeit s= chrieb Sertonix: > > On Sat Feb 1, 2025 at 9:24 AM CET, MBB wrote: > > > Hi all! > > > > > > I have 3 Raspberry Pis, different PI versions and different Alpine ve= rsions (3.18.9, 3.19.1, 3.19.4). > > > > > > All have the same issue.=20 > > > > > > I'm doing:=20 > > > apk update; apk upgrade > > > > > > Checking the version of an upgraded binary before reboot, e.g. named,= looks ok. > > > > > > After reboot, it loads an old version even though a newer package is = available in cache. > > > > > > gate [/etc/apk]$ ls -al cache > > > lrwxrwxrwx 1 root root 22 Feb 1 08:50 cache -> /me= dia/mmcblk0p1/cache > > > > > > gate [/etc/apk/cache]$ ls -altr bind-9* > > > -rwxr-xr-x 1 root root 207297 Mar 15 2024 bind-9.18.24= =2Dr1.5aca84cc.apk > > > -rwxr-xr-x 1 root root 208996 Dec 17 16:37 bind-9.18.32= =2Dr0.1254446d.apk > > > -rwxr-xr-x 1 root root 209078 Jan 29 19:44 bind-9.18.33= =2Dr0.b6697cb2.apk > > > > > > gate [/etc/apk/cache]$ named -V > > > BIND 9.18.32 (Extended Support Version) > > > running on Linux armv7l 6.6.14-0-rpi #1-Alpine SMP Fri Jan 26 13:40:4= 7 UTC 2024 > > > > > > Is there something I'm doing wrong? > >=20 > > It looks correct what you are doing. Could you try if running this > > commands returns any error? > >=20 > > $ apk --simulate add bind=3D9.18.33-r0 --no-network >=20 > No errors with this command. >=20 > *gate [*~*]$ *doas apk --simulate add bind=3D9.18.33-r0 --no-network=20 > doas (norbert@gate) password: =20 > (1/5) Upgrading bind-libs (9.18.32-r0 -> 9.18.33-r0)=20 > (2/5) Upgrading bind-tools (9.18.32-r0 -> 9.18.33-r0)=20 > (3/5) Upgrading bind-dnssec-root (9.18.32-r0 -> 9.18.33-r0)=20 > (4/5) Upgrading bind (9.18.32-r0 -> 9.18.33-r0)=20 > (5/5) Upgrading bind-openrc (9.18.32-r0 -> 9.18.33-r0)=20 > OK: 157 MiB in 215 packages I removed all outdated bind packages from the cache with the result, that b= ind is no longer available after reboot. After moving the bind*9.18.32-r0*.apk files back into the cache directory, = the service gets restored and starts up without issues after reboot. It seems that something's pointing to a specific version. > >=20 > > > BR > > > Norbert > >=20 > >=20 >=20 >=20