openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
820 stars 251 forks source link

package exists but not in apt ? #1208

Closed mstormi closed 4 years ago

mstormi commented 4 years ago

just to not forget since I stumbled across during my OH3 upgrade tests Any Debian expert who can explain ?

[12:27:05] root@openHABianDevice:/opt/openhabian# dpkg -s openhab2|head Package: openhab2 Status: deinstall ok config-files Priority: optional Section: java Installed-Size: 92582 Maintainer: https://community.openhab.org Architecture: all Source: openhab2 Version: 2.5.9-1 Config-Version: 2.5.9-1 [12:27:16] root@openHABianDevice:/opt/openhabian# apt --yes remove openhab2 Reading package lists... Done Building dependency tree Reading state information... Done Package 'openhab2' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ecdye commented 4 years ago

Perhaps you did not read closely enough it says Status: deinstall ok config-files

mstormi commented 4 years ago

yeah saw that myself meanwhile. Also changed openhab_is_installed() to check for that