You are not logged in.

#1 2020-12-01 22:18:15

maskiepop
Member
Registered: 2018-01-09
Posts: 12

cannot upgrade encryptr to v2.1.0

Encryptr is closing down this Mar 2021. I would like to export/download all my stuff in it, asap. But it seems I can only do that if I upgrade to v 2.1.0. Tried doing that by downloading a v2.1.0 .deb package, and installing that via debtap.

Didn't seem to have worked; I am still on version v2.0.0-5.

Does anyone have suggestion(s) on how I can upgrade my encryptr to v2.1.0?

I'd appreciate that very much.

Thx

m

Offline

#2 2020-12-01 22:22:02

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,202
Website

Re: cannot upgrade encryptr to v2.1.0

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-12-02 08:19:21

a821
Member
Registered: 2012-10-31
Posts: 233

Re: cannot upgrade encryptr to v2.1.0

Offline

#4 2020-12-02 19:13:30

a821
Member
Registered: 2012-10-31
Posts: 233

Re: cannot upgrade encryptr to v2.1.0

Untested PKGBUILD

# Maintainer: Marek Petrik <marekpetrik@gmail.com>
# Prior Maintainer: Justin dray <justin@dray.be>
pkgname=encryptr
pkgver=2.1.0
pkgrel=1
pkgdesc="A zero-knowledge, cloud-based e-wallet / password manager powered by Crypton."
url="https://encryptr.org/"
arch=('x86_64')
license=('custom')
depends=('gconf' 'gtk2' 'libudev0-shim')
#install=${pkgname}.install
source=("${pkgname}-${pkgver}.deb::http://www.spideroak.com/release/Encryptr/deb_x64"
        "32x32.png"
        "64x64.png"
        "128x128.png"
        "256x256.png")
sha256sums=('bb60e6ec739972c6b586b9f68f4ca2d57bccb7ddb18596313806e47169ef84d6'
            '81b73f274a59e704233284053c14d956314fde2b9937cf8264a6dab049ace7fb'
            'f0979d8367759cb1aa0c727096f3312c4b4ce614bc31c133dd018838b559c73a'
            '8c87d22a2b52854c189f445757c1b959ccab571e318e30f38584035341247ee6'
            'e68796ec9378935285c2714b33ab0a0b28c1a741d2d6006419dfdd904382a9af')
options=('!strip')

package() {
    bsdtar -x -C "$pkgdir" -f data.tar.xz

    for size in 32x32 64x64 128x128 256x256
    do
        install -Dm 644 "$srcdir/${size}.png" "$pkgdir/usr/share/icons/hicolor/${size}/apps/encryptr.png"
    done

    mv "$pkgdir"/usr/share/{doc,licenses}
}

Edit: updated to address @logs suggestion. still untested.
Edit2: arghh... removed the license. hope I got it right.

Last edited by a821 (2020-12-03 07:28:42)

Offline

#5 2020-12-02 20:10:39

loqs
Member
Registered: 2014-03-06
Posts: 13,015

Re: cannot upgrade encryptr to v2.1.0

@a821 If the binary needs libudev.so.0,  why not have a dependency on libudev0-shim instead of symlinking to libudev.so which is a symlink to libudev.so.1?

Offline

#6 2020-12-03 07:17:33

a821
Member
Registered: 2012-10-31
Posts: 233

Re: cannot upgrade encryptr to v2.1.0

Ha! I was expecting that someone will complain about the symlink :-) that's what the deb package does in the postinstall hook. @loqs that's indeed a better solution.

Offline

#7 2020-12-10 05:18:02

maskiepop
Member
Registered: 2018-01-09
Posts: 12

Re: cannot upgrade encryptr to v2.1.0

Hi everyone.

Thanks everyone for your posts. Much appreciated.

When I saw a821's PKGBUILD, I knew I was in trouble. I've tried not to mess around with PKGBUILDs. I am, how shall i say this, an intermittent/occasional computer user; very much so,  although I did manage to install Archlinux, and learned to love it. But PKGBUILDs? I thought that may be just beyond me. I could mess up big time, i thought.

Anyway, I did run the PKGBUILD from a821. It told me it has built the new version (2.1.0) successfully. But surprise! The new version failed to run; with this error message: "[45074:1210/154731:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox!". Is there an easy way to get my encryptr back? Either the 2.1.0 version, or the previous one 2.0.0.

Stupid me did not backup my system.

Thanks again.

m

Offline

#8 2020-12-10 06:58:23

progandy
Member
Registered: 2012-05-17
Posts: 4,145

Re: cannot upgrade encryptr to v2.1.0

You could try to run with --no-sandbox. Not the best idea, but I don't know how you would solve that.

cd /opt/Encryptr
./encryptr-bin --no-sandbox

Or maybe you use a kernel without userns or with disabled userns? sysctl kernel.unprivileged_userns_clone should probably be 1.

You can still install v2.0.0 from the AUR.

Last edited by progandy (2020-12-10 06:58:51)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2020-12-14 00:04:48

maskiepop
Member
Registered: 2018-01-09
Posts: 12

Re: cannot upgrade encryptr to v2.1.0

Hi propagandy.

I have already re-installed the older version. Install was successful, but I still don't have a running encryptr.

I'll give your --no sandbox suggestion a try.

Thx

m

Offline

Board footer

Powered by FluxBB