# error in container-suseconnect-zypp

**URL:** https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294
**Category:** General Discussion
**Created:** [September 24, 2020, 2:54pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294 "2020-09-24T14:54:55Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 24, 2020, 2:54pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/1 "2020-09-24T14:54:55Z")

</div>

The novel I want to install a package with a docker file I encounter this error

Step 2/2 : RUN zypper in vim  
—\> Running in baf8edcb0f89  
Refreshing service ‘container-suseconnect-zypp’.  
Warning: Skipping service ‘container-suseconnect-zypp’ because of the above error.  
Loading repository data…  
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.  
Reading installed packages…  
Problem retrieving the repository index file for service ‘container-suseconnect-zypp’:  
[container-suseconnect-zypp|file:/usr/lib/zypp/plugins/services/container-suseconnect-zypp]  
‘vim’ not found in package names. Trying capabilities.  
No provider of ‘vim’ found.  
Resolving package dependencies…

Nothing to do.  
The command ‘/bin/sh -c zypper in vim’ returned a non-zero code: 104

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [September 24, 2020, 3:24pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/2 "2020-09-24T15:24:45Z")

</div>

Hi  
There are no repositories defined? can you show the output from `zypper lr`. The system is registered? Not going through a proxy or local SMT/RMT server?

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 24, 2020, 3:38pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/3 "2020-09-24T15:38:14Z")

</div>

# | Alias | Name | Enabled | GPG Check | Refresh

—±------------------------------------------------------------------------------------------------±----------------------------------------------------------------------------±--------±----------±-------  
1 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Debuginfo-Pool | SLE-Module-Basesystem15-SP1-Debuginfo-Pool | No | ---- | ----  
2 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Debuginfo-Updates | SLE-Module-Basesystem15-SP1-Debuginfo-Updates | No | ---- | ----  
3 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Pool | SLE-Module-Basesystem15-SP1-Pool | Yes | (r ) Yes | No  
4 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Source-Pool | SLE-Module-Basesystem15-SP1-Source-Pool | No | ---- | ----  
5 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Updates | SLE-Module-Basesystem15-SP1-Updates | Yes | (r ) Yes | Yes  
6 | Containers\_Module\_15\_SP1\_x86\_64:SLE-Module-Containers15-SP1-Debuginfo-Pool | SLE-Module-Containers15-SP1-Debuginfo-Pool | No | ---- | ----  
7 | Containers\_Module\_15\_SP1\_x86\_64:SLE-Module-Containers15-SP1-Debuginfo-Updates | SLE-Module-Containers15-SP1-Debuginfo-Updates | No | ---- | ----  
8 | Containers\_Module\_15\_SP1\_x86\_64:SLE-Module-Containers15-SP1-Pool | SLE-Module-Containers15-SP1-Pool | Yes | (r ) Yes | No  
9 | Containers\_Module\_15\_SP1\_x86\_64:SLE-Module-Containers15-SP1-Source-Pool | SLE-Module-Containers15-SP1-Source-Pool | No | ---- | ----  
10 | Containers\_Module\_15\_SP1\_x86\_64:SLE-Module-Containers15-SP1-Updates | SLE-Module-Containers15-SP1-Updates | Yes | (r ) Yes | Yes  
11 | SLES15-SP1-15.1-0 | SLES15-SP1-15.1-0 | No | ---- | ----  
12 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Debuginfo-Pool | SLE-Product-SLES15-SP1-Debuginfo-Pool | No | ---- | ----  
13 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Debuginfo-Updates | SLE-Product-SLES15-SP1-Debuginfo-Updates | No | ---- | ----  
14 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Pool | SLE-Product-SLES15-SP1-Pool | Yes | (r ) Yes | No  
15 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Source-Pool | SLE-Product-SLES15-SP1-Source-Pool | No | ---- | ----  
16 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Updates | SLE-Product-SLES15-SP1-Updates | Yes | (r ) Yes | Yes  
17 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Debuginfo-Pool | SLE-Module-Server-Applications15-SP1-Debuginfo-Pool | No | ---- | ----  
18 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Debuginfo-Updates | SLE-Module-Server-Applications15-SP1-Debuginfo-Updates | No | ---- | ----  
19 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Pool | SLE-Module-Server-Applications15-SP1-Pool | Yes | (r ) Yes | No  
20 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Source-Pool | SLE-Module-Server-Applications15-SP1-Source-Pool | No | ---- | ----  
21 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Updates | SLE-Module-Server-Applications15-SP1-Updates | Yes | (r ) Yes | Yes  
22 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Debuginfo-Pool | SLE-Module-Basesystem15-SP1-Debuginfo-Pool for sle-15-x86\_64 | No | ---- | ----  
23 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Debuginfo-Updates | SLE-Module-Basesystem15-SP1-Debuginfo-Updates for sle-15-x86\_64 | No | ---- | ----  
24 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Pool | SLE-Module-Basesystem15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
25 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Source-Pool | SLE-Module-Basesystem15-SP1-Source-Pool for sle-15-x86\_64 | No | ---- | ----  
26 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Updates | SLE-Module-Basesystem15-SP1-Updates for sle-15-x86\_64 | Yes | (r ) Yes | Yes  
27 | container-suseconnect-zypp:SLE-Module-Containers15-SP1-Debuginfo-Pool | SLE-Module-Containers15-  
…

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [September 24, 2020, 4:31pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/4 "2020-09-24T16:31:21Z")

