homebridge/homebridge-apt-pkg

Homebridge package missing from recent versions of Debian-like apt repos

jonnyborbs opened this issue · 2 comments

Analysis

Previously to now, you could run a command like apt get homebridge in Debian based OSes (including RPi images like the official Homebridge image)

This no longer seems to be the case. Analyzing the most recent repositories for Buster and Bullseye shows no sign of the Homebridge package, and thus you cannot manually install, upgrade, reinstall, etc.

If this is intentional, can we get some documentation updates and info as to why/what the new package management method is meant to be?

Expected Behavior

Package management commands like apt get homebridge should work

Steps To Reproduce

  1. Log into an official Homebridge RPi image, or really any Debian based variant
  2. Run an apt update
  3. Run an apt list | grep home and observe that no homebridge packages exist
  4. Attempt to run apt get homebridge or similar and notice they fail

Logs

pi@homebridge:~ $ apt list | grep home

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

debian-edu-artwork-homeworld/oldstable 2.11.6-1 all
golang-github-mitchellh-go-homedir-dev/oldstable 1.1.0-1 all
hdhomerun-config/oldstable 20210210-1 armhf
homebank-data/oldstable 5.5.2-1 all
homebank/oldstable 5.5.2-1 armhf
homer-api-mysql/oldstable 5.0.6+dfsg2-3.2 armhf
homer-api-postgresql/oldstable 5.0.6+dfsg2-3.2 armhf
homer-api/oldstable 5.0.6+dfsg2-3.2 armhf
homesick/oldstable 1.1.6-3 all
kodi-pvr-hdhomerun-dbg/oldoldstable 3.5.0-1~buster armhf
kodi-pvr-hdhomerun/oldoldstable 3.5.0-1~buster armhf
libfile-homedir-perl/oldstable 1.006-1 all
libfile-save-home-perl/oldstable 0.11-1 all
libhdhomerun-dev/oldstable 20210210-1 armhf
libhdhomerun4/oldstable 20210210-1 armhf
librust-home-dev/oldstable 0.5.1-1 armhf
minetest-mod-homedecor/oldstable 20200604.1-1 all
oddjob-mkhomedir/oldstable 0.34.6-1 armhf
prometheus-homeplug-exporter/oldstable 0.3.0-2 armhf
python3-ofxhome/oldstable 0.3.3-3 all
r-cran-psychometric/oldstable 2.2-2 armhf
sweethome3d-furniture-editor/oldstable 1.25-1 all
sweethome3d-furniture-nonfree/oldstable 1.6.2-2 all
sweethome3d-furniture/oldstable 1.8-1 all
sweethome3d-textures-editor/oldstable 1.6-3 all
sweethome3d/oldstable 6.4.2+dfsg-2 all
unburden-home-dir-doc/oldstable 0.4.1.2 all
unburden-home-dir/oldstable 0.4.1.2 all
pi@homebridge:~ $ 


### Configuration

```json
NA

Environment

  • OS: Linux homebridge 5.10.103-v7+
  • Software: Homebridge 1.70
  • Node: v20.10.0
  • npm: 10.2.4

Process Supervisor

hb-service

Additional Context

No response

@jonnyborbs Mine with homebridge installed via the apt pkg show this

apt list | grep home

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

golang-github-mitchellh-go-homedir-dev/oldoldstable 0.0~git20161203.0.b8bc1bf-2 all
hdhomerun-config/oldoldstable 20180817-2 armhf
homebank-data/oldoldstable 5.2.2-1 all
homebank/oldoldstable 5.2.2-1 armhf

homebridge/unknown 1.1.4 armhf [upgradable from: 1.1.1]

homer-api-mysql/oldoldstable 5.0.6+dfsg2-3.1+b2 armhf
homer-api-postgresql/oldoldstable 5.0.6+dfsg2-3.1+b2 armhf
homer-api/oldoldstable 5.0.6+dfsg2-3.1+b2 armhf
homesick/oldoldstable 1.1.6-2 all
kodi-pvr-hdhomerun-dbg/oldoldstable 3.5.0-1~buster armhf
kodi-pvr-hdhomerun/oldoldstable 3.5.0-1~buster armhf

To check if yours is installed via the apt package, check apt sources

From my main test machine

ls -l /etc/apt/sources.list.d/
total 16
-rw-r--r-- 1 root root 113 Feb 20  2023 docker.list
-rw-r--r-- 1 root root  90 May 21  2023 homebridge.list
-rw-r--r-- 1 root root 204 May  2  2022 nodesource.list
-rw-r--r-- 1 root root 187 Feb 13  2020 raspi.list

From my homebridge-raspbian-image machine

ls -l /etc/apt/sources.list.d/
total 8
-rw-r--r-- 1 root root  90 Nov 28 13:18 homebridge.list
-rw-r--r-- 1 root root 191 Nov 28 13:05 raspi.list

Your vintage of homebridge-raspbian-image did not use the apt package but just installed directly

Aha, so this is making sense now too. Homebridge has its own apt source that must be included? I don't think I realized that and thought it was originating from the Debian sources. I do not have the homebridge source included on this image, you're right.

This being the case, I think this issue is a noop