Yum: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
yum --setopt=tsflags=noscripts remove <package> | yum --setopt=tsflags=noscripts remove <package> | ||
Sometimes it is useful to delete some files: | |||
rm -f /var/lib/rpm/__db.* | |||
On CensOS on VTP, it was some problem: | |||
Hi Bryan, | |||
on yum updates, I tried | |||
[base] | |||
name=CentOS-$releasever - Base | |||
baseurl=http://vault.centos.org/altarch/$releasever/os/$basearch/ | |||
and it gives me this: | |||
http://vault.centos.org/altarch/7/os/armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently | |||
Trying other mirror. | |||
If I change 'http:' to 'https:' it gives me this: | |||
https://vault.centos.org/altarch/7/os/armhfp/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user." | |||
Trying other mirror. | |||
I added key | |||
sslverify=0 | |||
on the next line after https:... and yum seems updating now, will see. | |||
Sergey |
Revision as of 11:59, 17 September 2025
Useful commands:
repoquery -i itcl - tells which repository contains itcl package
To remove package:
yum --setopt=tsflags=noscripts remove <package>
Sometimes it is useful to delete some files:
rm -f /var/lib/rpm/__db.*
On CensOS on VTP, it was some problem:
Hi Bryan, on yum updates, I tried [base] name=CentOS-$releasever - Base baseurl=http://vault.centos.org/altarch/$releasever/os/$basearch/ and it gives me this: http://vault.centos.org/altarch/7/os/armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently Trying other mirror. If I change 'http:' to 'https:' it gives me this: https://vault.centos.org/altarch/7/os/armhfp/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user." Trying other mirror. I added key sslverify=0 on the next line after https:... and yum seems updating now, will see. Sergey