classroom icon indicating copy to clipboard operation
classroom copied to clipboard

Package libgconf2-4 dependency error

Open julianstanley opened this issue 5 years ago • 0 comments

Describe the bug GitHub classroom assistant 1.0.5_amd64.deb does not install on Ubuntu 19.10 due to a "Dependency is not satisfiable" error.

Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan
julian-ThinkPad-T460:Downloads$ sudo gdebi classroom-assistant_1.0.5_amd64.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libgconf2-4

To Reproduce Download @ https://classroom.github.com/assistant sudo dpkg -i classroom-assistant_1.0.5_amd64.deb

Expected behavior The classroom app should install.

Additional context: personal solution The classroom assistant's libgconf2-4 dependency is not satisfiable because because the libgconf2-4 package was renamed to libgconf-2-4.

I fixed my problem by manually re-routing the libgconf2-4 dependency to my libgconf-2-4 package.

sudo apt install -y libgconf-2-4
ar x classroom-assistant_1.0.5_amd64.deb
tar xzf control.tar.gz
sed -i s/libgconf2-4/libgconf-2-4/ control
tar --ignore-failed-read -cvzf control.tar.gz control
ar rcs classroom-assistant_1.0.5_amd64-FIXED.deb debian-binary control.tar.gz data.tar.xz
sudo dpkg -i classroom-assistant_1.0.5_amd64-FIXED.deb 

julianstanley avatar Dec 22 '19 04:12 julianstanley