Sawtaytoes
Patron
- Joined
- Jul 9, 2022
- Messages
- 221
Looks like I'm having issues with the `hugo` installation:
Do I not have the ability to run dpkg? Do I have to be a different user?
Even running as root without `sudo`, I get:
> -bash: /usr/bin/dpkg: Permission denied
Code:
sudo chmod 0755 /usr/bin/apt* curl -JLO https://www.truenas.com/community/resources/hugo.203/download unzip ./hugo-7.4.5.zip sudo apt-get update sudo apt-get -y install libncurses5 libncurses5-dev sudo dpkg -i ./hugo/v7.4.5/HUGO-7.4.5.x86_64.deb sudo chmod 0644 /usr/bin/apt* ... 0 upgraded, 32 newly installed, 0 to remove and 3 not upgraded. Need to get 0 B/15.4 MB of archives. After this operation, 64.6 MB of additional disk space will be used. Extracting templates from packages: 100% Preconfiguring packages ... Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100) sudo: dpkg: command not found
Do I not have the ability to run dpkg? Do I have to be a different user?
Even running as root without `sudo`, I get:
> -bash: /usr/bin/dpkg: Permission denied