Elza
1
I’m a newbie with Suse Linux and while patching Suse Leap 15.6 I managed to remove the zypper tool itself
How do I get zypper installed back on to my server?
NAME=“openSUSE Leap”
VERSION=“15.6”
ID=“opensuse-leap”
ID_LIKE=“suse opensuse”
VERSION_ID=“15.6”
PRETTY_NAME=“openSUSE Leap 15.6”
Post:
rpm -qa *zyp*
to see, what is installed.
Elza
3
rpm -qa zyp … comes back with nothing
@Elza you forgot the asterisk’s *zyp*
?
Elza
5
Oh I did include them , even a zyp comes back with nothing
Elza
6
For some reason asterisk’s don’t appear when I paste them here
We use markdown, so they need to be enclosed with a `
So you have repositories active? zypper lr -d
Elza
8
Malcolm , if I do ’ # zypper lr -d
-bash: zypper: command not found’
This is what I get . Zypper has been removed . I guess I need to do some wgets to get it back from somewhere but I don’t know where .
All suggestions are welcome
Try as root:
rpm -i https://download.opensuse.org/update/leap/15.6/sle/x86_64/libzypp-17.35.12-150600.3.27.1.x86_64.rpm
rpm -i https://download.opensuse.org/update/leap/15.6/sle/x86_64/zypper-1.14.77-150600.10.11.2.x86_64.rpm
Elza
10
I get this
e:/etc # rpm -i https://download.opensuse.org/update/leap/15.6/sle/x86_64/libzypp-17.35.12-150600.3.27.1.x86_64.rpm
error: Failed dependencies:
python2-zypp-plugin < 0.6.4 conflicts with libzypp-17.35.12-150600.3.27.1.x86_64
e:/etc # rpm -i https://download.opensuse.org/update/leap/15.6/sle/x86_64/zypper-1.14.77-150600.10.11.2.x86_64.rpm
error: Failed dependencies:
libzypp >= 17.35.11 is needed by zypper-1.14.77-150600.10.11.2.x86_64
libzypp.so.1735()(64bit) is needed by zypper-1.14.77-150600.10.11.2.x86_64
libzypp.so.1735(ZYPP_plain)(64bit) is needed by zypper-1.14.77-150600.10.11.2.x86_64
secureshare:/etc #
I do not find any python2-zypp-plugin on my Leap 15.6
PS:
If there is a python2-zypp-plugin is installed, it should be shown with the command in my first post.
I See;
rpm -qa *zyp*
zypper-log-1.14.77-150600.10.11.2.noarch
zypper-1.14.77-150600.10.11.2.x86_64
zypper-lifecycle-plugin-0.6.1601367426.843fe7a-1.60.noarch
libzypp-17.35.11-150600.3.24.1.x86_64
zypper-needs-restarting-1.14.77-150600.10.11.2.noarch
Elza
13
I can’t explain why it works now but I now get this
e:/ # ‘rpm -qa zyp’
zypper-log-1.14.76-150600.10.6.13.noarch
python2-zypp-plugin-0.6.3-lp152.3.4.noarch
libdnf-repo-config-zypp-0.65.0-150400.2.6.x86_64
python3-zypp-plugin-0.6.4-150400.13.4.1.noarch
e:/ #
try as root:
rpm -e python2-zypp-plugin
and now try to install libzypp first and than zypper as above.
Elza
15
I worked!!! THANK YOU !!! I have zypper back
ok follow up question. for LEAP 15.6 does this security nortice apply ?
Security update for cups-filters | SUSE Support | SUSE
aggie
16
Unrelated … since that is a different subject, you should start a new thread.
Maybe install all packages as malcolm has shown in his post.
@Elza note, my Leap 15.6 systems are servers, no desktop etc… so there may be others if running a desktop…
system
Closed
20
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.