Ubuntu Installation Stuck at “update-grub”

I have gone through all the similar questions asked about this problem and tried the workarounds mentioned over there but nothing works. Like the ” ps | grep ‘dmsetup create’ ” workaround simply doesn’t work, because I don’t get any output displaying any PID (so I can’t kill any process), then the one regarding deleting 30_os-prober just deletes the file but has no effect on the installation. I am trying to do a clean install on a HDD, can anyone please help me solve this problem. [I am installing Ubuntu LTS 20.04.1 from a live USB]

Go to Source
Author: Utkarsh Jha

How to deploy python microservices app updates?

I’m working on python microservices based app and I’m wondering how to ship updates.

Let’s start by a summary of what I have:

  • Code base on git (several repos)
  • The app is running on several remote raspberry pis
  • I access these via vpn network
  • Raspberry pis have a limited access to internet via GSM MtoM network
  • The main custom lib is installed with pip
  • Dependencies are installed at the first launch in house with good internet connection
  • The code of each service is ofuscated in place
    At the moment when I update my services I wrote a shell script which goes and download latest version for each service.
    It feels like it’s such a repetitive task for each device.

I only see 2 simple options:

  • connect to each device via vpn + ssh and run the update script (even an enhanced version)
  • At the end of the CI run a script that send latest.zip and create a service (script + cron ? python + systemd ) on each device that check for new .zip to update the services.
    Each of those options doesn’t look pretty clean.

What is usualy done in similar cases ?

Do you have any idea to share with me I don’t find anything that suits my needs.

Thanks for your inputs !

Go to Source
Author: AFZ84

VirtualBox Win 7 Update Failed with Processor not Supported

It’s a freshly created win 7 pro 32-bit vm on a VirtualBox. However the windows update only worked before the latest two. It gets “the processor is not supported together with the Windows version that you are currently using” error. The host OS is Ubuntu 18.04, process is i7 7700HQ.

On another host it updated to the latest KB3042058, following a KB4534310, and a KB4536952. On the problematic vm, it gets stuck at KB4536952 with the error.

One of two solutions suggested by a virtualbox forum topic is to change inside a windows system file as discussed on the virtualbox box forum “Concern: Microsoft block win7/8.1 update with new CPU“. The another of the two is to run these two commands:

vboxmanage modifyvm "virtual machine name" --cpuid-portability-level 1
vboxmanage modifyvm "virtual machine name" --cpuidset 80000004 372e3220 7a484730 00000000 00000000

I did run the two commands, the guest win 7 still reports the same system processor “i7 7700HQ” as it used to, and the update still fails the same as before.

Another post on this SE site suggests to use only a valid cpu profile. A list can be found on a virtualbox forum topic “specifying the processor type the vm sees. The two commands are changed to:

vboxmanage modifyvm "virtual machine name" --cpuid-portability-level 1
vboxmanage modifyvm "virtual machine name" --cpu-profile "Intel Core i5-3570"

Again it is not working. I also tried to change "Intel Core i5-3570" to "Intel Core i7-2635QM". In both cases, the guest OS will see the different processor types as set by the command, but the update still fails the same as before.

Any idea how to fix this?

Another data point is that on both the two win 7 vm’s when it is initially created, it fails windows update for a few times. On one of them it updated overnight when left alone. Then I clicked through multiple updates till the latest is done. On the second I just clicked to check for updates it worked for a bunch of successful updates till it fails. Not sure why these two are so different.

Go to Source
Author: minghua