</div>

Hi  
So what are the URL’s for repositories 24 and 26, these should not be needed as your using repo’s 3 and 5 for this? I would disable and then force a refresh and try again to install vim…

```auto
zypper mr -dF 24 26
zypper ref -f
zypper in vim

```

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 24, 2020, 5:11pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/5 "2020-09-24T17:11:45Z")

</div>

The system is registered and I did this too, but I still see this error

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [September 24, 2020, 8:25pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/6 "2020-09-24T20:25:38Z")

</div>

Hi  
Just that it can’t find vim? The package `vim` is in `Basesystem Module 15 SP1` repository.

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 25, 2020, 2:15pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/7 "2020-09-25T14:15:53Z")

</div>

For now, I just want this package. I read somewhere from your site that when the host is registered, an RMT service should be set up.  
What do I need to do to get started?

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 25, 2020, 2:19pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/8 "2020-09-25T14:19:58Z")

</div>

I want this package in my dock file so I can customize the image of two

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 25, 2020, 4:03pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/9 "2020-09-25T16:03:36Z")

</div>

zypper repos --show-enabled-only  
Refreshing service ‘container-suseconnect-zypp’.  
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias | Name | Enabled | GPG Check | Refresh

—±--------------------------------------------------------------------------------------±------------------------------------------------------------------±--------±----------±-------  
3 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Pool | SLE-Module-Basesystem15-SP1-Pool | Yes | (r ) Yes | No  
5 | Basesystem\_Module\_15\_SP1\_x86\_64:SLE-Module-Basesystem15-SP1-Updates | SLE-Module-Basesystem15-SP1-Updates | Yes | (r ) Yes | Yes  
9 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Pool | SLE-Product-SLES15-SP1-Pool | Yes | (r ) Yes | No  
11 | SUSE\_Linux\_Enterprise\_Server\_15\_SP1\_x86\_64:SLE-Product-SLES15-SP1-Updates | SLE-Product-SLES15-SP1-Updates | Yes | (r ) Yes | Yes  
14 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Pool | SLE-Module-Server-Applications15-SP1-Pool | Yes | (r ) Yes | No  
16 | Server\_Applications\_Module\_15\_SP1\_x86\_64:SLE-Module-Server-Applications15-SP1-Updates | SLE-Module-Server-Applications15-SP1-Updates | Yes | (r ) Yes | Yes  
19 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Pool | SLE-Module-Basesystem15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
21 | container-suseconnect-zypp:SLE-Module-Basesystem15-SP1-Updates | SLE-Module-Basesystem15-SP1-Updates for sle-15-x86\_64 | Yes | (r ) Yes | Yes  
24 | container-suseconnect-zypp:SLE-Module-Containers15-SP1-Pool | SLE-Module-Containers15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
26 | container-suseconnect-zypp:SLE-Module-Containers15-SP1-Updates | SLE-Module-Containers15-SP1-Updates for sle-15-x86\_64 | Yes | (r ) Yes | Yes  
29 | container-suseconnect-zypp:SLE-Module-Packagehub-Subpackages15-SP1-Pool | SLE-Module-Packagehub-Subpackages15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
31 | container-suseconnect-zypp:SLE-Module-Packagehub-Subpackages15-SP1-Updates | SLE-Module-Packagehub-Subpackages15-SP1-Updates for sle-15-x86\_64 | Yes | (r ) Yes | Yes  
34 | container-suseconnect-zypp:SLE-Module-Server-Applications15-SP1-Pool | SLE-Module-Server-Applications15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
36 | container-suseconnect-zypp:SLE-Module-Server-Applications15-SP1-Updates | SLE-Module-Server-Applications15-SP1-Updates for sle-15-x86\_64 | Yes | (r ) Yes | Yes  
39 | container-suseconnect-zypp:SLE-Product-SLES15-SP1-Pool | SLE-Product-SLES15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
41 | container-suseconnect-zypp:SLE-Product-SLES15-SP1-Updates | SLE-Product-SLES15-SP1-Updates for sle-15-x86\_64 | Yes | (r ) Yes | Yes  
43 | container-suseconnect-zypp:SUSE-PackageHub-15-SP1-Backports-Pool | SUSE-PackageHub-15-SP1-Backports-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No  
44 | container-suseconnect-zypp:SUSE-PackageHub-15-SP1-Pool | SUSE-PackageHub-15-SP1-Pool for sle-15-x86\_64 | Yes | (r ) Yes | No

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [September 25, 2020, 4:07pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/10 "2020-09-25T16:07:49Z")

