Fail to install phddns-5.0.0-amd64.deb

I google how to install deb in manjaro and get a way that using debtap to transform xxx.deb into xxx.pkg.tar.xz then install it by sudo pacman -U command

Howerver, i got phddns-5.0.0-1-x86_64.pkg.tar.zst instead of phddns-5.0.0-1-x86_64.pkg.tar.xz and it seems that i failed to install the phddns-5.0.0-1-x86_64.pkg.tar.zst with sudo pacman -U command.

The whole log is as follow:

❯ sudo pacman -U phddns-5.0.0-1-x86_64.pkg.tar.zst ─╯
loading packages…
warning: phddns-5.0.0-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Packages (1) phddns-5.0.0-1

Total Installed Size: 0.49 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [##############################] 100%
(1/1) checking package integrity [##############################] 100%
(1/1) loading package files [##############################] 100%
(1/1) checking for file conflicts [##############################] 100%
(1/1) checking available disk space [##############################] 100%
:: Processing package changes…
/tmp/alpm_ZexnqS/.INSTALL: line 4: syntax error near unexpected token }' /tmp/alpm_ZexnqS/.INSTALL: line 4: }’
/usr/bin/bash: pre_upgrade: command not found
error: command failed to execute correctly
(1/1) reinstalling phddns [##############################] 100%
/tmp/alpm_LSyvrT/.INSTALL: line 4: syntax error near unexpected token }' /tmp/alpm_LSyvrT/.INSTALL: line 4: }’
/usr/bin/bash: post_upgrade: command not found
error: command failed to execute correctly
:: Running post-transaction hooks…
(1/1) Arming ConditionNeedsUpdate…

By the way, i do found a package name ‘phddns-bin’ in AUR by yay -Ss command but i am really confused of how to use it.

As you noticed, it’s available in the AUR as phddns-bin, no need for debtap. Please see the Manjaro wiki page about using the AUR.

pamac build phddns-bin

or

yay -S phddns-bin

See man yay for help with it’s options.

FYI: Arch has been using Zstandard instead of xz for package compression since the beginning of the year.

Thanks for replying so fast. But yay -S phddns-bin just seems to do nothing and i am wonder where i can get some help on it.
Thanks again.

What’s the terminal output? Have you installed the base-devel group?

sudo pacman -Syu --needed base-devel