라벨이 update인 게시물 표시

error apt update with ubuntu 21.04

   ## set git root@kube1-KVM:/home/kube1/Desktop# sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list root@kube1-KVM:/home/kube1/Desktop# sudo apt-get update && sudo apt-get dist-upgrade Get:1 http://old-releases.ubuntu.com/ubuntu impish InRelease [270 kB] Get:2 http://old-releases.ubuntu.com/ubuntu impish-updates InRelease [115 kB] Get:3 http://old-releases.ubuntu.com/ubuntu impish-backports InRelease [101 kB] Get:4 http://old-releases.ubuntu.com/ubuntu impish-security InRelease [110 kB] Get:5 http://old-releases.ubuntu.com/ubuntu impish/main amd64 Packages [1,396 kB] Get:6 http://old-releases.ubuntu.com/ubuntu impish/main i386 Packages [1,037 kB] Get:7 http://old-releases.ubuntu.com/ubuntu impish/main Translation-en [511 kB]  

This system is not registered with an entitlement server. You can use subscription-manager to register. rhel7.9

## check cdrom  [root@localhost ~]# blkid /dev/mapper/rhel-root: UUID="c8959d98-4669-4520-a9f4-c99120c2219f" TYPE="xfs" /dev/sda2: UUID="dV5G8l-8D8L-9pl2-BQSr-izZh-CAc9-NPt2RP" TYPE="LVM2_member" /dev/sda1: UUID="b4e21b2c-2833-4dd3-aea0-8e9e11f95b4c" TYPE="xfs" /dev/sr0: UUID="2020-09-17-19-35-15-00" LABEL="RHEL-7.9 Server.x86_64" TYPE="iso9660" PTTYPE="dos" /dev/mapper/rhel-swap: UUID="74935535-3548-4e3a-9a78-acdf8d1f8d65" TYPE="swap" /dev/mapper/rhel-home: UUID="44377496-bac4-4af1-8a53-11045bcd7f84" TYPE="xfs"     ## mount cdrom  [root@localhost ~]# mount /dev/sr0 /dvd mount: /dev/sr0 is write-protected, mounting read-only [root@localhost ~]# ## mount cdrom  [root@localhost ~]# mount /dev/sr0 /dvd mount: /dev/sr0 is write-protected, mounting read-only [root@localhost ~]# [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mount

centos 6.x yum update problem making ssl connection

이미지
## yum update [root@localhost ~]# yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile https://vault.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again ## fix repo [root@localhost ~]# cd /etc/yum yum/ yum.conf yum.repos.d/ [root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost ~]# yum clean all Loaded plugins: fastestmirror Cleaning repos: base update Cleaning up Everything Cleaning up list of fastest mirrors ## fix repo [root@localhost yum.repos.d]# vi CentOS-Base.repo [base] name= CentOS-6 - Base baseurl= http://mirror.nsc.liu.se/centos-store/6.6/os/x86_64/ gpgcheck=0 priority=1 protect=1 [update] name=CentOS-6 - Updates baseurl=https://archive.kernel.org/centos-vault/6.6/updates/x86_64/ gpgcheck=0 priority=1 protect=1