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

pacman database archive #1

Open
Efreets opened this issue Jul 16, 2022 · 9 comments
Open

pacman database archive #1

Efreets opened this issue Jul 16, 2022 · 9 comments

Comments

@Efreets
Copy link

Efreets commented Jul 16, 2022

I still can't use the old archive pacman soft database?
Did it work like archive.archlinux.org, but I can't find the archive website Url,
I need download and use the old software before 2022-04-01, so can you help me for this?

@lazka
Copy link
Member

lazka commented Jul 16, 2022

No work has started on this yet.

The old package files are still there (we keep them for 1.5+ years) : https://repo.msys2.org/mingw/mingw64/

# example:
pacman -U https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-glib2-2.66.1-1-any.pkg.tar.zst

@Efreets
Copy link
Author

Efreets commented Jul 16, 2022

I think the soft archives cost expensive, maybe you just can git version the soft database like msys.db and mingw64.db in convenient , unless to classify the soft version by years which more waste vigour and cloud storage.

@Efreets
Copy link
Author

Efreets commented Jul 16, 2022

Just versioning the database may help lots people with they only can download and install soft one by one assigned version,
it waste lots of time to attention the soft version one by one,
so can you version the database? many thanks

@Efreets
Copy link
Author

Efreets commented Jul 16, 2022

I need the database between 2022-03-28 to 2022-4-1, so can you help me, and send me the database in C:\msys64\var\lib\pacman\sync\ with filename clang32.db clang64.db clangarm.db mingw32.db mingw64.db msys.db and ucrt64.db with their signature files.

@lazka
Copy link
Member

lazka commented Jul 16, 2022

You could extract them from the older installer releases:
https://github.com/msys2/msys2-installer/releases

That's all we have..

@Efreets
Copy link
Author

Efreets commented Jul 16, 2022

The installer didn't have clang32.db files, and the April month database didn't have, can you more efficiently backup the soft version database by weekend, one times or two times was too little in month, and we just need the soft version database with various date

@lazka lazka added this to Roadmap Mar 31, 2023
@lazka lazka moved this to Todo in Roadmap Apr 9, 2023
@lazka lazka changed the title archive pacman database pacman database archive Apr 17, 2023
@jeremyd2019
Copy link
Member

jeremyd2019 commented Jun 15, 2024

Assuming that you haven't been saving sync dbs since... What if, moving forward, you save the sync dbs somewhere. Heck, maybe a release (or new releases each time) on this repo. It could even be automated as part of your scripts (from msys2-devtools, msys2-db{add,remove}) to use gh release create with a date/timestamp as the release name and the repo files. Then at least when we get around to making instructions or mechanisms to use them, we'll have them. (and if the old dbs were available, the really adventurous could probably manage to inject them into /var/lib/pacman/sync and refrain from using -Sy)

@Efreets
Copy link
Author

Efreets commented Jun 18, 2024

Thanks for your efforts.

@jeremyd2019
Copy link
Member

If you (@lazka) like, I could make a script to pull sync dbs out of old installers and push them to github releases named by date/timestamp of the sync db files, if I had rights to this repo. Or I could just make a big tarball of them with directories named by date/timestamp and upload it somewhere if that would be easier to deal with.

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

No branches or pull requests

3 participants