Ir al contenido
Odoo Menú
  • Inicia sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de propiedades
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Comunidad
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Installation of odoo 19 on debian trixie

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
systemservice
3 Respuestas
3960 Vistas
Avatar
Razorcat Development GmbH, Wolfgang Rohe

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?

0
Avatar
Descartar
Julius

Same issue here, cannot do a new install because of deprecated python3-pypdf2 package.

Avatar
Christian Großegger
Mejor respuesta
Thanks Danai Sae-Han. I want to add a Solution when working via the apt-install method on Debian 13 Trixie. (Via grok-AI)

Here are the Instructions:


You want to keep using `apt` (or `aptitude`/`apt-get`) as much as possible, but still bypass the broken `python3-pypdf2` dependency that currently blocks the official `odoo` package on Debian Trixie/testing (or Sid).

The cleanest and safest way to do this while still letting `apt` manage the installation and future upgrades is to use an “APT preferences pin” combined with “Provides/Equivs” so that `python3-pypdf` satisfies the (old) dependency on `python3-pypdf2`.

Here is the recommended method (2025, Debian Trixie/bookworm-mix era):

### Step-by-step: Fix it properly for apt

1. **Install the new replacement package first**
   ```bash
   sudo apt update
   sudo apt install python3-pypdf
   ```

2. **Create a small “equivalence” package that tells apt: “python3-pypdf provides python3-pypdf2”**

   Create the package with `equivs`:

   ```bash
   sudo apt install equivs   # one-time install if you don’t have it

   mkdir ~/odoo-fix && cd ~/odoo-fix
   cat > odoo-pypdf2-fix.control <<EOF
   Section: misc
   Priority: optional
   Standards-Version: 3.9.8
   Package: python3-pypdf2
   Version: 9999
   Depends: python3-pypdf
   Provides: python3-pypdf2
   Architecture: all
   Description: Virtual package to satisfy old Odoo dependency
    The real package is now called python3-pypdf.
    This dummy package makes the old Odoo .deb happy again.
   EOF

   equivs-build odoo-pypdf2-fix.control
   ```

   This creates `python3-pypdf2_9999_all.deb` in the current directory.

3. **Install the dummy package**
   ```bash
   sudo dpkg -i python3-pypdf2_9999_all.deb
   sudo apt install -f   # just in case
   ```

4. **Now install Odoo normally with apt**
   ```bash
   sudo apt update
   sudo apt install odoo
   ```

   → It will now succeed because the dependency `python3-pypdf2` is considered satisfied by your dummy package (which itself depends on the real `python3-pypdf`).

5. **(Optional but recommended) Also fix wkhtmltopdf in one go**
   ```bash
   cd /tmp/
   wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb
   sudo apt install ./wkhtmltox_0.12.6.1-3.bookworm_amd64.deb

   ```

0
Avatar
Descartar
Avatar
Joseph Mullins
Mejor respuesta

Another way to solve is with the equivs package.

sudo apt install equivs

Then create a control file

/tmp/python3-pypdf2

With content

Section: python
Priority: optional
Standards-Version: 4.6.0

Package: python3-pypdf2
Version: 3.0.0
Maintainer: Joseph Mullins <joseph.mullins@digitize.au>
Depends: python3-pypdf
Description: Dummy transitional package for python3-pypdf2

Then build with 

equivs-build /tmp/python3-pypdf2

Install with

apt install ./python3-pypdf2_3.0.0_all.deb

Make sure you install python3-pypdf though. As it's still a required dependency. 

0
Avatar
Descartar
Avatar
Danai Sae-Han
Mejor respuesta

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/

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
(((Reservas Contacto Ayuda)))¿Cuál es el número de teléfono de JetBlue en Ecuador?
stock system service
Avatar
0
dic 25
34
customizing label prints
system function service
Avatar
0
ene 25
2299
Odoo 18 - Facebook Page Connected but Existing Posts Are Not Synced
system
Avatar
Avatar
1
jun 26
627
How to Display the Standard Receipt Screen for a "Pay Later" Order in Odoo 19 POS?
service
Avatar
0
jun 26
2
Does YouTube TV have 24-7 customer service?
service
Avatar
0
jun 26
3
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now