Mailpile icon indicating copy to clipboard operation
Mailpile copied to clipboard

Unable to install on Ubuntu 20

Open sudheerds opened this issue 4 years ago • 9 comments

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: mailpile : Depends: spambayes but it is not installable Depends: python-appdirs but it is not installable Depends: python-dns but it is not installable Depends: python-pgpdump but it is not installable Recommends: tor but it is not going to be installed Recommends: pagekite but it is not going to be installed Recommends: python-stem but it is not installable Recommends: wamerican-small but it is not going to be installed Recommends: gnupg-curl but it is not installable E: Unable to correct problems, you have held broken packages.

sudheerds avatar Feb 04 '21 05:02 sudheerds

`Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies. mailpile : Depends: spambayes but it is not installable Depends: python-lxml but it is not installable Depends: python-appdirs but it is not installable Depends: python-cryptography but it is not installable Depends: python-dns but it is not installable Depends: python-fasteners but it is not going to be installed Depends: python-imgsize but it is not going to be installed Depends: python-pgpdump but it is not installable Depends: python-icalendar but it is not going to be installed Recommends: pagekite but it is not going to be installed Recommends: python-stem but it is not installable Recommends: wamerican-small but it is not going to be installed Recommends: gnupg-curl but it is not installable E: Unable to correct problems, you have held broken packages. ` I actually had a few more uninstallable dependency PopOS 20.10

Oymate avatar May 15 '21 05:05 Oymate

I have just installed in Ubuntu 20.04 LTS using the requirements-dev.txt requirements and it is working normally. Only problem I had during setup was with PyCrypto, but I could solve installing these packages:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

(Only for the record, solved it by following the instructions from these StackOverflow answer: https://stackoverflow.com/a/58415632)

pisn avatar Aug 22 '21 19:08 pisn

I confirm mailpile can't Install on Linux Mint 20 (It's Ubuntu focal). I get the same error:

I seguenti pacchetti hanno dipendenze non soddisfatte:
 mailpile : Dipende: spambayes ma non è installabile
            Dipende: python-appdirs ma non è installabile
            Dipende: python-dns ma non è installabile
            Dipende: python-pgpdump ma non è installabile
            Raccomanda: python-stem ma non è installabile
            Raccomanda: gnupg-curl ma non è installabile
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.

angerangel avatar Aug 31 '21 17:08 angerangel

Why don't you create a snap package? It's indipendent from distribution and version and it would resolve all Python 2 dependencies.

angerangel avatar Sep 01 '21 21:09 angerangel

Hello @angerangel ,

I installed Linux Mint 20 in a virtual machine and managed to make Mailpile run. Much of these I got from Getting Started on Linux section

This is what I did:

1 - install python2.7-dev via apt-get 2 - create a virtual environment with "virtualenv -p /usr/bin/python2.7 --system-site-packages mp-virtualenv" 3 - activate the virtualenv with "source mp-virtualenv/bin/activate" 4 - install dependencies with "pip install -r requirements-dev.txt" 5 - Then you're ready to go. Run with ./mp

Let me know if that works for you =D

pisn avatar Sep 02 '21 02:09 pisn

ok works! Thank you!

angerangel avatar Sep 02 '21 07:09 angerangel

That's great!! =D

pisn avatar Sep 02 '21 14:09 pisn

@pisn Will you make a PR based on those steps

Oymate avatar Sep 18 '21 14:09 Oymate

Hello @Oymate ! I am not sure this is necessary, since the steps are already described at Getting Started on Linux session on the project wiki.

pisn avatar Sep 18 '21 17:09 pisn

To facilitate running Mailpile v1 on modern operating systems, I've put together and published and documented "official" Mailpile docker images. See: https://github.com/mailpile/Mailpile-v1-Docker

Mailpile v2 is being written in Python 3, but it's not ready yet.

Thanks everyone for helping out here!

BjarniRunar avatar Jul 11 '23 18:07 BjarniRunar