Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id DE994225974 for <~alpine/users@lists.alpinelinux.org>; Sat, 1 Feb 2025 13:39:39 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4363299010dso3642565e9.1 for <~alpine/users@lists.alpinelinux.org>; Sat, 01 Feb 2025 05:39:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738417178; x=1739021978; 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=95N5MyhRSL0nrk/GPeXtgdhLigOMCC4riHr94ZzAm2Q=; b=CubHK1uj9f1FVK5DbQ4qLQt5o9AU3wQrdUYLi4ro56XvfKQNx8CyDdA1TNJ0DZU97b XvR+HFN5izmrnRQURRIQfeKzSkDkIMxnT8UXlbtMpMV3UAJKvJ2xEqh/ToZX7FBARxoT G8afroeblc/rUoj1xMi/TYVAX9P+mrVME1a7EoQ5GfESsnT4oQmursCZiSHfr9EUd+TU LjwJXxNeawogVmIQ8bYsExfk17C5HoEfMAxwdVWJu3zMikX6O9j84KftjC7IlCKJaNJL Z4dAZCUG64SCxT6JIMGOmak452guICpWmnGop7Yu5E1UPfwrIJS+QRHmwhFrn7o8ibh8 pwyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738417178; x=1739021978; 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=95N5MyhRSL0nrk/GPeXtgdhLigOMCC4riHr94ZzAm2Q=; b=RFclIrwRbOxZsVGgsKaOuYut8zE6tFmBmmC62SOXncYJRJ86FkPi2MQjXSvSj5dxky vsWvKzAfeOlc/kPOLS/2UZL/OzIv+T6VZ7l/mBlrJeXJCafZ/KuxRB6Nh8NTCGSZw0L2 H2ry3ABNywIXrs2CRSPUWXfAX88dhoBaaiN9NFqzXr1pU+nxGkXRYOiso0i+z12kJ0h3 n/QN6R9SsKvjBrsEcexJ/lchfsG50RjYWxDiXNBjU7cL7ZiNt5c2F+HKU5ONMj9xq6qa fYWqXWzd01XQzj2U3/De03YDxk5oj/gFtLFllOoiSNBxlpZ3XHBGe4i/pgNgSrOyaGVB T1IA== X-Gm-Message-State: AOJu0YyLQMTX1BvNYyQYZLCAvRt+IaHMiV9llzBqYNUEPZ1SX9k/mQmE wUeUz8yRXwCOmlshZAyewYbpDiDQldtPewJ4DzXFKB1uLppskVkSYe522g== X-Gm-Gg: ASbGncso2PQVN+2n4m9xbGFalBKfdZi4tmFXGBNikVS4hsPf60X0cdcdEnYzpgH4p5x MqrOSY9uO7UJ8bQ61fYxjNcqRlMLRHJ8RUpFh9IZ+djY45Wc/R+x1Gp739voRQLffMBPWEm+FIw 2vUMaQ50P9erVv93YzWBbjqJmKJKYyWyWXA03nA+P5Zx2mMEteIzVMXrx/EG92ekdbAp3AwIVLq 9Oc5XlKFHkyf+4NHrmcb0lDFS01P9WnOkoKHDKIvK+3cexHNpPnlEdVt7h2Kia7TCSOtceKdo+U wwBoIkxnVFN6d1hT71DG5siFbTcSANiO X-Google-Smtp-Source: AGHT+IFsZIo36lIWjYilmmNJeqLqPrLIjijwOkFOF1lj5diuw5BfftmDKaFcjthpusFSshImxqnKGg== X-Received: by 2002:a05:600c:3ca4:b0:434:a339:ec67 with SMTP id 5b1f17b1804b1-438dc3fbeb7mr51646645e9.3.1738417177776; Sat, 01 Feb 2025 05:39:37 -0800 (PST) Received: from cloud.fritzweb.at (cloud.fritzweb.at. [37.252.189.50]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438e23de772sm87229045e9.13.2025.02.01.05.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Feb 2025 05:39:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by cloud.fritzweb.at (Postfix) with ESMTP id C1D7D800A65; Sat, 1 Feb 2025 14:39:36 +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 H06fcqHB9ZVo; Sat, 1 Feb 2025 14:39:35 +0100 (CET) Received: from ntb-norbert.localnet (unknown [62.93.118.77]) by cloud.fritzweb.at (Postfix) with ESMTPSA id 6D5C9800B1A; Sat, 1 Feb 2025 14:39:35 +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: Sat, 01 Feb 2025 14:39:34 +0100 Message-ID: <2700244.k3LOHGUjKi@ntb-norbert> Organization: Private In-Reply-To: References: <9410103.CDJkKcVGEf@ntb-norbert> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart2159550.bB369e8A3T" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart2159550.bB369e8A3T Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Samstag, 1. Februar 2025, 13:12:29 Mitteleurop=C3=A4ische Normalzeit sch= rieb 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 vers= ions (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, l= ooks ok. > > > > After reboot, it loads an old version even though a newer package is av= ailable in cache. > > > > gate [/etc/apk]$ ls -al cache > > lrwxrwxrwx 1 root root 22 Feb 1 08:50 cache -> /medi= a/mmcblk0p1/cache > > > > gate [/etc/apk/cache]$ ls -altr bind-9* > > -rwxr-xr-x 1 root root 207297 Mar 15 2024 bind-9.18.24-r= 1.5aca84cc.apk > > -rwxr-xr-x 1 root root 208996 Dec 17 16:37 bind-9.18.32-r= 0.1254446d.apk > > -rwxr-xr-x 1 root root 209078 Jan 29 19:44 bind-9.18.33-r= 0.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:47 = 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 No errors with this command. *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 >=20 > > BR > > Norbert >=20 >=20 --nextPart2159550.bB369e8A3T Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Am Samstag, 1. Februar 2025, 13:12:29 Mitteleurop=C3=A4ische Normalzeit = schrieb 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 v= ersions (3.18.9, 3.19.1, 3.19.4).

>= ; >

>= ; > All have the same issue.

>= ; >

>= ; > I'm doing:

>= ; > 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&nbs= p;           22 Feb = 1 08:50 cache -> /media/mmcblk0p1/cache

>= ; >

>= ; > gate [/etc/apk/cache]$ ls -altr bind-9*

>= ; > -rwxr-xr-x    1 root     root&nbs= p;       207297 Mar 15  2024 bind-9.18.2= 4-r1.5aca84cc.apk

>= ; > -rwxr-xr-x    1 root     root&nbs= p;       208996 Dec 17 16:37 bind-9.18.32-r0.= 1254446d.apk

>= ; > -rwxr-xr-x    1 root     root&nbs= p;       209078 Jan 29 19:44 bind-9.18.33-r0.= b6697cb2.apk

>= ; >

>= ; > gate [/etc/apk/cache]$ named -V

>= ; > BIND 9.18.32 (Extended Support Version) <id:d1f1392>

>= ; > running on Linux armv7l 6.6.14-0-rpi #1-Alpine SMP Fri Jan 26 13:40:= 47 UTC 2024

>= ; >

>= ; > Is there something I'm doing wrong?

>= ;

>= ; It looks correct what you are doing. Could you try if running this

>= ; commands returns any error?

>= ;

>= ; $ apk --simulate add bind=3D9.18.33-r0 --no-network


No errors with this command.


gate [~]$= doas apk --simulate add bin= d=3D9.18.33-r0 --no-network
doas (norbert@gate) = password: =C2=A0
(1/5) Upgrading bind-libs (9.18.32-r0 -> 9.18.33-r= 0)
(2/5) Upgrading bind-tools (9.18.32-r0 -> 9.18.33-r0)
(3/= 5) Upgrading bind-dnssec-root (9.18.32-r0 -> 9.18.33-r0)
(4/5) Upg= rading bind (9.18.32-r0 -> 9.18.33-r0)
(5/5) Upgrading bind-openrc= (9.18.32-r0 -> 9.18.33-r0)
OK: 157 MiB in 215 packages

>= ;

>= ; > BR

>= ; > Norbert

>= ;

>= ;


--nextPart2159550.bB369e8A3T--