The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » [SOLVED] devuan 4 - protonvpn » 2021-10-18 19:13:57

Hello,

I cleaned out anything that might be a config file and purged the debs from the protonvpn site.

And it worked.

All the dependencies were installed and pip3 install just worked.

Thank you for your help.

Best,

Colby

#2 Re: Installation » [SOLVED] devuan 4 - protonvpn » 2021-10-18 17:02:09

Hello.

Thank you for your reply.

The python on my system is whatever it is that comes as stock on Devuan 4, which was freshly installed as a full disk encrypted system installation. I do not use python and so am unable to know if my installation is complete or missing anything.

I assume you are actually running protonvpm-cli on your system. I am curious if you have tried to install protonvpn according to the version 2 installation instructions on the protonvpn site for debian. The protonvpn  versions at the site are for both the gui and cli versions and are available  in both stable and beta form .

Both the gui and cli versions installed and failed to run on my system.

If I am missing any files on my system that would allow the git version 2 community protonvpn-cli to run on my system I would be only to happy to make whatever changes need to be made so when I build the git version of protonvpn-cli it will run cleanly.

When you have a moment, please reply to this message and build and install the community version of protonvpn-cli again. In your reply, please list the step by step commands you have used to build and install it.

If you have updated the version of python on your system or installed additional modules that you think have contributed to your successful installation, please list them so I can update my system as required; and what version of Devuan are you running.

Please, when you have the time,  try and install and run protonvpn, gui and cli versions, both beta and stable, on your system following the instructions on the protonvpn site. If they install and run cleanly and you are not using version 4 of devuan, then this is a problem that needs to be reported and fixed on version 4.

In my original post, when protonvpn, the gui version, failed to start, the runtime error message issued  ended with the following statement:

RuntimeError: Couldn't find acceptable executables for {'systemctl'}

You have said that has nothing to do with systemd.

What does that statement refer to.

Best,

Colby

PS: You are quite correct, the bash script version is well past end of life. I first used it when it first came out for Linux and that was some years ago. For the moment however it has the virtue of being the only version that works, on my system.

#3 Re: Installation » [SOLVED] devuan 4 - protonvpn » 2021-10-17 19:40:29

Thanks, but that doesn't work.

The community, production and beta versions as referenced on the protonvpn site and at the git are all the new, version 2,  python, systemd dependent versions.

I found the original bash script version of protonvpn-cli referenced in the git community version documentation. I downloaded it and it still works. The script can be found at:

https://github.com/ProtonVPN/protonvpn- … vpn-cli.sh

A few notes.

In order to use the script you need an account at protonmail/protonvpn. This is because the script will ask for openvpn credentials found at your protonvpn/protonmail account when the script is first  initialized. A free account works fine. Credentials can be found after logging in to your account and navigating to dashboard->account. Scroll down a bit and copy the username and password displayed when prompted for them.

Before using the script create an account.

Then do the following commands:

First, install the protonvpn-cli command.

sudo "name of your downloaded script" --install

Next, initialize the protonvpn-cli environment. You will be asked for your openvpn credentials found on your protonvpn/protonmail account and a few other things.

sudo protonvpn-cli --init

After that it should be smooth sailing. All the protonvpn-cli options can be found by:

protonvpn-cli --help

I use

protonvpn-cli -f to connect to the fastest server.

Hope this helps anyone trying to use a VPN on Devuan.

#4 Installation » [SOLVED] devuan 4 - protonvpn » 2021-10-16 20:04:05

colby
Replies: 14

Hello,

Just installed Devuan 4. When attempting to use protonvpn after uneventful  installation, I got the following trace back that relates to systemd. I expect there is something more I need to do, but no idea what. My presumption is there is a tool which turns systemd systemctl dependencies to init scripts.

