Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error ignoring dupe of package_name #17

Open
deaw0003 opened this issue Mar 30, 2021 · 6 comments
Open

Error ignoring dupe of package_name #17

deaw0003 opened this issue Mar 30, 2021 · 6 comments

Comments

@deaw0003
Copy link

After i run command
dtmrepo -augfv -d rhel6s-86_64
I found error about ignoring dupe of package_name.That make these pakage not sync.

@dtmateojr
Copy link
Owner

That is not an error. That is a time-saver otherwise it would redownload hundreds of gigabytes of already downloaded packages every time.

@deaw0003
Copy link
Author

But I fond if this meesage occur. Amount of total pakage after repolist dtmrepo itself isn't equl to repolist from CDN Red hat.
although I sync dtmrepo to latest (Red Hat 6)

@dtmateojr
Copy link
Owner

Use the mirror option

@deaw0003
Copy link
Author

Where can i add mirror option ?

@dtmateojr
Copy link
Owner

I suggest that you completely read instructions.txt before asking another question.

@deaw0003
Copy link
Author

Yes, i read instruction already.But i don't know where add to INSTALLDIR/etc/dtmrepo.conf.d that contain dtmrepo config file such as
[control]
releasever = 5Server
arch = x86_64
keep = 2
protectrepo = os,optional

[repos]
os = rhel-5-server-rpms
optional = rhel-5-server-optional-rpms
supplementary = rhel-5-server-supplementary-rpms
epel = epel-5-x86_64
foo = local:/var/dtmrepo/foo/el5/x86_64
misc = swalk:some-spacewalk-channel
dev = mirror:dev-el5

or add mirror in /etc/yum.repo.d/ in server that need to repolist/upgrade such as
[epel-5-x86_64]
name=epel-5
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants