얕고넓은지식/linux

우분투 서버가 자꾸 멈추네?

쪽마 2023. 3. 28. 15:00
sudo apt-get update        # 업데이트 목록 갱신
sudo apt-get upgrade       # 현재 패키지 업그레이드
sudo apt-get dist-upgrade  # 신규 업데이트 설치

 

업데이트해주자

 

root@server-desktop:~# sudo apt-get update
Hit:1 http://kr.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://kr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:4 http://kr.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://kr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,461 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [574 kB]
Get:7 http://kr.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:8 http://kr.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1,713 kB]
Get:9 http://kr.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [30.5 kB]
Get:10 http://kr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,044 kB]
Get:11 http://kr.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [720 kB]
Get:12 http://kr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [410 kB]
Get:13 http://kr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [24.1 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2,080 kB]
Get:15 http://kr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:16 http://kr.archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,960 B]
Get:17 http://kr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
Get:18 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [338 kB]
Get:19 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB]
Get:20 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [12.5 kB]
Get:21 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1,605 kB]
Get:22 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [29.2 kB]
Get:23 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [227 kB]
Get:24 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [620 B]
Get:25 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [818 kB]
Get:26 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [590 kB]
Get:27 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [164 kB]
Get:28 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [95.5 kB]
Get:29 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B]
Fetched 13.6 MB in 8s (1,662 kB/s)
Reading package lists... Done

 

 

 

 

 

 

 

root@server-desktop:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  fwupd linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04
  linux-image-generic-hwe-20.04 python3-software-properties
  software-properties-common software-properties-gtk
The following packages will be upgraded:
  alsa-ucm-conf apport apport-gtk apt apt-utils base-files bind9-dnsutils
  bind9-host bind9-libs bolt command-not-found deja-dup distro-info-data
  dnsmasq-base fwupd-signed gir1.2-gtk-3.0 gir1.2-notify-0.7
  gnome-control-center gnome-control-center-data gnome-control-center-faces
  grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc grub-pc-bin
  grub2-common gtk-update-icon-cache iio-sensor-proxy isc-dhcp-client
  isc-dhcp-common kmod language-pack-en language-pack-en-base
  language-pack-gnome-en language-pack-gnome-en-base libapt-pkg6.0 libc-bin
  libc-dev-bin libc6 libc6-dbg libc6-dev libfprint-2-2 libfprint-2-tod1
  libfwupd2 libgtk-3-0 libgtk-3-bin libgtk-3-common libjcat1 libkeyutils1
  libkmod2 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan0 libnl-3-200
  libnl-genl-3-200 libnl-route-3-200 libnotify-bin libnotify4 libqmi-glib5
  libqmi-proxy libsensors-config libsensors5 libsnmp-base libsnmp35
  libtss2-esys0 libunwind8 linux-firmware linux-libc-dev locales modemmanager
  netplan.io openssh-client openssh-server openssh-sftp-server
  python-apt-common python3-apport python3-apt python3-commandnotfound
  python3-distupgrade python3-problem-report python3-tz python3-update-manager
  sbsigntool shim-signed snapd tcpdump tracker-extract tracker-miner-fs
  ubuntu-advantage-tools ubuntu-drivers-common ubuntu-release-upgrader-core
  ubuntu-release-upgrader-gtk unattended-upgrades update-manager
  update-manager-core update-notifier update-notifier-common
  xdg-desktop-portal xdg-desktop-portal-gtk xserver-xorg-video-amdgpu
101 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 standard security update
Need to get 231 MB of archives.
After this operation, 52.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://kr.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dbg amd64 2.31-0ubuntu9.9 [20.0 MB]

 

 

 

 

 

 

반응형