View previous topic :: View next topic |
Author |
Message |
piotr5 Tux's lil' helper
Joined: 14 Dec 2012 Posts: 121
|
Posted: Mon Jul 08, 2024 9:03 am Post subject: how do you retrieve an old package? |
|
|
after updating dev-python/urllib3-1.26.18 got replaced by dev-python/urllib3-2.2.1 which broke some programs, and I want to roll-back that change. where can I find the original urllib3-1.26.18.ebuild file? how do I download it? how do I add it to portage? so far none of the programs depend on anything beyond that, so there is no need to update yet.
alternatively it would be sufficient to make python believe this isn't installed at all, any ideas on how to achieve that on a per-program basis? any possibility to make python ignore a certain package? I just need to make python use the included urllib3 (and maybe other packages) instead of the system-wide... |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Mon Jul 08, 2024 9:10 am Post subject: Re: how do you retrieve an old package? |
|
|
piotr5 wrote: | where can I find the original urllib3-1.26.18.ebuild file? |
Here
Regarding the other questions, I'll let other members answer as I never had to do this personally. |
|
Back to top |
|
|
piotr5 Tux's lil' helper
Joined: 14 Dec 2012 Posts: 121
|
Posted: Mon Jul 08, 2024 9:51 am Post subject: |
|
|
many thanks! also in past I have regretted not to copy some ebuild before it got removed, now I know how. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2027
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54631 Location: 56N 3W
|
Posted: Mon Jul 08, 2024 12:18 pm Post subject: |
|
|
piotr5,
If the sources have disappeared from SRC_URI you will either need to track down the sources, file by file and add them to your $DISTFILES or several of us here are hoarders of old $DISTFILES. My collection can be found at https://bloodnoc.org/~roy/olde-distfiles/.
Both http and https should work.
The easiest ta to use them is to use the command Code: | GENTOO_MIRRORS="https://bloodnoc.org/~roy/olde-distfiles/" emerge --fetchonly =<category>/<package>-ver |
It's only updated sporadically to discourage its use as an everyday GENTOO_MIRROR :)
There is about 700G worth of stuff there now, so autoindexing is slow. It works, eventually.
That collection starts around June-2006. It's only things I've downloaded, not a complete $DISTFILES history. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
piotr5 Tux's lil' helper
Joined: 14 Dec 2012 Posts: 121
|
Posted: Tue Jul 09, 2024 1:04 pm Post subject: |
|
|
thanks for all these replies. wasn't aware of the wiki article and the distfiles archive. there's a lot of old programs I miss, maybe I'll ask again later if someone still has the distfiles, if it's not archived here...
btw @sam_, you should add to the wiki that eselect-repository needs to be installed if it wasn't... |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Tue Jul 09, 2024 1:10 pm Post subject: |
|
|
piotr5 wrote: | btw @sam_, you should add to the wiki that eselect-repository needs to be installed if it wasn't... |
It's already mentioned?
Gentoo Wiki wrote: | First, create an ebuild repository ("overlay") locally, where the rescued ebuilds will be stashed, with eselect-repository (may need installation, see article): |
|
|
Back to top |
|
|
|