Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sabayon equo installer broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Fri Aug 14, 2020 10:48 pm    Post subject: Sabayon equo installer broken Reply with quote

I can't install Sabayon packages any more.

An
Code:
sudo equo install freehdl
(or any other package) gets me:

Code:
╠  @@ Berechne Abhängigkeiten...
╠  ## [N] [sabayon-weekly] sci-electronics/freehdl-0.0.8|0
╠  @@ Pakete die installiert/aktualisiert/entfernt werden müssen: 1
╠  @@ Pakete die entfernt werden müssen: 0
╠  @@ Download Größe: 1.4MB
╠  @@ Benutzter Festplattenspeicher: 5.6MB
╠  @@ Du brauchst zumindest: 8.3MB freien Speicherplatz
╠  ::: >>>  (1/1) 1 Paket
╠    ## downloaden: 1 Paket
╠    ## ( mirror #1 ) [sci-electronics:freehdl-0.0.8.4f8d4b68c416e7038d9f6091a4bec2c219f2c1f1~0.tbz2] @ http://sabayon.c3sl.ufpr.br
╠   ## Sammeldownload: 1 Artikel
╠    # [1] sabayon.c3sl.ufpr.br => sci-electronics:freehdl-0.0.8.4f8d4b68c416e7038d9f6091a4bec2c219f2c1f1~0.tbz2
╠    ## Überprüfe Paketprüfsumme...
╠       : [sci-electronics:freehdl-0.0.8.4f8d4b68c416e7038d9f6091a4bec2c219f2c1f1~0.tbz2] GPG validated
╠       : SHA1 deaktiviert
╠       : [sci-electronics:freehdl-0.0.8.4f8d4b68c416e7038d9f6091a4bec2c219f2c1f1~0.tbz2] SHA256 validated
╠       : SHA512 deaktiviert
╠    ## ( mirror #1 ) [sci-electronics:freehdl-0.0.8.4f8d4b68c416e7038d9f6091a4bec2c219f2c1f1~0.tbz2] erfolgreich @ http://sabayon.c3sl.ufpr.br
╠    ##  angehäufte Transferrate: 388.6kB/Sekunde
╠  +++ >>>  (1/1) sci-electronics/freehdl-0.0.8
╠    ## Entpacke: sci-electronics:freehdl-0.0.8.4f8d4b68c416e7038d9f6091a4bec2c219f2c1f1~0.tbz2
╠    ## Installiere Paket: sci-electronics/freehdl-0.0.8
╠    ## [A free VHDL simulator]
╠    ## Updating installed packages repository: sci-electronics/freehdl-0.0.8
☢ Hi. My name is Bug Reporter. I am sorry to inform you that the program crashed. Well, you know, shit happens.
☢ But there's something you could do to help me to be a better application.
☢ -- BUT, DO NOT SUBMIT THE SAME REPORT MORE THAN ONCE --
☢ Jetzt zeige ich dir was passiert ist. Keine Angst, Ich bin hier un dir zu helfen
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/equo", line 16, in <module>
    main()
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/main.py", line 333, in main
    exit_st = func(*func_args)
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/commands/command.py", line 437, in _call_shared
    return func(client)
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/commands/install.py", line 192, in _install
    relaxed, multifetch, packages)
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/commands/install.py", line 707, in _install_action
    exit_st = pkg.start()
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/action.py", line 218, in start
    exit_st = self._run()
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 260, in _run
    exit_st = method()
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 1410, in _install_phase
    return self._install_phase_unlocked(inst_repo)
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 1478, in _install_phase_unlocked
    inst_repo, installed_package_id)
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 970, in _install_spm_package_unlocked
    spm_uid = spm.add_installed_package(self._meta)
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3183, in add_installed_package
    root, package_metadata)
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3289, in _add_installed_package_unlocked
    package_metadata)
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3029, in _create_contents_file_if_not_available
    with self._PortageVdbLocker(self, root = root):
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3139, in __enter__
    self.__vdb_path)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 119, in lockdir
    return lockfile(mydir, wantnewlockfile=1, flags=flags)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 132, in lockfile
    unlinkfile=unlinkfile, waiting_msg=waiting_msg, flags=flags)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 332, in _lockfile_iteration
    _lock_manager(myfd, os.fstat(myfd) if fstat_result is None else fstat_result, mypath)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 99, in __init__
    raise TryAgain(path)
