unifios-utilities icon indicating copy to clipboard operation
unifios-utilities copied to clipboard

Unable to install package on non UDM machine

Open hugokernel opened this issue 1 year ago • 1 comments

Describe the bug Running dpkg command to install the udm-boot generates error on latest unifi os.

To Reproduce

# unifi-os shell
root@ubnt:~# curl -Lo udm-boot_latest.deb https://github.com/unifi-utilities/unifios-utilities/releases/download/1.0.5-fix/udm-boot_1.0.5_all.deb
root@ubnt:~# dpkg -i udm-boot_1.0.5_all.deb

Expected behavior Successful installation

Screenshots N/A

UDM Information

  • Dream Machine
  • Firmware Version: 1.12.33

Additional context

Related to #343 (See https://github.com/unifi-utilities/unifios-utilities/issues/343#issuecomment-1090015291 and https://github.com/unifi-utilities/unifios-utilities/issues/343#issuecomment-1242559306)

# ubnt-device-info firmware
1.12.33#
root@ubnt:~# md5sum udm-boot_latest.deb
cf074321756a464ee6d0fa4d47eb9714  udm-boot_latest.deb
root@ubnt:~# dpkg -i udm-boot_latest.deb
(Reading database ... 29961 files and directories currently installed.)
Preparing to unpack udm-boot_latest.deb ...
dpkg: error processing archive udm-boot_latest.deb (--install):
 subprocess new pre-installation script returned error exit status 255
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 255
#-> ubnt-dpkg-cache install
removing /data/dpkg-cache/stretch/packages/udm-boot_1.0.5_all.deb ... done
udm-boot: action=install, package=/data/dpkg-cache/stretch/packages/udm-boot_1.0.5_all.deb mark=manual
<-# ubnt-dpkg-cache install
Errors were encountered while processing:
 udm-boot_latest.deb

hugokernel avatar Jan 30 '23 15:01 hugokernel