Feature #11378

Make Tails Installer installable through Ubuntu Software

Added by sajolida 2016-04-26 10:31:27 . Updated 2018-12-13 16:37:06 .

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
2016-05-09
Due date:
% Done:

100%

Feature Branch:
Type of work:
Debian
Blueprint:

Starter:
Affected tool:
Installation Assistant
Deliverable for:

Description

As noted in Bug #11004#note-4, the installation process in Ubuntu has changed in 16.04 with the introduction of their new “Ubuntu Software” (branded version of GNOME Software). My rough notes are:

  • Start Ubuntu 16.04 live.
  • Choose Try Ubuntu.
  • Start Software & Updates.
  • Check universe.
  • Other Software → Add… → ppa://tails-team/tails-installer.
  • Close, Reload.
  • Open a terminal.
  • Execute `gnome-software`.

But Tails Installer won’t show up in Ubuntu Software until we have AppStream metadata. See Feature #11569.

Start reverting e74b5eeb36 to hopefully rescue some strings and translations from there.

Also double-check if GNOME Software is in Stretch by default and if so, consider replacing Synaptic with GNOME Software for all distros. Debian would still need a custom section to configure backports.


Subtasks

Bug #11004: Check the status of Tails Installer in Ubuntu 16.04 LTS Resolved

100

Feature #11404: Rewrite Ubuntu instructions to install Tails Installer from Synaptic Rejected

0

Bug #11570: Document workaround to install Tails Installer on the command line in Ubuntu 16.04 Resolved

0


Related issues

Related to Tails - Bug #11561: Add Linut Mint to installation assistant Resolved 2016-07-12
Related to Tails - Bug #12695: Improve Ubuntu installation instructions Resolved 2017-06-14
Related to Tails - Bug #12688: Minor aesthetics issues in AppStream for Tails Installer Rejected 2017-06-12
Related to Tails - Bug #15396: Core work: Debian Confirmed 2019-02-08
Blocked by Tails - Feature #11569: Have AppStream metadata for Tails Installer Resolved 2016-07-16
Blocks Tails - Bug #16141: Document installing Tails Installer with Ubuntu Software Rejected 2018-11-19

History

#1 Updated by sajolida 2016-04-26 10:31:43

#2 Updated by sajolida 2016-05-03 13:03:09

#3 Updated by sajolida 2016-07-12 00:34:42

  • related to Bug #11561: Add Linut Mint to installation assistant added

#4 Updated by sajolida 2016-07-16 04:00:06

  • Description updated

#5 Updated by sajolida 2016-07-16 04:00:25

  • blocked by Feature #11569: Have AppStream metadata for Tails Installer added

#6 Updated by sajolida 2016-07-16 04:00:44

  • Assignee set to sajolida

I can lead this process.

#7 Updated by sajolida 2017-04-07 15:25:11

#8 Updated by sajolida 2017-05-10 17:09:59

  • Description updated

#9 Updated by sajolida 2017-05-10 17:12:53

  • Description updated

#10 Updated by sajolida 2017-06-02 17:19:16

  • Target version set to Tails_3.0

I should test this and see if we should update our Ubuntu documentation in time for 3.0.

#11 Updated by intrigeri 2017-06-12 16:09:10

  • Target version changed from Tails_3.0 to Tails_3.1

I’m closing the 3.0 target version, and AFAICT this has nothing to do with the 3.0 release: this has been broken since more than a year, and putting 3.0 out won’t make it any worse, so postponing.

#12 Updated by sajolida 2017-06-12 18:10:58

  • Subject changed from Update installation instructions on Ubuntu to 16.04 to Have Tails Installer installable through Ubuntu Software

Renaming according to the real problem we’re trying to fix here.

#13 Updated by sajolida 2017-06-12 18:16:08

  • Assignee deleted (sajolida)
  • QA Check set to Info Needed

Everybody will have to do a manual upgrade and I expect many people to fallback on Tails Installer in Debian or Ubuntu. Unfortunately, I tested this in Ubuntu 16.04 live and I couldn’t get it work, so yes this won’t be done in time for 3.0 nor a tiny bit after.

  • I added the PPA and tails-installer 4.4.14.
  • Then searching `tails` leads to a spinner going on for ever (+5 minutes).
  • `tails-installer` is installable on the command line and works.

U: did you test the AppStream on Ubuntu while working on Feature #11569?

I’ll also test on Ubuntu 17.04.

#14 Updated by sajolida 2017-06-12 18:24:21

  • Tracker changed from Bug to Feature
  • Subject changed from Have Tails Installer installable through Ubuntu Software to Make Tails Installer installable through Ubuntu Software

