系统
Rocky Linux
https://rockylinux.org/download
openSUSE
https://www.opensuse.org/
数据库
MySQL
https://dev.mysql.com/downloads/mysql/
https://rockylinux.org/download
https://www.opensuse.org/
https://dev.mysql.com/downloads/mysql/
# yum repolist
# reposync -r <software source> <local directory>
# reposync -r base -p /tmp/repository/
# reposync -r extras -p /tmp/repository/
# reposync -r updates -p /tmp/repository/
# reposync -r epel -p /tmp/repository/
(补充:这里以同步软件源 base、extras、updates 和 epel 分到目录 /tmp/repository/、/tmp/repository/、/tmp/repository/、/tmp/repository/ 为例)
# cd /tmp/repository/base && createrepo ./
# cd /tmp/repository/extras && createrepo ./
# cd /tmp/repository/updates && createrepo ./
# cd /tmp/repository/epel && createrepo ./
(补充:这里以在目录 /tmp/repository/base、/tmp/repository/extras、/tmp/repository/updates 和 /tmp/repository/epel 里创建本地 YUM 源为例)
# reposync -r <software source> <local directory>
# reposync -r base -p /tmp/repository/
# reposync -r extras -p /tmp/repository/
# reposync -r updates -p /tmp/repository/
# reposync -r epel -p /tmp/repository/
(补充:这里以同步软件源 base、extras、updates 和 epel 分到目录 /tmp/repository/、/tmp/repository/、/tmp/repository/、/tmp/repository/ 为例)
# createrepo --update <local directory>
# createrepo --update /tmp/repository/base
# createrepo --update /tmp/repository/extras
# createrepo --update /tmp/repository/updates
# createrepo --update /tmp/repository/epel
(补充:这里以在目录 /tmp/repository/base、/tmp/repository/extras、/tmp/repository/updates 和 /tmp/repository/epel 里更新本地 YUM 源为例)
error: can't create transaction lock on /usr/lib/sysimage/rpm/.rpm.lock (Resource temporarily unavailable)
# rm -rf /var/lib/rpm/_db*
# rpm --rebuilddb
# zypper refresh
Domain | Port Number | Port protocol |
subscription.rhsm.redhat.com | 443 | TCP |
cdn.redhat.com | 443 | TCP |
Domain | Port Number | Port protocol |
scc.suse.com | 80 or 443 | TCP |
updates.suse.com | 80 or 443 | TCP |
installer-updates.suse.com | 80 or 443 | TCP |
https://access.redhat.com/solutions/65300
https://www.suse.com/support/kb/doc/?id=000021034#:~:text=%2A%20The%20current%20list%20of%20IPs,for%20scc.suse.com%20and%20registry.suse.com%20are%3A%2099.83.188.102
History:
- Can't hardlink/copy /var/tmp/...... to /var/cache/zypp/packages/......
- Can't provide ./x86_64/......
Abort, retry, ignore? [a/r/i] (a):
如果对应的目录存储空间不够,就会出现此类报错
扩大对应的存储空间或者在对应的目录里删除无用的数据