Issue on pip when installing Howdy on Ubuntu 24.04
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 412
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone,
I'm facing some issue when installing Howdy on my newly installed Ubuntu 24.04 machine.
The issue seems to be related to pip, but I'm unable to comprehend the point. I've been uninstalling pip many times to see the same result every time.
Can you help ?
```
$ sudo apt install howdy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
python3-pip
Suggested packages:
nvidia-cuda-dev
The following NEW packages will be installed:
howdy python3-pip
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 0 B/1,356 kB of archives.
After this operation, 7,156 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package python3-pip.
(Reading database ... 195081 files and directories currently installed.)
Preparing to unpack .../python3-pip_24.0+dfsg-1ubuntu1.1_all.deb ...
Unpacking python3-pip (24.0+dfsg-1ubuntu1.1) ...
Selecting previously unselected package howdy.
Preparing to unpack .../archives/howdy_2.6.1_all.deb ...
Starting IR camera check...
Trying "HP HD Camera: HP HD Camera"
One of your cameras should now be on.
Did your IR emitters turn on? [y/N]: y
Starting certainty auto config...
After detection, Howdy knows how certain it is that the match is correct.
How certain Howdy needs to be before authenticating you can be customized.
F: Fast.
Allows more fuzzy matches, but speeds up the scanning process greatly.
B: Balanced.
Still relatively quick detection, but might not log you in when further away.
S: Secure.
The safest option, but will take much longer to authenticate you.
You can always change this setting in the config.
What profile would you like to use? [f/b/s]: b
Unpacking howdy (2.6.1) ...
Setting up python3-pip (24.0+dfsg-1ubuntu1.1) ...
Setting up howdy (2.6.1) ...
/var/lib/dpkg/info/howdy.postinst:145: SyntaxWarning: invalid escape sequence '\
w'
"davisking-dlib-\w+/(dlib/(http_client|java|matlab|test/)|"
>>> Upgrading pip to the latest version
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (24.0)
Collecting pip
Using cached pip-24.3.1-py3-none-any.whl.metadata (3.7 kB)
Using cached pip-24.3.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.0
ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was i
nstalled by debian.
Error while running last command
dpkg: error processing package howdy (--configure):
installed howdy package post-installation script subprocess returned error exit
status 1
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
howdy
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with /var/lib/dpkg/info/howdy.postinst, especially the pip upgrade around line 145, and reproduce the Ubuntu 24.04 installation shown in the report. Investigate why the Debian-installed pip lacks a RECORD file for the attempted upgrade. Done means `sudo apt install howdy` completes configuration without the post-installation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python, ubuntu
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100