When running this:-
sudo apt-get update && sudo apt-get dist-upgrade
I get this:-
Ign:2 http://ftp.debian.org/debian stretch InRelease
Get:3 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://ftp.debian.org/debian stretch Release
Get:6 http://security.debian.org stretch/updates InRelease [94.3 kB]
Hit:7 http://repo.mosquitto.org/debian jessie InRelease
Hit:1 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Hit:8 https://deb.nodesource.com/node_8.x stretch InRelease
Fetched 185 kB in 7s (25.9 kB/s)
Reading package lists⦠Done
N: Skipping acquire of configured file āmain/binary-arm64/Packagesā as repository āhttp://repo.mosquitto.org/debian jessie InReleaseā doesnāt support architecture āarm64ā
Reading package lists⦠Done
Building dependency tree
Reading state information⦠Done
Calculating upgrade⦠Done
How do I fix the duff repository message?
By removing the repository you added.
I didnāt add it I guess something Iāve installed added it.
What do I need to change it to make it work effectively then.
I have some doubts about that. Assuming you followed the installation instructions from their webpage the following command would remove the repository.
sudo rm /etc/apt/sources/list.d/mosquitto-jessie.list
or
sudo rm /etc/apt/sources.list.d/mosquitto-jessie.list
I think for some power meters I installed mqtt mosquitto to pick the info up.
Iām guessing what youāve suggested will just remove the ability to update this so wondering how I fix it properly rather than just remove the check.
apt-cache policy mosquito
gets me:-
mosquitto:
Installed: 1.4.10-3+deb9u1
Candidate: 1.6.7-0mosquitto1~jessie1
Version table:
1.6.7-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.6.6-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.6.4-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.6.3-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.6.2-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.6.1-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.8-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.6-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.5-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.4-0mosquitto2~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.4-0mosquitto1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.4-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5.3-0mosquitto1~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.5-0mosquitto2~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.4.15-0mosquitto4~jessie1 500
500 http://repo.mosquitto.org/debian jessie/main armhf Packages
1.4.10-3+deb9u4 500
500 http://ftp.debian.org/debian stretch/main armhf Packages
500 http://security.debian.org stretch/updates/main armhf Packages
*** 1.4.10-3+deb9u1 100
100 /var/lib/dpkg/status
Isnāt osmc, stretch and does that mean the highest version is what Iām on?
I believe this command installs it
sudo apt-get install mosquito
But that errors also.
Reading package lists⦠Done
Building dependency tree
Reading state information⦠Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mosquitto : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
If you go to the repo and look at the readme file you will see that āmosquitto-jessie.listā is listed as being used for both the jessie and stretch repo. This may just be a typo as is the /etc/apt/sources/list.d/
which should be /etc/apt/sources.list.d/
. Either way you need to go to the `/etc/apt/ folder and find where the repoās were put in and take them away. You would be getting rid of the repo itself so it stops trying to install from there. It doesnāt seem like the correct repo was ever put in so there should be no software that was installed to have to also take away.
Sounded back to front removing it but seems better now.
Doesnāt complain on update and apt-cache policy mosquitto implies at latest version.
Thanks all 
Iām afraid the readme.txt that @darwindesign mentioned is a bit messed up. As already noted, the directory location is incorrect but the file name is not important, as long as it ends with .list
.
Long story short, you can edit the file so it reads:
deb https://repo.mosquitto.org/debian stretch main
and you should then be able to update to the āstretchā version next time an update appears. (I checked the repo and the jessie and stretch versions do seem to differ.)
So I added a file /etc/apt/sources.list.d/mosquitto-stretch.list with what you suggested deb https://repo.mosquitto.org/debian stretch main
and now I get:-
osmc@Vero4K:/etc/apt/sources.list.d$ sudo apt-get update && sudo apt-get dist-upgrade
Ign:1 http://ftp.debian.org/debian stretch InRelease
Get:2 http://security.debian.org stretch/updates InRelease [94.3 kB]
Get:3 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:5 http://ftp.debian.org/debian stretch Release
Hit:4 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Hit:6 https://deb.nodesource.com/node_8.x stretch InRelease
Get:7 https://repo.mosquitto.org/debian stretch InRelease [11.0 kB]
Get:9 https://repo.mosquitto.org/debian stretch/main all Packages [3215 B]
Get:10 https://repo.mosquitto.org/debian stretch/main armhf Packages [26.1 kB]
Fetched 226 kB in 3s (74.6 kB/s)
Reading package lists⦠Done
N: Skipping acquire of configured file āmain/binary-arm64/Packagesā as repository āhttps://repo.mosquitto.org/debian stretch InReleaseā doesnāt support architecture āarm64ā
Reading package lists⦠Done
Building dependency tree
Reading state information⦠Done
Calculating upgrade⦠Done
The following package was automatically installed and is no longer required:
libc-ares2
Use āsudo apt autoremoveā to remove it.
The following packages will be upgraded:
libmosquitto1 mosquitto mosquitto-clients
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 334 kB of archives.
After this operation, 201 kB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
So it complains now but finds newer stuffā¦
Havenāt upgraded as the MQTT mosquitto stuff is used to grab by power meter devices.
FYI, the N: Skipping acquire of configured file...
message is for information only.
It occurs because the Veo4K/+ uses two architectures: armhf
for user-space programs and arm64
for the kernel. The Mosquitto repo doesnāt contain anything for the arm64 architecture, so itās just notifying you of this fact. (Raspberry pi users wonāt see such a message.)
The message can be suppressed by specifying that APT should look only for armhf packages on the Mosquitto repo:
deb [arch=armhf] https://repo.mosquitto.org/debian stretch main
2 Likes
Thanks think that got us there, no errors on update and mosquito updated ok 