# gettting zypper update to work.

**URL:** <https://forums.suse.com/t/gettting-zypper-update-to-work/35200>\
**Category:** SLES Updates\
**Created:** [August 5, 2020, 7:25am UTC](https://forums.suse.com/t/gettting-zypper-update-to-work/35200 "2020-08-05T07:25:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwong](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mwong](https://forums.suse.com/u/mwong)\
**Post date:** [August 5, 2020, 7:25am UTC](https://forums.suse.com/t/gettting-zypper-update-to-work/35200/1 "2020-08-05T07:25:40Z")

</div>

I’ve used an Amazon Web Services AMI to launch a SLES 12 SP1 instance. But when I try to zypper update it fails telling me the repo is not a directory.

```
Specified path '/media/SPS03/SuSE12_SP1_DVD1_rpm/noarch' is not a directory: dir :///media/SPS03/SuSE12_SP1_DVD1_rpm/noarch

Abort, retry, ignore? [a/r/i/? shows all options] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.

bihost:/ # zypper repos
# | Alias | Name | Enabled | GPG Check | Refresh
--+------------------------+------------------------+---------+-----------+--------
1 | SuSE12_SP1_DVD1_noarch | SuSE12_SP1_DVD1_noarch | Yes | ( p) Yes | No
2 | SuSE12_SP1_DVD1_x86_64 | SuSE12_SP1_DVD1_x86_64 | Yes | ( p) Yes | No
3 | local_rpm_s3 | local_rpm_s3 | No | ---- | No
4 | nVidia-Driver-SLE12 | nVidia-Driver-SLE12 | Yes | (r ) Yes | Yes
5 | nvidia | nvidia | Yes | (r ) Yes | Yes

```

So I want to know how I can get my update working because I want to drop this instance and attach the volume to another AMI on AWS but the status is failing (possibly due to kernel mismatch).

If anyone has done a SLES AMI swap on AWS that would be helpful.

---

<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:** [August 5, 2020, 12:29pm UTC](https://forums.suse.com/t/gettting-zypper-update-to-work/35200/2 "2020-08-05T12:29:55Z")

</div>

Hi and welcome to the Forum 🙂  
Normally that would be a mount point that is not present, can you show the full output;  
`zypper lr -d`