protonvpn
Traceback (most recent call last):
  File "/usr/bin/protonvpn", line 11, in <module>
    load_entry_point('protonvpn-gui==1.3.0', 'console_scripts', 'protonvpn')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 474, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2846, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/protonvpn_gui/main.py", line 17, in <module>
    from protonvpn_nm_lib.api import protonvpn
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/api.py", line 6, in <module>
    from .core.report import BugReport
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/report/__init__.py", line 1, in <module>
    from .bug import BugReport
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/report/bug.py", line 7, in <module>
    from ..subprocess_wrapper import subprocess
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/subprocess_wrapper.py", line 123, in <module>
    subprocess = SubprocessWrapper() # noqa
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/subprocess_wrapper.py", line 34, in __init__
    self.__ensure_executables_exist()
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/subprocess_wrapper.py", line 81, in __ensure_executables_exist
    raise RuntimeError(
RuntimeError: Couldn't find acceptable executables for {'systemctl'}

However, if my optimism is unjustified, if anyone is successfully running a vpn on devuan 4, I would be grateful for the name and the version.

Thanks

#6 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-06-15 22:43:04

golinux wrote:

@colby . . . you should not have any packages installed directly from the Debian repos.  Doing so could really break your your system.  Packages from the Debian repos are pulled by amprolla via a redirect that filters out incompatible packages.

The following network-manager packages are available in the ascii repos:

https://pkginfo.devuan.org/cgi-bin/d1pk … ease=ascii

The mate packages, unless they are very new, should also be available on the Devuan repos.  I let you do your own searching.

@golinux

Hi.

For the THIRD time I am going to post to this thread the sources.list of the repositories I have used which produced a working mate 1.20 desktop COMPLETE with a working Mate power-manager and Mate network manager on Devuan 2.0 installed via netinst.

My Devuan 2.0-Release installation did not include the default Devuan desktop. It did include the Mate desktop component of Devuan 2.0-Release.

Here are some details so you have a complete picture of where I started from and the steps I took to get mate 1.20 with working mate-power-manager and network-manager (nm-applet) on my system.

After that installation I proceeded to reconfigure the desktop to have a single panel and a new desktop background. I compiled and installed a new theme - Vimix, available at the GIT. I added two sets of icons I have used since the release of the gtk2-version of the desktop. I tested to see if Caja would use some of these icons correctly to represent files and directories. It did not, as is usual since the switch to GTK3. These icons rendered correctly on Devuan1. I installed a freetype.sh and libreoffice.sh file in /etc/profile.d to ensure font rendering that I prefer and altered the /etc/fonts.d by removing various hints scripts to ensure Firefox rendered text as I prefer. I used dconf-editor to make various additional changes.

At the end of this I had a desktop that was similar to the desktop I used when gtk1 was the desktop toolkit and almost exactly like the desktop configuration I had when the desktop used the gtk2 toolkit. The theme I used then was entirely different and I miss it enough to from time to time consider returning to devuan-1.

The default mate desktop version included with Devuan-2 has various annoying cosmetic bugs which only seem to be completely fixed in mate 1.20.2. This has also been true on the mate release on  Manjaro and Ubuntu. This is not specific to the Devuan-2 release but to the Mate-desktop.

These bugs are greatly reduced in mate 1.20 on Manjaro, Ubuntu and Devuan-2.

I decided to try to upgrade mate to version 1.20 again. Unlike my prior attempts to upgrade to mate 1.20 using the Devuan-2 release candidate, this time, using Devuan-2-Release, the upgrade was completely uneventful.

This is what my sources.list contained before I upgraded to mate 1.20. It has not been changed since that upgrade.

# deb cdrom:[devuan_ascii_2.0.0_amd64_netinst]/ ascii main non-free

# deb cdrom:[devuan_ascii_2.0.0_amd64_netinst]/ ascii main non-free

deb http://pkgmaster.devuan.org/merged/ ascii main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-security main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii-security main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-updates main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii-updates main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-backports main non-free contrib

deb http://www.hezeh.org/packages/ ascii main contrib non-free
deb-src http://www.hezeh.org/packages/ ascii main contrib non-free

You have stated that I should not use debian packages because ...

If there are any debian repositories in my sources.list please point them out to me so I can remove them.

After the upgrade to mate 1.20, I removed wicd and xfce-power-manager from my system and replaced them with the following packages which all have origins in DEVUAN and HEZEH repositories.

gnome-power-manager                     3.22.2-2
mate-power-manager                        1.20.0-1+hezeh1
mate-power-manager-common         1.20.0-1+hezeh1

network-manager                              1.6.2-3+devuan1.1
network-manager-gnome                  1.4.4-1

Here are the origins for all of the packages listed above.

apt-cache policy gnome-power-manager
gnome-power-manager:
  Installed: 3.22.2-2
  Candidate: 3.22.2-2
  Version table:
*** 3.22.2-2 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy mate-power-manager
mate-power-manager:
  Installed: 1.20.0-1+hezeh1
  Candidate: 1.20.0-1+hezeh1
  Version table:
*** 1.20.0-1+hezeh1 500
        500 http://www.hezeh.org/packages ascii/main amd64 Packages
        100 /var/lib/dpkg/status

mate-power-manager-common:
  Installed: 1.20.0-1+hezeh1
  Candidate: 1.20.0-1+hezeh1
  Version table:
*** 1.20.0-1+hezeh1 500
        500 http://www.hezeh.org/packages ascii/main amd64 Packages
        100 /var/lib/dpkg/status
     1.16.2-1+deb9u1 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages

apt-cache policy network-manager
network-manager:
  Installed: 1.6.2-3+devuan1.1
  Candidate: 1.6.2-3+devuan1.1
  Version table:
*** 1.6.2-3+devuan1.1 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy network-manager-gnome
network-manager-gnome:
  Installed: 1.4.4-1
  Candidate: 1.4.4-1
  Version table:
*** 1.4.4-1 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status

Please show me the DEBIAN repository in the above list. I will be happy to remove the package.

Of course maybe that's not the problem. So to continue.

MSI asked/stated:

So, mate-power-manager here is a third-party package that has apparently been rebuilt so it won't depend on systemd and network-manager is a genuine Devuan package that has been forked from Debian in order to eliminate the systemd dependency.

My response to that was:

I have not looked at the source code or queried the maintainers for these packages, therefore I can not give you an authoritative answer to your question.

Though I have been programming since 1966, I have found that does not give me supernatural insight into other peoples code. Also, not everybody who uses a system like Devuan is a programmer.

The question is appropriate, asking for a clarification I can not give because I do not and have not worked with the code. If MSI is a programmer then all he need do is look at the code, or the change log for the package, but if he is not, or if the code base is large, then what.

He could send the same question to the package MAINTAINER and see if he gets an answer.

In particular.

dpkg-query -W -f='${Maintainer}' gnome-power-manager
Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>

dpkg-query -W -f='${Maintainer}' mate-power-manager
Antonio Volpicelli <nioanto@live.it>

dpkg-query -W -f='${Maintainer}' power-manager-common
dpkg-query: no packages found matching power-manager-common

dpkg-query -W -f='${Maintainer}' network-manager
Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org>

dpkg-query -W -f='${Maintainer}' network-manager-gnome
Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>

This is a start in contacting people familiar with the code who can give MSI an authoritative answer to his question.

That's the best I could do in trying to answer his question.

You do understand that the packages these people maintain are all in DEVUAN or HEZEH repositories - right?

So getting back to those DEBIAN packages and repositories..

How bout you educating me about where those DEBIAN repositories are in my sources.list and what are the packages I'm using that are from DEBIAN.

#7 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-06-14 22:33:39

msi wrote:
colby wrote:

Both power manager and network manger run on devuan Mate-1.20. I installed them from devuan repositories and hezeh, as listed in my source.list file which follows.

[...]

These are the packages I have installed and running on my system:

gnome-power-manager                       3.22.2-2
mate-power-manager                          1.20.0-1+hezeh1
mate-power-manager-common           1.20.0-1+hezeh1

network-manager                                1.6.2-3+devuan1.1
network-manager-gnome                    1.4.4-1

So, mate-power-manager here is a third-party package that has apparently been rebuilt so it won't depend on systemd and network-manager is a genuine Devuan package that has been forked from Debian in order to eliminate the systemd dependency.

I have not looked at the source code or queried the maintainers for these packages, therefore I can not give you an authoratative answer to your question.

I think you can get authoritative answers from:

gnome-power-manager comes from  http://pkgmaster.devuan.org/pool/DEBIAN … .2-2_amd64. The Maintainers are Debian GNOME Maintainers <pkg-gnome-maintainers@lists.ailoth.debian.org>

network-manager-gnome comes from  http://pkgmaster.devuan.org/pool/DEBIAN … .4-1_amd64 The Maintainers are Utopia Maintenance Team <pkg-utopia-maintainers@lists.ailoth.debian.org>

mate-power-manager and mate-power-manager-common are from http://www.hezeh.org/pool/main/m/mate-p … zeh1_amd64 and  http://www.hezeh.org/pool/main/m/mate-p … hezeh1_all and are maintained by Antonio Volpicelli <nioanto@live.it>

I would read the source code or query the maintainers for an authoratative answer to your question.

A quick check of dependencies and recommended packages for these packages does not show systemd as a dependency or recommendation.

Mate-power-manager 1.20 breaks mate-power-manager <1.9.0.

#8 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-06-13 22:17:14

msi wrote:
colby wrote:

I've read that both mate-power-manager and mate-network-manager are dependent upon systemd.

Neither of those packages exist in Devuan. The latter doesn't even exist in Debian. AntoFox should be able to explain how network configuration and power management for MATE are being handled in Devuan.

colby wrote:

Systemd is not running on my system. There is an /etc/systemd directory with a few entries none of which concern mate-power-manager. There is some networking window dressing, but how these files are used without systemd is unclear to me. Systemd became a Gnome project dependency in 2011. All I know about systemd is I don't want to run on a system that is dependent on it.

I think you should read https://dev1galaxy.org/viewtopic.php?id=1925.

Hi

Both power manager and network manger run on devuan Mate-1.20. I installed them from devuan repositories and hezeh, as listed in my source.list file which follows.

I removed wicd and xfce-power-manager.

I'm not going to argue the merits of these applications, that's not really the issue. I customize my desktop and system as I choose. That's what was attractive about linux when it first came out; at least to me.

As to systemd, my only interest in it is whether it's running or not.

These are the packages I have installed and running on my system:

gnome-power-manager                       3.22.2-2
mate-power-manager                          1.20.0-1+hezeh1
mate-power-manager-common           1.20.0-1+hezeh1

network-manager                                1.6.2-3+devuan1.1
network-manager-gnome                    1.4.4-1

They can be found in:

======my repositories

# deb cdrom:[devuan_ascii_2.0.0_amd64_netinst]/ ascii main non-free

# deb cdrom:[devuan_ascii_2.0.0_amd64_netinst]/ ascii main non-free

deb http://pkgmaster.devuan.org/merged/ ascii main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-security main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii-security main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-updates main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii-updates main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-backports contrib non-free main 

deb http://www.hezeh.org/packages/ ascii main contrib non-free
deb-src http://www.hezeh.org/packages/ ascii main contrib non-free

#9 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-06-13 21:43:21

Hi,

When I looked for mate-screenshot, I couldn't find it. I used synaptic and found gnome-screenshot and installed that. However, my repository list may be different than yours. I'll include my repository list after this comment.

Installing gnome-screenshot installs just the package. No other dependencies are included in the download.

When I use  main menu ->accessories->screenshot, I sometimes get the same message you do with an additional comment to check the  mate-utils installation, but most of the time it just works.

I upgraded mate to 1.20  over the mate distribution included in devuan.

When I checked mate-utils, I found I have mate-utils from 1.16 and mate-utils-common from 1.20 installed.

I'm guessing that may have something to do with the problem, at least on my system.

If I issue a "gnome-screenshot --interactive" command, that seems to fix the problem, but not permanently. 

====== my repositories

# deb cdrom:[devuan_ascii_2.0.0_amd64_netinst]/ ascii main non-free

# deb cdrom:[devuan_ascii_2.0.0_amd64_netinst]/ ascii main non-free

deb http://pkgmaster.devuan.org/merged/ ascii main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-security main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii-security main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-updates main non-free contrib
deb-src http://pkgmaster.devuan.org/merged/ ascii-updates main non-free contrib

deb http://pkgmaster.devuan.org/merged/ ascii-backports contrib non-free main 

deb http://www.hezeh.org/packages/ ascii main contrib non-free
deb-src http://www.hezeh.org/packages/ ascii main contrib non-free

#10 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-06-13 16:17:50

Hi,

I've read that both mate-power-manager and mate-network-manager are dependent upon systemd. This is a recent dependency for both applications as they were working for the Gnome2 desktop, from which mate was derived,  and if memory serves me both were present in the gnome 1 desktop based on gtk1. This was a very different animal under the hood and used Orbit, to provide the Gnu Network Object Model Environment,  as an object request broker, which was a GNU development, adopted by the Gnome project. The Gnome desktop was started and run by Miguel de Icaza and Federico Mena and many many volunteers, not the current crew at gnome.

Systemd is not running on my system. There is an /etc/systemd directory with a few entries none of which concern mate-power-manager. There is some networking window dressing, but how these files are used without systemd is unclear to me . Systemd became a Gnome project dependency in 2011. All I know about systemd is I don't want to run on a system that is dependent on it.

#11 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-05-13 17:06:29

UPDATE -

I installed Devuan 2.0 release a couple of days ago with the mate desktop. I used the iso-installer version to do the installation.

I just updated the Mate Desktop to Mate 1.20.

The update was uneventful.

It includes a working Mate Power-Manager and Mate NetworkManager.

Restarting after updating and setting up Power-manager as a startup progam, was uneventful and the notification area tray had the familiar icon set for NetworkManager and Power Manager.

My desktop is customized in numerous ways, including a theme called Vimix which I get from the git. The theme and all customizations render as expected.

This release, 1.20, performs and looks exactly as expected, however, if you were using wicd before installing network-manager there will probably be a problem with network-manager showing a device not ready status for wifi networks. This is easy to solve by sudo service stop wicd and sudo service restart network-manager. Removing wicd entirely using the command line or synaptics also works.

The only caveat I can pass on is if you plan to use or update to Mate 1.20, use  Devuan 2.0 release, not a release candidate, or you will probably experience what I did in my prior post which follows. I did not update from Jessie so I don't know how an update from Jessie to asciii and installation/update to 1.20 would work out.

=======================================================================

prior post begins here

=======================================================================

Hi,

I twice tried to install Mate 1.20 after setting up source.list as described on your site.

Both attempts were made against fresh installs of Devuan 2.0 RC.

I tried the installation once from the command line - lots of complaints - and once from synaptic, some complaints.

In both attempts I got to the point where the only package not installed was weather-something.

After I rebooted, the slim login turned up just as expected.

After pressing F1, Mate Session was displayed.

When I completed logging in, the slim screen disappeared and a blank purplish screen turned up, with Mate Session still displayed.

This was not the background I had chosen for Mate when I configured it, after the initial installation of Mate using synaptic from the default xfce deskkop..

After a few moments, a  wicd notification turned up telling me I was connected to a network .

That's all that happened, no matter how long I waited.

Hope this is useful.

As a comment:

Mate 1.20.1, which I used on Manjaro and Ubuntu on my laptop, fixed all the problems that had concerned me since the Mate switched to GTK3.

Mate 1.20  still had problems with the display of panel drawers that contained multiple items.

I

Board footer

Forum Software