New Apt Update warnings (skipping acquire of configured file...)

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | 9.6.1
  • Distro version | bookworm
  • Kernel version | Linux rockpi 6.6.32-current-rockchip64 #1 SMP PREEMPT Sat May 25 14:22:56 UTC 2024 aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | ROCK 4 (aarch64)
  • Power supply used | (12V 2.5A USB-C)
  • SD card used | (EMMC)

Additional Information (if applicable)

  • Can this issue be replicated on a fresh installation of DietPi? (it is occurring on 2 instances on identical hardware).

Steps to reproduce

  1. run apt update
  2. see warnings

Behaviour

root@rockpi:/home/dietpi/owntone-server# dietpi-update

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[  OK  ] DietPi-Update | Checking IPv4 network connectivity
[  OK  ] DietPi-Update | Checking DNS resolver
[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/master/.update/version
[  OK  ] DietPi-Update | Got valid latest version: 9.6.1
[  OK  ] DietPi-Update | No update required, your DietPi installation is already up to date:
[ INFO ] DietPi-Update | Current version : v9.6.1
[ INFO ] DietPi-Update | Latest version  : v9.6.1
[ INFO ] DietPi-Update | Checking for new available live patches
[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 https://downloads.plex.tv/repo/deb public InRelease
Hit:3 https://deb.debian.org/debian bookworm InRelease
Hit:4 https://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://dietpi.com/apt bookworm InRelease
Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 https://dietpi.com/apt all InRelease
Hit:8 https://deb.debian.org/debian bookworm-backports InRelease
Hit:2 https://packagecloud.io/ookla/speedtest-cli/debian bookworm InRelease
Hit:9 https://dist.teamxlink.co.uk/linux/debian/static/deb/release  InRelease
Reading package lists...
W: Skipping acquire of configured file 'rockpi/4b/binary-all/Packages' as repository 'https://dietpi.com/apt all InRelease' doesn't have the component 'rockpi/4b' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'rockpi/4b/binary-arm64/Packages' as repository 'https://dietpi.com/apt all InRelease' doesn't have the component 'rockpi/4b' (component misspelt in sources.list?)

I’ve not seen these warnings before and am thinking they appeared after a recent dietpi-update. I’m not finding anything on Google and would appreciate any insights.

I can see the same behaviour on mine.

Something @MichaIng would need to have a look into. Should not be critical as it’s a warning only.

I suspect that there is some mismatch in the repository (Index of /apt/dists/all/rock4) and the line in apt deb https://dietpi.com/apt all rockpi/4b
It seems to be fixed when using deb https://dietpi.com/apt all rock4 instead.

something @MichaIng need to check

Thanks for your report. A bug our end, here is the fix: v9.8 Β· MichaIng/DietPi@988c198 Β· GitHub

For everyone else with ROCK 4 who faces the issue, run this little script to fix it, or wait until next DietPi update.

if dpkg-query -s 'linux-u-boot-rockpi-4b-current' &> /dev/null
then
	all_components='rock4'

elif dpkg-query -s 'linux-u-boot-rock-4se-current' &> /dev/null
then
	all_components='rock4se'

elif dpkg-query -s 'linux-u-boot-rockpi-4cplus-current' &> /dev/null
then
	all_components='rock4cplus'
fi
sudo sed -i '\|^deb https://dietpi.com/apt all |d' /etc/apt/sources.list.d/dietpi.list
echo "deb https://dietpi.com/apt all $all_components" | sudo tee -a /etc/apt/sources.list.d/dietpi.list
1 Like