#15 Updated by sajolida 2017-06-12 18:24:42

  • blocked by deleted (Feature #12432: Technical writing core work 2017Q2)

#16 Updated by intrigeri 2017-06-12 18:56:53

> * Then searching `tails` leads to a spinner going on for ever (+5 minutes).

This very much looks like a limitation specific to their Live CD: I suspect they don’t include the AppStream data in there to save some disk space; if I’m guessing correctly, then this behavior is fully expected. I suggest running apt update and then retrying.

#17 Updated by sajolida 2017-06-12 19:33:30

apt update is performed already after adding Universe and the PPA in Software & Updates.

I tried in 17.04 and got the same result.

Then I tried to kill the gnome-software process running in the background and restart Ubuntu Software. I got slightly different results:

  • At startup I get a “reloading package list” or something similar.
  • Then searching for “Tails Installer” leads to “No Application Found” (instead of an endless spinner).
  • While searching for “Inkscape” leads to Inkscape as search result.

I quickly looked for another PPA with an AppStream but couldn’t find any. That would be a good test to know whether the problem is in our package or in Ubuntu.

#18 Updated by sajolida 2017-06-12 19:37:36

Also, trying to search for “Inkscape” right after starting Tails 17.04 live leads to Inkscape being proposed as a result. So to me, this bug is either a but in the PPA support of GNOME Software in Ubuntu in general or in Ubuntu live, or a bug in our package. But not an expected behavior of Ubuntu Live.

#19 Updated by Anonymous 2017-06-14 11:33:04

This could be related to https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1576780 But I still have to test this myself.

#20 Updated by sajolida 2017-06-29 14:38:55

  • related to Bug #12695: Improve Ubuntu installation instructions added

#21 Updated by Anonymous 2017-06-30 14:50:47

  • Type of work changed from End-user documentation to Debian

For now putting this in the Debian category.

#22 Updated by Anonymous 2017-07-05 12:12:35

I am currently researching this issue.
There is (possibly) a misunderstanding: no PPA is available in the universe repository.
Each PPA still needs to be added as a PPA from what I understand.
See https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_Personal_Package_Archives_.28PPAs.29

That said, once I add the PPA using gnome-software, the installer still does not show up.
Next step: research why this happens.

I tried to find it using appstreamcli s tails after doing appstreamcli refresh. But even in this command line tool I can’t see it.

Now, according to https://wiki.debian.org/AppStream/Guidelines#Icon_best_practices our icon might not be in the correct place AND we must ship an icon.

According to this page: https://appstream.debian.org/sid/main/metainfo/index.html our appstream file which is recognized is the .desktop file. This is the case for many other packages. AND apparently there was an error: https://appstream.debian.org/sid/main/issues/tails-installer.html

#23 Updated by Anonymous 2017-07-05 13:19:11

So I guess, that’s what needs fixing:

Errors
missing-desktop-file
Found an AppStream metainfo XML file, but the associated .desktop file is missing. This often happens when the .desktop file is renamed, but the <id/> tag of the AppStream metainfo file is not adapted as well, or if the metainfo file is located in a different package than the .desktop file.
Please fix the packaging or work with upstream to resolve this issue.

Warning
legacy-metainfo-directory
The AppStream metainfo file 'tails-installer.appdata.xml' was found in a legacy path.
Please install metainfo files into /usr/share/metainfo, as the old path will not be recognized anymore in the future.

Warnings
category-name-invalid
The category name Tails is invalid. The software can not be shown in this category.

Hints
description-from-package
This component gets its description from the package it is located in.
This has several disadvantages, like poor markup, too technical descriptions for users of software centers, different components having the same description, etc.
Please consider writing a metainfo file for this component to take the long description upstream. In future, components without metainfo file might be dropped from the metadata entirely. You can consult the XML quickstart guides for more information on how to write a metainfo file.

#24 Updated by Anonymous 2017-07-05 13:19:55

And in Ubuntu AppStream metadata, the package does not even show up: http://appstream.ubuntu.com/zesty/universe/index.html

#25 Updated by Anonymous 2017-07-10 12:13:59

  • related to Bug #12688: Minor aesthetics issues in AppStream for Tails Installer added

#26 Updated by Anonymous 2017-09-05 19:40:32

  • Target version changed from Tails_3.1 to Tails_3.3

I won’t manage this in time for 3.2.

#27 Updated by sajolida 2017-09-13 14:19:41

This is marked for 3.3 but is not blocking Bug #14646. I think this should be part of “Core work: Debian” and I’m very happy if you still plan to do it in time for 3.3 :)

#28 Updated by Anonymous 2017-09-14 09:59:19

  • Parent task set to Bug #14646
  • QA Check deleted (Info Needed)

Added as part of core work, thanks for the pointer.

I will try to do it in time. However, I stopped before because I was stuck, so let’s hope this time I will be able to point my finger to the problem :)