portage.exception.TryAgain: /var/db/pkg

Frame __init__ in /usr/lib64/python3.6/site-packages/portage/locks.py at line 99
                   path = '/var/db/pkg'
           fstat_result = os.stat_result(st_mode=33200, st_ino=8763429, st_dev=64256, st_nlink=1, st_uid=0, st_gid=250, st_size=0, st_atime=1597444907, st_mtime=1597444907, st_ctime=1597444907)
                     fd = 10
                   self = <portage.locks._lock_manager object at 0x7fa7e860edd8>

Erm... Can I send the error, along with some other information
about your hardware to my creators so they can fix me? (Your IP will be logged) [Ja/Nein]


This seriously annoys me ... anybody any idea on how to fix it?
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 613

PostPosted: Fri Aug 14, 2020 11:37 pm    Post subject: Re: Sabayon equo installer broken Reply with quote

MongoQ wrote:
Code:
Frame __init__ in /usr/lib64/python3.6/site-packages/portage/locks.py at line 99
                   path = '/var/db/pkg'
           fstat_result = os.stat_result(st_mode=33200, st_ino=8763429, st_dev=64256, st_nlink=1, st_uid=0, st_gid=250, st_size=0, st_atime=1597444907, st_mtime=1597444907, st_ctime=1597444907)
                     fd = 10
                   self = <portage.locks._lock_manager object at 0x7fa7e860edd8>

Hi MongoQ,

I'm not an expert in Python, but it looks like emerge (or is it called equo in Sabayon?) got locked. This can typically happen if you have another process running (are you installing another packages now?) or not exited correctly (try to run `ps aux | grep emerge`, or `ps aux | grep equo` to find the process).

I found this.

Maybe rebooting the system will help.
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sat Aug 15, 2020 11:59 am    Post subject: Reply with quote

Rebooting doesn't help.
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sat Aug 15, 2020 12:24 pm    Post subject: Reply with quote

I think it has something to do with:

Code:
Regenerating /etc/ld.so.cache...


I found https://forums.gentoo.org/viewtopic-t-653615-start-0.html but I'm afraid I can seriously break something.
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sat Aug 15, 2020 12:31 pm    Post subject: Reply with quote

halcon:
Quote:
I found this.

- don't get it.

Deleting /var/cache/ldconfig/aux-cache and rebuilding it with ldconfig doesn't help.
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 613

PostPosted: Sat Aug 15, 2020 2:22 pm    Post subject: Reply with quote

MongoQ wrote:
halcon:
Quote:
I found this.

- don't get it.

It is a link, did you open it?

I found also another tip on the same page:
"There is a script /usr/lib/portage/bin/clean_locks that can be used to clean out old lockfiles."

Try to launch /usr/lib/portage/bin/clean_locks ? It may be located also in /usr/lib64/portage/python3.6/clean_locks .
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 51161
Location: 56N 3W

PostPosted: Sat Aug 15, 2020 2:50 pm    Post subject: Reply with quote

MongoQ,

What does
Code:
emerge sci-electronics/freehdl
tell?

Code:
$ eix sci-electronics/freehdl
* sci-electronics/freehdl
     Available versions:  (~)0.0.8
     Homepage:            http://freehdl.seul.org/
     Description:         A free VHDL simulator


Your error
Code:
portage.exception.TryAgain: /var/db/pkg
reads as if your package database is corrupt. That's a very bad thing.
The output of
Code:
emerge --info
will be useful as will the output of
Code:
emerge -epv @world

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sat Aug 15, 2020 5:12 pm    Post subject: Reply with quote

halcon:

Code:
/usr/lib/portage/python3.6/clean_locks


gets me:

Code:
You must specify directories with hardlink-locks to clean.
You may optionally specify --force, which will remove all
of the locks, even if we can't establish if they are in use.
Please attempt cleaning without force first.

/usr/lib/portage/python3.6/clean_locks /usr/portage/distfiles/.locks
/usr/lib/portage/python3.6/clean_locks --force /usr/portage/distfiles/.locks


but doesn't help with equo package installations.
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sat Aug 15, 2020 5:14 pm    Post subject: Reply with quote

NeddySeagoon:

