Fix Zentyal 7.1 upgrade problem: Ubuntu repository components not defined

Опубликовано: 28 Сентябрь 2024
на канале: DimensionQuest
924
13

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: https://zentyal.com/community

====================
Blog: https://dimensionquest.net
If you wish to support this channel, please
Feel free to tip me here https://ko-fi.com/DimensionQuest

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: https://bit.ly/dqRackNerd
Domain Registration, CPanel Shared Hosting, VPS, SSL via NameCheap: https://bit.ly/dqNameCheap

== My Gear - #AD Amazon Links:
As an Amazon Associate, I earn from qualifying purchases.

USB Capture Device: https://amzn.to/3NFvdpR
Standing Desk: https://amzn.to/3hBXFJG
34in Monitor: https://amzn.to/3HBCwKj
Thunderbolt 3 Dock: https://amzn.to/36W7YXb

== Workstation Build:
Full Tower Case: https://amzn.to/3vqJtKM
MB: https://amzn.to/3WSpNuY
CPU: https://amzn.to/3jCvij4
Cooler: https://amzn.to/3i1gyJW
Memory: https://amzn.to/3WQtBg5 (X2 for 128GB)
GPU: https://amzn.to/3G2f5v8
PSU: https://amzn.to/3PY54nf
Cache (nvme): https://amzn.to/3vn1qd2
OS (nvme): https://amzn.to/3vnDUwr
Data (SSD): https://amzn.to/3C9Ae5e (X2)
Keyboard: https://amzn.to/347VfPA
Mouse: https://amzn.to/3C8KzgH
Microphone: https://amzn.to/3JD4Myv