[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-28 Thread hasno
Currently installing 16.04 final and I still got "ubi-prepare failed
with exit code 255", so I disabled secure boot. Will I have to reinstall
once this gets fixed so I can use secure boot. Or is it really enough to
run "sudo mokutil --disable-validation" and then enable secure boot in
BIOS ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-15 Thread Cameron Hart
I tried the latest nightly with fix and didn't get this error. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-13 Thread Cameron Hart
@cyphermox what's the best way of trying the fix? Can I just get updated
packages with the beta2 or should I wait for this to get into a nightly
build (and if so when do the nightlies get made)?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package ubiquity - 2.21.57

---
ubiquity (2.21.57) xenial; urgency=medium

  [ Mathieu Trudel-Lapierre ]
  * Automatic update of included source packages: localechooser
2.65ubuntu4. (LP: #1551285)
  * scripts/simple-plugins: better handle passing the MokPW key to mokutil
and the result from the command -- we explicitly can ignore errors here.
(LP: #1567445)
  * plugin-viewer-gtk.py: fix plugin-viewer-gtk to allow showing most plugins
correctly; useful for debugging.
  * ubiquity/plugins/ubi-prepare.py: rework password validation behavior for
MokPW without changing user-visible strings: we only need to show feedback
for a "good" password (of the allowable lengths), and correct the behavior
for mismatched passwords. Also make it obvious if the chosen password is
too short. (LP: #1560940)

  [ Shih-Yuan Lee (FourDollars) ]
  * Really make oem-config-prepare quiet when started by a non-priviledged
user.

 -- Mathieu Trudel-Lapierre   Wed, 13 Apr 2016
14:36:37 -0400

** Changed in: ubiquity (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubiquity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-13 Thread Mathieu Trudel-Lapierre
There's a couple of issues here, not just the one with mokutil -- looks
like your system is also failing to download all the right packages for
your third-party drivers.

I'll fix the failure because of mokutil now; this is simply because
mokutil and the kernel tend to disagree about the result of asking for
disabling validation, and mokutils happens to really do successfully set
things up, regardless of the message shown.

To answer the earlier questions; you can certainly change the Secure
Boot validation status later. This message is intended to convey the
message that if you want to use third-party drivers, you really ought to
disable Secure Boot validation as proposed; otherwise these *drivers*
might not work when you reboot. This is important since drivers may keep
you from getting online (for some wifi drivers), or from starting Unity
(assuming for some reason fallback to the free drivers completely fails,
except it usually doesn't). In other words, you might not get 3D
graphics or wifi if you really depend on the third-party drivers for
those to work.

To make changes later, you can run mokutil:

To re-enable Secure Boot validation:
sudo mokutil --enable-validation

To disable Secure Boot validation (which we do not recommend unless you need 
third-party drivers): 
sudo mokutil --disable-validation

This is substancially different from disabling Secure Boot altogether.
If you disable Secure Boot, you get no validation at all of the boot
sequence. If you leave it on but disable validation in shim using
mokutil, you will get validation up to Grub, and then the kernel and
modules will not be validated for a good signature by Canonical.

This also means you need to disable validation if you want to use custom
kernels.

For now, we're toggling validation in shim. In the future, we'll work on
making it easy to sign your own built kernels and modules, so that
disabling validation is not required (and then you can more easily make
sure the full boot sequence has not been tampered with).


** Changed in: ubiquity (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: ubiquity (Ubuntu)
 Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-13 Thread Matthew Willson
I am, yes. The only change I made was to disable secure boot, I didn't
enable legacy ROMs and I left UEFI (?) turned on.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-12 Thread Cameron Hart
@matthew-wilson - were you able to successfully install and dual boot
win 10 doing that?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-12 Thread Matthew Willson
Should have said, but this was on a Dell XPS 15 9550, with Windows 10
already pre-installed.

Workaround for me was to disable SecureBoot manually in the BIOS before
booting the 16.04 installer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-11 Thread Cameron Hart
I'd also like to know how "now or never" this actually is. I've been
trying to find documentation about this feature but haven't succeeded so
far.

@matthew-wilson: once I had the error I'd always get it on retry no
matter what options I chose. On reboot (or maybe just restarting
ubiquity, can't remember) if I didn't choose disable secure boot then I
didn't get an error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-11 Thread Matthew Willson
Incidentally the wording around this SecureBoot disabling stuff is very
"now or never" -- makes it sound like you'll never be able to install
the proprietary drivers unless you do this NOW, which is slightly scary.
Is that actually the case or can you do this later if you want?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-11 Thread Matthew Willson
I have this issue too with 16.04 beta 2

Initially I tried the 'disable SecureBoot' option, but after trying
again with this option unchecked I still see the error.

I see this line in syslog:

ubuntu ubiquity: Failed to request new SB state

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-11 Thread Alberto Salvia Novella
** Changed in: ubiquity (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-08 Thread Morten Frisch
However choosing to not enable third-party repos and not download along
side installation seems to have solved the issue

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-08 Thread Morten Frisch
I have the same issue, although checking or unchecking secure boot has
no effect

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubiquity (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1567445] Re: ubi-prepare failed with exit code 255

2016-04-07 Thread Cameron Hart
I tried running the installer again and determined that this only
happens if I tick the "disable secure boot" option.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567445

Title:
  ubi-prepare failed with exit code 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1567445/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs