Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

<SOLVED> Installing Cliqz on MX Linux

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

<SOLVED> Installing Cliqz on MX Linux

#1

Post by philotux » Mon Jan 28, 2019 4:16 pm

I have added Cliqz' repository to my sources and running an installation simulation revealed a dependency problem:

Code: Select all

apt install cliqz -s
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:
 cliqz : Depends: libnss3 (>= 2:3.28) but 2:3.26.2-1.1+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.
I downloaded the package from https://packages.ubuntu.com/search?key ... ection=alland it got installed with no issues:

Code: Select all

 dpkg -i libnss3_3.35-2ubuntu2.1_amd64.deb
(Reading database ... 332806 files and directories currently installed.)
Preparing to unpack libnss3_3.35-2ubuntu2.1_amd64.deb ...
Unpacking libnss3:amd64 (2:3.35-2ubuntu2.1) over (2:3.26.2-1.1+deb9u1) ...
Setting up libnss3:amd64 (2:3.35-2ubuntu2.1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Then I ran the simulation once again:

Code: Select all

apt install cliqz -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  cliqz
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst cliqz (1.24.2-1 . stable:stable [amd64])
Conf cliqz (1.24.2-1 . stable:stable [amd64])
It looks like that APT isn't complaining and Cliqz can be installed on my system. I just wondered if there is any downside installing libnss3 from outside MX' repos or any other future problems may arise because of this of this. At the moment there are no broken dependencies on the system.
Last edited by philotux on Fri Feb 08, 2019 3:19 pm, edited 1 time in total.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19823
Joined: Fri Dec 15, 2006 8:07 pm

Re: Installing Cliqz on MX Linux

#2

Post by Stevo » Mon Jan 28, 2019 4:39 pm

We don't recommend installing base system Ubuntu packages like libnss3 at all, since they may have subtle differences that can disrupt your system in ways very difficult to diagnose.

The right way to do it would be for us to backport a newer libnss3 and have it available in our test repo, which I'll do right now.

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#3

Post by philotux » Mon Jan 28, 2019 4:58 pm

That's great! Thank you, Stevo!
I'll go back to the repo version right away.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19823
Joined: Fri Dec 15, 2006 8:07 pm

Re: Installing Cliqz on MX Linux

#4

Post by Stevo » Mon Jan 28, 2019 5:11 pm

Here it is: https://drive.google.com/open?id=19ddSG ... wrPZ1_hGBU

on the way to the test repo.

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#5

Post by philotux » Mon Jan 28, 2019 5:15 pm

Wonderful! :happy:
Thank you!

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#6

Post by philotux » Mon Jan 28, 2019 6:20 pm

Got it installed without a hitch. Gonna take it for a test ride and will get back with my impressions

...to be continued

:hamster:

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#7

Post by philotux » Mon Jan 28, 2019 7:02 pm

Well, a first and at the moment insurmountable looking obstacle (I don't have any clue of it's cause and possible solution):

It looks like as if the browser only runs in "live" mode. Nothing gets written in ~/.config/cliqz.

I startetd it with firejail first, so I went to look at it's profile. To me it looked as it should. And then I started Cliqz with no firejail, made some changes, closed it to reopen it once again to a "blank slate". Nothing got written in ~/.config/cliqz this time either.

So I am quite stumped and I don't know what to make of this...

Running it from terminal gives:

Code: Select all

$ cliqz
JavaScript error: chrome://global/content/bindings/text.xml, line 31: TypeError: right-hand side of 'in' should be an object, got null
console.error: CustomizableUI: 
  Could not find the view node with id: PanelUI-remotetabs, for widget: sync-button.

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

JavaScript error: chrome://global/content/bindings/text.xml, line 31: TypeError: right-hand side of 'in' should be an object, got null
[Parent 25713, Gecko_IOThread] WARNING: pipe error (149): Connection reset by peer: file /var/lib/jenkins/jobs/browser-f-linux/workspace/mozilla-release/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 363

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#8

Post by philotux » Mon Jan 28, 2019 7:51 pm

Well, it looks like I was misguided by the existence of the ~/.config/cliqz which was and still is empty. But being Mozilla based it puts it's config folders/files in ~/.cliqz. I am not sure why it didn't create the folder at the first run but it certainly did after a reboot of the system and starting of the browser again.

Now, to firejail. Looking again at the cliqz.profile, I commented out the lines related to ~/.config/cliqz and added the following lines:

Code: Select all

noblacklist ${HOME}/.cliqz
mkdir ${HOME}/.cliqz
whitelist ${HOME}/.cliqz
at the proper place in the file and now, when started with firejail, it correctly reads/writes from/to ~/.cliqz.

Code: Select all

firejail --list
7125:philotux::firejail cliqz 

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#9

Post by philotux » Mon Jan 28, 2019 8:17 pm

Another two lines needed to be added in cliqz.profile :mad:

Code: Select all

noblacklist ${HOME}/Downloads
whitelist  ${HOME}/Downloads
Now, finally, it seems to be working, properly sanboxed (I hope).

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installing Cliqz on MX Linux

#10

Post by philotux » Tue Jan 29, 2019 4:25 am

update: firejail's cliqz.profile
Issue opened and already closed at GitHub:
https://github.com/netblue30/firejail/issues/2377

Post Reply

Return to “Software / Configuration”