Getting mender-client 3.5.2 instead of the newly stable 4.0.0 until breaking rename changes are handled

Hi,

looking at my logs it seems like apt install mender-client from the stable ubuntu repo

deb [arch=arm64, signed-by=/usr/share/keyrings/downloads-mender-io.gpg] https://downloads.mender.io/repos/debian ubuntu/focal/stable main

it looks like the package is empty:

dpkg -c mender-client_4.0.0-1+ubuntu+focal_amd64.deb                                                                                                                           12:59:29
drwxr-xr-x root/root         0 2024-01-15 16:01 ./
drwxr-xr-x root/root         0 2024-01-15 16:01 ./usr/
drwxr-xr-x root/root         0 2024-01-15 16:01 ./usr/share/
drwxr-xr-x root/root         0 2024-01-15 16:01 ./usr/share/doc/
drwxr-xr-x root/root         0 2024-01-15 16:01 ./usr/share/doc/mender-client/
-rw-r--r-- root/root       171 2024-01-15 16:01 ./usr/share/doc/mender-client/changelog.Debian.gz
-rw-r--r-- root/root     10351 2024-01-15 16:01 ./usr/share/doc/mender-client/copyright

from my logs it seems the bump 3.5.2→4.0.0 was in the last 3 days.

iiuc the systemd service mender-client is now mender-updated and the cli mender is now mender-update. and mender-updated is a dependency of mender-client, so apt package wise that’s a nice transition, but it broke everything on my end that relies on calling the cli tool, interacts with the systemd unit through systemctl or relies on the paths of the systemd service files.

To buy me some time to absorb that breaking change, i tried to pin the version in my image generation by changing apt-get install mender-client to apt-get install mender-client=3.5.2 buuuuut that version doesn’t appear to be in the apt repository anymore.

Do you have an alternative apt url with the 3.x version of mender client? (or alternatively the old .deb file for 3.5.2 on arm64 as download?)

Hi @pseyfert,

We are aware of the problems with the Debian repositories and working on a fix. In the meantime, you can pull the deb packages manually. The generic path is:

wget https://downloads.mender.io/repos/debian/pool/main/m/mender-client/mender-client_3.5.2-1+DIST+NAME_ARCH.deb

So for arm64, you can call

wget https://downloads.mender.io/repos/debian/pool/main/m/mender-client/mender-client_3.5.2-1+ubuntu+focal_arm64.deb

Sorry for the inconvenience!

Greets,
Josef

1 Like

@pseyfert

Please see Update and statement on the Mender Client 4.0 Debian package incident for more details.

1 Like