I emerged ngspice yesterday.
Whereas equo'ing didn't work.
Emerge does not appear to be affected 8O

Maybe this helps:

Code:
emerge --info

/usr/lib64/python3.6/site-packages/portage/package/ebuild/_config/KeywordsManager.py:69: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)
Portage 3.0.2 (python 3.6.10-final-0, default/linux/amd64/17.0/desktop, gcc-8.3.1, glibc-2.30-r9, 5.4.0-sabayon x86_64)
=================================================================
System uname: Linux-5.4.0-sabayon-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.6
KiB Mem:     8023860 total,   4200164 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Tue, 11 Aug 2020 11:15:01 +0000
Head commit of repository gentoo: cd128b0312bde3db8cb845b207a1cbf495de2267
Timestamp of repository booboo: Mon, 10 Aug 2020 09:13:22 +0000
Head commit of repository booboo: a15fcc0063708a7768f6693bee8a64954e1ac23d

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo
dev-util/cmake:           3.14.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::sabayon-distro
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1-r1::gentoo
sys-devel/gcc:            8.2.0-r6::sabayon-distro
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r9::sabayon-distro
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync10.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

booboo
    location: /var/db/repos/booboo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/booboo.git
    masters: gentoo

user_defined
    location: /usr/local/portage
    masters: gentoo
    priority: 0

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /etc/entropy /etc/init.d /usr/share/config /usr/share/config/kdm /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/skel /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /lib/modules"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="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 compressdebug 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://mirror.neolabs.kz/gentoo http://ftp.gentoo.bg/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nl_NL nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-j8 -s"
PKGDIR="/var/cache/binpkgs"
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 accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bluray bzip2 cairo cdda cddb cdr cjk cli cpudetection crypt cups dbus dga dri dts dv dvb dvd dvdr dvdread dvi elogind emboss encode exif fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint gmp gnutls gphoto2 gpm gsm gtk hfs http2 iconv icq icu ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick jpeg kdeenablefinal kdehiddenvisibility kerberos lame lcd lcms ldap libnotify libtirpc live lm_sensors logind lzo mad mail matroska mjpeg mmx mng mozdevelop mp3 mp3rtp mp4 mpeg msn multilib musepack musicbrainz ncurses network nls nptl nsplugin ntfs ogg openal openexr opengl openmp opus pam pango pcmcia pcre pda pdf perl png policykit ppds pulseaudio python qt5 rar rdesktop readline real reiserfs rss scanner sdl seccomp slp speex spell split-usr ssl startup-notification stream svg sysfs systemd tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 visualization vorbis wayland wifi win32codecs wmf wxwidgets x264 x265 xattr xcb xfs xine xinerama xml xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev void" KERNEL="linux" L10N="en af ar az bg bn br bs ca cs cy da de el en-GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt-BR ro ru rw se sk sl sr sr-Latn ss sv ta tg tr uk uz vi zh-CN zh-TW es-AR es-ES fy ga gu nb nn pt-PT sv zh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" LIRC_DEVICES="audio audio_alsa devinput pctv" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonsi 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 613

PostPosted: Sat Aug 15, 2020 5:58 pm    Post subject: Reply with quote

MongoQ wrote:
Code:
/usr/lib/portage/python3.6/clean_locks --force /usr/portage/distfiles/.locks

Please note: if your portage database is corrupt, as NeddySeagoon said, the issue may be not in lockfiles at all and all this may not be of help... All the more it's just a guess.

But still, you could try to launch clean_locks with --force indicating directories where lockfiles could be located. (Better after looking into these directories first.)

I don't know exactly what these directories are. You could start from that default /usr/portage/distfiles/.locks. Or, if there's the problem with /var/db/pkg, maybe, a lockfile could be in /var/db, as was mentioned in that topic, and, in this latter case, the command would be
Code:
/usr/lib/portage/python3.6/clean_locks --force /var/db
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 51161
Location: 56N 3W

PostPosted: Sat Aug 15, 2020 7:36 pm    Post subject: Reply with quote

MongoQ,

I wanted you to emerge the package that was failing as it will test some of the same code paths.
If emerge works with sci-electronics/freehdl but not with equo that points to equo being broken, or perhaps it does not like being run with sudo?

Your gcc is old but that won't matter.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
sabayonino
l33t
l33t


Joined: 03 Jan 2012
Posts: 924

