The installation of odoo 19 on debian trixie ends with the message "Depends python3-pypdf2".
Thats correct, because only package python3-pypdf is available debian trixie.
When is an odoo_19.0.2025*_all.deb package available for trixie?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
The installation of odoo 19 on debian trixie ends with the message "Depends python3-pypdf2".
Thats correct, because only package python3-pypdf is available debian trixie.
When is an odoo_19.0.2025*_all.deb package available for trixie?
Hi Wolfgang and Julius,
This is indeed an issue, but can be fixed rather easily. I recently made a blog post [1] that goes into deeper details into how and why, but below is a short answer.
The package python3-pypdf2 has been superseded by python3-pypdf (confusing, I know). Fortunately, it is rather easy to fix this by yourself.
First we need to extract the Debian package to a new folder (change the filenames accordingly):
dpkg-deb --raw-extract odoo_19.0.20251014_all.deb odoo_19.0.20251014_all_custom
We now change the package dependency with a Perl one-liner (again, change the filename if necessary):
perl -pi -e 's/(python3-pypdf)2/$1/' odoo_19.0.20251014_all_custom/DEBIAN/control
It is time to repackage the custom folder into a new Debian package:
dpkg-deb -b odoo_19.0.20251014_all_custom odoo_19.0.20251014_all_custom.deb
Now you can install the new, custom Debian package of Odoo as root or another user with elevated permissions. Enjoy!
P.S.: don't forget to also install wkhtmltox (the Bookworm version works on Trixie).
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6.1-3.bookworm_amd64.deb
[1] https://consulting.go-han.net/posts/1760547257283-fix-odoo-package-dependency-on-python3-pypdf2/
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
ian. 25
|
1341 | |||
|
2
nov. 25
|
370 | |||
|
1
nov. 25
|
389 | |||
|
2
oct. 25
|
650 | |||
|
1
oct. 25
|
1467 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Same issue here, cannot do a new install because of deprecated python3-pypdf2 package.