Feature #10702

Try installing tails-installer from PPA on Ubuntu

Added by Anonymous 2015-12-02 07:23:34 . Updated 2015-12-13 05:28:14 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
2015-12-02
Due date:
% Done:

0%

Feature Branch:
Type of work:
Debian
Blueprint:

Starter:
Affected tool:
Installer
Deliverable for:


Subtasks


History

#1 Updated by intrigeri 2015-12-07 14:36:24

  • Category set to Installation
  • Target version set to Tails_1.8
  • Parent task deleted (Feature #10664)
  • Affected tool set to Installer

Testing that it can actually be installed and works is part of the first iteration of “having the installer in a PPA”, as I see it: there’s little value in having it in a PPA if it’s not usable from there => I’ll do the Redmine dance.

Now, I’d rather see u focus on Icedove this month, I’m swamped by other tasks, and sajolida is swamped by the installation assistant, so I’m not sure who can realistically try that by December 15. So I propose the following course of action: sajolida tests this on Wily (as part of writing the doc he’ll have to anyway); if it works out of the box, fine; if it doesn’t, we postpone fixing and documenting the PPA to some value of “later”. Thoughts?

#2 Updated by intrigeri 2015-12-07 14:37:05

#3 Updated by intrigeri 2015-12-07 14:39:21

  • blocks #8538 added

#4 Updated by intrigeri 2015-12-07 14:39:50

(To clarify, I don’t think that testing on Xenial is required.)

#5 Updated by intrigeri 2015-12-07 14:40:50

  • Assignee set to sajolida

#6 Updated by Anonymous 2015-12-08 01:31:12

intrigeri wrote:
> Testing that it can actually be installed and works is part of the first iteration of “having the installer in a PPA”, as I see it: there’s little value in having it in a PPA if it’s not usable from there => I’ll do the Redmine dance.

I simply managed to test if the packages built were installable and worked (they did), but I downloaded them directly, instead of using the Add PPA feature, hence I wanted to test that a bit better.

> Now, I’d rather see u focus on Icedove this month, I’m swamped by other tasks, and sajolida is swamped by the installation assistant, so I’m not sure who can realistically try that by December 15. So I propose the following course of action: sajolida tests this on Wily (as part of writing the doc he’ll have to anyway); if it works out of the box, fine; if it doesn’t, we postpone fixing and documenting the PPA to some value of “later”. Thoughts?

Sounds good, but I can eventually try to do that too later today.

#7 Updated by intrigeri 2015-12-08 05:47:27

> Sounds good, but I can eventually try to do that too later today.

Cool :)

#8 Updated by sajolida 2015-12-08 10:42:34

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

I tested it on 15.10 live and it failed with the following log:

tails-i386-1.7.iso selected
Unmounting mounted filesystems on '/dev/sdd'
Clearing unreadable partition table.
Partitioning device /dev/sdd
Formatting /dev/sdd1 as FAT32
Verifying filesystem...
Extracting live image to the target device...
2
Tails installation failed!
[Errno 2] No such file or directory

Was it working for you?

#9 Updated by Anonymous 2015-12-08 14:33:39

I tried the Ubuntu package on a Debian installation and it worked.

Now, I ran it again in Wily, the normal way and get the same error as you.
The complete debug log is here: https://paste.debian.net/hidden/0764f91f
I did not check the details yet but at first glance I have the impression that the stick gets mounted in a different folder as the one we might expect and thus the ISO cannot be extracted.

#10 Updated by Anonymous 2015-12-08 15:13:21

On a second view I think the problem is that the ISO file can’t be located - although I can select it. I am currently testing this using a Ubuntu VM and two physical USBs.

#11 Updated by Anonymous 2015-12-08 15:32:42

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

u wrote:
> I tried the Ubuntu package on a Debian installation and it worked.
>
> Now, I ran it again in Wily, the normal way and get the same error as you.
> The complete debug log is here: https://paste.debian.net/hidden/0764f91f
> I did not check the details yet but at first glance I have the impression that the stick gets mounted in a different folder as the one we might expect and thus the ISO cannot be extracted.

#12 Updated by sajolida 2015-12-09 03:16:29

  • Assignee deleted (sajolida)

You assigned this to me again but it’s not clear to me what should I do now. Do you need info from me? Did you upload a new version? Did it work for you?

#13 Updated by intrigeri 2015-12-09 04:06:46

u wrote:
> The complete debug log is here: https://paste.debian.net/hidden/0764f91f

This looks like the end of a debug log. Next time, please attach the full one :)

#14 Updated by intrigeri 2015-12-09 05:19:00

Looks like 7z can’t be found, because we lack a dependency on p7zip-full. Once it was installed, with 4.4.6+dfsg-0tails1 on Wily I could successfully do an install and an upgrade. Fixed in tails/jessie (b501d99), probably not worth doing an upload to the PPA until someone else has confirmed it works for them too with this package installed.

#15 Updated by Anonymous 2015-12-11 06:00:01

But installing this package fixes the problem indeed.

In Debian p7zip is in main but in Ubuntu it’s available in universe only, from what I can see. Not sure if that has any impact on the packaging for Ubuntu though.

#16 Updated by Anonymous 2015-12-11 06:13:14

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • QA Check set to Ready for QA
  • Type of work changed from Test to Debian

Quickly built and uploaded to the PPA. Could you retest that please?

#17 Updated by Anonymous 2015-12-11 07:10:11

I tested that in Wily again, the whole way.

apt-add-repository ppa:tails-team/tails-installer

Then realized that I need to activate universe in /etc/apt/sources.list.

Then one can apt-get install tails-installer and successfully create a Tails stick.

#18 Updated by sajolida 2015-12-11 08:10:10

  • Status changed from In Progress to Resolved
  • Assignee deleted (intrigeri)
  • QA Check changed from Ready for QA to Pass

I tested my set of graphical instructions for Ubuntu and it worked! Congrats!

So I’m closing this ticket, I guess intrigeri won’t mind.

#19 Updated by intrigeri 2015-12-13 05:28:14

> So I’m closing this ticket, I guess intrigeri won’t mind.

Thanks! Quite the opposite :)