Summary: | portage-2.1.7.16: crashed getbinpkg, verify digest failed | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Martin Korous <mortals> |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | barzog, ikrabbe.ask, scarabeus |
Priority: | High | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.korous.net/pkg_size.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 307597 |
Description
Martin Korous
2010-02-02 13:17:29 UTC
(In reply to comment #0) > I got some errors: > !!! Error fetching binhost package info from 'ftp://login:pass@10.0.0.31' > !!! [Errno ftp error] [Errno ftp error] 550 Can't change directory to Packages: > No such file or directory Let's start with this error, because this indicates that you have configuration problems. The PORTAGE_BINHOST uri should point to a director containing a file named 'Packages'. Since it seems like it doesn't, you need to fix that. If necessary, you can run `emaint --fix binhost` on the server in order to regenerate the $PKGDIR/Packages file. hmm in version 2.1.6 is change in PORTAGE_BINHOST: For versions of portage less that 2.1.6, this variable should point to the 'All' directory on the host that creates the binary packages and not to the root of the PKGDIR. Starting with portage 2.1.6, it should point to a directory containing a 'Packages' index file. If ${PORTAGE_BINHOST}/Packages does not exist then portage will attempt to use the older protocol. I didnt see this change in changelog its only my stupid mistake, not bug Well, the behavior that you triggered isn't intended. I'll see if I can make it behave a little better. Reopening since we've got a duplicate now. *** Bug 303547 has been marked as a duplicate of this bug. *** (In reply to comment #2) > hmm > in version 2.1.6 is change in PORTAGE_BINHOST: > > For versions of portage less that 2.1.6, this variable should point to the > 'All' directory on the host that creates the binary packages and not to the > root of the PKGDIR. Starting with portage 2.1.6, it should point to a > directory containing a 'Packages' index file. If ${PORTAGE_BINHOST}/Packages > does not exist then portage will attempt to use the older protocol. > > I didnt see this change in changelog > its only my stupid mistake, not bug > I've see. Changing from: PORTAGE_BINHOST="ftp://binhost:*@falcon-cl2.telecom.by/packages/All" to PORTAGE_BINHOST="ftp://binhost:*@falcon-cl2.telecom.by/packages/" and all works as expected. This change MUST be noted after installing portage and may be in eselect news. There's a patch to fix the digest verification failure in svn r15333. Also, the portage-2.1.7.x ebuilds now show this ewarn message when upgrading with $PORTAGE_BINHOST set: * If you have an old PORTAGE_BINHOST setting in /etc/make.conf then * you will encounter bug #303211. Therefore, please ensure that your * PORTAGE_BINHOST setting points to a remote directory containing * a $PKGDIR/Packages file which is created by >=portage-2.1.6. If * $PKGDIR/Packages does not exist on the server or it is incomplete, * you must run `emaint --fix binhost` on the server in order to * generate it. See `man make.conf` for more information about * PORTAGE_BINHOST. This is fixed in 2.1.8 and 2.2_rc64. *** Bug 339421 has been marked as a duplicate of this bug. *** |