#29 Updated by intrigeri 2017-09-21 14:10:54

#30 Updated by intrigeri 2017-09-21 14:11:31

  • blocks Bug #14646: Core work 2018Q1 → 2018Q2: Debian added

#31 Updated by anonym 2017-11-15 11:30:50

  • Target version changed from Tails_3.3 to Tails_3.5

#32 Updated by Anonymous 2018-01-16 16:37:10

  • Target version changed from Tails_3.5 to Tails_3.6

#33 Updated by bertagaz 2018-03-14 11:32:11

  • Target version changed from Tails_3.6 to Tails_3.7

#34 Updated by sajolida 2018-05-04 16:53:46

I tested this in Ubuntu 18.04 and Tails Installer still doesn’t show up in Ubuntu Sofware.

Two years and a half after we packaged Tails Installer for Ubuntu, people still have to go through the command line to install it :(

#35 Updated by Anonymous 2018-05-05 13:59:21

sajolida wrote:
> I tested this in Ubuntu 18.04 and Tails Installer still doesn’t show up in Ubuntu Sofware.
>
> Two years and a half after we packaged Tails Installer for Ubuntu, people still have to go through the command line to install it :(

I’m aware of it, but there is not a lot of documentation (or I did not find it) on how to make this work correctly, so it takes me quite some time to figure it out and I did not yet get back to it. However, this ticket is assigned to me and I want to take care of it when I’m not on vacation anymore.

#36 Updated by Anonymous 2018-05-08 13:43:24

While working on the tails-installer debian packages today, I noticed that the appstream file is not installed in the correct location. I fixed that in 91610c0 on liveusb-creator.git. I’m not sure if this will be enough to fix this bug, but I certainly hope it will once we have the new version uploaded to Ubuntu. Leaving this ticket open to test that later.

#37 Updated by Anonymous 2018-05-08 14:03:09

  • Status changed from Confirmed to In Progress

#38 Updated by bertagaz 2018-05-10 11:09:16

  • Target version changed from Tails_3.7 to Tails_3.8

#39 Updated by intrigeri 2018-06-25 08:10:16

u wrote:
> While working on the tails-installer debian packages today, I noticed that the appstream file is not installed in the correct location. I fixed that in 91610c0 on liveusb-creator.git. I’m not sure if this will be enough to fix this bug, but I certainly hope it will once we have the new version uploaded to Ubuntu. Leaving this ticket open to test that later.

This change was included in 5.0.8+dfsg-0tails1, fingers crossed.

#40 Updated by intrigeri 2018-06-26 16:27:54

  • Target version changed from Tails_3.8 to Tails_3.9

#41 Updated by sajolida 2018-07-17 09:34:46

  • QA Check set to Dev Needed

Still doesn’t work with 5.0.8+dfsg-0ubuntu1-bionic in Ubuntu 18.04 live.

By the way, I think that testing that your uploaded package works as expected in Ubuntu (and is not introducing regressions) should be part of your release process. Do you usually do that?

#42 Updated by Anonymous 2018-09-03 17:43:44

  • blocked by deleted (Bug #14646: Core work 2018Q1 → 2018Q2: Debian)

#43 Updated by Anonymous 2018-09-03 17:43:50

#44 Updated by Anonymous 2018-09-03 17:51:53

  • Target version changed from Tails_3.9 to Tails_3.10.1

#45 Updated by Anonymous 2018-09-03 17:52:23

I’m scheduling more work and testing on this particular issue around the end of September.

#46 Updated by sajolida 2018-09-04 14:59:47

Hurray!

Note that the more we postpone this issue the less sense it will make
(depending on the cost/benefit) since we will remove Tails Installer
from Ubuntu in time for Release 3.12 (2019-01-29).

#47 Updated by intrigeri 2018-10-24 17:03:37

  • Target version changed from Tails_3.10.1 to Tails_3.11

#48 Updated by Anonymous 2018-11-05 17:16:30

I’ve found more errors in out desktop and appstream files, modified them now and pushed.

#49 Updated by sajolida 2018-11-19 13:06:43

  • blocks Bug #16141: Document installing Tails Installer with Ubuntu Software added

#50 Updated by Anonymous 2018-12-13 16:37:06

  • Status changed from In Progress to Rejected

> Note that the more we postpone this issue the less sense it will make
> (depending on the cost/benefit) since we will remove Tails Installer
> from Ubuntu in time for Release 3.12 (2019-01-29).

Yes, and that’s why I am now tempted to actually reject this ticket.