public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] "emerge --sync" and "gemato" screwed
@ 2020-11-14  5:20 Walter Dnes
  2020-11-14  5:43 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Walter Dnes @ 2020-11-14  5:20 UTC (permalink / raw
  To: Gentoo Users List

  Here's tail-end of a recent "emerge --sync" plus an update attempt...

=============================================================
Total bytes sent: 334.55K
Total bytes received: 51.72M

sent 334.55K bytes  received 51.72M bytes  343.63K bytes/sec
total size is 178.09M  speedup is 3.42
!!! Unable to verify: gemato-14.5+ is required

Action: sync for repo: gentoo, returned code = 127


[d531][root][~] emerge -pv --changed-use --deep --update @world
 * Last emerge --sync was 32d 14h 23m 26s ago.

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB
=============================================================

  And before anyone asks, "emerge -pv1 portage" shows rsync-verify
is disabled...

=============================================================
Calculating dependencies... done!
[ebuild   R    ] sys-apps/portage-3.0.8::gentoo  USE="(ipc) native-extensions xattr -apidoc -build -doc -gentoo-dev -rsync-verify (-selinux) -test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" 0 KiB
=============================================================

  OK, so I emerged gemato, and a whole bunch of its dependencies, but
that doesn't help...

=============================================================
[d531][root][~] emerge --sync
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/portage/util/_async/AsyncFunction.py", line 39, in _run
    result = self.target(*(self.args or []), **(self.kwargs or {}))
  File "/usr/lib/python3.7/site-packages/portage/sync/controller.py", line 165, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib/python3.7/site-packages/portage/sync/controller.py", line 65, in run_tasks
    result = getattr(inst, func)(**kwargs)
  File "/usr/lib/python3.7/site-packages/portage/sync/syncbase.py", line 338, in sync
    return self.update()
  File "/usr/lib/python3.7/site-packages/portage/sync/modules/rsync/rsync.py", line 145, in update
    with io.open(self.repo.sync_openpgp_key_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/openpgp-keys/gentoo-release.asc'

Action: sync for repo: gentoo, returned code = 1
=============================================================.

  Now what???

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] "emerge --sync" and "gemato" screwed
  2020-11-14  5:20 [gentoo-user] "emerge --sync" and "gemato" screwed Walter Dnes
@ 2020-11-14  5:43 ` Dale
  2020-11-14  6:04 ` [gentoo-user] [SOLVED] " Walter Dnes
  2020-11-14 11:23 ` [gentoo-user] " Walter Dnes
  2 siblings, 0 replies; 4+ messages in thread
From: Dale @ 2020-11-14  5:43 UTC (permalink / raw
  To: gentoo-user

Walter Dnes wrote:
>   Here's tail-end of a recent "emerge --sync" plus an update attempt...
>
> =============================================================
> Total bytes sent: 334.55K
> Total bytes received: 51.72M
>
> sent 334.55K bytes  received 51.72M bytes  343.63K bytes/sec
> total size is 178.09M  speedup is 3.42
> !!! Unable to verify: gemato-14.5+ is required
>
> Action: sync for repo: gentoo, returned code = 127
>
>
> [d531][root][~] emerge -pv --changed-use --deep --update @world
>  * Last emerge --sync was 32d 14h 23m 26s ago.
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> Total: 0 packages, Size of downloads: 0 KiB
> =============================================================
>
>   And before anyone asks, "emerge -pv1 portage" shows rsync-verify
> is disabled...
>
> =============================================================
> Calculating dependencies... done!
> [ebuild   R    ] sys-apps/portage-3.0.8::gentoo  USE="(ipc) native-extensions xattr -apidoc -build -doc -gentoo-dev -rsync-verify (-selinux) -test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" 0 KiB
> =============================================================
>
>   OK, so I emerged gemato, and a whole bunch of its dependencies, but
> that doesn't help...
>
> =============================================================
> [d531][root][~] emerge --sync
>>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
>  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
> Traceback (most recent call last):
>   File "/usr/lib/python3.7/site-packages/portage/util/_async/AsyncFunction.py", line 39, in _run
>     result = self.target(*(self.args or []), **(self.kwargs or {}))
>   File "/usr/lib/python3.7/site-packages/portage/sync/controller.py", line 165, in sync
>     taskmaster.run_tasks(tasks, func, status, options=task_opts)
>   File "/usr/lib/python3.7/site-packages/portage/sync/controller.py", line 65, in run_tasks
>     result = getattr(inst, func)(**kwargs)
>   File "/usr/lib/python3.7/site-packages/portage/sync/syncbase.py", line 338, in sync
>     return self.update()
>   File "/usr/lib/python3.7/site-packages/portage/sync/modules/rsync/rsync.py", line 145, in update
>     with io.open(self.repo.sync_openpgp_key_path, 'rb') as f:
> FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/openpgp-keys/gentoo-release.asc'
>
> Action: sync for repo: gentoo, returned code = 1
> =============================================================.
>
>   Now what???
>

Well, I don't even see a gemato 14 in the tree here.  This is what I show.


root@fireball / # equery list -p gemato
 * Searching for gemato ...
[-P-] [  ] app-portage/gemato-15.2:0
[-P-] [ ~] app-portage/gemato-16.1:0
[IP-] [  ] app-portage/gemato-16.2:0
[-P-] [ -] app-portage/gemato-9999:0
root@fireball / #


It seems you are a bit behind on that package if I read that correctly. 
I'm not sure how to work around it but I'll make this offer if it helps
and nothing else works.  I have a binary for it that I can send you off
list.  This is the info for the package and USE flags if they match your
needs close enough.


[ebuild   R    ] app-portage/gemato-16.2::gentoo  USE="gpg -test -tools"
PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)"


I looked and the tarball is only ~102KBs.  If you need something else,
I'd be happy to send you whatever you need.  My DSL upload is slow but
it gets there, eventually.  ;-)

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] [SOLVED] "emerge --sync" and "gemato" screwed
  2020-11-14  5:20 [gentoo-user] "emerge --sync" and "gemato" screwed Walter Dnes
  2020-11-14  5:43 ` Dale
@ 2020-11-14  6:04 ` Walter Dnes
  2020-11-14 11:23 ` [gentoo-user] " Walter Dnes
  2 siblings, 0 replies; 4+ messages in thread
From: Walter Dnes @ 2020-11-14  6:04 UTC (permalink / raw
  To: Gentoo Users List

  It looks like we may have a "documentation bug" on our hands.
According to https://www.gentoo.org/support/news-items/2018-01-30-portage-rsync-verification.html

> If you wish to disable it, you can disable the 'rsync-verify' USE
> flag on sys-apps/portage or set 'sync-rsync-verify-metamanifest =
> no' in your repos.conf.

  This was a fresh install on an old machine.  I had "-rsync-verify"
in package.use, but 'sync-rsync-verify-metamanifest = yes' in repos.conf.
Changing that to "no" allowed the "emerge --rsync" to proceed, and I've
now got the update running.  I'll wait a few days and try agin.  I want
to check whether both the USE flag and repos.conf need to be disabled,
or whether the USE flag is ignored alltogether.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] "emerge --sync" and "gemato" screwed
  2020-11-14  5:20 [gentoo-user] "emerge --sync" and "gemato" screwed Walter Dnes
  2020-11-14  5:43 ` Dale
  2020-11-14  6:04 ` [gentoo-user] [SOLVED] " Walter Dnes
@ 2020-11-14 11:23 ` Walter Dnes
  2 siblings, 0 replies; 4+ messages in thread
From: Walter Dnes @ 2020-11-14 11:23 UTC (permalink / raw
  To: Gentoo Users List

On Sat, Nov 14, 2020 at 12:20:16AM -0500, Walter Dnes wrote

> =============================================================
> 
>   And before anyone asks, "emerge -pv1 portage" shows rsync-verify
> is disabled...
> 
> =============================================================
> Calculating dependencies... done!
> [ebuild   R    ] sys-apps/portage-3.0.8::gentoo  USE="(ipc) native-extensions xattr -apidoc -build -doc -gentoo-dev -rsync-verify (-selinux) -test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" 0 KiB
> =============================================================
> 
>   OK, so I emerged gemato, and a whole bunch of its dependencies, but
> that doesn't help...

  It looks like I went about things exactly the wrong way.  gemato
should not be emerged directly.  USE="rsync-verify" emerge -1 portage
pulls in gemato and app-crypt/openpgp-keys-gentoo-release-20200704,
and other dependencies.  This would've prevented the mess about gemato
not finding the keys.

  There's still the problem of the news item
https://www.gentoo.org/support/news-items/2018-01-30-portage-rsync-verification.html

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-14 11:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-14  5:20 [gentoo-user] "emerge --sync" and "gemato" screwed Walter Dnes
2020-11-14  5:43 ` Dale
2020-11-14  6:04 ` [gentoo-user] [SOLVED] " Walter Dnes
2020-11-14 11:23 ` [gentoo-user] " Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox