I don't understand how I can upgrade my CentOS 7. cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) I followed the directions found on the web (by installing dnf and so on), but when I tried to install centos-release I get dnf upgrade -y http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-release-8.1-1.1911.0.9.el8.x86_64.rpm Last metadata expiration check: 0:19:05 ago on Wed 08 Apr 2020 04:50:14 PM CEST. centos-release-8.1-1.1911.0.9.el8.x86_64.rpm 184 kB/s |? 21 kB???? 00:00 Dependencies resolved. ?Problem: cannot install the best update candidate for package centos-release-7-7.1908.0.el7.centos.x86_64 ? - nothing provides centos-gpg-keys = 8.1-1.1911.0.9.el8 needed by centos-release-8.1-1.1911.0.9.el8.x86_64 ? - nothing provides centos-repos = 8.1-1.1911.0.9.el8 needed by centos-release-8.1-1.1911.0.9.el8.x86_64 ================================================================================================================================ ?Package???????????????????????? Arch Version???????????????????????????? Repository Size ================================================================================================================================Skipping packages with broken dependencies: ?centos-release????????????????? x86_64 8.1-1.1911.0.9.el8????????????????? @commandline 21 k Transaction Summary ================================================================================================================================Skip? 1 Package Nothing to do. Complete! Does anyone know how to upgrade? Thanks Stefano
Am 08.04.2020 um 17:50 schrieb Stefano Simonucci:> Does anyone know how to upgrade? > > Thanks > > StefanoThere is no supported way to run an inplace upgrade. Backup your data and run a fresh install. Alexander
On Wed, Apr 08, 2020 at 05:50:44PM +0200, Stefano Simonucci wrote:> I followed the directions found on the web (by installing dnf and so on), > but when I tried to install centos-release I getUnfortunately, there are a lot of web sites out there with bad information. There's no support for updating from C7 to C8. It's likely to result in a broken system even if you are careful and know what you're doing. -- Jonathan Billings <billings at negate.org>
On Wed, Apr 08, 2020 at 12:17:31PM -0400, Jonathan Billings wrote:> On Wed, Apr 08, 2020 at 05:50:44PM +0200, Stefano Simonucci wrote: > > I followed the directions found on the web (by installing dnf and so on), > > but when I tried to install centos-release I get > > Unfortunately, there are a lot of web sites out there with bad > information. > > There's no support for updating from C7 to C8. It's likely to result > in a broken system even if you are careful and know what you're > doing.I would also keep in mind, depending upon your use of C7, that a lot of packages have not yet been created for CentOS-8. I had to build several from srpms (some from older Fedora ones, like F28 and F30) and some from C7 srpms. (By the way, if anyone made an rpm for C8 for weechat, please send me a direct email, I've been unable to get a version that works with weechat's python support). Anyway, figure out your essential programs and make sure they're available in CentOS-8. You will almost certainly want to enable the EPEL-testing repo as well as a few others (such as rpmfusion if you're using any multimedia stuff). If you're using it as a basic server without X, you're probably alright. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
OK. I understand. Unfortunately the server has been assigned to me remotely and I cannot physically reinstall Centos 8. Thank you very much. Stefano On 08/04/20 18:17, Jonathan Billings wrote:> On Wed, Apr 08, 2020 at 05:50:44PM +0200, Stefano Simonucci wrote: >> I followed the directions found on the web (by installing dnf and so on), >> but when I tried to install centos-release I get > Unfortunately, there are a lot of web sites out there with bad > information. > > There's no support for updating from C7 to C8. It's likely to result > in a broken system even if you are careful and know what you're > doing. >