howdy icon indicating copy to clipboard operation
howdy copied to clipboard

Unable to install howdy for Ubuntu 22.04 due to *.bz2 files.

Open aahlad2000 opened this issue 3 years ago • 11 comments

Facing Issues for installation of Howdy for Ubuntu 22.04. Apparently error message says it can't read .bz2 files. These are the following commands I have used : sudo add-apt-repository ppa:boltgolt/howdy sudo apt update sudo apt install howdy

howdy-error

aahlad2000 avatar Dec 31 '22 06:12 aahlad2000

Could this be a duplicate of these issues? https://github.com/boltgolt/howdy/issues/738 and https://github.com/boltgolt/howdy/issues/733

It doesn't look like repo is being maintained unfortunately. There are 2yr old pull requests which haven't been merged...

Based on https://github.com/boltgolt/howdy/issues/738 it looks like even if you download the files by hand, it still wouldn't install

Batwam avatar Jan 02 '23 07:01 Batwam

for info, I can run the dlib-data/install.sh script which seems to be the one we see on your screenshot without problem: image

Does it run for you?

Batwam avatar Jan 02 '23 08:01 Batwam

Unable to run this command. Screenshot from 2023-01-07 16-49-38

aahlad2000 avatar Jan 07 '23 11:01 aahlad2000

Yeah, I didn't meant type it as a command, it was just a link to the file. I meant download the script and run it.

Batwam avatar Jan 07 '23 11:01 Batwam

Still unable to run it. ERROR

aahlad2000 avatar Jan 08 '23 17:01 aahlad2000

This is pretty odd as the script is pretty simple and uses wget to download 3 files. It even checks if wget is installed and falls back on curl of wget isn't installed. I though perhaps you are somehow missing wget or curl or even hash. You should be seing some sort or error...

Are you able to do the manual download of the 3 files? wget https://github.com/davisking/dlib-models/raw/master/dlib_face_recognition_resnet_model_v1.dat.bz2 wget https://github.com/davisking/dlib-models/raw/master/mmod_human_face_detector.dat.bz2 wget https://github.com/davisking/dlib-models/raw/master/shape_predictor_5_face_landmarks.dat.bz2

If so you could just download them, leave them there (don't extract) and run the main code again. This way it should see them and extract when it gets to the extracting phase. I'm sure this is going to solve the main issue as there could be other issues in the code but it's worth a try...

Batwam avatar Jan 09 '23 01:01 Batwam

I see. However I am unable to download the 3 files. I got this error : failed: Network is unreachable. EDIT: manually searched the repo and downloaded those three files. Now if i do : sudo add-apt-repository ppa:boltgolt/howdy sudo apt update sudo apt install howdy

This should help right?

EDIT 1: Tried installing howdy again, failed again but I seem to be seeing this error as well. No jammy release in this: https://ppa.launchpadcontent.net/rushabh-v/facerec/ubuntu/

error-howdy-1

aahlad2000 avatar Jan 21 '23 10:01 aahlad2000

The rushabh-v/facerec ppa you are showing above is for a different package altogether so you should probably remove it before you proceed. The ppa for this package you send you to http://ppa.launchpad.net/boltgolt/howdy/ubuntu/dists and jammy is in the Release list.

You could try to copy the files but it looks like there is an issue on your end. Are you behind a proxy of something? Would it work if you connected to the internet through your phone instead? For info, I had a look and you would need to save the bz2 files in /usr/lib/security/howdy/dlib-data.

Note that I also just tried the ppa installation method on a fresh 22.10 install in a VM and it's spitting out quite a few warnings... altough is seems to complete in the end. I don't have a webcam so I can't test if it works or not.

Batwam avatar Jan 22 '23 04:01 Batwam

This is pretty odd as the script is pretty simple and uses wget to download 3 files. It even checks if wget is installed and falls back on curl of wget isn't installed. I though perhaps you are somehow missing wget or curl or even hash. You should be seing some sort or error...

Are you able to do the manual download of the 3 files? wget https://github.com/davisking/dlib-models/raw/master/dlib_face_recognition_resnet_model_v1.dat.bz2 wget https://github.com/davisking/dlib-models/raw/master/mmod_human_face_detector.dat.bz2 wget https://github.com/davisking/dlib-models/raw/master/shape_predictor_5_face_landmarks.dat.bz2

If so you could just download them, leave them there (don't extract) and run the main code again. This way it should see them and extract when it gets to the extracting phase. I'm sure this is going to solve the main issue as there could be other issues in the code but it's worth a try...

unable to download the files altogether .

3gsahil avatar Jun 03 '23 12:06 3gsahil

Feels like some sort of proxy issue as the files are available at the locations provided as far as I can tell. Are you using some sort of school/work/public network which may be blocking file storage perhaps?

Batwam avatar Jun 03 '23 12:06 Batwam