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

Delete old files from the repository #17

Open
teluq-pbrideau opened this issue Apr 5, 2023 · 0 comments
Open

Delete old files from the repository #17

teluq-pbrideau opened this issue Apr 5, 2023 · 0 comments

Comments

@teluq-pbrideau
Copy link

Currently, the mirror does not delete what is absent in upstream repository.

I had a problem with synchronisation with upstream rocky9 repository

:~# yum update                                                                                                                         
[...]
===============================================================================================================================================================
 Package                                 Architecture             Version                                                    Repository                   Size 
===============================================================================================================================================================
[...]
Upgrading:                                                                                                                                                     
 apache-commons-cli                      noarch                   1.5.0-4.module+el9.1.0+13170+43ecddfd                      appstream                    75 k 
[...]
                                                                                                                                                               
Transaction Summary                                                                                                                                            
===============================================================================================================================================================
Install   3 Packages                                                                                                                                           
Upgrade  12 Packages                                                                                                                                           
Remove    3 Packages                                                                                                                                           
                                                                                                                                                               
Total size: 88 M                                                                                                                                               
Is this ok [y/N]: y                                                                                                                                            
Downloading Packages:                                                                                                                                          
[...]                                                                                                   
Running transaction check                                                                                                                                      
No available modular metadata for modular package 'apache-commons-cli-1.5.0-4.module+el9.1.0+13170+43ecddfd.noarch', it cannot be installed on the system      
[...]

I had to run manually reposync [...] --delete, then rerun the createrepo to fix the problem.

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

1 participant