Re: [gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Dan Johansson

On 15.05.23 16:41, Matt Connell wrote:

On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:

RuntimeError: OpenPGP signature not found on Manifest


It sounds like your sync is hitting a mirror that is currently broken.

Are you using a defined mirror list or letting it auto-select?



As far as I can tell, portage is using "auto-select".
in /etc/portage/make.conf I do not have GENTOO_MIRRORS set.


--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***




Re: [gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Matt Connell
On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:
> RuntimeError: OpenPGP signature not found on Manifest

It sounds like your sync is hitting a mirror that is currently broken.

Are you using a defined mirror list or letting it auto-select?



[gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Dan Johansson

Since at least my "emerge --sync" fails with the following message:
--8<--
Total bytes received: 55.60M

sent 456.87K bytes  received 55.60M bytes  4.48M bytes/sec
total size is 188.36M  speedup is 3.36
Traceback (most recent call last):
  File 
"/usr/lib/python3.11/site-packages/portage/util/_async/AsyncFunction.py", line 
45, in _run
result = self.target(*(self.args or []), **(self.kwargs or {}))
 ^^
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 
165, in sync
taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 65, 
in run_tasks
result = getattr(inst, func)(**kwargs)
 ^
  File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 364, 
in sync
return self.update()
   ^
  File "/usr/lib/python3.11/site-packages/portage/sync/modules/rsync/rsync.py", 
line 428, in update
raise RuntimeError(
RuntimeError: OpenPGP signature not found on Manifest

Action: sync for repo: gentoo, returned code = 1
--8<--

I have tried re-emerging portage and even unmasked portage-3.0.47, I also tried disabling 
the "rsync-verify" verify USE-flag.

Any suggestions what is wrong and how to solve it?

--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Emerge --sync fails on excluded stuff

2018-10-22 Thread Kai Peter

On 2018-10-22 16:26, Walter Dnes wrote:

I have a 10 year old Core2 as an emergency backup machine.  Let's just
say it's not as fast as modern machines.  To speed up "emerge --sync". 
I

put a bunch of unneeded stuff in an "rsync_excludes" file (attached).
Now "emerge --sync" has started failing, because it obviously can't
verify the missing directories/files.  Here's the error message...

 * Manifest timestamp: 2018-10-22 13:08:41 UTC
 * Valid OpenPGP signature found:
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2018-10-22 13:08:41 UTC
 * Verifying /usr/portage/.tmp-unverified-download-quarantine ...!!!
Manifest verification failed:
Manifest mismatch for app-dicts/Manifest.gz
  __exists__: expected: True, have: False


  app_dicts is the first entry in my "rsync_excludes", and I assume 
that

all the other entries would be problematic too.  How do I turn off this
bleeping "helpful" verification feature?


It fails at the first exclude entry always - I wrote this already. The 
whole manifest verification is buggy like hell - not well deliberated. 
Even if you sync from a local mirror it loads the key from the default 
key server. My suggestion is to disable it if you don't stay with the 
default.


--
Sent with eQmail-1.11 beta - a fork of djb's famous qmail



[gentoo-user] Emerge --sync fails on excluded stuff

2018-10-22 Thread Walter Dnes
  I have a 10 year old Core2 as an emergency backup machine.  Let's just
say it's not as fast as modern machines.  To speed up "emerge --sync". I
put a bunch of unneeded stuff in an "rsync_excludes" file (attached).
Now "emerge --sync" has started failing, because it obviously can't
verify the missing directories/files.  Here's the error message...

 * Manifest timestamp: 2018-10-22 13:08:41 UTC
 * Valid OpenPGP signature found:
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2018-10-22 13:08:41 UTC
 * Verifying /usr/portage/.tmp-unverified-download-quarantine ...!!! Manifest 
verification failed:
Manifest mismatch for app-dicts/Manifest.gz
  __exists__: expected: True, have: False


  app_dicts is the first entry in my "rsync_excludes", and I assume that
all the other entries would be problematic too.  How do I turn off this
bleeping "helpful" verification feature?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


rsync_excludes.gz
Description: Binary data


Re: [gentoo-user] emerge --sync fails with CacheCorruption

2007-10-23 Thread Grant
File /usr/lib/portage/pym/cache/util.py, line 31, in mirror_cache
  try:entry = src_cache[x]
File /usr/lib/portage/pym/cache/metadata.py, line 32, in __getitem__
  return flat_hash.database.__getitem__(self, cpv)
File /usr/lib/portage/pym/cache/flat_hash.py, line 38, in __getitem__
  raise cache_errors.CacheCorruption(cpv, e)
  cache.cache_errors.CacheCorruption: dev-games/ode-0.8 is corrupt:
  [Errno 5] Input/output error

 http://bugs.gentoo.org/show_bug.cgi?id=196680

 It is a bug in portage, but it's also abnormal to receive an
 Input/output error in that case, so you should probably run fsck on
 that filesystem.

Fixed, thanks Zac!

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge --sync fails with CacheCorruption

2007-10-22 Thread Grant
Whenever I try to emerge --sync my laptop it fails like this:

 Updating Portage cache:   18%Traceback (most recent call last):
  File /usr/bin/emerge, line 6474, in ?
retval = emerge_main()
  File /usr/bin/emerge, line 6429, in emerge_main
action_sync(settings, trees, mtimedb, myopts, myaction)
  File /usr/bin/emerge, line 4942, in action_sync
action_metadata(settings, portdb, myopts)
  File /usr/bin/emerge, line 5036, in action_metadata
eclass_cache=ec, verbose_instance=noise_maker)
  File /usr/lib/portage/pym/cache/util.py, line 31, in mirror_cache
try:entry = src_cache[x]
  File /usr/lib/portage/pym/cache/metadata.py, line 32, in __getitem__
return flat_hash.database.__getitem__(self, cpv)
  File /usr/lib/portage/pym/cache/flat_hash.py, line 38, in __getitem__
raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: dev-games/ode-0.8 is corrupt:
[Errno 5] Input/output error

I thought it was disc space but I have plenty.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge --sync fails with CacheCorruption

2007-10-22 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant wrote:
   File /usr/lib/portage/pym/cache/util.py, line 31, in mirror_cache
 try:entry = src_cache[x]
   File /usr/lib/portage/pym/cache/metadata.py, line 32, in __getitem__
 return flat_hash.database.__getitem__(self, cpv)
   File /usr/lib/portage/pym/cache/flat_hash.py, line 38, in __getitem__
 raise cache_errors.CacheCorruption(cpv, e)
 cache.cache_errors.CacheCorruption: dev-games/ode-0.8 is corrupt:
 [Errno 5] Input/output error

http://bugs.gentoo.org/show_bug.cgi?id=196680

It is a bug in portage, but it's also abnormal to receive an
Input/output error in that case, so you should probably run fsck on
that filesystem.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHHU7//ejvha5XGaMRAncHAKDOKb1mCZRZwppLJDrzUyGAf3wmFACg2COt
6A3aSb7i3ZWOdGgj/slVk0Y=
=vZAK
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge --sync fails

2007-02-17 Thread Erik
emerge --sync failed on one system today. I tried twice. Here is the end 
of the output:

x11-wm/fluxbox/files/
xfce-base/
xfce-extra/

Number of files: 144867
Number of files transferred: 54
Total file size: 162899536 bytes
Total transferred file size: 203819 bytes
Literal data: 203819 bytes
Matched data: 0 bytes
File list size: 3308769
File list generation time: 17.494 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 3465
Total bytes received: 3517647

sent 3465 bytes  received 3517647 bytes  19188.62 bytes/sec
total size is 162899536  speedup is 46.26

 Updating Portage cache:  Traceback (most recent call last):
 File /usr/bin/emerge, line 4049, in ?
   emerge_main()
 File /usr/bin/emerge, line 4006, in emerge_main
   action_sync(settings, trees, mtimedb, myopts, myaction)
 File /usr/bin/emerge, line 2924, in action_sync
   action_metadata(settings, portdb, myopts)
 File /usr/bin/emerge, line 3019, in action_metadata
   eclass_cache=ec, verbose_instance=noise_maker)
 File /usr/lib/portage/pym/cache/util.py, line 47, in mirror_cache
   if trg and not write_it:
 File /usr/lib/python2.4/UserDict.py, line 170, in __len__
   return len(self.keys())
 File /usr/lib/portage/pym/cache/mappings.py, line 54, in keys
   return list(self.__iter__())
 File /usr/lib/portage/pym/cache/mappings.py, line 48, in __iter__
   for k in self.orig.iterkeys():
 File /usr/lib/python2.4/UserDict.py, line 103, in iterkeys
   return self.__iter__()
 File /usr/lib/portage/pym/cache/mappings.py, line 83, in __iter__
   return iter(self.keys())
 File /usr/lib/portage/pym/cache/mappings.py, line 87, in keys
   self.d.update(self.pull())
 File /usr/lib/portage/pym/cache/flat_hash.py, line 29, in callit
   return args[0](*args[1:]+args2)
 File /usr/lib/portage/pym/cache/flat_hash.py, line 47, in _pull
   raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: 
app-accessibility/SphinxTrain-0.9.1-r1 is corrupt: dictionary update 
sequence element #0 has length 1; 2 is required


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync fails

2007-02-17 Thread Bo Ørsted Andresen
On Saturday 17 February 2007 17:45:41 Erik wrote:
 emerge --sync failed on one system today. I tried twice. Here is the end
[SNIP]
 cache.cache_errors.CacheCorruption:
 app-accessibility/SphinxTrain-0.9.1-r1 is corrupt: dictionary update
 sequence element #0 has length 1; 2 is required

http://bugs.gentoo.org/show_bug.cgi?id=156374

-- 
Bo Andresen


pgpsFrjZWQggU.pgp
Description: PGP signature


Re: [gentoo-user] emerge --sync fails

2006-06-23 Thread Rafael Alfaro

Thanks for your help friends!!
I solved the problem with your advices.

On 6/22/06, sternklang gentoo [EMAIL PROTECTED] wrote:

Were you trying to do this?:
PORTAGE_RSYNC_EXTRA_OPTS=--timeout=300

--
sternklang
[EMAIL PROTECTED]



--
Rafael Alfaro.
Omnilife Independent Distributor.
People taking care of people.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync fails

2006-06-22 Thread Caster
On 6/22/06, Rafael Alfaro [EMAIL PROTECTED] wrote:
PORTAGE_RSYNC_EXTRA_OPTS=300This is the problem, remove that from your /etc/make.conf - that's not an valid option... What were you trying to accomplish with it?Caster


Re: [gentoo-user] emerge --sync fails

2006-06-22 Thread sternklang gentoo
Were you trying to do this?:PORTAGE_RSYNC_EXTRA_OPTS=--timeout=300-- sternklang[EMAIL PROTECTED]


[gentoo-user] emerge --sync fails

2006-06-21 Thread Rafael Alfaro

Hi,


I have and emerge --sync problem,  (emerge-webrsync still works):


emerge --sync

Starting rsync with rsync://140.211.166.165/gentoo-portage...
Checking server timestamp ...

building file list ... rsync: link_stat /root/300 failed: No such
file or directory (2)
rsync: link_stat
/root/rsync://140.211.166.165/gentoo-portage/metadata/timestamp.chk
failed: No such file or directory (2)
done

Number of files: 0
Number of files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 5
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 21
Total bytes received: 20

sent 21 bytes  received 20 bytes  82.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at
main.c(892) [sender=2.6.8]

Retrying...



I did a touch /root/300
I did a emerge --metadata
but emerge --sync still fail.

Here is th emerge --info

Portage 2.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4,
2.6.17-rc4 i686)
=
System uname: 2.6.17-rc4 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium4
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/terminfo
CXXFLAGS=-O2 -march=pentium4
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://gentoo.chem.wisc.edu/gentoo/ 
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_EXTRA_OPTS=300
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X alsa apache2 apm arts avi berkdb bgpclassless bitmap-fonts
chroot cli crypt cups dri dvd eds emacs emboss encode esd fastcgi
fbsplash firefox fix-connected-rt flash foomaticdb fortran gdbm
gencertdaily gif gmail gmailtimestamps gnome gpgme gpm gstreamer gtalk
gtk gtk2 gvim imap imlib ipalias iproute2 ipv6 isdnlog j2ee javascript
jboss jpeg kde kdepim kdexdeltas kerberos kexi key-screen
kig-scripting ldapsam ldirectord libg++ libwww lighttpd live logmail
ltsp mad mailwrapper mikmod modperl motif mp3 mpeg multipath
nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nautilus
ncurses net netbeans netboot network nfs nls noauthcram
notlsbeforeauth nptl nptlonly ntfs ogg opengl openssh openssl oracle
ospfapi oss pam pcre pdf pdflib perl png postfix pppd python qmail qt
quicktime readline realms reflection rrdcgi rrdtool sasl sdl sendmail
session spamassassin spell spl ssl stream tcp-zebra tcpd tcpmd5
truetype truetype-fonts type1-fonts udev unicode userlocales verbose
vfat virus-scan vnc voice vorbis wxgtk1 wxwindows xml xmlrpc xmms xorg
xv yahoo zip zlib elibc_glibc kernel_linux userland_GNU
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTDIR_OVERLAY




Please help me, I do not know what happen.

Thanks in advance.


--
Rafael Alfaro.
Omnilife Independent Distributor.
People taking care of people.
--
gentoo-user@gentoo.org mailing list