PostPosted: Sun Aug 16, 2020 12:16 am    Post subject: Reply with quote

You have an old profile.
Sabayon has migrated to 17.1 profile some months ago
If you have an old Sabayon installation , there are few topics to the sabayon forum that explain how to migrate to the new profile.

see
Code:
equo notice sabayon-weekly < Profile change >

Quote:
Profile change
╠ Contenuto:

Sabayon is based on Gentoo, and Gentoo has a concept of profiles that can be thought as distro wide configuration.
.
In Sabayon the profile has been switched (or will be switched when you perform an update) to default/linux/amd64/17.1/desktop, following Gentoo. From now on, no package installs to /lib32 or /usr/lib32 and /lib is no longer a symbolic link.
.
Profile switch has been automated to provide you a seamless experience, however there is a couple of things you may want to be aware of.
.
Following notice is especially directed towards power users.
.
Applies to all users
====================
.
No package installs to /lib32 or /usr/lib32, however it is possible that you have some stale packages with files installed there. It is not required to clean them up, but you may consider doing so.
.
Important: do this only if you are sure that you are already on the new profile! If /lib is NOT a symbolic link, and both /lib32 and /usr/lib32 are symbolic links, you are on an updated system and can continue. Otherwise do the update first.
.
If in doubt, ignore this step.
.
a. As a sanity check of the qlist tool used in the process, verify that this command:
.
qlist -eC app-portage/portage-utils
.
produces several lines that contain some paths.
.
b. Find packages that install to /lib32 or /usr/lib32.
.
equo query list installed -qv | while read pkg; do qlist -eC "$pkg" | grep -q -E "^/lib32/|^/usr/lib32/" && echo "$pkg"; done
.
Note: if the list of packages exceeds 10, you are probably not updated to the new layout. Make sure to update first.
.
c. This command should only produce list of old and useless packages. In the first case, just remove them with equo. If you are not sure whether the package can be removed, stop at this point (and ask for help if you would like to continue).
.
d. Using the command from point b., confirm that there are no packages that install to these directories (execute it again). If there are none, you can remove the symbolic links: rm /lib32 /usr/lib32.
.
Additional information for Portage users
========================================
.
If you don't use Portage (emerge) you can skip this section.
.
Make sure to execute: eselect profile set default/linux/amd64/17.1/desktop.
.
There could be packages that install to lib32 directories which you emerged yourself. Rebuilding them is recommended. After doing it, you can follow steps a-d above if you like.
.
.
.
That's all!
.
Additional information from Gentoo for the curious:
https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html



Edit : https://forum.sabayon.org/viewtopic.php?f=76&t=35997
_________________
BOINC ed il calcolo distribuito

My RecoverySystem Repo
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sun Aug 16, 2020 4:16 pm    Post subject: Reply with quote

sabayonino:

Code:
qlist -eC app-portage/portage-utils


produces:

Code:
/usr/bin/qatom
/usr/bin/qcheck
/usr/bin/qdepends
/usr/bin/qfile
/usr/bin/qgrep
/usr/bin/qkeyword
/usr/bin/qlist
/usr/bin/qlop
/usr/bin/qmerge
/usr/bin/qpkg
/usr/bin/qsearch
/usr/bin/qsize
/usr/bin/qtbz2
/usr/bin/quse
/usr/bin/qxpak
/usr/bin/qmanifest
/usr/bin/qtegrity
/usr/bin/q
/usr/share/man/man1/q.1.bz2
/usr/share/man/man1/qdepends.1.bz2
/usr/share/man/man1/qcheck.1.bz2
/usr/share/man/man1/qatom.1.bz2
/usr/share/man/man1/qgrep.1.bz2
/usr/share/man/man1/qfile.1.bz2
/usr/share/man/man1/qkeyword.1.bz2
/usr/share/man/man1/qsize.1.bz2
/usr/share/man/man1/qlist.1.bz2
/usr/share/man/man1/qsearch.1.bz2
/usr/share/man/man1/qmerge.1.bz2
/usr/share/man/man1/qlop.1.bz2
/usr/share/man/man1/qpkg.1.bz2
/usr/share/man/man1/qtbz2.1.bz2
/usr/share/man/man1/quse.1.bz2
/usr/share/man/man1/qxpak.1.bz2
/usr/share/man/man1/qtegrity.1.bz2
/usr/share/man/man1/qmanifest.1.bz2
/usr/share/doc/portage-utils-0.86/README.md.bz2


