Fix Zentyal 7.1 upgrade problem: Ubuntu repository components not defined
This video shows how to get past an invalid upgrade failure presented in Zentyal Development edition 7.0 when attempting to upgrade to 7.1. The following Error message results from an incorrectly crafted egrep statement:
The Ubuntu repository components ‘focal’ and/or ”focal-updates’ are not defined in /etc/apt/sources.list
While this may not happen to most other people, I just wanted to share the workaround that I figured in order to help any who do experience this same error.
The file that requires editing is:
/usr/share/zentyal/release-upgrade
If your release-upgrade script has the following line in it, you may also require this workaround in order to complete the upgrade:
egrep ‘^deb.*archive.ubuntu.com/ubuntu/ (focal|focal-updates) main’ /etc/apt/sources.list
Workaround:
1. Locate the “function checkUbuntuRepositories” portion of the script that contains the above noted egrep command. (sudo vi /usr/share/zentyal/release-upgrade)
2. Comment out the contents of the function, leaving only the first and last echo statements in it.
3. Save the file and retry the upgrade
Software Used:
DaVinci Resolve 18.6.2 for Linux (Free)
Fedora Workstation 38
Zentyal Development 7.0 / 7.1
===== Resources/Reference =====
Zentyal:
====================
Blog:
If you wish to support this channel, please
Feel free to tip me here
Disclaimers:
====================
Please note any non-English Subtitles are auto-translated.
This video was NOT sponsored by any vendor. Any paid products/services shown were paid for out of my own pocket.
The following are PAID affiliate links. Any revenue generated via the links below will help pay for systems and services used in the hosting and production of my content:
– – –
RackNerd VPS, CPanel Shared Hosting:
Domain Registration, CPanel Shared Hosting, VPS, SSL via NameCheap:
== My Gear – #AD Amazon Links:
As an Amazon Associate, I earn from qualifying purchases.
USB Capture Device:
Standing Desk:
34in Monitor:
Thunderbolt 3 Dock:
== Workstation Build:
Full Tower Case:
MB:
CPU:
Cooler:
Memory: (X2 for 128GB)
GPU:
PSU:
Cache (nvme):
OS (nvme):
Data (SSD): (X2)
Keyboard:
Mouse:
Microphone:
[ad_2]
source