</div>

Hi  
Well you can just download the packages iso image and use that locally, or can grab just the package via the download option at SCC? An RMT server is a complete new system in your network, is that what you want?

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 25, 2020, 4:22pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/11 "2020-09-25T16:22:45Z")

</div>

173/5000  
I installed Docker over the Internet and now I wanted to create an image using Dockerfile, but I got this error.  
Dockerfile content is the same thing you put on your site

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [September 25, 2020, 4:53pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/12 "2020-09-25T16:53:07Z")

</div>

Hi  
Are you following this documentation? [https://documentation.suse.com/sles/15-SP1/html/SLES-all/book-sles-docker.html](https://documentation.suse.com/sles/15-SP1/html/SLES-all/book-sles-docker.html)

---

<div class="post-metadata">

### Author: ![ali1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ali1](https://forums.suse.com/u/ali1)
#### Post date: [September 25, 2020, 7:47pm UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/13 "2020-09-25T19:47:53Z")

</div>

my Docker file  
FROM [registry.suse.com/suse/sle15](http://registry.suse.com/suse/sle15)  
RUN zypper ref -s  
RUN zypper -n in vim

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [September 26, 2020, 1:06am UTC](https://forums.suse.com/t/error-in-container-suseconnect-zypp/35294/14 "2020-09-26T01:06:41Z")

</div>

Hi  
So I setup a test system SLES 15 SP1;

My repositories added during install;

```auto
 8 | Containers_Module_15_SP1_x86_64:SLE-Module-Containers15-SP1-Pool | SLE-Module-Containers15-SP1-Pool | Yes | (r ) Yes | No
10 | Containers_Module_15_SP1_x86_64:SLE-Module-Containers15-SP1-Updates | SLE-Module-Containers15-SP1-Updates | Yes | (r ) Yes | Yes

```

The above are different that what you posted, how did you add? Like this `SUSEConnect -p sle-module-containers/15/x86_64 -r ''`?

My DockerFile;

```auto
FROM registry.suse.com/suse/sles12sp4

RUN zypper ref -s
RUN zypper -n in vim

```

Docker build;

```auto
docker build .
~/docker_images> docker build .
Sending build context to Docker daemon 2.048kB
Step 1/3 : FROM registry.suse.com/suse/sles12sp4
latest: Pulling from suse/sles12sp4
6c9534a7a804: Pull complete 
Digest: sha256:7504649ba71f61492c309ccada877a47ea11272b8658a9ad52923e8d17204628
Status: Downloaded newer image for registry.suse.com/suse/sles12sp4:latest
 ---> f49baa2c4c5f
Step 2/3 : RUN zypper ref -s
 ---> Running in 0502767b9116
Refreshing service 'container-suseconnect-zypp'.
Adding repository 'SLES12-SP4-Debuginfo-Pool for sle-12-x86_64' [......done]
Adding repository 'SLES12-SP4-Debuginfo-Updates for sle-12-x86_64' [......done]
Adding repository 'SLES12-SP4-Pool for sle-12-x86_64' [......done]
Adding repository 'SLES12-SP4-Source-Pool for sle-12-x86_64' [......done]
Adding repository 'SLES12-SP4-Updates for sle-12-x86_64' [......done]
All services have been refreshed.
Retrieving repository 'SLES12-SP4-Pool for sle-12-x86_64' metadata [....done]
Building repository 'SLES12-SP4-Pool for sle-12-x86_64' cache [....done]
Retrieving repository 'SLES12-SP4-Updates for sle-12-x86_64' metadata [........done]
Building repository 'SLES12-SP4-Updates for sle-12-x86_64' cache [....done]
All repositories have been refreshed.
Removing intermediate container 0502767b9116
 ---> acf5376186f8
Step 3/3 : RUN zypper -n in vim
 ---> Running in f5edb94e37c0
Refreshing service 'container-suseconnect-zypp'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 4 NEW packages are going to be installed:
  libdb-4_8 libgdbm4 perl vim

4 new packages to install.
Overall download size: 8.2 MiB. Already cached: 0 B. After the operation, additional 43.1 MiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package libdb-4_8-4.8.30-29.6.x86_64 (1/4), 668.2 KiB ( 3.1 MiB unpacked)
Retrieving: libdb-4_8-4.8.30-29.6.x86_64.rpm [done]
Retrieving package libgdbm4-1.10-9.70.x86_64 (2/4), 50.9 KiB (155.4 KiB unpacked)
Retrieving: libgdbm4-1.10-9.70.x86_64.rpm [.done]
Retrieving package perl-5.18.2-12.23.1.x86_64 (3/4), 6.3 MiB ( 37.3 MiB unpacked)
Retrieving: perl-5.18.2-12.23.1.x86_64.rpm [.done (352.0 KiB/s)]
Retrieving package vim-7.4.326-17.6.1.x86_64 (4/4), 1.2 MiB ( 2.6 MiB unpacked)
Retrieving: vim-7.4.326-17.6.1.x86_64.rpm [done]

Checking for file conflicts: [.......done]
(1/4) Installing: libdb-4_8-4.8.30-29.6.x86_64 [............done]
(2/4) Installing: libgdbm4-1.10-9.70.x86_64 [........done]
(3/4) Installing: perl-5.18.2-12.23.1.x86_64 [............done]
(4/4) Installing: vim-7.4.326-17.6.1.x86_64 [............done]
Removing intermediate container f5edb94e37c0
 ---> c2d9c265d1d6
Successfully built c2d9c265d1d6

```
