zypper | World's most powerful command line package manager
kandi X-RAY | zypper Summary
kandi X-RAY | zypper Summary
World's most powerful command line package manager
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of zypper
zypper Key Features
zypper Examples and Code Snippets
Community Discussions
Trending Discussions on zypper
QUESTION
A whole host of actions keep returning to this problem:
pip install encodings
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
python3
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
libreoffice --safe-mode
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
zypper se python |grep '^i '
ANSWER
Answered 2022-Mar-30 at 06:20Looking at the strace
output for both root
and greg
, the problem seems clear.
For the root
user, python 3.6 finds the libraries in /usr/lib64/python3.6
.
However, for greg
, it only looks under /usr/bin/python3
for subdirectories. That doesn't work because /usr/bin/python3
is a file.
I suspect that the user greg
has PYTOHNHOME
set erroneously to the location of the Python binary , and that is causing the issue.
Remove PYTOHNHOME
from your environment, log out and log in again.
Note: the stuff below is probably barking up the wrong tree. I'll leave it for information.
The encodings
module is an (undocumented) part of the python standard library. It is used by the locale
module.
Based on the output I suspect that your Python installation has been damaged or corrupted. Try re-installing python.
EDIT:
If a forced re-install doesn't fix the problem, check that the directory encodings
exist in your Python stdlib directory, and is accessible for all users.
To find out which directory that is:
QUESTION
I need to run a ruby project with gems and specs. When I type bundle install I received:
...ANSWER
Answered 2022-Mar-21 at 03:29I've just realised that Slackware uses slackpkg
as package manager.
Not quite sure if this is the library you need, but try installing with:
QUESTION
Since the last update yesterday, I can't run zypper in a fresh opensuse/tumbleweed docker container...
Observed ...ANSWER
Answered 2021-Sep-24 at 11:30It seems to be a new major issue.
Seems to be tracked by https://bugzilla.opensuse.org/show_bug.cgi?id=1190670 see: https://openqa.opensuse.org/tests/1926064#step/docker_image/182
QUESTION
In running an example from the guile handbook I stumbled upon an error while running foreign-library-function
. It fails and prints a backtrace stating dlopen failed, because of an invalid elf format of the library. But the library is both present and working in other contexts.
The details to reproduce the issue:
test.scm
(taken straight from the manual at https://www.gnu.org/software/guile/manual/guile.html#Foreign-Functions)
ANSWER
Answered 2021-Jul-31 at 05:02
dlopen: file "/usr/lib64/libm.so"
I don't know anything about Guile, but the problem appears to be that it is trying to dlopen
libm.so
.
On Linux with GLIBC, libm.so
is a linker script, not an ELF file. The real ELF library (and the library guile
should be dlopen
ing) is libm.so.6
.
You can see that your libm.so
(at 110 bytes) is way too small to be an ELF file. If you run file -L /usr/lib64/libm.so*
, you should see something like this:
QUESTION
Issue: Unable to install rpm package using ansible zypper command
Code:
...ANSWER
Answered 2021-Jan-24 at 18:47Error message: Failed to connect to download.newrelic.com port 443: Connection timed out
Seems that it tries to download some additional files. Try to install this package manually on a test environment to see the full error.
Or maybe outbound to download.newrelic.com port 443 is firewalled?
QUESTION
I would get the changed project from git commit and install the package based on this. Here is my code
...ANSWER
Answered 2021-Mar-05 at 19:25The environment
property of the bash resource is to supply existing environment variables to execute the bash command(s).
(These variables must exist for a command to be run successfully.)
Specifying environment variables here will not set them in the shell. Also from within the code
block you will not be able to access the Ruby's ENV
hash.
There may not be a straight-forward way to do this. One of the options is to write this package (list?) to a file. Then we can read the file contents into variable, and use it with zypper_package
resource.
Example:
Since you have used for
loop in Shell, I believe you get a list of packages, so I am considering pkg_list
as Array. I've set compile_time
to true
as the variable assignment below bash
resource will only run during compile time.
QUESTION
I'm using KTimeTracker to monitor my time on different projects. I have a PHP script that periodically runs to give me an idea on how long I've worked in the day.
The PHP script used to connect to KtimeTracker using qdbus to save to file and then use qdbus to export the CSV file.
For those that wonder why I'm bothering with this setup, I work from home and need to monitor my time to ensure I'm working the right number of hours.
The script worked perfectly well for quite a while but has recently started failing when using qdbus. The simplest call to qdbus is :
qdbus org.kde.ktimetracker /KTimeTracker saveAll
The result of this is
Segmentation fault (core dumped)
qdbus org.kde.ktimetracker /KTimeTracker
ANSWER
Answered 2020-Nov-21 at 14:23replace qdbus
command with qdbus-qt5
QUESTION
Hit the following issue when installing pip3 on suse15 linux. How to fix this issue?
...ANSWER
Answered 2020-Oct-22 at 07:53I'm not familiar with Suse, but I think the name of the package is python3-pip
.
QUESTION
I wrote an expect script
...ANSWER
Answered 2020-Aug-26 at 17:50Simply remove the quotes from the spawn
line.
QUESTION
I'm trying to get a script working in Python on a Suse Linux Server (OpenSuse 11):
...ANSWER
Answered 2020-Aug-09 at 04:31So I assume 2.14 is not installed
Correct.
therefore I need to install it,
No: it doesn't follow that you need to install GLIBC-2.14.
What you should do instead is either obtain or build from source the psycopg2
package targeting your system and your version of GLIBC.
I have no clue, this server was set up a couple of years ago and there was no documentation left
Whoever did this setup had no clue either. Rather than making hacks which may work some of the time, or may break something else, you should do sane thing: either upgrade the entire server to some recent distribution, or install software appropriate for your old one.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zypper
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page