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

Unable to install on Ubuntu 16.04 due to dependencies unavailable #21

Open
chioubaca opened this issue Jul 11, 2016 · 3 comments
Open

Comments

@chioubaca
Copy link

chioubaca commented Jul 11, 2016

sudo apt-get install pac fails due to unmet dependencies.

It depends on libgnome2-vte-perl which depends itself on perlapi-5.20.1 which should be provided by perl-base (see http://packages.ubuntu.com/fr/wily/perlapi-5.20.1)
But, even if perl-base is installed and up-to-date, it cannot be find by apt-get install pac

$ sudo apt-get install pac
...
The following packages have unmet dependencies.
 pac : Depends: libgnome2-vte-perl but it is not going to be installed

$ sudo apt-get install libgnome2-vte-perl
...
The following packages have unmet dependencies.
 libgnome2-vte-perl : Depends: perlapi-5.20.1 but it is not installable

$ sudo apt-get install perl-base
...
perl-base is already the newest version (5.22.1-9).
@gfrenoy
Copy link

gfrenoy commented Aug 12, 2016

Not sure if this is related to your issue but here is my personal experience:

So far I was using "pac-4.5.5.7-all.deb" on Ubuntu 14.04 and all was working like a charm ... I upgraded today to Ubuntu 16.04 (from 14.04) and, after rebooting the computer, PAC was not starting anymore:

$ cd /opt/pac
$ ./pac
Segmentation fault (core dumped)

As suggested but David (see this), I had to uninstall / reinstall PAC:

$ sudo apt-get remove pac
(...)
$ sudo rm -rf /opt/pac
$ sudo dpkg -i pac-4.5.5.7-all.deb

And now PAC is working on Ubuntu 16.04 as it so far (greatly) did on 14.04 !

(note: all settings are kept under ~/.config/pac and are not removed when re-installing the .deb package)

@FrancescoKa
Copy link

Hello,
yesterday I upgraded to 16.0..4 andPAC wasn't starting.

However after deinstalling and reinstalling (a fresh .deb downloaded from sourceforge) the PAC was starting but the saved connections weren't working anymore
I've also tried deleting all connections and importing them back from a backup (.yml)

This is what I've found after reinstalling (Vte.so was showing a broken-link)

-rw-r--r-- 1 root root 195771 nov 4 2015 Vte.so_32_5.020
-rw-r--r-- 1 root root 67324 nov 4 2015 Vte.so_32_5.018
-rw-r--r-- 1 root root 246318 nov 4 2015 Vte.so_32_5.016
-rw-r--r-- 1 root root 229958 nov 4 2015 Vte.so_32_5.014
-rw-r--r-- 1 root root 87788 nov 4 2015 Vte.so_32_5.000
lrwxrwxrwx 1 root root 53 set 13 14:48 Vte.so -> /opt/pac/lib/ex/vte32/auto/Gnome2/Vte/Vte.so_32_5.022

I've resolved putting an so (Vte.so_32_5.022 ) found on Internet (not very smart but a collegue of mine used this workaround and I had about 200 connections to be able to fast connect on).

This is the md5sum
md5sum /opt/pac/lib/ex/vte32/auto/Gnome2/Vte/Vte.so_32_5.022
95028fa5fc9dd2b56e19a2f667dc5bc3 /opt/pac/lib/ex/vte32/auto/Gnome2/Vte/Vte.so_32_5.022

@dandv
Copy link

dandv commented Feb 10, 2017

This is unnecessarily complicated. PAC is awesome. Can we make installation simple?

Can you please just put a package on a PPA like everyone else, @perseo22?

@gfrenoy: sudo dpkg -i pac-4.5.5.7-all.deb failed:

sudo dpkg -i /c/download/Linux/pac-4.5.5.7-all.deb                                                           0s 
Selecting previously unselected package pac.
(Reading database ... 309114 files and directories currently installed.)
Preparing to unpack .../Linux/pac-4.5.5.7-all.deb ...
Unpacking pac (4.5.5.7) ...
dpkg: dependency problems prevent configuration of pac:
 pac depends on libexpect-perl; however:
  Package libexpect-perl is not installed.
 pac depends on libnet-proxy-perl; however:
  Package libnet-proxy-perl is not installed.
 pac depends on libyaml-perl; however:
  Package libyaml-perl is not installed.
 pac depends on libcrypt-cbc-perl; however:
  Package libcrypt-cbc-perl is not installed.
 pac depends on libcrypt-blowfish-perl; however:
  Package libcrypt-blowfish-perl is not installed.
 pac depends on libgtk2-gladexml-perl; however:
  Package libgtk2-gladexml-perl is not installed.
 pac depends on libgtk2-ex-simple-list-perl; however:
  Package libgtk2-ex-simple-list-perl is not installed.
 pac depends on libnet-arp-perl; however:
  Package libnet-arp-perl is not installed.
 pac depends on libossp-uuid-perl; however:
  Package libossp-uuid-perl is not installed.
 pac depends on libcrypt-rijndael-perl; however:
  Package libcrypt-rijndael-perl is not installed.

dpkg: error processing package pac (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 pac

Had to run sudo apt-get -f install to install the dependencies.

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

4 participants