gettting zypper update to work.

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.

Comments

  • malcolmlewismalcolmlewis Knowledge Partner

    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

Sign In or Register to comment.