Ubuntu Desktop upgrade from 18.0.4 (?) To 20.04.1 (focal)

Memo based on memory (not written for others).

As of 2020-09-21, upgrade has only disadvantages

In the first place, I haven't received a notification that I can upgrade, so it seems that the place where it gets stuck is not stable. (Ver 18 seems to be supported until 2028, then hardware seems to be garbage first.)

It's a good idea to check in advance if the hardware can be installed.

https://certification.ubuntu.com/desktop

image.png

Only xps13 is nicely listed. Was it a miracle running on the xps15?

After all, I rolled back to 18.04 with Timeshift.

env --XPS15 9560 (about Dell 2017)

changes

--If bluetooh is disabled, it remains disabled even after rebooting

--Fingerprint authentication device that can be confirmed with lsusb, but cannot be used because there is no driver dell ubuntu focal validity sensor "138a:0091"

https://www.dell.com/community/XPS/XPS-13-9300-Does-fingerprint-reader-work-on-linux/m-p/7628310/highlight/true#M63982

↑ With the recent XPS 13, the device is manufactured by Goodix and you can go.

python-is-python3/focal,focal,now 3.8.2-4 all [installed]
  symlinks /usr/bin/python to python3

procedure

Because it is not a Server version Shouldn't I do do-release-upgrade -d? Should I add -m desktop? Some of them were for 18.0.4, and I did apt-get dist-upgrade several times. There are occasions when yes / no is asked during the upgrade. I feel that the screen freezes on the way, but I turned off the power with the power button and You should have repeated do-release-upgrade -d

--It seems that you should select default intel after installing Nvidia driver, You don't have to put it in if you do that. Because it just feels like the CPU usage has increased


apt-get remove --purge nvidia-*
apt-get purge nvidia* bumblebee primus bbswitch-dkms

systemd

Since there was a problem that systemd's service could not be started because some absolute paths were not specified, Repaired

245.4-4ubuntu3.2

Maybe the following

I may have commented out
#SystemCallArchitectures=native
#SystemCallFilter=@system-service
#SystemCallFilter=ioprio_get

 systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.

~# systemctl  --version
systemd 245 (245.4-4ubuntu3.2)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid

Familiar case of not being able to wake up from sleep or hibernate (cannot adjust screen brightness)

A slight improvement with apt install pm-utils hibernate, The log below is suspicious and hasn't been resolved yet. systemd (245.4-4ubuntu3.2) is suspicious.

ref. https://fossies.org/linux/systemd/src/userdb/userwork.c

 New incoming message: {"method":"io.systemd.UserDatabase.GetMemberships","parameters":{"userName":"....?????....","service":"io.systemd.DynamicUser"},"more":true}

 Sending message: {"error":"io.systemd.UserDatabase.NoRecordFound","parameters"

/lib/systemd/system/systemd-hibernate.service
/lib/systemd/systemd-sleep hibernate

/run/systemd/userdb/io.systemd.DynamicUser # socket

Even if I try to hibernate according to https://askubuntu.com/questions/1240123/how-to-enable-hibernate-option-in-ubuntu-20-04, it is shut down.

grub

#; 'nomodeset' means disabling GPU.


GRUB_CMDLINE_LINUX_DEFAULT="debug nosplash pci=noaer nomodeset acpi_backlight=vendor"```

 It seems best to do it. It doesn't work though.

#### When you are a vendor

ls /sys/class/backlight/

dell_backlight

ls -ltr /sys/class/backlight/

lsmod |grep -i video

uvcvideo 98304 0 videobuf2_vmalloc 20480 1 uvcvideo videobuf2_memops 20480 1 videobuf2_vmalloc videobuf2_v4l2 24576 1 uvcvideo videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo videodev 225280 3 videobuf2_v4l2,uvcvideo,videobuf2_common mc 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common video 49152 3 dell_wmi,dell_laptop,i915

lspci |egrep -i 'vga|nvidia'

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile](rev a1)

 There is a menu bar for adjusting the brightness, and the display for adjusting with the keybord appears, but the brightness does not change.

#### For video
 /sys/class/backlight/
 Is empty

lshw -c video *-display UNCLAIMED
description: 3D controller product: GP107M [GeForce GTX 1050 Mobile] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:ec000000-ecffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:ed000000-ed07ffff *-display UNCLAIMED description: VGA compatible controller product: HD Graphics 630 vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 04 width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list configuration: latency=0 resources: memory:eb000000-ebffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff


---

 memo

 --apt-file is corrupted

apt-file list varlink-go

Searching for contents of the packages ...E: LZ4F: /var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_focal-updates_Contents-amd64.lz4 Unexpected end of file E: LZ4F: /var/lib/apt/lists/jp.archive.ubuntu.com_ubuntu_dists_focal-updates_Contents-amd64.lz4 Read error (18446744073709551615: ERROR_GENERIC) Command xargs -0r /usr/lib/apt/apt-helper cat-file exited with code 123 at /usr/bin/apt-file line 279.


 --I tried to insert oem kernel, but module build failed
https://wiki.ubuntu.com/Kernel/OEMKernel

$ linux-oem-20.04



Recommended Posts

Ubuntu Desktop upgrade from 18.0.4 (?) To 20.04.1 (focal)
RDP connection from Windows 10 to Ubuntu Desktop 20.04
Upgrade from MYSQL5.7 to 8.0 on CentOS 6.7
Upgrade spring boot from 1.5 series to 2.0 series
Migrate Ubuntu 18.04 LTS from HDD to smaller SSD
VNC connection to Ubuntu Desktop with Mac screen sharing.
Changes from Java 8 to Java 11
Sum from Java_1 to 100
Migrate from JUnit 4 to JUnit 5
From Java to Ruby !!
I want to redirect sound from Ubuntu with xrdp
[Ubuntu20.04] From ROS-noetic installation to SLAM simulation of turtlebot3
Try switching from the RHEL environment to the Ubuntu environment Server installation
[Note] Flow from docker installation to JupyterLab startup on ubuntu
How to Burning a Install Disk of Windows from Ubuntu
What I did in the version upgrade from Ruby 2.5.2 to 2.7.1
I tried upgrading from CentOS 6.5 to CentOS 7 with the upgrade tool
Moved from iBATIS to MyBatis3
Try Spring Boot from 0 to 100.
Moving from AWS to PaizaCloud
New features from Java7 to Java8
Migrating from vargrant to docker
Connect from Java to PostgreSQL
Install Ubuntu Desktop 20.10 on RaspberryPi4
Win10-> Ubuntu Remote Desktop (2021 version)
Convert from ○ months to ○ years ○ months
Rewriting from applet to application
Change from SQLite3 to PostgreSQL
From Ineffective Java to Effective Java
How to migrate from JUnit4 to JUnit5
How to add HDD to Ubuntu
Ubuntu unable to log in
How to open a script file from Ubuntu with VS code