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

[SOLVED] SOGS installation error ("Depends: python3-sogs requires python 3.7, but 3.9 is to be installed") #202

Open
qdhj opened this issue Aug 12, 2023 · 1 comment

Comments

@qdhj
Copy link

qdhj commented Aug 12, 2023

Copy of this question, closed for no reason.

Trying to install SOGS to my VPS server. Error happens at step:

  • sudo apt install sogs-standalone

Output:

sudo apt install sogs-standalone
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 sogs-standalone : Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Intuitively trying install python3-sogs, in requires python3-nacl. After installing the last one and retrying install the python3-sogs, getting:

python3-sogs : Depends : python3-nacl (>= 1.4.0), but 1.3.0-2 is to be installed
E: Unable to correct problems, you have held broken packages.
@qdhj qdhj changed the title Debian 10 installation doesn't work Debian 10 installation error ("Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed") - SOLVED somehow Aug 13, 2023
@qdhj
Copy link
Author

qdhj commented Aug 13, 2023

[SOLVE]

So, I got solved the error by installing debian 10 (which has python 3.7), then holding the python:

sudo apt-mark hold python3
sudo apt-mark hold python3-minimal

Then updating to Debian 11, using this instruction. Installing lsb-release (apt-get install lsb-release) and making fully second step in installing SOGS by official tutorial.

And then unholding the python:

sudo apt-mark unhold python3
sudo apt-mark unhold python3-minimal

And without upgrading anything installing the sogs
sudo apt install sogs-standalone

The bug is still there, this is hella crutch, just telling how to get around it for others in case of need

@qdhj qdhj changed the title Debian 10 installation error ("Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed") - SOLVED somehow [SOLVED] Debian 10 installation error ("Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed") Aug 13, 2023
@qdhj qdhj changed the title [SOLVED] Debian 10 installation error ("Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed") [SOLVED] SOGS installation error ("Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed") Aug 13, 2023
@qdhj qdhj changed the title [SOLVED] SOGS installation error ("Depends: python3-sogs (= 0.3.7-2) but it is not going to be installed") [SOLVED] SOGS installation error ("Depends: python3-sogs (= 0.3.7-2) but 3.9 is to be installed") Aug 13, 2023
@qdhj qdhj changed the title [SOLVED] SOGS installation error ("Depends: python3-sogs (= 0.3.7-2) but 3.9 is to be installed") [SOLVED] SOGS installation error ("Depends: python3-sogs requires python 3.7, but 3.9 is to be installed") Aug 13, 2023
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