Sudo apt install hugo > unable to locate package > unable to use .deb file > what next?

Hi all,

I’ve been trying to install Hugo on my Ubuntu machine with apt install hugo. It didn’t find the package, so I downloaded both hugo_0.117.0_linux-amd64.deb and hugo_extended_0.117.0_linux-amd64.deb and tried to install with sudo apt install ./hugo_0.117.0_linux-amd64.deb and _extended_ respectively. But both also failed.

Lots of errors like below.

Where am I going wrong?

Thanks,
Christoph

E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-unsigned-4.4.0-197-generic' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-4.4.0-197-lowlatency' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-modules-4.4.0-197-lowlatency' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-unsigned-4.4.0-197-lowlatency' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-4.4.0-198-generic' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-modules-4.4.0-198-generic' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-unsigned-4.4.0-198-generic' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-4.4.0-198-lowlatency' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-modules-4.4.0-198-lowlatency' was not found
E: Release 'hugo_0.117.0_linux-amd64.deb' for 'linux-image-unsigned-4.4.0-198-lowlatency' was not found
...

My configuration:

3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

and CPU

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Stepping:              1
CPU MHz:               2199.998
BogoMIPS:              4399.99
Virtualization:        VT-x
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0

It looks like you’re running Ubuntu 14.04 LTS.

If true, Hugo wasn’t in the package repository 9 years ago.

I was able to install the standard edition without problems on a fully updated, virgin installation of Ubuntu 14.04 LTS:

$ sudo apt-get install curl
$ curl -LJO https://github.com/gohugoio/hugo/releases/download/v0.117.0/hugo_0.117.0_linux-amd64.deb
$ sudo dpkg -i hugo_0.117.0_linux-amd64.deb
$ which hugo

/usr/local/bin/hugo

$ hugo version

hugo v0.117.0-b2f0696cad918fb61420a6aff173eb36662b406e linux/amd64 BuildDate=2023-08-07T12:49:48Z VendorInfo=gohugoio

I was not able to install the extended version in the same way due to some missing dependencies (no surprise given the OS age), and I didn’t spend any time trying to fix it.


I was able to install the extended version by building from source.

1 Like

Oh, thanks @jmooring , amazing! Thanks for your help, that worked! Your help is much appreciated!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.