Debian Package Update Issues on VisionFive 2

Hi,

I have installed the latest Debian on my VisionFive 2 board using the link.

When I try to update the apt package list using the command below, I encounter some errors and warnings:

user@starfive:~$ sudo apt update
[sudo] password for user:
Hit:1 https://snapshot.debian.org/archive/debian-ports/20221225T084846Z unstable InRelease
Err:1 https://snapshot.debian.org/archive/debian-ports/20221225T084846Z unstable InRelease
  The following signatures were invalid: EXPKEYSIG E852514F5DF312F6 Debian Ports Archive Automatic Signing Key (2022) ftpmaster@ports-master.debian.org
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://snapshot.debian.org/archive/debian-ports/20221225T084846Z unstable InRelease: The following signatures were invalid: EXPKEYSIG E852514F5DF312F6 Debian Ports Archive Automatic Signing Key (2022) ftpmaster@ports-master.debian.org
W: Failed to fetch https://snapshot.debian.org/archive/debian-ports/20221225T084846Z/dists/unstable/InRelease  The following signatures were invalid: EXPKEYSIG E852514F5DF312F6 Debian Ports Archive Automatic Signing Key (2022) ftpmaster@ports-master.debian.org
W: Some index files failed to download. They have been ignored, or old ones used instead.

I checked the below apt URL, which is unstable release:

$ cat /etc/apt/sources.list
deb https://snapshot.debian.org/archive/debian-ports/20221225T084846Z unstable main

I updated the URL to:

deb https://deb.debian.org/debian unstable main

After making this change, the update works fine without any errors.

My questions are:

  1. Can I safely ignore the errors and warnings I received from the previous URL?
  2. Is it recommended to use the https://deb.debian.org/debian URL instead?
  3. Is the StarFive team planning to update the URLs properly in the official sources in the future?

Thank you for your assistance!

1 Like

The upgrade guide and readme are very clear that you cannot update the official releases.

The answer to all your questions is ‘No’, If you try to run any form of update you will fatally break the GUI (Wayland, video playback, etc), and need to reinstall from scratch to get it working again.

2 Likes

" I updated the URL to:

deb Index of /debian unstable main
After making this change, the update works fine without any errors."
unstable, You will find that there are errors,Suggest cautious changes。

I have gone further than you。
deb https://deb.debian.org/debian sid main
So I know there will be mistakes

Debian for riscv64,No stable version has been released。

2 Likes

‘you will fatally break the GUI (Wayland, video playback, etc)’
NO GPU, Can use Wayland 、video playback。 wayland – sway、labwc。video playback – CPU decoding。



3 Likes