Back again with another complicated problem. Upon my most recent emerge --sync and kernel upgrade, my portage has become corrupted. Most notably, when i do an emerge update on world, immediately it reports that two pkgs do not have digests. I have looked into this error but it is not clear to me how to resolve it. I tried to run an emerge world to reinstall all pkgs but it failed on gcc. Now I am getting all kinds of segfaults and errors just running emerge. I have chosen a new profile to hopefully rework this and in this phase, emerge errors that one of the files with a missing digest is corrupted. It also complains about quarantine not being an empty dir but if I try to remove the file that is lsited (under glsa) it states that the file is not there although ls reports it.....
I do not really know how to start on this. Tried to emerge glibc as a start but that freezes at random points, so does gcc when it doesnt just error out.
So I have a broken Portage and GCC, I am getting segfaults and errors left and right or out and out freezes. I have analyzed all my partitions and no issues
emerge --info
Code: Select all
Portage 3.0.13 (python 3.7.9-final-0, default/linux/amd64/17.1/no-multilib, gcc-9.3.0, glibc-2.32-r6, 5.4.97-gentoo x86_64)
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-AMD_A4-7300_APU_with_Radeon_HD_Graphics-with-gentoo-2.7
KiB Mem: 3202268 total, 2070148 free
KiB Swap: 2008120 total, 2008120 free
Timestamp of repository gentoo: Sat, 20 Feb 2021 00:45:01 +0000
Head commit of repository gentoo: c2fba747786131f48b94f9c8c99f3fa5552fc9d8
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash: 5.0_p18::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 3.6.12::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake: 3.18.5::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.1-r1::gentoo
sys-devel/gcc: 9.3.0-r2::gentoo
sys-devel/gcc-config: 2.3.2-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r6::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: 1
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FREE free-noncomm freedist linux-firmware linux-fw-redistributable MPEG-4 no-source-code"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe" * Missing digest for '/usr/portage/dev-libs/xmlsec/xmlsec-1.2.31.ebuild'
* Missing digest for '/usr/portage/dev-libs/libassuan/libassuan-2.5.3.ebuild'
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl alsa amd64 ape ass avi berkdb bidi bzip2 cairo cdda cddb cdio cdrom cjk cli crypt dbus divx dri dts dv dvb dvd dvdread elogind encode fame ffmpeg flac fontconfig fortran freetype gdbm glib gnutls httpd iconv imlib immqt-bc ipv6 jpeg lastfm libass libglvnd libtirpc live lua mad matroska mjpeg mmx mp3 mpeg ncurses nls nptl ogg oggvorbis opengl openmp opennmp pam pcre png pulseaudio qt4 quicktime readline seccomp split-usr sse sse2 ssl stream subtitles tcpd theora tordns truetype udev unicode v4l vcd vlm vorbis wxwindows xattr xine xinerama xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Code: Select all
* Missing digest for '/usr/portage/dev-libs/xmlsec/xmlsec-1.2.31.ebuild'
* Missing digest for '/usr/portage/dev-libs/libassuan/libassuan-2.5.3.ebuild*Code: Select all
phobos13013@NotAnonAlready ~ $ sudo emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
* Using keys from /usr/share/openpgp-keys/gentoo-release.asc
* Refreshing keys via WKD ... [ ok ]
>>> Starting rsync with rsync://[2a01:90:200:10::1a]/gentoo-portage...
>>> Checking server timestamp ...
Welcome to starling.gentoo.org / rsync.gentoo.org
Server Address : 81.91.253.252, 2a01:90:200:10::1a
Contact Name : mirror-admin@gentoo.org
Hardware : 2 x Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz, 3946MB RAM
Sponsor : Qube Managed Services Limited, Zurich, Switzerland, EU
Please note: common gentoo-netiquette says you should not sync more
than once a day. Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.
MOTD autogenerated by update-rsync-motd on Thu Apr 4 19:07:17 UTC 2019
receiving incremental file list
timestamp.chk
Number of files: 1 (reg: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Matched data: 0 bytes
File list size: 42
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 104
Total bytes received: 133
sent 104 bytes received 133 bytes 67.71 bytes/sec
total size is 32 speedup is 0.14
rm: cannot remove '/usr/portage/.tmp-unverified-download-quarantine/metadata/glsa': Directory not empty
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 332, in update
dosyncuri, timestamp, opts)
File "/usr/lib/python3.7/site-packages/portage/sync/modules/rsync/rsync.py", line 704, in _do_rsync
command.append(self.download_dir)
File "/usr/lib/python3.7/site-packages/portage/sync/syncbase.py", line 130, in download_dir
self._download_dir = self.repo_storage.init_update()
File "/usr/lib/python3.7/site-packages/portage/util/futures/_sync_decorator.py", line 22, in wrapper
return loop.run_until_complete(func(*args, **kwargs))
File "/usr/lib/python3.7/site-packages/portage/util/_eventloop/asyncio_event_loop.py", line 126, in _run_until_complete
return self._loop.run_until_complete(future)
yield self._check_call(['rm', '-rf', update_location], loop=loop)
File "/usr/lib/python3.7/site-packages/portage/util/futures/compat_coroutine.py", line 124, in _next
future = self._generator.send(previous.result())
File "/usr/lib/python3.7/site-packages/portage/repository/storage/hardlink_quarantine.py", line 53, in _check_call
format(p.returncode, ' '.join(cmd)))
portage.repository.storage.interface.RepoStorageException: command exited with status 1: rm -rf /usr/portage/.tmp-unverified-download-quarantine
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Action: sync for repo: gentoo, returned code = 1



