์ด๋ ๋ ์ธ๊ฐ๋ถํฐ ์ง์์ ์ผ๋ก Ubuntu 18๋ก ์ ๋ฐ์ดํธํ๋ผ๋ ๋ฉ์์ง๊ฐ ๋ด๋๋ฐ, OK ์๊ฒ ์ด ํ๊ณ ๋ฒํผ์ ๋๋ฌ๋ ๋ฐ์์ด ์๋ ๊ฒฝ์ฐ๊ฐ ๋ง์๋ค. ์ฌ๋ฌ๋ฒ ๋ฐ๋ณต๋๋ '์ด๊ฑด ํฐ๋ฏธ๋์์ ํด๊ฒฐํด์ผํ ๋ฌธ์ ๊ฒ ๊ตฐ'ํ๋ฉฐ ํฐ๋ฏธ๋์์ ์ด๋์ ๋ ๋ง์ ธ๋ดค๋๋ฐ, ์๋์ง ์๋ค๊ฐ ๊ฒฐ๊ตญ์ ์ ๊ทธ๋ ์ด๋๋ฅผ ํ๊ฒ ๋์ด ๊ธฐ์ ๋ง์์ผ๋ก ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๊ณต์ ํ๋ค.
๋ณธ ๊ฒฝ์ฐ๋ Ubuntu 16.04 LTS์์ 18.04 LTS๋ก ์ ๊ทธ๋ ์ด๋ ํ ํ๊ธฐ์ด๋ค. LTS๋ Long-Term Support๋ก ์ค๋๊ธฐ๊ฐ ์ ์ง๋ณด์๊ฐ ๋๋ ์์ ํ๋ ๋ฒ์ ์ ๋ปํ๋ค.
๋ฌธ์ ๋ ํฌ๊ฒ ๋ค์์ ๋๊ฐ์ง ๋ฐฉ์์ผ๋ก ๋ํ๋ ๊ฒ์ด๋ค. ๋จผ์ ์ ๊ทธ๋ ์ด๋๋ฅผ ํ๊ธฐ ์ ์ ๋ค์์ ๋ช ๋ น์ด๋ค์ ์ ๋ ฅํด๋ณด์.
sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo do-release-upgrade
์ง๊ธ๊น์ง ๋ณธ์ธ์ด ์ค์ ํด๋จ๋ ์ํฉ์ ๋ฐ๋ผ ๊ฐ์๊ฐ์์ ์ํฉ๋ค์ด ํผ์ณ์ง ๊ฒ์ด๋ค. ์ด์จ๋ , ๊ณ์ํด์ ์ ๊ทธ๋ ์ด๋์ ์คํจํ๋ค๋ฉด ๋ค์์ ๋๊ฐ์ง ๊ฒฝ์ฐ์์ ๊ฐ๋ฅ์ฑ์ด ๋๋ค.
Checking for a new Ubuntu release
1. No new release found.
2. Please install all available updates for your release before upgrading.
1๋ฒ์ ๊ฒฝ์ฐ๋ ๋ค์์ ์กฐ์น๋ฅผ ๋ฐ๋ผ๊ฐ๋ณด์.
ํฐ๋ฏธ๋ ์ฐฝ์์ ๋ค์์ ์ ๋ ฅํ์
software-properties-gtk
Download from์ ์๋ฒ๊ฐ ์ ๋์๊ฐ๋์ง ์ ๋ฐ์์ง๋ ๊ฒ์ธ์ง ํ์ธํ์. ํ์์ ๊ฒฝ์ฐ ์นด์นด์ค ์๋ฒ๋ฅผ ์ฌ์ฉํ๋ค๊ฐ ๊ทธ๋ฅ Main server๋ก ๋ณ๊ฒฝํ๋ค.
๊ทธ๋ฆฌ๊ณ Updatesํญ์์ ๋งจ ํ๋จ์ Ubuntu version ์ ํ์ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด ํ๋์ง ํ์ธํด๋ณด์.
2๋ฒ์ ๊ฒฝ์ฐ์๋ ๋ค์์ ํด๊ฒฐ ๋ด์ฉ์ด ๋์์ด ๋ ๊ฒ์ด๋ผ๊ณ ์๊ฐํ๋ค. ๋ง์ฝ์ sudo do-release-upgrade๋ฅผ ์ ๋ ฅํ์ ๋ ์ํฉ์ด ์๋์ ๊ฐ์ ๋ฐฉ์์ด๋ผ๋ฉด ์ ์ฐพ์์ค์ จ๋ค.
(base) sky@SARK:~ $ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
(base) sky@SARK:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
cuda-cudart-dev-10-2 cuda-driver-dev-10-2 libcublas7.5 libcudart7.5
libcufft7.5 libcufftw7.5 libcurand7.5 libcusolver7.5 libcusparse7.5
libnppc7.5 libnppi7.5 libnpps7.5 libnvblas7.5 libnvrtc7.5 libnvtoolsext1
libnvvm3 libthrust-dev libuv1 libvdpau-dev nvidia-cuda-doc nvidia-cuda-gdb
nvidia-opencl-dev opencl-headers
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
cuda-drivers
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
์ค์ํ ๊ฒ์ ์ด๋ ๊ฒ ๋ฌด์ธ๊ฐ upgrade๊ฐ ๋์ง ์๋ ํจํค์ง๋ค์ด ๋จ์์์ด์๋ ์๋๋ ๊ฒ์ด๋ค. ์ด ๋ ํด์ผํ ์ผ์ autoremove๋ฅผ ํ๋ผ๊ณ ๋จ๋ ๊ฒฝ์ฐ ํด๋น ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํด์ค๋ค.
sudo apt autoremove
ํ์ธ์ ๋ฌป๋ ๊ฒฝ์ฐ ๊ณผ๊ฐํ๊ฒ y๋ฅผ ์ ๋ ฅํด์ฃผ์. ๋ค์ ์๋์ ๋ช ๋ น์ด๋ฅผ ์คํํด๋ณด์.
sudo do-release-upgrade
์ด๋ฒ์๋ ์๋๋ค๋ฉด, ์๊น ์ ๋ก๊ทธ์์ ์ง์ํ ์ ์๋ ๋ถ๋ถ์ด ์๋ค. 'The following packages have been kept back', '1 not upgraded.' ์ด ๋ถ๋ถ์ด๋ค. ํ์์ ๊ฒฝ์ฐ์๋ cuda-drivers
๋ผ๋ ๋์ด ๋ง์ฝ์ด๋ค. ์๋์ ๊ฐ์ด ์ง์๋ฒ๋ฆฌ์.
sudo apt remove cuda-drivers
์ด๋ฒ์ ์๋์ ๋ช ๋ น์ด๋ฅผ ์คํํด๋ณด์.
sudo apt-get upgrade
์์์ ์ค๋ช ํ ๊ฒ์ ์ญ ํ์ธํ๊ณ , ๋ฐ๋ก ์์ ์ด ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ์ ๋ ์๋์ ๊ฐ์ด ์ถ๋ ฅ์ด ๋๋ค๋ฉด ์๋ง๋ ์ ๊ทธ๋ ์ด๋๊ฐ ์งํ๋ ๊ฒ์ด๋ค.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
์์กด์ฑ ๋๋ฌธ์ ๋ค์ ๋ฌด์ธ๊ฐ ์ง์ฐ๋ผ๊ณ ๋์ฌ ์๋ ์๋ค. ์ด ๊ฒฝ์ฐ๋ ์ด ๋ถ๋ถ์ ์ ๊ทน ํ์ฉํ์.
sudo apt autoremove
์ด์ ๋ค์ ํ๋ฒ ์๋์ ๊ฐ์ด ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ์ ๋ ์ ๋์ํ๋ค๋ฉด, ์ฑ๊ณต์ด๋ค. ์ถํํ๋ค.
sudo do-release-upgrade
(base) sky@K0878P2:~ $ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,242 kB]
Fetched 1,243 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
๋์์ด ๋ ์ง๋ ๋ชฐ๋ผ์ ์ ์ฒด log๋ค์ ์๋์ ์ฐธ๊ณ ์ฉ์ผ๋ก ๋ฃ์ด๋๊ฒ ๋ค.
(base) sky@SARK:~ $ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
(base) sky@SARK:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
cuda-cudart-dev-10-2 cuda-driver-dev-10-2 libcublas7.5 libcudart7.5
libcufft7.5 libcufftw7.5 libcurand7.5 libcusolver7.5 libcusparse7.5
libnppc7.5 libnppi7.5 libnpps7.5 libnvblas7.5 libnvrtc7.5 libnvtoolsext1
libnvvm3 libthrust-dev libuv1 libvdpau-dev nvidia-cuda-doc nvidia-cuda-gdb
nvidia-opencl-dev opencl-headers
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
cuda-drivers
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
(base) sky@SARK:~ $ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
cuda-cudart-dev-10-2 cuda-driver-dev-10-2 libcublas7.5 libcudart7.5
libcufft7.5 libcufftw7.5 libcurand7.5 libcusolver7.5 libcusparse7.5
libnppc7.5 libnppi7.5 libnpps7.5 libnvblas7.5 libnvrtc7.5 libnvtoolsext1
libnvvm3 libthrust-dev libuv1 libvdpau-dev nvidia-cuda-doc nvidia-cuda-gdb
nvidia-opencl-dev opencl-headers
0 upgraded, 0 newly installed, 23 to remove and 1 not upgraded.
After this operation, 554 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 356991 files and directories currently installed.)
Removing cuda-cudart-dev-10-2 (10.2.89-1) ...
Removing cuda-driver-dev-10-2 (10.2.89-1) ...
Removing libnvblas7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcublas7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcudart7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcufftw7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcufft7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcurand7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcusolver7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcusparse7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnppi7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnpps7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnppc7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnvrtc7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnvtoolsext1:amd64 (7.5.18-0ubuntu1) ...
Removing libnvvm3:amd64 (7.5.18-0ubuntu1) ...
Removing libthrust-dev (1.8.1-1) ...
Removing libuv1:amd64 (1.8.0-1) ...
Removing libvdpau-dev:amd64 (1.1.1-3ubuntu1) ...
Removing nvidia-cuda-doc (7.5.18-0ubuntu1) ...
Removing nvidia-cuda-gdb (7.5.18-0ubuntu1) ...
Removing nvidia-opencl-dev:amd64 (7.5.18-0ubuntu1) ...
Removing opencl-headers (2.0~svn32091-2) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for man-db (2.7.5-1) ...
(base) sky@SARK:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
cuda-drivers
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
(base) sky@SARK:~ $
(base) sky@SARK:~ $ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
cuda-cudart-dev-10-2 cuda-driver-dev-10-2 libcublas7.5 libcudart7.5
libcufft7.5 libcufftw7.5 libcurand7.5 libcusolver7.5 libcusparse7.5
libnppc7.5 libnppi7.5 libnpps7.5 libnvblas7.5 libnvrtc7.5 libnvtoolsext1
libnvvm3 libthrust-dev libuv1 libvdpau-dev nvidia-cuda-doc nvidia-cuda-gdb
nvidia-opencl-dev opencl-headers
0 upgraded, 0 newly installed, 23 to remove and 1 not upgraded.
After this operation, 554 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 356991 files and directories currently installed.)
Removing cuda-cudart-dev-10-2 (10.2.89-1) ...
Removing cuda-driver-dev-10-2 (10.2.89-1) ...
Removing libnvblas7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcublas7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcudart7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcufftw7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcufft7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcurand7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcusolver7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libcusparse7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnppi7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnpps7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnppc7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnvrtc7.5:amd64 (7.5.18-0ubuntu1) ...
Removing libnvtoolsext1:amd64 (7.5.18-0ubuntu1) ...
Removing libnvvm3:amd64 (7.5.18-0ubuntu1) ...
Removing libthrust-dev (1.8.1-1) ...
Removing libuv1:amd64 (1.8.0-1) ...
Removing libvdpau-dev:amd64 (1.1.1-3ubuntu1) ...
Removing nvidia-cuda-doc (7.5.18-0ubuntu1) ...
Removing nvidia-cuda-gdb (7.5.18-0ubuntu1) ...
Removing nvidia-opencl-dev:amd64 (7.5.18-0ubuntu1) ...
Removing opencl-headers (2.0~svn32091-2) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for man-db (2.7.5-1) ...
(base) sky@SARK:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
cuda-drivers
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
(base) sky@SARK:~ $ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
(base) sky@SARK:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
cuda-drivers
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
(base) sky@SARK:~ $ sudo apt remove cuda-drivers
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms cuda-command-line-tools-10-1 cuda-compiler-10-1
cuda-cudart-10-1 cuda-cudart-dev-10-1 cuda-cufft-10-1 cuda-cufft-dev-10-1
cuda-cuobjdump-10-1 cuda-cupti-10-1 cuda-curand-10-1 cuda-curand-dev-10-1
cuda-cusolver-10-1 cuda-cusolver-dev-10-1 cuda-cusparse-10-1
cuda-cusparse-dev-10-1 cuda-documentation-10-1 cuda-driver-dev-10-1
cuda-gdb-10-1 cuda-gpu-library-advisor-10-1 cuda-libraries-10-1
cuda-libraries-dev-10-1 cuda-license-10-1 cuda-memcheck-10-1
cuda-misc-headers-10-1 cuda-npp-10-1 cuda-npp-dev-10-1 cuda-nsight-10-1
cuda-nsight-compute-10-1 cuda-nsight-systems-10-1 cuda-nvcc-10-1
cuda-nvdisasm-10-1 cuda-nvgraph-10-1 cuda-nvgraph-dev-10-1 cuda-nvjpeg-10-1
cuda-nvjpeg-dev-10-1 cuda-nvml-dev-10-1 cuda-nvprof-10-1 cuda-nvprune-10-1
cuda-nvrtc-10-1 cuda-nvrtc-dev-10-1 cuda-nvtx-10-1 cuda-nvvp-10-1
cuda-samples-10-1 cuda-sanitizer-api-10-1 cuda-toolkit-10-1 cuda-tools-10-1
cuda-visual-tools-10-1 dkms freeglut3 freeglut3-dev lib32gcc1 libc6-i386
libcublas-dev libcuda1-440 libjansson4 libxi-dev libxmu-dev libxmu-headers
libxnvctrl0 nsight-compute-2019.5.0 nsight-systems-2019.5.2 nvidia-440
nvidia-440-dev nvidia-modprobe nvidia-prime nvidia-settings
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
cuda-10-1 cuda-demo-suite-10-1 cuda-drivers cuda-runtime-10-1
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 11.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 354984 files and directories currently installed.)
Removing cuda-10-1 (10.1.243-1) ...
Removing cuda-demo-suite-10-1 (10.1.243-1) ...
Removing cuda-runtime-10-1 (10.1.243-1) ...
Removing cuda-drivers (440.64.00-1) ...
(base) sky@SARK:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms cuda-command-line-tools-10-1 cuda-compiler-10-1
cuda-cudart-10-1 cuda-cudart-dev-10-1 cuda-cufft-10-1 cuda-cufft-dev-10-1
cuda-cuobjdump-10-1 cuda-cupti-10-1 cuda-curand-10-1 cuda-curand-dev-10-1
cuda-cusolver-10-1 cuda-cusolver-dev-10-1 cuda-cusparse-10-1
cuda-cusparse-dev-10-1 cuda-documentation-10-1 cuda-driver-dev-10-1
cuda-gdb-10-1 cuda-gpu-library-advisor-10-1 cuda-libraries-10-1
cuda-libraries-dev-10-1 cuda-license-10-1 cuda-memcheck-10-1
cuda-misc-headers-10-1 cuda-npp-10-1 cuda-npp-dev-10-1 cuda-nsight-10-1
cuda-nsight-compute-10-1 cuda-nsight-systems-10-1 cuda-nvcc-10-1
cuda-nvdisasm-10-1 cuda-nvgraph-10-1 cuda-nvgraph-dev-10-1 cuda-nvjpeg-10-1
cuda-nvjpeg-dev-10-1 cuda-nvml-dev-10-1 cuda-nvprof-10-1 cuda-nvprune-10-1
cuda-nvrtc-10-1 cuda-nvrtc-dev-10-1 cuda-nvtx-10-1 cuda-nvvp-10-1
cuda-samples-10-1 cuda-sanitizer-api-10-1 cuda-toolkit-10-1 cuda-tools-10-1
cuda-visual-tools-10-1 dkms freeglut3 freeglut3-dev lib32gcc1 libc6-i386
libcublas-dev libcuda1-440 libjansson4 libxi-dev libxmu-dev libxmu-headers
libxnvctrl0 nsight-compute-2019.5.0 nsight-systems-2019.5.2 nvidia-440
nvidia-440-dev nvidia-modprobe nvidia-prime nvidia-settings
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) sky@SARK:~ $ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bbswitch-dkms cuda-command-line-tools-10-1 cuda-compiler-10-1
cuda-cudart-10-1 cuda-cudart-dev-10-1 cuda-cufft-10-1 cuda-cufft-dev-10-1
cuda-cuobjdump-10-1 cuda-cupti-10-1 cuda-curand-10-1 cuda-curand-dev-10-1
cuda-cusolver-10-1 cuda-cusolver-dev-10-1 cuda-cusparse-10-1
cuda-cusparse-dev-10-1 cuda-documentation-10-1 cuda-driver-dev-10-1
cuda-gdb-10-1 cuda-gpu-library-advisor-10-1 cuda-libraries-10-1
cuda-libraries-dev-10-1 cuda-license-10-1 cuda-memcheck-10-1
cuda-misc-headers-10-1 cuda-npp-10-1 cuda-npp-dev-10-1 cuda-nsight-10-1
cuda-nsight-compute-10-1 cuda-nsight-systems-10-1 cuda-nvcc-10-1
cuda-nvdisasm-10-1 cuda-nvgraph-10-1 cuda-nvgraph-dev-10-1 cuda-nvjpeg-10-1
cuda-nvjpeg-dev-10-1 cuda-nvml-dev-10-1 cuda-nvprof-10-1 cuda-nvprune-10-1
cuda-nvrtc-10-1 cuda-nvrtc-dev-10-1 cuda-nvtx-10-1 cuda-nvvp-10-1
cuda-samples-10-1 cuda-sanitizer-api-10-1 cuda-toolkit-10-1 cuda-tools-10-1
cuda-visual-tools-10-1 dkms freeglut3 freeglut3-dev lib32gcc1 libc6-i386
libcublas-dev libcuda1-440 libjansson4 libxi-dev libxmu-dev libxmu-headers
libxnvctrl0 nsight-compute-2019.5.0 nsight-systems-2019.5.2 nvidia-440
nvidia-440-dev nvidia-modprobe nvidia-prime nvidia-settings
screen-resolution-extra
0 upgraded, 0 newly installed, 67 to remove and 0 not upgraded.
After this operation, 4,238 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 354956 files and directories currently installed.)
Removing nvidia-prime (0.8.2) ...
Removing bbswitch-dkms (0.8-3ubuntu1) ...
-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.8
Kernel: 4.15.0-106-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/4.15.0-106-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.8
Kernel: 4.15.0-107-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/4.15.0-107-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
------------------------------
Deleting module version: 0.8
completely from the DKMS tree.
------------------------------
Done.
Removing cuda-toolkit-10-1 (10.1.243-1) ...
Removing cuda-tools-10-1 (10.1.243-1) ...
Removing cuda-command-line-tools-10-1 (10.1.243-1) ...
Removing cuda-compiler-10-1 (10.1.243-1) ...
Removing cuda-cupti-10-1 (10.1.243-1) ...
Removing cuda-visual-tools-10-1 (10.1.243-1) ...
Removing cuda-libraries-10-1 (10.1.243-1) ...
Removing cuda-libraries-dev-10-1 (10.1.243-1) ...
Removing cuda-documentation-10-1 (10.1.243-1) ...
Removing cuda-samples-10-1 (10.1.243-1) ...
Removing cuda-cufft-dev-10-1 (10.1.243-1) ...
Removing cuda-cufft-10-1 (10.1.243-1) ...
Removing cuda-gdb-10-1 (10.1.243-1) ...
Removing cuda-cuobjdump-10-1 (10.1.243-1) ...
Removing cuda-curand-dev-10-1 (10.1.243-1) ...
Removing cuda-curand-10-1 (10.1.243-1) ...
Removing cuda-cusolver-dev-10-1 (10.1.243-1) ...
Removing cuda-cusolver-10-1 (10.1.243-1) ...
Removing cuda-cusparse-dev-10-1 (10.1.243-1) ...
Removing cuda-cusparse-10-1 (10.1.243-1) ...
Removing cuda-gpu-library-advisor-10-1 (10.1.243-1) ...
Removing libcublas-dev (10.2.2.89-1) ...
Removing cuda-sanitizer-api-10-1 (10.1.243-1) ...
Removing cuda-memcheck-10-1 (10.1.243-1) ...
Removing cuda-nvcc-10-1 (10.1.243-1) ...
Removing cuda-misc-headers-10-1 (10.1.243-1) ...
Removing cuda-npp-dev-10-1 (10.1.243-1) ...
Removing cuda-npp-10-1 (10.1.243-1) ...
Removing cuda-nsight-10-1 (10.1.243-1) ...
Removing cuda-nsight-compute-10-1 (10.1.243-1) ...
Removing cuda-nsight-systems-10-1 (10.1.243-1) ...
Removing cuda-nvdisasm-10-1 (10.1.243-1) ...
Removing cuda-nvgraph-dev-10-1 (10.1.243-1) ...
Removing cuda-nvgraph-10-1 (10.1.243-1) ...
Removing cuda-nvjpeg-dev-10-1 (10.1.243-1) ...
Removing cuda-nvjpeg-10-1 (10.1.243-1) ...
Removing cuda-nvml-dev-10-1 (10.1.243-1) ...
Removing cuda-nvprof-10-1 (10.1.243-1) ...
Removing cuda-nvprune-10-1 (10.1.243-1) ...
Removing cuda-nvrtc-dev-10-1 (10.1.243-1) ...
Removing cuda-nvrtc-10-1 (10.1.243-1) ...
Removing cuda-nvtx-10-1 (10.1.243-1) ...
Removing cuda-nvvp-10-1 (10.1.243-1) ...
Removing nvidia-440-dev (440.95.01-0ubuntu1) ...
Removing nvidia-440 (440.95.01-0ubuntu1) ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/nvidia-440-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-440-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-440-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-440-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in auto mode
INFO:Disable nvidia-440
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
update-initramfs: deferring update (trigger activated)
Removing dkms (2.2.0.3-2ubuntu11.8) ...
Removing freeglut3-dev:amd64 (2.8.1-2) ...
Removing freeglut3:amd64 (2.8.1-2) ...
Removing lib32gcc1 (1:6.0.1-0ubuntu1) ...
Removing libc6-i386 (2.23-0ubuntu11.2) ...
Removing libcuda1-440 (440.95.01-0ubuntu1) ...
Removing nvidia-settings (450.51.05-0ubuntu1) ...
Removing libjansson4:amd64 (2.7-3ubuntu0.1) ...
Removing libxi-dev (2:1.7.6-1) ...
Removing libxmu-dev:amd64 (2:1.1.2-2) ...
Removing libxmu-headers (2:1.1.2-2) ...
Removing libxnvctrl0 (450.51.05-0ubuntu1) ...
Removing nsight-compute-2019.5.0 (2019.5.0.14-1) ...
Removing nsight-systems-2019.5.2 (2019.5.2.16-b54ef97) ...
update-alternatives: removing manually selected alternative - switching nsys to auto mode
update-alternatives: removing manually selected alternative - switching nsight-sys to auto mode
update-alternatives: removing manually selected alternative - switching nsys-exporter to auto mode
dpkg: warning: while removing nsight-systems-2019.5.2, directory '/usr/local/bin' not empty so not removed
Removing nvidia-modprobe (450.51.05-0ubuntu1) ...
Removing screen-resolution-extra (0.17.1.1~16.04.1) ...
Removing cuda-cudart-dev-10-1 (10.1.243-1) ...
Removing cuda-cudart-10-1 (10.1.243-1) ...
Removing cuda-driver-dev-10-1 (10.1.243-1) ...
Removing cuda-license-10-1 (10.1.243-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.16) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-107-generic
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for dbus (1.10.6-1ubuntu3.6) ...
(base) sky@SARK:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) sky@SARK:~ $ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,242 kB]
Fetched 1,243 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Get:1 file:/var/nccl-repo-2.6.4-ga-cuda10.2 InRelease
Ign file:/var/nccl-repo-2.6.4-ga-cuda10.2 InRelease
Get:2 file:/var/nccl-repo-2.6.4-ga-cuda10.2 Release [574 B]
Get:3 file:/var/nccl-repo-2.6.4-ga-cuda10.2 Release [574 B]
Hit http://linux.teamviewer.com/deb stable InRelease
Hit http://dl.google.com/linux/chrome/deb stable InRelease
Hit http://packages.microsoft.com/repos/vscode stable InRelease
Ign http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease
Ign http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 InRelease
Hit http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release
Hit http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Release
Hit http://archive.ubuntu.com/ubuntu xenial InRelease
Hit http://dl.openfoam.org/ubuntu xenial InRelease
Hit http://archive.canonical.com/ubuntu xenial InRelease
Hit http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit http://archive.ubuntu.com/ubuntu xenial-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
๋๊ธ