PDA

View Full Version : SLES-Other Remove alias with white space in alias name



sodos274767
13-Apr-2016, 11:14
Hello there.

I have a SLES 11 SP1 that I want to upgrade to SP2 through the command line due to Yast2 does not work. I am following the this document https://www.novell.com/support/kb/doc.php?id=7010200

When I run a zypper lr I get the following.

# | Alias | Name | Enabled | Refresh
---+--------------------------------------------------+--------------------------------------------------+---------+--------
1 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | Yes | No

Is there a work around to rename this alias ? I have tried the zypper nr command without any luck due to the white space between SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152

sodos274767
13-Apr-2016, 11:21
Hello there.

I solved it. I ran the zypper mr --disable 1 which Repository 'SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152' has been successfully disabled.