We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-11-29 19:12:26 +0200

How to repair Python3

Hi,

I have a Python3 package conflict problem, can you please help me :

$ $(which python3) -V
/usr/bin/python3: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
nemo : myJolla1 @ local / NAME=Jolla : ~
 rpm -qf $(which python3)
Python-3.3.5rc1-1.armv7hl
nemo : myJolla1 @ local / NAME=Jolla : ~
 sudo zypper -v install -f Python                        
Verbosity: 1
Non-option program arguments: 'Python' 
Initializing Target
Loading repository data...
Reading installed packages...
Force resolution: No
Forcing installation of 'Python-3.3.5rc1-1.armv7hl' from repository 'openrepos-NielDK'.
Resolving package dependencies...
Force resolution: No

The following package is going to be reinstalled:
  Python  3.3.5rc1-1

1 package to reinstall.
Overall download size: 0 B. Already cached: 13.8 MiB. No additional space will be used or freed after the operation.
Continue? [y/n/...? shows all options] (y): 
committing
In cache python-3.3.5rc1-1.armv7hl.rpm                                                                          (1/1),  13.8 MiB ( 90.3 MiB unpacked)
Checking for file conflicts: .................................................................................................................[error]
Detected 3 file conflicts:

File /usr/bin/pydoc3
  from install of
     Python-3.3.5rc1-1.armv7hl (openrepos-NielDK)
  conflicts with file from package
     python3-base-3.7.2+git8-1.5.4.jolla.armv7hl (@System)

File /usr/bin/python3
  from install of
     Python-3.3.5rc1-1.armv7hl (openrepos-NielDK)
  conflicts with file from package
     python3-base-3.7.2+git8-1.5.4.jolla.armv7hl (@System)

File /usr/bin/pyvenv
  from install of
     Python-3.3.5rc1-1.armv7hl (openrepos-NielDK)
  conflicts with file from package
     python3-base-3.7.2+git8-1.5.4.jolla.armv7hl (@System)

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no):

How to repair Python3

Hi,

I have a Python3 package conflict problem, can you please help me :

$ $(which python3) -V
/usr/bin/python3: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
nemo : myJolla1 @ local / NAME=Jolla : ~
 $ rpm -qf $(which python3)
Python-3.3.5rc1-1.armv7hl
nemo : myJolla1 @ local / NAME=Jolla : ~
 $ sudo zypper -v install -f Python                        
Verbosity: 1
Non-option program arguments: 'Python' 
Initializing Target
Loading repository data...
Reading installed packages...
Force resolution: No
Forcing installation of 'Python-3.3.5rc1-1.armv7hl' from repository 'openrepos-NielDK'.
Resolving package dependencies...
Force resolution: No

The following package is going to be reinstalled:
  Python  3.3.5rc1-1

1 package to reinstall.
Overall download size: 0 B. Already cached: 13.8 MiB. No additional space will be used or freed after the operation.
Continue? [y/n/...? shows all options] (y): 
committing
In cache python-3.3.5rc1-1.armv7hl.rpm                                                                          (1/1),  13.8 MiB ( 90.3 MiB unpacked)
Checking for file conflicts: .................................................................................................................[error]
Detected 3 file conflicts:

File /usr/bin/pydoc3
  from install of
     Python-3.3.5rc1-1.armv7hl (openrepos-NielDK)
  conflicts with file from package
     python3-base-3.7.2+git8-1.5.4.jolla.armv7hl (@System)

File /usr/bin/python3
  from install of
     Python-3.3.5rc1-1.armv7hl (openrepos-NielDK)
  conflicts with file from package
     python3-base-3.7.2+git8-1.5.4.jolla.armv7hl (@System)

File /usr/bin/pyvenv
  from install of
     Python-3.3.5rc1-1.armv7hl (openrepos-NielDK)
  conflicts with file from package
     python3-base-3.7.2+git8-1.5.4.jolla.armv7hl (@System)

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no):