* [gentoo-portage-dev] Error notification when PORTAGE_BINHOST unreachable?
@ 2009-04-07 12:15 Amit Dor-Shifer
2009-04-07 16:22 ` Zac Medico
0 siblings, 1 reply; 2+ messages in thread
From: Amit Dor-Shifer @ 2009-04-07 12:15 UTC (permalink / raw
To: gentoo-portage-dev
Hi.
I'm trying to emerge a binary package I've put on a remote host.
Initially I couldn't get the package to emerge:
amit0 Common # emerge -pvg =app-editors/vim-7.1.266
These are the packages that would be merged, in order:
Calculating dependencies -
Fetching bininfo from http://package-repo/binpkg
cache miss: '0' --- cache hit: '0'
... done!
emerge: there are no ebuilds to satisfy "=app-editors/vim-7.1.266".
This happens because the Packages index on the remote host wasn't
readable to non-root.
After I've fixed this, emerge works as-expected:
amit0 Common # emerge -pvg =app-editors/vim-7.1.266
These are the packages that would be merged, in order:
Calculating dependencies... done!
[binary N ] app-editors/vim-core-7.1.266 USE="bash-completion nls
-acl -livecd"
[binary N ] app-editors/vim-7.1.266 USE="bash-completion gpm nls
perl python -acl -cscope -minimal -ruby -vim-pager -vim-with-x"
[ebuild N ] app-vim/gentoo-syntax-20090220 USE="-ignore-glep31" 18 kB
Total: 3 packages (3 new), Size of downloads: 18 kB
Is the "cache miss: '0' --- cache hit: '0'" message suppose to indicate
the error in fetching binpkg data? Is it considered at-all an error? If
so, I'd suggest a more-clear error message.
Thanks,
Amit
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-portage-dev] Error notification when PORTAGE_BINHOST unreachable?
2009-04-07 12:15 [gentoo-portage-dev] Error notification when PORTAGE_BINHOST unreachable? Amit Dor-Shifer
@ 2009-04-07 16:22 ` Zac Medico
0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2009-04-07 16:22 UTC (permalink / raw
To: gentoo-portage-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Amit Dor-Shifer wrote:
> Hi.
> I'm trying to emerge a binary package I've put on a remote host.
> Initially I couldn't get the package to emerge:
>
> amit0 Common # emerge -pvg =app-editors/vim-7.1.266
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies -
> Fetching bininfo from http://package-repo/binpkg
> cache miss: '0' --- cache hit: '0'
> ... done!
>
> emerge: there are no ebuilds to satisfy "=app-editors/vim-7.1.266".
>
> This happens because the Packages index on the remote host wasn't
> readable to non-root.
>
> After I've fixed this, emerge works as-expected:
>
> amit0 Common # emerge -pvg =app-editors/vim-7.1.266
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [binary N ] app-editors/vim-core-7.1.266 USE="bash-completion nls
> -acl -livecd"
> [binary N ] app-editors/vim-7.1.266 USE="bash-completion gpm nls
> perl python -acl -cscope -minimal -ruby -vim-pager -vim-with-x"
> [ebuild N ] app-vim/gentoo-syntax-20090220 USE="-ignore-glep31" 18 kB
>
> Total: 3 packages (3 new), Size of downloads: 18 kB
>
> Is the "cache miss: '0' --- cache hit: '0'" message suppose to indicate
> the error in fetching binpkg data? Is it considered at-all an error? If
> so, I'd suggest a more-clear error message.
That's not an error. However, the output indicates that it's using
the older binhost protocol. This means that
http://package-repo/binpkg/Packages doesn't exist for some reason.
This could mean that you've shared the wrong directory. You should
be sharing the $PKGDIR directory in order for the new protocol to
work. If that directory doesn't contain a Packages file, or some of
the packages were built with less than portage-2.1.6, then you
should run `emaint --fix binhost` on the server. That will ensure
that the Packages file contains all of the appropriate metadata for
all of your packages.
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAknbfbkACgkQ/ejvha5XGaOjrwCeNQ0jRLpNGgX3UYh5dN6CWpF5
NHkAoOK1cplV+Os3e+Yzzjx1sWRvuCdO
=1lQV
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-07 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 12:15 [gentoo-portage-dev] Error notification when PORTAGE_BINHOST unreachable? Amit Dor-Shifer
2009-04-07 16:22 ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox