Skip to content

bin downloads and installs .deb without extraction #265

Description

@gebi

Hi,

Found a strange discrepance where bin downloads and installs the .deb file without extraction.
And another instance where bin refuses to touch the .deb at all (not sure what should be the default).

for dool it prints doesn't have a supported extension, no idea why bin then goes on and installs deb-get.

tbh in the case of deb-get it would be fine to extract ./usr/bin/deb-get and use that, in contrast to dool which is a python thing without central binary that is able to run on its own.

bin installs .deb directly for wimpysworld/deb-get

% bin install --debug github.com/wimpysworld/deb-get -a
  • debug logs enabled, version: 0.24.2
commit: 7e93aa50b7238155f3c9bcac786fdee1be292a49
built at: 2025-11-06T19:09:05Z
built by: goreleaser

  • Config directory is: /home/gebi/.config/bin
  • Download path set to /home/gebi/bin
  • Using provider 'github' for 'github.com/wimpysworld/deb-get'
  • Getting latest release for wimpysworld/deb-get
  • Checking binary from https://api.github.com/repos/wimpysworld/deb-get/releases/assets/344433329
  • Starting download of https://api.github.com/repos/wimpysworld/deb-get/releases/assets/344433329
24.54 KiB / 24.54 KiB [------------------------------------------------------------------------------------------------] 100.00% ? p/s 0s
  • Copying for deb-get_0.4.6-1_all.deb@0.4.6 into /home/gebi/bin/deb-get-1_all.deb
  • Done installing deb-get_0.4.6-1_all.deb 0.4.6

content of deb-get-1_all.deb

% dpkg-deb -c bin/deb-get-1_all.deb
drwxr-xr-x root/root         0 2026-01-22 21:01 ./
drwxr-xr-x root/root         0 2026-01-22 21:01 ./etc/
drwxr-xr-x root/root         0 2026-01-22 21:01 ./etc/bash_completion.d/
-rw-r--r-- root/root      2638 2026-01-22 21:01 ./etc/bash_completion.d/deb-get_completion
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/bin/
-rwxr-xr-x root/root     65711 2026-01-22 21:01 ./usr/bin/deb-get
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/share/
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/share/doc/
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/share/doc/deb-get/
-rw-r--r-- root/root       833 2026-01-22 21:01 ./usr/share/doc/deb-get/changelog.Debian.gz
-rw-r--r-- root/root      2300 2026-01-22 21:01 ./usr/share/doc/deb-get/copyright
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/share/man/
drwxr-xr-x root/root         0 2026-01-22 21:01 ./usr/share/man/man1/
-rw-r--r-- root/root      5409 2026-01-22 21:01 ./usr/share/man/man1/deb-get.1.gz

bin refueses .deb for scottchiefbaker/dool

% bin install --debug github.com/scottchiefbaker/dool
  • debug logs enabled, version: 0.24.2
commit: 7e93aa50b7238155f3c9bcac786fdee1be292a49
built at: 2025-11-06T19:09:05Z
built by: goreleaser

  • Config directory is: /home/gebi/.config/bin
  • Download path set to /home/gebi/bin
  • Using provider 'github' for 'github.com/scottchiefbaker/dool'
  • Getting latest release for scottchiefbaker/dool
  • Filename dool-1.3.8-1.noarch.rpm doesn't have a supported extension
  • Filename dool-1.3.8.deb doesn't have a supported extension
  ⨯ command failed                                   error=Could not find any compatible files

content of dool-1.3.8.deb

% dpkg-deb -c ~/Downloads/dool-1.3.8.deb
drwxr-xr-x bakers/bakers     0 2025-09-04 23:01 ./
drwxr-xr-x bakers/bakers     0 2025-09-04 23:01 ./usr/
drwxr-xr-x bakers/bakers     0 2025-09-04 23:01 ./usr/bin/
-rwxr-xr-x bakers/bakers 111324 2025-09-04 23:01 ./usr/bin/dool
drwxr-xr-x bakers/bakers      0 2025-09-04 23:01 ./usr/share/
drwxr-xr-x bakers/bakers      0 2025-09-04 23:01 ./usr/share/dool/
-rwxr-xr-x bakers/bakers 111324 2025-09-04 23:01 ./usr/share/dool/dool.py
-rw-r--r-- bakers/bakers   3574 2025-08-20 23:49 ./usr/share/dool/dool_apache.py
-rw-r--r-- bakers/bakers   2646 2025-08-23 01:20 ./usr/share/dool/dool_battery.py
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions