$ cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
PRETTY_NAME="openSUSE Leap 15.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
$ sudo zypper ref -b
$ sudo zypper up -y
$ sudo zypper repos --uri
Show enabled only
$ sudo zypper --releasever=15.4 lr -uE
Note Check the repo file contain the
$releasever
variable.$ sudo cat /etc/zypp/repos.d/repo-oss.repo [repo-oss] name=Main Repository enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/distribution/leap/$releasever/repo/oss/ type=rpm-md
[sudo] password for root:
Warning: Enforced setting: $releasever=15.4
Repository priorities are without effect. All enabled repositories share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh | URI
---+-----------------------+--------------------------------------------------------------+---------+-----------+---------+------------------------------------------------------------------
3 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/backports/
8 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/
9 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.4/repo/oss/
11 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/sle/
13 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/oss/
14 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/non-oss/
$ sudo zypper --releasever=15.4 ref
$ sudo zypper --releasever=15.4 dup -y
$ cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.4 Alpha"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.4"
PRETTY_NAME="openSUSE Leap 15.4 Alpha"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.4"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
If you get errors from the above command, the upstream repo has a different name than what you defined in our .repo
file.
Visit the OBS repository to find the correct name and add it to the .repo
file.
Replace old release string with release variable
$ sudo sed -i 's/15.4/\$releasever/g' /etc/zypp/repos.d/*
I do not know if I am in the right place here, but I have a problem after upgrading from 15.3 to 15.4 (live upgrade).
Instead of the login screen I see a black screen with the mouse arrow.
After opening a new window with ctrl+alt+F1 I can login to a text window and after entering
startx
I can work (probably almost) normal.
What might be wrong in my installation?