Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do you retrieve an old package?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
piotr5
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2012
Posts: 121

PostPosted: Mon Jul 08, 2024 9:03 am    Post subject: how do you retrieve an old package? Reply with quote

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
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 234
Location: Gentoo forums

PostPosted: Mon Jul 08, 2024 9:10 am    Post subject: Re: how do you retrieve an old package? Reply with quote

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
View user's profile Send private message
piotr5
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2012
Posts: 121

PostPosted: Mon Jul 08, 2024 9:51 am    Post subject: Reply with quote

many thanks! also in past I have regretted not to copy some ebuild before it got removed, now I know how.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2039

PostPosted: Mon Jul 08, 2024 10:20 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Downgrading_a_package_to_removed_version
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54644
Location: 56N 3W

PostPosted: Mon Jul 08, 2024 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
piotr5
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2012
Posts: 121

PostPosted: Tue Jul 09, 2024 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 234
Location: Gentoo forums

PostPosted: Tue Jul 09, 2024 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum