Hallo, Im using createrepo. The problem is that changes in the repo are not availiable via yum on my system. Ralf Von meinem iPad gesendet> Am 19.10.2019 um 15:31 schrieb Leon Fauster via CentOS <centos at centos.org>: > > ?Am 19.10.19 um 12:26 schrieb Ralf Prengel: >> Hallo, >> I try to use my own repo. >> The problem: >> The repo is working when using it while installing a fresh system using pxe and kickstart. >> When changing the content and rebuilding the repo new packages are not found. >> My question: >> What is the right way to reinit a repo complete? I tried several hints I found in the web but new packages are never found. > > > yum search createrepo > > -- > Leon > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
On Sun, 20 Oct 2019 12:23:55 +0200 Ralf Prengel <ralf.prengel at rprengel.de> wrote:> Hallo, > Im using createrepo. > The problem is that changes in the repo are not availiable via yum on my system. > > Ralfrm -rf $HOME/RPM/RPMS/repodata createrepo $HOME/RPM/RPMS BR, Bob
> Im using createrepo. > The problem is that changes in the repo are not availiable via yum on my system. >Are you using createrepo every time you make any changes? You need to do that in order to re-create the XML metadata containing the updated packages. P.
Yes, I will check it again tomorrow in the office. Von meinem iPad gesendet> Am 20.10.2019 um 14:46 schrieb Pete Biggs <pete at biggs.org.uk>: > > ? >> Im using createrepo. >> The problem is that changes in the repo are not availiable via yum on my system. >> > Are you using createrepo every time you make any changes? You need to > do that in order to re-create the XML metadata containing the updated > packages. > > P. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
Ralf Prengel
2019-Oct-21 04:18 UTC
[CentOS] how to reinit an own repo after adding files? (solved)
Zitat von Pete Biggs <pete at biggs.org.uk>:>> Im using createrepo. >> The problem is that changes in the repo are not availiable via yum >> on my system. >> > Are you using createrepo every time you make any changes? You need to > do that in order to re-create the XML metadata containing the updated > packages. >Hallo, my mistake. I m using yum.conf to block some updates like java and docker. My new repos contains a newer docker-version for testing. After changing yum.conf everything works fine. Thanks Ralf