Code:
equo query list installed -qv | while read pkg; do qlist -eC "$pkg" | grep -q -E "^/lib32/|^/usr/lib32/" && echo "$pkg"; done


gives me:

Code:
app-emulation/wine-staging-4.16
media-libs/libtxc_dxtn-1.0.1-r4


I don't get the meaning of:
Quote:
In Sabayon the profile has been switched (or will be switched when you perform an update) to default/linux/amd64/17.1/desktop, following Gentoo. From now on, no package installs to /lib32 or /usr/lib32 and /lib is no longer a symbolic link.


How do I do this update?
Quote:
d. Using the command from point b., confirm that there are no packages that install to these directories (execute it again). If there are none, you can remove the symbolic links: rm /lib32 /usr/lib32.


/lib32 and /usr/lib32 are full of files ... I don't think I can delete them ...

Is
Code:
eselect profile set default/linux/amd64/17.1/desktop
relevant for equo?
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sun Aug 16, 2020 4:43 pm    Post subject: Reply with quote

NeddySeagoon:

Code:
sudo emerge freehdl
/usr/lib64/python3.6/site-packages/portage/package/ebuild/_config/KeywordsManager.py:69: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-electronics/freehdl-0.0.8::gentoo
 * freehdl-0.0.8.tar.gz BLAKE2B SHA512 size ;-) ...                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking freehdl-0.0.8.tar.gz to /var/tmp/portage/sci-electronics/freehdl-0.0.8/work
>>> Source unpacked in /var/tmp/portage/sci-electronics/freehdl-0.0.8/work
>>> Preparing source in /var/tmp/portage/sci-electronics/freehdl-0.0.8/work/freehdl-0.0.8 ...
 * Applying freehdl-0.0.8-fix-c++14.patch ...                                                                                   [ ok ]
 * Applying freehdl-0.0.8-qa.patch ...                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-electronics/freehdl-0.0.8/work/freehdl-0.0.8 ...
 * econf: updating freehdl-0.0.8/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating freehdl-0.0.8/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/freehdl-0.0.8 --htmldir=/usr/share/doc/freehdl-0.0.8/html --libdir=/usr/lib64 --disable-static
configure: loading site script /usr/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU


[...]


>>> Completed installing sci-electronics/freehdl-0.0.8 into /var/tmp/portage/sci-electronics/freehdl-0.0.8/image/

 * Final size of build directory: 21648 KiB (21.1 MiB)
 * Final size of installed tree:   5888 KiB ( 5.7 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/libfreehdl-kernel.so.0.0.0
   /usr/lib64/libfreehdl-fire.so.0.0.0
   /usr/lib64/libfreehdl-vaul.so.0.0.0
   /usr/lib64/libfreehdl-cdfggen.so.0.0.0
   /usr/lib64/freehdl/libieee.so.0.0.0
   /usr/lib64/libfreehdl-std.so.0.0.0
   /usr/bin/freehdl-v2cc

>>> Installing (1 of 1) sci-electronics/freehdl-0.0.8::gentoo
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 153 info files.


See, emerge works, equo doesn't :cry:

This will lead to a fresh Sabayon installation if I have no luck.

I quote:
Quote:
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by MongoQ on Sun Aug 16, 2020 5:17 pm; edited 2 times in total
Back to top
View user's profile Send private message
sabayonino
l33t
l33t


Joined: 03 Jan 2012
Posts: 924

PostPosted: Sun Aug 16, 2020 4:53 pm    Post subject: Reply with quote

It seems you've already profile updated .

so i've sabayon-weekly repo too and no problem to install sci-electronics/freehdl


What happens if you try to reinstalleng "equo" and "entropy" packages ? (Installed version should be 324)
Code:
# equo --version

Code:
# equo i equo entropy --deep --ask

_________________
BOINC ed il calcolo distribuito

My RecoverySystem Repo
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sun Aug 16, 2020 4:58 pm    Post subject: Reply with quote

sabayonino:

Code:
sudo equo i equo entropy --deep --ask

╠  @@ Berechne Abhängigkeiten...
╠  @@ Dies sind die Pakete die installiert werden würden:
╠  ## [R] [sabayon-weekly] app-admin/equo-324-r2|1   [324-r2|1]
╠  ## [R] [sabayon-weekly] sys-apps/entropy-324-r5|1   [324-r5|1]
╠  @@ Pakete die installiert/aktualisiert/entfernt werden müssen: 2
╠  @@ Pakete die entfernt werden müssen: 0
╠  @@ Pakete die installiert werden müssen: 0
╠  @@ Pakete die erneut installiert werden müssen: 2
╠  @@ Pakete die aktualisiert  werden müssen: 0
╠  @@ Pakete die zurückgesetzt werden müssen: 0
╠  @@ Download Größe: 0b
╠  @@ Freigegebener Festplattenspeicher: 0b
╠  @@ Du brauchst zumindest: 4.1MB freien Speicherplatz
     Würdest du gerne fortfahren ? [Ja/Nein] ja
╠  ::: >>>  (1/1) 2 Pakete
╠    ## downloaden: 2 Pakete
╠    ## ( mirror #1 ) [app-admin:equo-324-r2.afbc102b91ea9d9f8cb5c61e0c9792ed86ece73b~1.tbz2] @ http://sabayon.c3sl.ufpr.br
╠    ## ( mirror #1 ) [sys-apps:entropy-324-r5.d77074d47827eba2b83da248378081c6cf64183a~1.tbz2] @ http://sabayon.c3sl.ufpr.br
╠   ## Sammeldownload: 2 Artikel
╠    # [1] sabayon.c3sl.ufpr.br => app-admin:equo-324-r2.afbc102b91ea9d9f8cb5c61e0c9792ed86ece73b~1.tbz2
╠    ## Überprüfe Paketprüfsumme...
╠    # [2] sabayon.c3sl.ufpr.br => sys-apps:entropy-324-r5.d77074d47827eba2b83da248378081c6cf64183a~1.tbz2
╠    ## Überprüfe Paketprüfsumme...
╠    ## ( mirror #1 ) [app-admin:equo-324-r2.afbc102b91ea9d9f8cb5c61e0c9792ed86ece73b~1.tbz2] erfolgreich @ http://sabayon.c3sl.ufpr.br
╠    ## ( mirror #1 ) [sys-apps:entropy-324-r5.d77074d47827eba2b83da248378081c6cf64183a~1.tbz2] erfolgreich @ http://sabayon.c3sl.ufpr.br
╠  +++ >>>  (1/2) app-admin/equo-324-r2
╠    ## Entpacke: app-admin:equo-324-r2.afbc102b91ea9d9f8cb5c61e0c9792ed86ece73b~1.tbz2
╠    ## Installiere Paket: app-admin/equo-324-r2
╠    ## [Entropy Package Manager text-based client]
╠    ## Updating installed packages repository: app-admin/equo-324-r2
╠    ## Bereinige zuvor installierte Anwendungsdaten.
☢ Hi. My name is Bug Reporter. I am sorry to inform you that the program crashed. Well, you know, shit happens.
☢ But there's something you could do to help me to be a better application.
☢ -- BUT, DO NOT SUBMIT THE SAME REPORT MORE THAN ONCE --
☢ Jetzt zeige ich dir was passiert ist. Keine Angst, Ich bin hier un dir zu helfen
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/equo", line 16, in <module>
    main()
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/main.py", line 333, in main
    exit_st = func(*func_args)
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/commands/command.py", line 437, in _call_shared
    return func(client)
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/commands/install.py", line 192, in _install
    relaxed, multifetch, packages)
  File "/usr/lib64/python3.6/site-packages/_entropy/solo/commands/install.py", line 707, in _install_action
    exit_st = pkg.start()
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/action.py", line 218, in start
    exit_st = self._run()
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 260, in _run
    exit_st = method()
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 1410, in _install_phase
    return self._install_phase_unlocked(inst_repo)
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 1478, in _install_phase_unlocked
    inst_repo, installed_package_id)
  File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/install.py", line 970, in _install_spm_package_unlocked
    spm_uid = spm.add_installed_package(self._meta)
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3183, in add_installed_package
    root, package_metadata)
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3289, in _add_installed_package_unlocked
    package_metadata)
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3029, in _create_contents_file_if_not_available
    with self._PortageVdbLocker(self, root = root):
  File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 3139, in __enter__
    self.__vdb_path)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 119, in lockdir
    return lockfile(mydir, wantnewlockfile=1, flags=flags)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 132, in lockfile
    unlinkfile=unlinkfile, waiting_msg=waiting_msg, flags=flags)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 332, in _lockfile_iteration
    _lock_manager(myfd, os.fstat(myfd) if fstat_result is None else fstat_result, mypath)
  File "/usr/lib64/python3.6/site-packages/portage/locks.py", line 99, in __init__
    raise TryAgain(path)
portage.exception.TryAgain: /var/db/pkg

Frame __init__ in /usr/lib64/python3.6/site-packages/portage/locks.py at line 99
                   path = '/var/db/pkg'
           fstat_result = os.stat_result(st_mode=33200, st_ino=8651011, st_dev=64256, st_nlink=1, st_uid=0, st_gid=250, st_size=0, st_atime=1597596906, st_mtime=1597596906, st_ctime=1597596906)
                     fd = 10
                   self = <portage.locks._lock_manager object at 0x7f6a5a9ea668>
Back to top
View user's profile Send private message
MongoQ
n00b
n00b


Joined: 11 Aug 2020
Posts: 39

PostPosted: Sun Aug 16, 2020 5:24 pm    Post subject: Reply with quote

I uninstalled cmatrix (https://www.asty.org/cmatrix/) which was installed before these equo errors ocurred by:

Code:
sudo equo remove cmatrix


and tried reinstalling it with equo:

Code:
sudo equo install cmatrix


Code:
 sudo equo i cmatrix
╠  @@ Berechne Abhängigkeiten...
╠  ## [N] [sabayon-weekly] app-misc/cmatrix-2.0-r1|0
╠  @@ Pakete die installiert/aktualisiert/entfernt werden müssen: 1
╠  @@ Pakete die entfernt werden müssen: 0
╠  @@ Download Größe: 0b
╠  @@ Benutzter Festplattenspeicher: 42.0kB
╠  @@ Du brauchst zumindest: 130.0kB freien Speicherplatz
╠  ::: >>>  (1/1) 1 Paket
╠    ## downloaden: 1 Paket
╠    ## ( mirror #1 ) [app-misc:cmatrix-2.0-r1.273977f5fc301af155c8ddfdc5b0d63fba6e8768~0.tbz2] @ http://sabayon.c3sl.ufpr.br
╠   ## Sammeldownload: 1 Artikel
╠    # [1] sabayon.c3sl.ufpr.br => app-misc:cmatrix-2.0-r1.273977f5fc301af155c8ddfdc5b0d63fba6e8768~0.tbz2
╠    ## Überprüfe Paketprüfsumme...
╠    ## ( mirror #1 ) [app-misc:cmatrix-2.0-r1.273977f5fc301af155c8ddfdc5b0d63fba6e8768~0.tbz2] erfolgreich @ http://sabayon.c3sl.ufpr.br
╠  +++ >>>  (1/1) app-misc/cmatrix-2.0-r1
╠    ## Entpacke: app-misc:cmatrix-2.0-r1.273977f5fc301af155c8ddfdc5b0d63fba6e8768~0.tbz2
╠    ## Package phase: setup


... it halts there. If I enter ctrl-c I can exit, but cmatrix can not be found / executed.
Back to top
View user's profile Send private message
sabayonino
l33t
l33t


Joined: 03 Jan 2012
Posts: 924

PostPosted: Sun Aug 16, 2020 6:47 pm    Post subject: Reply with quote

I can't reproduce your issue.

File a bug report to Sabayon developers and Sabayon forum.
_________________
BOINC ed il calcolo distribuito

My RecoverySystem Repo
Back to top
View user's profile Send private message
albfneto
n00b
n00b


Joined: 29 Sep 2009
Posts: 3

PostPosted: Wed Sep 21, 2022 12:43 pm    Post subject: Reply with quote

Hi, Sabayonino!

This message is old, but I inform.
After August, 2020, Sabayon Linux is died...

It is discontinued, no more Mirrors or repositories[/b].

I have only one remained Sabayon installation.
some packages may be upgraded usaing portage, but i reccomend that use "-- nodeps" options since EAPI and SLOTS are quite different.
Albfneto, Brazil.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum