# 'zypper repos' command unknown

**URL:** <https://forums.suse.com/t/zypper-repos-command-unknown/22788>\
**Category:** SLES Configure-Administer\
**Created:** [June 27, 2012, 3:44pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788 "2012-06-27T15:44:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucavercelli](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@lucavercelli](https://forums.suse.com/u/lucavercelli)\
**Post date:** [June 27, 2012, 3:44pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/1 "2012-06-27T15:44:30Z")

</div>

Hello,  
I’m going to administrate a Suse Enterprise Server 10 (ppc), which is already set up.  
I tried to install a new package, but I can’t.  
When I launch:

```auto
sudo zypper install vsftpd
```

zypper tries to install the package from installation CD instead than from SUSE repositories. And of course it fails.

So, I think repositories are misconfigured.

Then I try:

```auto
sudo zypper repos
```

And the answer is: command unknown!  
It seems that this version of zypper does not accept any repo-related commands (repos, addrepo, removerepo, …)

How can it be? And how can I install a new package?

Thank you.

---

<div class="post-metadata">

**Author:** ![enovaklbank](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@enovaklbank](https://forums.suse.com/u/enovaklbank)\
**Post date:** [June 27, 2012, 4:19pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/2 "2012-06-27T16:19:34Z")

</div>

sles10 package management is intended to be done with rug, zypper was just a secondary util.

Check zypper -h → will show  
“service-list, sl List services, also called installation sources”  
as a command for displaying the repositories.

But if I were you, would use rug instead - is slow, has memory leaks etc., but is the default and primary tool in your case.

---

<div class="post-metadata">

**Author:** ![lucavercelli](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@lucavercelli](https://forums.suse.com/u/lucavercelli)\
**Post date:** [June 27, 2012, 4:51pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/3 "2012-06-27T16:51:34Z")

</div>

Thank you!  
And … do you know what exactly repository should I add? I suppose there’s some standard repo.  
(Please note I have never used Suse, nor Suse-based distributions.)

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [June 28, 2012, 12:45pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/4 "2012-06-28T12:45:47Z")

</div>

On 27/06/2012 14:54, lucavercelli wrote:  
[color=blue]

> Thank you!  
> And … do you know what exactly repository should I add? I suppose  
> there’s some standard repo.  
> (Please note I have never used Suse, nor Suse-based distributions.)[/color]

Is your server registered against Novell Customer Center or perhaps your  
own local SMT server?

Checking the install media for 32-bit SLES10 SP3 I’m seeing the vsftpd  
package.

What’s the exact version of SLES10 that you are using? Please post the  
output from “cat /etc/\*release”

## HTH.

Simon  
Novell/SUSE/NetIQ Knowledge Partner

* * *

## Do you work with Novell technologies at a university, college or school? If so, your campus could benefit from joining the Novell Technology Transfer Partner (TTP) program. See [novell.com/ttp](http://novell.com/ttp) for more details.

---

<div class="post-metadata">

**Author:** ![lucavercelli](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@lucavercelli](https://forums.suse.com/u/lucavercelli)\
**Post date:** [June 28, 2012, 1:26pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/5 "2012-06-28T13:26:51Z")

</div>

Yes, the package _should be_ on the CD. However this server is in outsourcing, so I don’t have physical access to the CDROM!  
I don’t know how this SUSE has been installed there.

The /etc/\*release is:  
LSB\_VERSION=“core-2.0-noarch:core-3.0-noarch:core-2.0-ppc:core-3.0-ppc”  
SUSE Linux Entrerprise Server 10 (ppc)  
VERSION=10  
PATCHLEVEL=1

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 28, 2012, 5:58pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/6 "2012-06-28T17:58:11Z")

</div>

On 06/28/2012 05:34 AM, lucavercelli wrote:[color=blue]

> Yes, the package _should be_ on the CD. However this server is in  
> outsourcing, so I don’t have physical access to the CDROM!  
> I don’t know how this SUSE has been installed there.
> 
> The /etc/\*release is:  
> LSB\_VERSION=“core-2.0-noarch:core-3.0-noarch:core-2.0-ppc:core-3.0-ppc”  
> SUSE Linux Entrerprise Server 10 (ppc)  
> VERSION=10  
> PATCHLEVEL=1
> 
> [/color]

Zypper didn’t come to SLES 10 until a later SP level (feel free to correct me  
folks).

And SP1 is very old and not supported… at least not in a traditional sense.

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [June 28, 2012, 7:05pm UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/7 "2012-06-28T19:05:59Z")

</div>

On 28/06/2012 11:34, lucavercelli wrote:  
[color=blue]

> Yes, the package _should be_ on the CD. However this server is in  
> outsourcing, so I don’t have physical access to the CDROM!  
> I don’t know how this SUSE has been installed there.
> 
> The /etc/\*release is:  
> LSB\_VERSION=“core-2.0-noarch:core-3.0-noarch:core-2.0-ppc:core-3.0-ppc”  
> SUSE Linux Entrerprise Server 10 (ppc)  
> VERSION=10  
> PATCHLEVEL=1[/color]

Is the server registered against Novell Customer Center or local SMT?

If so, you should be able to install the vsftpd-2.0.4-19.11 package from  
the SLES10-SP1-Online channel with an updated vsftpd-2.0.4-19.18  
available via SLES10-SP1-Updates.

Alternatively you could download ISOs of the install CDs and/or DVD from  
[http://download.novell.com/Download?buildid=2FNtOnmkx-w~](http://download.novell.com/Download?buildid=2FNtOnmkx-w~)

## HTH.

Simon  
Novell/SUSE/NetIQ Knowledge Partner

* * *

## Do you work with Novell technologies at a university, college or school? If so, your campus could benefit from joining the Novell Technology Transfer Partner (TTP) program. See [novell.com/ttp](http://novell.com/ttp) for more details.

---

<div class="post-metadata">

**Author:** ![lucavercelli](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@lucavercelli](https://forums.suse.com/u/lucavercelli)\
**Post date:** [June 29, 2012, 11:34am UTC](https://forums.suse.com/t/zypper-repos-command-unknown/22788/8 "2012-06-29T11:34:48Z")

</div>

> Is the server registered against Novell Customer Center or local SMT?

I still don’t know, but I will check. Thank you all!
