PDA

View Full Version : SLES 12 Sles 12 SP1 - su: command not found



asonnenberg
14-Jan-2016, 22:54
I have started playing around updating some test machines to SLES 12 SP1 from SLES 11 SP3.

The first thing I see is that the command 'su' is not on my system post update. Looking at the coreutils RPM, it does not seem it is there any more.

I have had no luck using search engines to resolve the issue. Is SU command gone, or in another RPM or what am I missing?

Thanks for any info.

malcolmlewis
15-Jan-2016, 00:53
Hi
Use zypper to search...



zypper search --provides --match-exact /usr/bin/su

S | Name | Summary | Type
--+------------+----------------------------------------+--------
i | util-linux | A collection of basic system utilities | package


Maybe your PATH is not pointing at /usr/bin?

asonnenberg
15-Jan-2016, 14:43
Thanks for the response.

I guess I should take some simple advice given for years... RTFM. Like I posted, I was playing, trying to update to SLES12 SP1 using zypper up pointed at a sles 12 repo.

Back to the manuals for me, sorry for the distraction.

malcolmlewis
15-Jan-2016, 15:01
On Fri 15 Jan 2016 01:44:02 PM CST, asonnenberg wrote:

Thanks for the response.

I guess I should take some simple advice given for years... RTFM. Like I
posted, I was -playing-, trying to update to SLES12 SP1 using -zypper
up- pointed at a sles 12 repo.

Back to the manuals for me, sorry for the distraction.




Hi
No worries, that's what we are here for, sanity checks ;)

Use zypper migration if the systems are registered and have internet
access...

Else better to use the offline method.

https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12-SP1/

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

asonnenberg
15-Jan-2016, 16:21
As I look back, zypper was telling me it could not update certain software when I tried to go to sles12, but I did not pay attention...:o

I have a unique challenge. I have 'many' SLES 11 deployments that our product runs on. I can best describe these as appliances. There is no console, no window manager, etc.

Our customers have no need to understand Linux and it is my role to protect them from that :).

My initial reaction was I will have to field image SLES 12 using USB and provide them a simple 'wizard' to restore all settings. I have yet to discover a way to upgrade that has changed my mind, but still looking.

malcolmlewis
15-Jan-2016, 22:26
On Fri 15 Jan 2016 03:24:02 PM CST, asonnenberg wrote:

As I look back, zypper was telling me it could not update certain
software when I tried to go to sles12, but I did not pay attention...:o

I have a unique challenge. I have 'many' SLES 11 deployments that our
product runs on. I can best describe these as appliances. There is no
console, no window manager, etc.

Our customers have no need to understand Linux and it is my role to
protect them from that :).

My initial reaction was I will have to field image SLES 12 using USB and
provide them a simple 'wizard' to restore all settings. I have yet to
discover a way to upgrade that has changed my mind, but still looking.




Hi
Well you could look at using autoyast, maybe upload that to SUSE Studio
and build an updated image?

https://susestudio.com

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!