Comment 5 for bug 1679784

Revision history for this message
Amos (amosfolarin) wrote : Re: [Bug 1679784] Re: package shim-signed 1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Crashed on changing from Xorg video driver to NVIDIA driver

On 6 April 2017 at 01:03, Steve Langasek <email address hidden>
wrote:

> Glad to know that you were able to resolve the problem. Can you still
> answer the question from my previous mail so that we're able to help
> other users avoid this problem? I.e.:
>
> > Can you please describe exactly how you went about installing the nvidia
> > driver, step by step? What did you click on at each step, etc.
>

​Of course,

Once the OS was installed. Reboot (at which point I probably should have
disabled the Secure Boot in the BIOS).

I avoided using the gui to do the updates, because it hung during the
update in my previous attempt (rendering the system unbootable -- went to
mauve screen with no text [not sure if this would have been resolved by
disabling SB in BIOS though as I just went for a re-install]). Looking
around it was suggested that I should try using the CLI to do the upgrade.

I think the main issue was the option to disable secure boot during the
install process did not persist, so when upgrading and installing certain
things that needed SB disabled this caused a problem. I'm not sure why this
worked with the CLI but didn't than the Software Updater.

So I did this (and while it did work):

   1. Install OS
   2. $ sudo apt-get update
   3. $ sudo apt-get dist-upgrade
   4. opened the Settings >> Software & Updates >> Additional Drivers
   [selected the now installed NVIDIA driver in place of the Xorg one]
   5. Reboot
   6. Disable Secure Boot in BIOS
   7. Fin.

​But probably should have done this:

   1. Install OS
   2. ​Reboot​

   3. ​
   Disable Secure Boot in BIOS​

   4. $ sudo apt-get update
   5. $ sudo apt-get dist-upgrade
   6. opened the Settings >> Software & Updates >> Additional Drivers
   [selected the now installed NVIDIA driver in place of the Xorg one]
   7. Reboot
   8. Fin.


Anway hope that helps.

--
- Amos Folarin