Project

General

Profile

Feature #11378

Make Tails Installer installable through Ubuntu Software

Added by sajolida over 1 year ago. Updated 25 days ago.

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

100%

QA Check:
Feature Branch:
Type of work:
Debian
Blueprint:
Easy:
Affected tool:
Installation Assistant

Description

As noted in #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 #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 LTSResolved

Bug #11506: Test installing a different PPA in Ubuntu 16.04 to see if Tails Installer behaves differently than othersResolved

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

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


Related issues

Related to Tails - Bug #11561: Add Linut Mint to installation assistant Resolved 07/12/2016
Related to Tails - Bug #12695: Improve Ubuntu installation instructions Resolved 06/14/2017
Related to Tails - Bug #12688: Minor aesthetics issues in AppStream for Tails Installer In Progress 06/12/2017
Blocked by Tails - Feature #11569: Have AppStream metadata for Tails Installer Resolved 07/16/2016
Blocks Tails - Bug #14646: Core work 2017Q3 & 2017Q4: Debian Confirmed 09/13/2017

History

#1 Updated by sajolida over 1 year ago

#2 Updated by sajolida over 1 year ago

  • Blocked by deleted (Bug #11044: PXE Boot support)

#3 Updated by sajolida over 1 year ago

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

#4 Updated by sajolida over 1 year ago

  • Description updated (diff)

#5 Updated by sajolida over 1 year ago

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

#6 Updated by sajolida over 1 year ago

  • Assignee set to sajolida

I can lead this process.

#7 Updated by sajolida 6 months ago

#8 Updated by sajolida 5 months ago

  • Description updated (diff)

#9 Updated by sajolida 5 months ago

  • Description updated (diff)

#10 Updated by sajolida 5 months ago

  • 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 4 months ago

  • 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 4 months ago

  • 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 4 months ago

  • Assignee changed from sajolida to u
  • 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 #11569?

I'll also test on Ubuntu 17.04.

#14 Updated by sajolida 4 months ago

  • 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 4 months ago

#16 Updated by intrigeri 4 months ago

  • 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 4 months ago

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 4 months ago

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 u 4 months ago

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 4 months ago

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

#21 Updated by u 4 months ago

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

For now putting this in the Debian category.

#22 Updated by u 3 months ago

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 u 3 months ago

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 u 3 months ago

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

#25 Updated by u 3 months ago

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

#26 Updated by u about 1 month ago

  • 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 about 1 month ago

This is marked for 3.3 but is not blocking #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 u about 1 month ago

  • Parent task set to #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 25 days ago

  • Parent task deleted (#14646)

#30 Updated by intrigeri 25 days ago

  • Blocks Bug #14646: Core work 2017Q3 & 2017Q4: Debian added

Also available in: Atom PDF