Update failed because of wrong installation?

I installed grafana new as described here with apt

https://grafana.com/tutorials/install-grafana-on-raspberry-pi/

and saved the lib file as desrcibed here before installation:

(Backup / Restore to new system)

the installation text was this:

$ sudo apt-get install -y grafana
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libva-wayland2 raspinfo
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  grafana
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 80.4 MB of archives.
After this operation, 302 MB of additional disk space will be used.
Get:1 https://packages.grafana.com/oss/deb stable/main arm64 grafana arm64 10.0.2 [80.4 MB]
Fetched 80.4 MB in 7s (11.1 MB/s)                                                                                           
Selecting previously unselected package grafana.
(Reading database ... 109888 files and directories currently installed.)
Preparing to unpack .../grafana_10.0.2_arm64.deb ...
Unpacking grafana (10.0.2) ...
Replaced by files in installed package grafana-rpi:armhf (7.4.3) ...
Setting up grafana (10.0.2) ...
### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
 sudo /bin/systemctl daemon-reload
 sudo /bin/systemctl enable grafana-server
### You can start grafana-server by executing
 sudo /bin/systemctl start grafana-server

no erros, but my grafana is still the old version and the lib file was not changed
I don’t know what to do now ?

apt-cache policy grafana
grafana:
  Installed: 10.0.2
  Candidate: 10.0.2

1 Like