Mail-in-a-box on Trisquel server

4 respuestas [Último envío]
EffingComputer
Desconectado/a
se unió: 07/17/2023

Hi, I'm attempting to run mail-in-a-box on a Trisquel installation.

I've been able to modify the install scripts to get around the "Ubuntu server only" stuff but have run into an issue with the install requiring "python3-pip" and I can't seem to install this package and it's not showing up in the package cache (apt-cache search python3-pip).
Is python3-pip not available on Trisquel?

-EC

EffingComputer
Desconectado/a
se unió: 07/17/2023

**UPDATE**
After posting, I found this thread which mentioned how to fix it. https://trisquel.info/en/forum/how-install-pythons-pip-trisquel

Changed python2 to python3 and pip installed successfully :)

-EC.

EffingComputer
Desconectado/a
se unió: 07/17/2023

Another update:

Install went ahead ok until after the install of Nextcloud.
The following error came up:

FAILED: apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install duplicity virtualenv certbot rsync
-----------------------------------------
Reading package lists...
Building dependency tree...
Reading state information...
rsync is already the newest version (3.2.7-0ubuntu0.22.04.2).
rsync set to manually installed.
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:
python3-virtualenv : Depends: python3-pip (>= 20.1-1~) but it is not installable
Depends: python3-pip-whl but it is not installable
E: Unable to correct problems, you have held broken packages.
-----------------------------------------

Seems virtualenv has dependencies that aren't installable with the package manager, even though python3-pip was successfully installed manually.
I think 'virtualenv' is going to be a big requirement for MIAB so not sure if I could just remove it from the setup scripts and continue.

Anyone have advice on getting around these dependencies?

EffingComputer
Desconectado/a
se unió: 07/17/2023

So much easier on Ubuntu server. Up and running in 10 minutes.

prospero
Desconectado/a
se unió: 05/20/2022

All the answers are in the thread you linked to: https://trisquel.info/en/forum/how-install-pythons-pip-trisquel#comment-171709.

"Trisquel is unable to provide this as the default online repository of public packages does not exclusively include free software. I invite you to consult the GNU FSDG for further information on this matter: https://www.gnu.org/distros/free-system-distribution-guidelines.html.

If someone were to make a different repository that could be used with PIP and was 100% free software then that would be a different matter and the situation could be re-considered at that point."

This is basically the very reason why we are using an FSDG compliant distro like Trisquel, and not Ubuntu: to avoid installing non-free software unwittingly.