While routinely upgrading my RPi, I’ve been seeing the following extraneous PiAware files displayed. How can they be safely corrected or removed?
W: Target Packages (piaware/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/piaware-buster.list:1 and /etc/apt/sources.list.d/piaware.list:1
W: Target Packages (piaware/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/piaware-buster.list:1 and /etc/apt/sources.list.d/piaware.list:1
W: Target Translations (piaware/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/piaware-buster.list:1 and /etc/apt/sources.list.d/piaware.list:1
W: Target Translations (piaware/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/piaware-buster.list:1 and /etc/apt/sources.list.d/piaware.list:1
W: Target Translations (piaware/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list.d/piaware-buster.list:1 and /etc/apt/sources.list.d/piaware.list:1
I don’t suggest that others should do it, but my way to upgrade is to re-image with latest Piaware SD card image, OR to re-image with latest Raspberry PI OS + package install of latest versions of all feeders and graph. I always use a SPARE microSD card for re-imaging, leaving existing microSD card intact, till I run the fresh install for few days and am satisfied it is working OK.
Of course above method is unpractical for RPi at a remote or hard to access location.
I too was having this happen and have since removed piaware.list. Thanks for the answer. I have also noticed that in my /etc/apt/sources.list.d folder that I have piaware-buster.list and piaware-stretch.list. Since I am running buster, is it safe to remove piaware-stretch.list?