Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    Convert Centos 8 to Centos 8 Stream

    RHEL/CentOS
    2
    5
    433
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sandeep
      sandeep last edited by

      To upgrade, install centos-release-stream package from extras repository:

      dnf install centos-release-stream
      dnf distro-sync
      

      The distro-sync subcommand is used to synchronize installed packages to the latest versions on upgrades. When no argument is provided, dnf updates all packages from active repositories.

      And that’s it. You should be on CentOS Stream 8!

      cat /etc/centos-release
      CentOS Stream release 8
      
      JosePP 2 Replies Last reply Reply Quote 1
      • JosePP
        JosePP @sandeep last edited by

        @sandeep Hello!

        Are we in any danger when using these commands?

        Should we take something into account before doing the conversion?

        Greetings!

        sandeep 1 Reply Last reply Reply Quote 0
        • JosePP
          JosePP @sandeep last edited by

          @sandeep I just tested on a centos 8 server with CWP and got these errors:

          [root@vps ~]# dnf distro-sync
          CentOS-Stream - AppStream 20 MB/s | 6.3 MB 00:00
          CentOS-Stream - Base 602 kB/s | 2.3 MB 00:03
          CentOS-Stream - Extras 8.0 kB/s | 7.0 kB 00:00
          Error:
          Problem: package libgs-devel-9.25-7.el8.x86_64 requires libgs(x86-64) = 9.25-7.el8, but none of the providers can be installed

          • cannot install both libgs-9.27-1.el8.x86_64 and libgs-9.25-7.el8.x86_64
          • cannot install the best update candidate for package libgs-devel-9.25-7.el8.x86_64
          • cannot install the best update candidate for package libgs-9.25-7.el8.x86_64
            (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
          sandeep 1 Reply Last reply Reply Quote 0
          • sandeep
            sandeep @JosePP last edited by sandeep

            @josepp said in Convert Centos 8 to Centos 8 Stream:

            libgs

            the package is in appstream

            [root@localhost ~]# dnf list libgs
            Librepo version: 1.12.0 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.61.1 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.33.0)
            Last metadata expiration check: 0:00:16 ago on Fri 11 Dec 2020 02:16:33 PM EST.
            Available Packages
            libgs.i686                9.25-7.el8      appstream
            libgs.x86_64              9.25-7.el8      appstream
            
            

            try to install via dnf and then run dnf distro-sync

            rpm -e --nodeps libgs libgs-devel
            dnf install libgs libgs-devel
            

            *** ensure /etc/yum.repos.d/CentOS-Linux-PowerTools.repo repo is enabled

            [powertools]
            name=CentOS Linux $releasever - PowerTools
            mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
            #baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/
            gpgcheck=1
            enabled=1
            gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
            
            1 Reply Last reply Reply Quote 0
            • sandeep
              sandeep @JosePP last edited by

              @josepp backup is must when you're doing major upgrades. Since CWP will not support centos 8 anymore the recommended version is centos 8 stream.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Recent Topics

              • nginx/1.20.0 ngx_pagespeed module

              • Almalinux support

              • Error Dovecot IMAP/POP3 Server

              • Problem with How to Enable TLS 1.3 in Apache on CWP

              • Successful delivery message

              • Install latest version of Sqlite3 from source Ubuntu/Debian

              • Install latest version of Sqlite3 from source centos/rhel/el7/el8

              • C

                Mysql load error

              2
              Online

              86
              Users

              117
              Topics

              768
              Posts

              URLs HOME | Blog | Support Portal