Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install obc_3.3.0_amd64.deb on Ubuntu 20.04, missing dependency: libgdk-pixbuf-2.0-0 #46

Open
wpdevelopment11 opened this issue Aug 2, 2023 · 0 comments

Comments

@wpdevelopment11
Copy link

I was not able to install obc_3.3.0_amd64.deb on fresh Ubuntu 20.04,
because OBC depends on libgdk-pixbuf-2.0-0, but Ubuntu 20.04 provides only libgdk-pixbuf2.0-0 (without one hyphen).

How to fix it

We need to create the deb package with fixed dependencies.

  1. Remove the broken install of OBC

    sudo apt install -f
  2. cd to the directory with obc_3.3.0_amd64.deb

  3. Unpack the obc_3.3.0_amd64.deb

    dpkg-deb -R obc_3.3.0_amd64.deb obc-repack
  4. Change libgdk-pixbuf-2.0-0 to libgdk-pixbuf2.0-0 in the file obc-repack/DEBIAN/control

  5. Create the deb package with fix

    dpkg-deb -b obc-repack
  6. Install the fixed package

    sudo dpkg -i obc-repack.deb
  7. Install the dependencies

    sudo apt install -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant