Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

esearch issue (python version?)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
multix
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

esearch issue (python version?)

  • Quote

Post by multix » Wed Jan 20, 2021 1:49 pm

Hi all,
I am in the process of upgrading my laptop since several months (covid issues...) and have some troubles.

While trying to understand, I notice that "esearch" dies. I wanted to know which version of pip I have, but I get this issue:

Code: Select all


(orthanc:~) multix% esearch pip
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/esearch", line 5, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/esearch/search.py", line 526, in main
    db = loaddb(config)
  File "/usr/lib/python2.7/site-packages/esearch/search.py", line 172, in loaddb
    from esearchdb import db
  File "/var/cache/edb/esearchdb.py", line 4479
    ('time-compat', 'dev-haskell/time-compat', True, '1.9.3', False, '48 kB', 'https://github.com/phadej/time-compat', 'This packages tries to compat as much of \\'time\\' features as possible', 'BSD'),
                                                                                                                                                                       ^
SyntaxError: invalid syntax
I notice that esearch is running python2.7 - maybe this is the issue. However, if I check my python version, it should be lower priority:

Code: Select all

sudo eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python2.7
  [3]   python3.9 (fallback)
shouldn't it run on 3.8? just asking - or another help on how to solve this issue.

Thanks
Last edited by multix on Wed Jan 20, 2021 2:27 pm, edited 1 time in total.
Unix is user friendly. It is only careful selecting its friends.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31988
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jan 20, 2021 1:52 pm

What return emerge -pv app-portage/esearch command?

--edit--
Is python-exec that run program with correct python version, but I don't understand because esearch is installed with python2_7 since there is no longer a version with python2_7

Code: Select all

[ebuild  N     ] app-portage/esearch-1.3-r3::gentoo  L10N="fr it" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" 19 KiB
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
multix
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

  • Quote

Post by multix » Wed Jan 20, 2021 3:29 pm

fedeliallalinea wrote:What return emerge -pv app-portage/esearch command?

--edit--
Is python-exec that run program with correct python version, but I don't understand because esearch is installed with python2_7 since there is no longer a version with python2_7

Code: Select all

[ebuild  N     ] app-portage/esearch-1.3-r3::gentoo  L10N="fr it" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" 19 KiB
For me it says:

Code: Select all


Calculating dependencies... done!
[ebuild     U  ] app-portage/esearch-1.3-r3::gentoo [1.3-r2::gentoo] L10N="-fr -it" PYTHON_TARGETS="python3_8%* -python3_7% -python3_9% (-python2_7%*) (-python3_5%) (-python3_6%*)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

!!! The following installed packages are masked:
- dev-vcs/subversion-1.10.4::gentoo (masked by: Subversion license(s))
- virtual/ghostscript-0::gentoo (masked by: as-is license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Since it sounds reasonable, I executed it. I upgraded...

and now get this:

Code: Select all

(orthanc:~) multix% esearch pip
Critical: portage imports failed!
Unix is user friendly. It is only careful selecting its friends.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31988
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jan 20, 2021 4:17 pm

You have some other packages to upgrade or rebuild python_targets (emerge -UD @world)?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
multix
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

  • Quote

Post by multix » Fri Jan 22, 2021 9:27 am

fedeliallalinea wrote:You have some other packages to upgrade or rebuild python_targets (emerge -UD @world)?
Yes.. there is alot of other stuff to upgrade, but it is hard... a straight upgrade (-DuaN) fails because of cryptography

Your suggested command fails with:

Code: Select all

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.1.1i:0/1.1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/openssl-1.0.2u:0/0::gentoo, installed) pulled in by
    dev-libs/openssl:0/0= required by (dev-lang/python-3.8.6-r1:3.8/3.8::gentoo, installed)
                    ^^^^^
    (and 2 more with the same problem)
Unix is user friendly. It is only careful selecting its friends.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31988
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Jan 22, 2021 10:01 am

You can post full emerge -uUD @world --verbose-conflicts output?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
multix
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

  • Quote

Post by multix » Fri Jan 22, 2021 3:13 pm

fedeliallalinea wrote:You can post full emerge -uUD @world --verbose-conflicts output?

Code: Select all

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.1.1i:0/1.1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/openssl-1.0.2u:0/0::gentoo, installed) pulled in by
    dev-libs/openssl:0/0= required by (net-libs/serf-1.3.9-r2:1/1::gentoo, installed)
                    ^^^^^
    dev-libs/openssl:0/0=[abi_x86_32(-)] required by (app-crypt/rhash-1.3.6-r1:0/0::gentoo, installed)
                    ^^^^^                                                                                                                
    dev-libs/openssl:0/0= required by (dev-lang/python-2.7.18-r5:2.7/2.7::gentoo, installed)
                    ^^^^^
    dev-libs/openssl:0/0= required by (dev-lang/python-3.8.6-r1:3.8/3.8::gentoo, installed)
                    ^^^^^
    dev-libs/openssl:0/0= required by (x11-base/xorg-server-1.20.4:0/1.20.4::gentoo, installed)
                    ^^^^^
    dev-libs/openssl:0/0= required by (net-misc/openssh-8.4_p1-r2:0/0::gentoo, installed)
                    ^^^^^
    dev-libs/openssl:0/0= required by (dev-lang/python-3.9.0-r1:3.9/3.9::gentoo, installed)
                    ^^^^^
    >=dev-libs/openssl-1.0.1h-r2:0/0=[abi_x86_32(-)] required by (app-crypt/mit-krb5-1.18.2-r2:0/0::gentoo, installed)
                                ^^^^^                                                                                                    
    dev-libs/openssl:0/0=[abi_x86_32(-)] required by (net-misc/curl-7.74.0-r2:0/0::gentoo, installed)
                    ^^^^^
    >=dev-libs/openssl-1.0.1h-r2:0/0=[abi_x86_32(-)] required by (dev-libs/libevent-2.1.11:0/2.1-7::gentoo, installed)
                                ^^^^^                                                                                                    
    dev-libs/openssl:0/0=[abi_x86_32(-)] required by (app-arch/libarchive-3.5.1:0/13::gentoo, installed)
                    ^^^^^                                                                                                                
    dev-libs/openssl:0/0= required by (app-portage/portage-utils-0.90.1:0/0::gentoo, installed)
                    ^^^^^
    dev-libs/openssl:0/0= required by (net-ftp/netkit-ftpd-0.17-r9:0/0::gentoo, installed)
                    ^^^^^

x11-base/xorg-server:0

  (x11-base/xorg-server-1.20.10:0/1.20.10::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (x11-base/xorg-server-1.20.4:0/1.20.4::gentoo, installed) pulled in by
    x11-base/xorg-server:0/1.20.4= required by (x11-drivers/xf86-input-evdev-2.10.6:0/0::gentoo, installed)
                        ^^^^^^^^^^                                                                                                       


!!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (net-ftp/netkit-ftpd-0.17-r9:0/0::gentoo, installed): ebuild is masked or unavailable
  (x11-base/xorg-server-1.20.4:0/1.20.4::gentoo, installed): ebuild is masked or unavailable


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


emerge: there are no ebuilds to satisfy "dev-lang/perl:0/5.26=".
(dependency required by "dev-perl/libwww-perl-6.270.0::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
I tried extending backtrack to 99... no help!
Unix is user friendly. It is only careful selecting its friends.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31988
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Jan 22, 2021 5:16 pm

Probably the problem is

Code: Select all

!!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (net-ftp/netkit-ftpd-0.17-r9:0/0::gentoo, installed): ebuild is masked or unavailable
  (x11-base/xorg-server-1.20.4:0/1.20.4::gentoo, installed): ebuild is masked or unavailable
These two package block update.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
multix
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

  • Quote

Post by multix » Thu Jan 28, 2021 8:50 pm

I uninstalled netkit-ftpdp, I can always install it later.

However, I still get a block between packages, some of them are system ones, lke man vs man-db

Code: Select all

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.1.1i:0/1.1::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-libs/openssl-1.1.0g:0[bindist=] required by (net-misc/openssh-8.4_p1-r2:0/0::gentoo, installed)
    ^^                 ^^^^^^^^                                                                                                          

  (dev-libs/openssl-1.0.2u:0/0::gentoo, installed) pulled in by
    dev-libs/openssl:0/0= required by (dev-perl/Net-SSLeay-1.880.0:0/0::gentoo, installed)
                    ^^^^^
    (and 21 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/man-1.6g-r1:0/0::gentoo, installed) pulled in by
    sys-apps/man required by @selected

  (sys-apps/man-db-2.9.3:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/man-db required by (virtual/man-0-r3:0/0::gentoo, ebuild scheduled for merge)
Unix is user friendly. It is only careful selecting its friends.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31988
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Jan 28, 2021 9:14 pm

Code: Select all

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/man-1.6g-r1:0/0::gentoo, installed) pulled in by
    sys-apps/man required by @selected 
The sys-apps/man package was removed from tree

Code: Select all

commit ce370f012e25ad2eb756cbcaf768bf053161d067
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Mar 7 16:54:44 2020 -0500

    sys-apps/man: remove package
    
    Closes: https://bugs.gentoo.org/468428
    Closes: https://bugs.gentoo.org/515534
    Closes: https://bugs.gentoo.org/524588
    Closes: https://bugs.gentoo.org/589738
    Closes: https://bugs.gentoo.org/605352
    Closes: https://bugs.gentoo.org/651038
    Closes: https://bugs.gentoo.org/683494
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
multix
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

  • Quote

Post by multix » Tue Feb 02, 2021 5:26 pm

Thanks! I missed that news - I removed man, now I was able to unlock and compile several packages, but not all. Cryptography is a hard nut to crack, tehre are cycles with openssl, but that is in a separate thread I already asked.
Unix is user friendly. It is only careful selecting its friends.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic