Open ingoglia opened 5 years ago
Thanks, @ingoglia! Can you post the contents of /opt/tljh/installer.log
here so we can help debug? Thanks!
Sure, though it doesn't seem all that informative... As, I just cancel the build because it hangs for hours otherwise, then it installs normally:
2019-06-20 20:50:14,832 Checking if TLJH is already installed... 2019-06-20 20:50:14,832 Setting up hub environment 2019-06-20 21:12:04,746 Checking if TLJH is already installed... 2019-06-20 21:12:04,747 Setting up hub environment 2019-06-20 21:12:47,351 Checking if TLJH is already installed... 2019-06-20 21:12:47,351 Setting up hub environment 2019-06-20 21:12:53,851 Installed python & virtual environment 2019-06-20 21:12:55,497 Set up hub virtual environment 2019-06-20 21:12:55,497 Setting up TLJH installer... 2019-06-20 21:13:17,500 Setup tljh package 2019-06-20 21:13:17,501 Starting TLJH installer... 2019-06-20 21:13:17,834 Setting up admin users 2019-06-20 21:13:17,932 Granting passwordless sudo to JupyterHub admins... 2019-06-20 21:13:17,933 Setting up user environment... 2019-06-20 21:13:17,935 Downloading & setting up user environment... 2019-06-20 21:14:56,250 Setting up JupyterHub... 2019-06-20 21:16:42,468 Waiting for JupyterHub to come up (1/20 tries) 2019-06-20 21:16:43,517 Waiting for JupyterHub to come up (2/20 tries) 2019-06-20 21:16:43,551 Done!
Also, 'sudo dpkg --configure -a' results in this popup:
Configuring libssl1.1:amd64 There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, and libssl, are upgraded. Since these restarts may cause interruptions of service for the system, you will normally be prompted on each upgrade for the list of services you wish to restart. You can choose this option to avoid being prompted; instead, all necessary restarts will be done for you automatically so you can avoid being asked questions on each library upgrade.
Seems like the libssl package might be causing some complication.
Here is the readout particularly for the AWS build, from the system log. It will hang indefinitely, not sure why, but I cant get the syntax to render so not the easiest to read, let me know if there is some kind of trick:
[ 0.000000] Linux version 4.15.0-1032-aws (buildd@lcy01-amd64-025) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #34-Ubuntu SMP Thu Jan 17 15:18:09 UTC 2019 (Ubuntu 4.15.0-1032.34-aws 4.15.18) [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1032-aws root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.7 present. [ 0.000000] DMI: Xen HVM domU, BIOS 4.2.amazon 08/24/2006 [ 0.000000] Hypervisor detected: Xen HVM [ 0.000000] Xen version 4.2. [ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. [ 0.000000] You might have to change the root device [ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d] [ 0.000000] in your root= kernel command line option [ 0.000000] e820: last_pfn = 0x40000 max_arch_pfn = 0x400000000 [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.000000] found SMP MP-table at [mem 0x000fbc50-0x000fbc5f] mapped at [ (ptrval)] [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] RAMDISK: [mem 0x359dd000-0x36ce5fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000EA020 000024 (v02 Xen ) [ 0.000000] ACPI: XSDT 0x00000000FC00E2A0 000054 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: FACP 0x00000000FC00DF60 0000F4 (v04 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: DSDT 0x00000000FC0021C0 00BD19 (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] ACPI: FACS 0x00000000FC002180 000040 [ 0.000000] ACPI: FACS 0x00000000FC002180 000040 [ 0.000000] ACPI: APIC 0x00000000FC00E060 0000D8 (v02 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: HPET 0x00000000FC00E1B0 000038 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: WAET 0x00000000FC00E1F0 000028 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: SSDT 0x00000000FC00E220 000031 (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] ACPI: SSDT 0x00000000FC00E260 000033 (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x3ffd5000-0x3fffffff] [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000003fffffff] [ 0.000000] Normal empty [ 0.000000] Device empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009dfff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000003fffffff] [ 0.000000] Reserved but unavailable: 99 pages [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003fffffff] [ 0.000000] ACPI: PM-Timer IO Port: 0xb008 [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] smpboot: Allowing 15 CPUs, 14 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff] [ 0.000000] e820: [mem 0x40000000-0xfbffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on Xen HVM [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.000000] random: get_random_bytes called from start_kernel+0x99/0x4fd with crng_init=0 [ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:15 nr_cpu_ids:15 nr_node_ids:1 [ 0.000000] percpu: Embedded 46 pages/cpu @ (ptrval) s151552 r8192 d28672 u262144 [ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257928 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1032-aws root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295 [ 0.000000] Memory: 983480K/1048180K available (12300K kernel code, 2393K rwdata, 3920K rodata, 2372K init, 2376K bss, 64700K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1 [ 0.000000] Kernel/User page tables isolation: enabled [ 0.000000] ftrace: allocating 37523 entries in 147 pages [ 0.004000] Hierarchical RCU implementation. [ 0.004000] RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=15. [ 0.004000] Tasks RCU enabled. [ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=15 [ 0.004000] NR_IRQS: 524544, nr_irqs: 952, preallocated irqs: 16 [ 0.004000] xen:events: Using 2-level ABI [ 0.004000] xen:events: Xen HVM callback vector for event delivery is enabled [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] console [tty1] enabled [ 0.004000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22! [ 0.004000] console [ttyS0] enabled [ 0.004000] ACPI: Core revision 20170831 [ 0.004000] ACPI: 3 ACPI AML tables successfully acquired and loaded [ 0.004000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns [ 0.004011] APIC: Switch to symmetric I/O mode setup [ 0.008782] x2apic: IRQ remapping doesn't support X2APIC mode [ 0.012003] Switched APIC routing to physical flat. [ 0.018587] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0 [ 0.028000] tsc: Fast TSC calibration using PIT [ 0.044003] tsc: Detected 2400.092 MHz processor [ 0.048001] tsc: Detected 2400.040 MHz TSC [ 0.048009] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.08 BogoMIPS (lpj=9600160) [ 0.060002] pid_max: default: 32768 minimum: 301 [ 0.064055] Security Framework initialized [ 0.068002] Yama: becoming mindful. [ 0.071125] AppArmor: AppArmor initialized [ 0.072189] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.080094] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.084015] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.088008] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.096278] mce: CPU supports 2 MCE banks [ 0.100026] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 0.104004] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 0.108003] Spectre V2 : Mitigation: Full generic retpoline [ 0.112003] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.120002] Speculative Store Bypass: Vulnerable [ 0.133588] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.140022] installing Xen timer for CPU 0 [ 0.144080] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz (family: 0x6, model: 0x3f, stepping: 0x2) [ 0.148038] cpu 0 spinlock event irq 53 [ 0.151456] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 0.152042] Hierarchical SRCU implementation. [ 0.156616] NMI watchdog: Perf event create on CPU 0 failed with -2 [ 0.160005] NMI watchdog: Perf NMI watchdog permanently disabled [ 0.164154] smp: Bringing up secondary CPUs ... [ 0.168008] smp: Brought up 1 node, 1 CPU [ 0.171728] smpboot: Max logical packages: 15 [ 0.172008] smpboot: Total of 1 processors activated (4800.08 BogoMIPS) [ 0.176236] devtmpfs: initialized [ 0.179498] x86/mm: Memory block size: 128MB [ 0.180202] evm: security.selinux [ 0.183541] evm: security.SMACK64 [ 0.184010] evm: security.SMACK64EXEC [ 0.187234] evm: security.SMACK64TRANSMUTE [ 0.188007] evm: security.SMACK64MMAP [ 0.191306] evm: security.apparmor [ 0.192007] evm: security.ima [ 0.194759] evm: security.capability [ 0.196178] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.200025] futex hash table entries: 4096 (order: 6, 262144 bytes) [ 0.204207] RTC time: 16:37:54, date: 06/24/19 [ 0.207847] NET: Registered protocol family 16 [ 0.208104] audit: initializing netlink subsys (disabled) [ 0.212116] audit: type=2000 audit(1561394274.036:1): state=initialized audit_enabled=0 res=1 [ 0.216095] cpuidle: using governor ladder [ 0.220005] cpuidle: using governor menu [ 0.223719] ACPI: bus type PCI registered [ 0.224007] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.228423] PCI: Using configuration type 1 for base access [ 0.233068] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.236227] ACPI: Added _OSI(Module Device) [ 0.240007] ACPI: Added _OSI(Processor Device) [ 0.243948] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.244008] ACPI: Added _OSI(Processor Aggregator Device) [ 0.248013] ACPI: Added _OSI(Linux-Dell-Video) [ 0.251944] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.252019] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.259665] ACPI: Interpreter enabled [ 0.260019] ACPI: (supports S0 S4 S5) [ 0.263347] ACPI: Using IOAPIC for interrupt routing [ 0.264034] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.268409] ACPI: Enabled 2 GPEs in block 00 to 0F [ 0.330758] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.332015] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 0.336014] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 0.340015] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 0.345222] acpiphp: Slot [0] registered [ 0.349201] acpiphp: Slot [3] registered [ 0.352455] acpiphp: Slot [4] registered [ 0.356216] acpiphp: Slot [5] registered [ 0.359954] acpiphp: Slot [6] registered [ 0.360484] acpiphp: Slot [7] registered [ 0.364283] acpiphp: Slot [8] registered [ 0.368000] acpiphp: Slot [9] registered [ 0.368478] acpiphp: Slot [10] registered [ 0.372325] acpiphp: Slot [11] registered [ 0.375977] acpiphp: Slot [12] registered [ 0.376450] acpiphp: Slot [13] registered [ 0.380245] acpiphp: Slot [14] registered [ 0.384142] acpiphp: Slot [15] registered [ 0.388053] acpiphp: Slot [16] registered [ 0.392212] acpiphp: Slot [17] registered [ 0.396205] acpiphp: Slot [18] registered [ 0.400268] acpiphp: Slot [19] registered [ 0.404599] acpiphp: Slot [20] registered [ 0.408465] acpiphp: Slot [21] registered [ 0.412446] acpiphp: Slot [22] registered [ 0.416476] acpiphp: Slot [23] registered [ 0.420438] acpiphp: Slot [24] registered [ 0.424510] acpiphp: Slot [25] registered [ 0.428492] acpiphp: Slot [26] registered [ 0.432483] acpiphp: Slot [27] registered [ 0.436561] acpiphp: Slot [28] registered [ 0.440481] acpiphp: Slot [29] registered [ 0.444476] acpiphp: Slot [30] registered [ 0.448373] acpiphp: Slot [31] registered [ 0.452110] PCI host bridge to bus 0000:00 [ 0.455644] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.456008] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.460008] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.464005] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfbffffff window] [ 0.468006] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.479687] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.480007] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.484008] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.488007] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.493023] Found PM-Timer Bug on the chipset. Due to workarounds for a bug, [ 0.493023] this clock source is slow. Consider trying other clock sources [ 0.497900] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.508879] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 10 11) [ 0.512277] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 10 11) [ 0.516263] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 11) [ 0.520268] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 11) [ 0.546638] xen:balloon: Initialising balloon driver [ 0.552157] SCSI subsystem initialized [ 0.556155] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.560000] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.560015] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.564009] vgaarb: loaded [ 0.566802] ACPI: bus type USB registered [ 0.568039] usbcore: registered new interface driver usbfs [ 0.572018] usbcore: registered new interface driver hub [ 0.576029] usbcore: registered new device driver usb [ 0.580102] EDAC MC: Ver: 3.0.0 [ 0.583980] PCI: Using ACPI for IRQ routing [ 0.584598] NetLabel: Initializing [ 0.587617] NetLabel: domain hash size = 128 [ 0.588006] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.592032] NetLabel: unlabeled traffic allowed by default [ 0.596156] HPET: 3 timers in total, 0 timers will be used for per-cpu timer [ 0.600026] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.604007] hpet0: 3 comparators, 64-bit 62.500000 MHz counter [ 0.611094] clocksource: Switched to clocksource xen [ 0.623205] VFS: Disk quotas dquot_6.6.0 [ 0.627370] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.632798] AppArmor: AppArmor Filesystem Enabled [ 0.636742] pnp: PnP ACPI init [ 0.639611] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved [ 0.645015] system 00:01: [io 0x08a0-0x08a3] has been reserved [ 0.649676] system 00:01: [io 0x0cc0-0x0ccf] has been reserved [ 0.654548] system 00:01: [io 0x04d0-0x04d1] has been reserved [ 0.659476] system 00:07: [io 0x10c0-0x1141] has been reserved [ 0.664173] system 00:07: [io 0xb044-0xb047] has been reserved [ 0.691019] pnp: PnP ACPI: found 8 devices [ 0.700395] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.708793] NET: Registered protocol family 2 [ 0.712920] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.718658] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 0.723992] TCP: Hash tables configured (established 8192 bind 8192) [ 0.729373] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.734439] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.739822] NET: Registered protocol family 1 [ 0.743771] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.748861] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.753955] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.758980] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 0.765675] Unpacking initramfs... [ 0.800062] random: fast init done [ 1.059823] Freeing initrd memory: 19492K [ 1.063776] Scanning for low memory corruption every 60 seconds [ 1.069369] Initialise system trusted keyrings [ 1.073762] Key type blacklist registered [ 1.077428] workingset: timestamp_bits=36 max_order=18 bucket_order=0 [ 1.083452] zbud: loaded [ 1.086480] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.091241] fuse init (API version 7.26) [ 1.095330] Key type asymmetric registered [ 1.098850] Asymmetric key parser 'x509' registered [ 1.103124] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.109280] io scheduler noop registered [ 1.112667] io scheduler deadline registered [ 1.116286] io scheduler cfq registered (default) [ 1.120223] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 1.126191] ACPI: Power Button [PWRF] [ 1.129298] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 1.135245] ACPI: Sleep Button [SLPF] [ 1.138995] xen:grant_table: Grant tables using version 1 layout [ 1.143587] Grant table initialized [ 1.146753] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22! [ 1.151342] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.186974] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 1.194290] Linux agpgart interface v0.103 [ 1.199944] loop: module loaded [ 1.203215] Invalid max_queues (4), will use default max: 1. [ 1.212623] scsi host0: ata_piix [ 1.215764] scsi host1: ata_piix [ 1.219133] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14 [ 1.226605] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15 [ 1.234737] libphy: Fixed MDIO Bus: probed [ 1.238363] tun: Universal TUN/TAP device driver, 1.6 [ 1.242784] PPP generic driver version 2.4.2 [ 1.246647] xen_netfront: Initialising Xen virtual ethernet driver [ 1.264309] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.269762] ehci-pci: EHCI PCI platform driver [ 1.273641] ehci-platform: EHCI generic platform driver [ 1.278137] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.283497] ohci-pci: OHCI PCI platform driver [ 1.287712] ohci-platform: OHCI generic platform driver [ 1.292484] uhci_hcd: USB Universal Host Controller Interface driver [ 1.298017] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 [ 1.307722] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled; [ 1.318420] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.322924] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.327479] mousedev: PS/2 mouse device common for all mice [ 1.334750] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 1.342253] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0 [ 1.347472] rtc_cmos 00:02: alarms up to one day, 114 bytes nvram, hpet irqs [ 1.354875] xvda: xvda1 [ 1.357581] device-mapper: uevent: version 1.0.3 [ 1.361747] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com [ 1.370444] NET: Registered protocol family 10 [ 1.377338] Segment Routing with IPv6 [ 1.380914] NET: Registered protocol family 17 [ 1.385010] Key type dns_resolver registered [ 1.389175] intel_rdt: Intel RDT L3 allocation detected [ 1.395076] RAS: Correctable Errors collector initialized. [ 1.399735] sched_clock: Marking stable (1399700085, 0)->(8496211384, -7096511299) [ 1.409942] registered taskstats version 1 [ 1.413811] Loading compiled-in X.509 certificates [ 1.420342] Loaded X.509 cert 'Build time autogenerated kernel key: eecee81fa320f23b3c260b2d4df9c0e6a20b8263' [ 1.428825] zswap: loaded using pool lzo/zbud [ 1.435562] Key type big_key registered [ 1.443312] Key type trusted registered [ 1.448663] Key type encrypted registered [ 1.452556] AppArmor: AppArmor sha1 policy hashing enabled [ 1.469681] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 1.479471] ima: Allocated hash algorithm: sha1 [ 1.484025] evm: HMAC attrs: 0x1 [ 1.488035] Magic number: 7:83:642 [ 1.493117] rtc_cmos 00:02: setting system clock to 2019-06-24 16:37:55 UTC (1561394275) [ 1.503036] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.510193] EDD information not available. [ 1.518111] Freeing unused kernel memory: 2372K [ 1.532066] Write protecting the kernel read-only data: 18432k [ 1.537680] Freeing unused kernel memory: 2008K [ 1.541829] Freeing unused kernel memory: 176K [ 1.550870] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 1.556155] x86/mm: Checking user space page tables [ 1.565879] x86/mm: Checked W+X mappings: passed, no W+X pages found. Loading, please wait... starting version 237 [ 1.585818] random: udevadm: uninitialized urandom read (16 bytes read) [ 1.591910] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 1.598028] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 1.751425] AVX2 version of gcm_enc/dec engaged. [ 1.755530] AES CTR mode by8 optimization enabled [ 2.080138] tsc: Refined TSC clocksource calibration: 2400.001 MHz [ 2.085234] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x22983858435, max_idle_ns: 440795258295 ns Begin: Loading essential drivers ... [ 3.448065] raid6: sse2x1 gen() 9246 MB/s [ 3.500062] raid6: sse2x1 xor() 6472 MB/s [ 3.552061] raid6: sse2x2 gen() 10951 MB/s [ 3.604065] raid6: sse2x2 xor() 7100 MB/s [ 3.652028] raid6: sse2x4 gen() 12904 MB/s [ 3.704060] raid6: sse2x4 xor() 8087 MB/s [ 3.756059] raid6: avx2x1 gen() 18088 MB/s [ 3.804062] raid6: avx2x1 xor() 12254 MB/s [ 3.856059] raid6: avx2x2 gen() 21154 MB/s [ 3.904062] raid6: avx2x2 xor() 12841 MB/s [ 3.952059] raid6: avx2x4 gen() 23791 MB/s [ 4.004013] raid6: avx2x4 xor() 15041 MB/s [ 4.007879] raid6: using algorithm avx2x4 gen() 23791 MB/s [ 4.012446] raid6: .... xor() 15041 MB/s, rmw enabled [ 4.017138] raid6: using avx2x2 recovery algorithm [ 4.023329] xor: automatically using best checksumming function avx [ 4.030615] async_tx: api initialized (async) done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... [ 4.093414] Btrfs loaded, crc32c=crc32c-intel Scanning for Btrfs filesystems done. Warning: fsck not present, so skipping root file system [ 4.126912] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 4.283365] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.294016] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 4.310768] systemd[1]: Detected virtualization xen. [ 4.315649] systemd[1]: Detected architecture x86-64. Welcome to [1mUbuntu 18.04.2 LTS[0m! [ 4.325618] systemd[1]: Set hostname to |
Device \ | Up \ | Address \ | Mask \ | Scope \ | Hw-Address \ | [ 9.542891] cloud-init[592]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 9.559960] cloud-init[592]: ci-info: \ | eth0 \ | True \ | 172.31.21.234 \ | 255.255.240.0 \ | global \ | 02:4e:48:47:e5:ec \ | [ 9.572869] cloud-init[592]: ci-info: \ | eth0 \ | True \ | fe80::4e:48ff:fe47:e5ec/64 \ | . \ | link \ | 02:4e:48:47:e5:ec \ | [ 9.586759] cloud-init[592]: ci-info: \ | lo \ | True \ | 127.0.0.1 \ | 255.0.0.0 \ | host \ | . \ | [ 9.594367] cloud-init[592]: ci-info: \ | lo \ | True \ | ::1/128 \ | . \ | host \ | . \ | [ 9.603354] cloud-init[592]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 9.610830] cloud-init[592]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++ [ 9.624181] cloud-init[592]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+ [ 9.631502] cloud-init[592]: ci-info: \ | Route \ | Destination \ | Gateway \ | Genmask \ | Interface \ | Flags \ | [ 9.638303] cloud-init[592]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+ [ 9.645245] cloud-init[592]: ci-info: \ | 0 \ | 0.0.0.0 \ | 172.31.16.1 \ | 0.0.0.0 \ | eth0 \ | UG \ | [ 9.652218] cloud-init[592]: ci-info: \ | 1 \ | 172.31.16.0 \ | 0.0.0.0 \ | 255.255.240.0 \ | eth0 \ | U \ | [ 9.661837] cloud-init[592]: ci-info: \ | 2 \ | 172.31.16.1 \ | 0.0.0.0 \ | 255.255.255.255 \ | eth0 \ | UH \ | [ 9.674674] cloud-init[592]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+ [ 9.683078] cloud-init[592]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ [ 9.690612] cloud-init[592]: ci-info: +-------+-------------+---------+-----------+-------+ [ 9.704175] cloud-init[592]: ci-info: \ | Route \ | Destination \ | Gateway \ | Interface \ | Flags \ | [ 9.712245] cloud-init[592]: ci-info: +-------+-------------+---------+-----------+-------+ [ 9.718851] cloud-init[592]: ci-info: \ | 1 \ | fe80::/64 \ | :: \ | eth0 \ | U \ | [ 9.736244] cloud-init[592]: ci-info: \ | 3 \ | local \ | :: \ | eth0 \ | U \ | [ 9.746182] cloud-init[592]: ci-info: \ | 4 \ | ff00::/8 \ | :: \ | eth0 \ | U \ | [ 9.751371] cloud-init[592]: ci-info: +-------+-------------+---------+-----------+-------+ [ 10.253094] cloud-init[592]: Generating public/private rsa key pair. [ 10.260667] cloud-init[592]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key. [ 10.268675] cloud-init[592]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. [ 10.276702] cloud-init[592]: The key fingerprint is: [ 10.284169] cloud-init[592]: SHA256:U86zPm1fd+gg1IVSdWeY/DJfatnED+nhyuJBjmNytpw root@ip-172-31-21-234 [ 10.292629] cloud-init[592]: The key's randomart image is: [ 10.300140] cloud-init[592]: +---[RSA 2048]----+ [ 10.308135] cloud-init[592]: \ | .o.o+\ | [ 10.311287] cloud-init[592]: \ | . .+o.\ | [ 10.317887] cloud-init[592]: \ | o . .+ \ | [ 10.324591] cloud-init[592]: \ | + o .* =\ | [ 10.332410] cloud-init[592]: \ | S * .o @o\ | [ 10.340465] cloud-init[592]: \ | o .+\ | [ 10.343516] cloud-init[592]: \ | . * =o.o. +\ | [[0;32m OK [0m] Started Initial cloud-init job (metadata service crawler). [[0;32m OK [0m [ 10.352675] cloud-init[592]: \ | * =oo=o .o\ | [ 10.355801] ] Reached target Network is Online. cloud-init[592]: \ | E.o+ .o \ | Starting Availability of block devices... [[0;32m OK [0m] Reached target Remote File Systems (Pre). [ 10.373730] cloud-init[592]: +----[SHA256]-----+[[0;32m OK [0m] Reached target Remote File Systems. [[0;32m OK [0m] Reached target System Initialization. [ 10.387882] [[0;32m OK [0m] Listening on D-Bus System Message Bus Socket. cloud-init[592]: Generating public/private dsa key pair. [[0;32m OK [0m] Listening on Open-iSCSI iscsid Socket. [ 10.402846] [[0;32m OK [0m] Started ACPI Events Check. [[0;32m OK [0m] Reached target Paths.cloud-init[592]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key. [[0;32m OK [0m] Started Message of the Day. [ 10.417883] cloud-init[592]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. Starting Socket activation for snappy daemon. [ 10.425571] cloud-init[592]: The key fingerprint is: [[0;32m OK [0m] Listening on UUID daemon activation socket. [[0;32m OK [0m [ 10.437386] cloud-init[592]: SHA256:GKwHN+zTNRdd/gldUECtyn1A54Oc6dN10j4WUWJGUMs root@ip-172-31-21-234] Started Daily Cleanup of Temporary Directories. [[0;32m OK [0m] Started Discard unused blocks once a week. [[0;32m OK [0m [ 10.449283] cloud-init[592]: The key's randomart image is: ] Listening on ACPID Listen Socket. [ 10.454818] cloud-init[592]: Starting LXD - unix socket. [[0;32m OK [0m+---[DSA 1024]----+ [ 10.461806] cloud-init[592]: \ | o*X**\ | ] Started Daily apt download activities. [[0;32m OK [0m] Started Daily apt upgrade and clean activities. [[0;32m OK [0m] [ 10.478593] Reached target Timers. [[0;32m OK [0m] Reached target Cloud-config availability.cloud-init[592]: \ | o =+=+\ | [ 10.486759] cloud-init[592]: [[0;32m OK [0m] Started Availability of block devices. [\ | . o ooEo\ | [ 10.497743] cloud-init[592]: \ | = = . o ==oB\ | [0;32m OK [0m] Listening on Socket activation for snappy daemon. [ [ 10.504959] cloud-init[592]: \ | . = S ..o.=*\ | [ 10.508000] [0;32m OK [0m] Listening on LXD - unix socket. [[0;32m OK [0m] Reached target Sockets. [[0;32m OK [0m] Reached target Basic System.cloud-init[592]: \ | . . oo.+o\ | [ 10.523845] [[0;32m OK [0m] Started irqbalance daemon.cloud-init[592]: \ | o..\ | Starting Accounts Service... [[0;32m OK [0m] [ 10.546166] Started D-Bus System Message Bus. cloud-init[592]: \ | \ | [ 10.559205] cloud-init[592]: \ | \ | [ 10.568190] cloud-init[592]: +----[SHA256]-----+ [ 10.576185] cloud-init[592]: Generating public/private ecdsa key pair.[[0;32m OK [0m] Started Regular background program processing daemon. Starting Login Service... [ 10.597355] cloud-init[592]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. Starting Pollinate to seed the pseudo random number generator... Starting LSB: automatic crash report generation... [ 10.628577] cloud-init[592]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. Starting Dispatcher daemon for systemd-networkd... Starting LSB: Record successful boot for GRUB... [[ 10.673077] [0;32m OK [0m] Started FUSE filesystem for LXC.cloud-init [592]: The key fingerprint is: [[0;32m OK [0m] Started Deferred execution scheduler. Starting Permit User Sessions... Starting LXD - container startup/shutdown... Starting System Logging Service... [ 10.716183] cloud-init[592]: SHA256:WElbPNS1eDUrc3feAoFPl8WUnhxGW8KIP/KvA3YsMgY root@ip-172-31-21-234 [ 10.734211] cloud-init[592]: The key's randomart image is: Starting Snappy daemon... [[0;32m OK [0m] Started Permit User Sessions. [ 10.761138] cloud-init[592]: +---[ECDSA 256]---+ [ 10.781029] cloud-init[592]: \ | .oo+.++B*\ | [ 10.800613] cloud-init[592]: \ | . += +o+B*\ | [ 10.817262] cloud-init[592]: \ | + =o+*+=\ | [ 10.831331] cloud-init[592]: \ | Eo . +o+=+\ | [ 10.843076] cloud-init[592]: \ | ..S + .. o\ | [ 10.852423] cloud-init[592]: \ | + + + . \ | [ 10.861992] cloud-init[592]: \ | . + + . \ | [ 10.872455] cloud-init[592]: \ | . . \ | [ 10.884430] cloud-init[[0;32m OK [0m] Started System Logging Service.[592]: [[0;32m OK [0m] Started Login Service. [[0;32m OK [0m] Started Unattended Upgrades Shutdown. Starting Authorization Manager... \ | .o \ | Starting Hostname Service... [ 10.937442] Starting Hold until boot process finishes up... Starting Terminate Plymouth Boot Screen... [[0;32m OK [0m] Started Hold until boot process finishes up.cloud-init Starting Set console scheme... [592]: [[0;32m OK [0m] Started Serial Getty on ttyS0.+----[SHA256]-----+ [[0;32m OK [0m] Started Terminate Plymouth Boot Screen. [ 10.998395] cloud-init[592]: Generating public/private ed25519 key pair. [ 11.029101] cloud-init[592]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.[[0;32m OK [0m] Started LSB: automatic crash report generation. [[0;32m OK [0m] Started Set console scheme. [[0;32m OK [0m] Created slice system-getty.slice. [[0;32m OK [0m] Started Getty on tty1. [ 11.088556] cloud-init[[0;32m OK [0m] Reached target Login Prompts. [[0;32m OK [0m] Started Hostname Service.[592]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub. [[0;32m OK [0m] Started Authorization Manager. [[0;32m OK [0m] Started Accounts Service. [[0;32m OK [0m] Started LSB: Record successful boot for GRUB. [ 11.127827] cloud-init[592]: The key fingerprint is: [ 11.141368] cloud-init[592]: SHA256:a42QoEe3VLVSCPn3tMP2jzCCQ9SiEhnGB1veuZcyQ6Y root@ip-172-31-21-234 [[0;32m OK [0m] Started LXD - container startup/shutdown. [ 11.168775] cloud-init[592]: The key's randomart image is: [ 11.184299] cloud-init[592]: +--[ED25519 256]--+ [ 11.196230] cloud-init[592]: \ | .+.oo.oo \ | [ 11.203315] cloud-init[592]: \ | ..*oo.+ . \ | [ 11.209988] cloud-init[592]: \ | *.+.O o \ | [ 11.217642] cloud-init[592]: \ | o = O.+... \ | [ 11.225154] cloud-init[592]: \ | . o E S.o+ . \ | [ 11.231812] cloud-init[592]: \ | . . o X * \ | [ 11.244232] cloud-init[592]: \ | * o.oo \ | [ 11.252263] cloud-init[592]: \ | . . . o.. \ | [ 11.266751] cloud-init[592]: \ | ...\ | [ 11.277907] cloud-init[592]: +----[SHA256]-----+ [[0;32m OK [0m] Started Dispatcher daemon for systemd-networkd. [[0;32m OK [0m] Started Snappy daemon. Starting Wait until snapd is fully seeded... [[0;32m OK [0m] Started Pollinate to seed the pseudo random number generator. Starting OpenBSD Secure Shell server... [[0;32m OK [0m] Started OpenBSD Secure Shell server. Ubuntu 18.04.2 LTS ip-172-31-21-234 ttyS0 ip-172-31-21-234 login: Mounting Mount unit for core, revision 6350... [[0;32m OK [0m] Mounted Mount unit for core, revision 6350. [[0;32m OK [0m] Stopped Snappy daemon. Starting Snappy daemon... [[0;32m OK [0m] Started Snappy daemon. Mounting Mount unit for amazon-ssm-agent, revision 930... [[0;32m OK [0m] Mounted Mount unit for amazon-ssm-agent, revision 930. [[0;32m OK [0m] Started Service for snap applicatio…amazon-ssm-agent.amazon-ssm-agent. [[0;32m OK [0m] Started Wait until snapd is fully seeded. Starting Apply the settings specified in cloud-config... [[0;32m OK [0m] Reached target Multi-User System. [[0;32m OK [0m] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [[0;32m OK [0m] Started Update UTMP about System Runlevel Changes. [ 23.847772] cloud-init[1202]: Cloud-init v. 18.4-0ubuntu1~18.04.1 running 'modules:config' at Mon, 24 Jun 2019 16:38:17 +0000. Up 23.45 seconds. [[0;32m OK [0m] Started Apply the settings specified in cloud-config. Starting Execute cloud user/final scripts... [ 24.426919] cloud-init[1258]: % Total % Received % Xferd Average Speed Time Time Time Current [ 24.441067] cloud-init[1258]: Dload Upload Total Spent Left Speed [ 24.502358] cloud-init[1258]: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6354 100 6354 0 0 81461 0 --:--:-- --:--:-- --:--:-- 81461 [ 24.532638] cloud-init[1258]: Checking if TLJH is already installed... [ 24.537137] cloud-init[1258]: Setting up hub environment |
---|
I was having the same issue with a Linode server running Ubutnu 18.04 LTS. Running sudo dpkg --configure -a
also solved my problem. In case it is useful, here is the console output after running the command:
Setting up libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ... Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.2) ... Setting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ... Setting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.4) ... Checking for services that may need to be restarted...done. Checking for services that may need to be restarted...done. Checking init scripts...
Restarting services possibly affected by the upgrade:
Services restarted successfully.
Setting up libfakeroot:amd64 (1.22-2ubuntu1) ... Setting up libalgorithm-diff-perl (1.19.03-1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Setting up libmpc3:amd64 (1.1.0-1) ... Setting up libc-dev-bin (2.27-3ubuntu1) ... Setting up python3-lib2to3 (3.6.8-1~18.04) ... Setting up python3-secretstorage (2.3.1-2) ... Setting up manpages-dev (4.15-1) ... Setting up libc6-dev:amd64 (2.27-3ubuntu1) ... Setting up python3-distutils (3.6.8-1~18.04) ... Setting up libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ... Setting up libisl19:amd64 (0.19-1) ... Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.2) ... Setting up python3-keyring (10.6.0-1) ... Setting up fakeroot (1.22-2ubuntu1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ... Setting up cpp-7 (7.4.0-1ubuntu1~18.04.1) ... Setting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ... Setting up libpython3.6-minimal:amd64 (3.6.8-1~18.04.1) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up libalgorithm-diff-xs-perl (0.04-5) ... Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.1) ... Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.1) ... Setting up binutils (2.30-21ubuntu1~18.04.2) ... Setting up python3-setuptools (39.0.1-2) ... Setting up dh-python (3.20180325ubuntu2) ... Setting up cpp (4:7.4.0-1ubuntu2.3) ... Setting up libpython3.6-stdlib:amd64 (3.6.8-1~18.04.1) ... Setting up gcc-7 (7.4.0-1ubuntu1~18.04.1) ... Setting up g++-7 (7.4.0-1ubuntu1~18.04.1) ... Setting up python3.6-minimal (3.6.8-1~18.04.1) ... Setting up gcc (4:7.4.0-1ubuntu2.3) ... Setting up dpkg-dev (1.19.0.5ubuntu2.1) ... Setting up g++ (4:7.4.0-1ubuntu2.3) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up libpython3.6:amd64 (3.6.8-1~18.04.1) ... Setting up python3.6 (3.6.8-1~18.04.1) ... Setting up build-essential (12.4ubuntu1) ... Setting up python3.6-venv (3.6.8-1~18.04.1) ... Setting up libpython3.6-dev:amd64 (3.6.8-1~18.04.1) ... Setting up python3.6-dev (3.6.8-1~18.04.1) ... Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ... Setting up python3-venv (3.6.7-1~18.04) ... Setting up python3-dev (3.6.7-1~18.04) ... Processing triggers for libc-bin (2.27-3ubuntu1) ...
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/the-littlest-jupyter-hub-install-failed-on-aws-ec2/7609/2
My assumption is that the apt-get
steps taken by the boostrap.py script in this project gets stuck somehow for some reason, and require sudo dpkg --configure -a
to be run.
I have now tried multiple times to run though the documention at https://tljh.jupyter.org/en/latest/install/amazon.html The system log shows the build stuck at the line 'Setting up hub environment'.
I logged into a fresh new instance, and ran through https://tljh.jupyter.org/en/latest/install/custom-server.html# The system still freezes there, but then prompts: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. After I run this command and then rerun curl, the hub installs normally.