## Problems Getting Synaptic To Work, On My Google Pixel C Tablet

One of the facts which I’ve blogged about was, that I had used an Android app (that does not require root) in order to install a Linux Guest System, on my Google Pixel C Tablet. The version of Linux it’s subscribed to is Debian 10 / Buster. And, the CPU of that tablet is an ARM-64. One of the considerations which need to be made, when setting up this Guest System, is that both RAM and Storage are scarce, the latter because the entire Linux Guest System consists of Application Data, belonging to this one Android app.

One idea which I was pursuing until last night was, to get the Synaptic GUI to work, where the ‘apt-get’ command-line does already work. Either would provide the main way to install software. But the GUI is much nicer, in allowing searches for packages to take place, instead of just package-names being burped on the command-line (blindly), and also, displaying lengthy descriptions of the packages first.

The way I’d need to launch Synaptic is like so:


$xhost +$ sudo synaptic



The first bug which needs to be dealt with, is This Bug. But, even when that bug has been dealt with, there are more problems facing the use of Synaptic under Debian / Buster. And they all have to do with the fact that the new Synaptic can no longer be used effectively, to search for packages.

First off, in order for the Search Field to display in the toolbar of Synaptic, one needs to install the following:


$sudo apt-get install apt-xapian-index$ sudo update-apt-xapian-index



This is a process that takes about an hour to complete, and when it has completed, its only result is that the Search Field displays in the Tool-Bar of Synaptic. By itself, this Search Field is useless because it only acts as a filter, on the actual search results, that we get when clicking on the Search Button. And, this process is not optimal in a ‘proot’ed environment, on an Android tablet, because the fully built database takes up more than 200MB.

The actual Search Button has been rendered useless. When told to search both the names and descriptions of packages, the resulting search takes about 20 minutes to complete, and does not become faster the second time, even when we have ‘apt-xapian-index’ installed and set up. The only other possibility is, only to search the names of packages, which defeats the entire purpose of using Synaptic.

I once had a (Debian 8 / Jessie) Linux Guest System installed the same way, on a Samsung Galaxy Tab S, first generation, and the searches within Synaptic were quick and painless.

(Updated 9/07/2019, 15h15 … )