What is the output of: sudo omv-env get OMV_APT_SECURITY_REPOSITORY_URL
This command does not produce any output.
What is the output of: sudo omv-env get OMV_APT_SECURITY_REPOSITORY_URL
This command does not produce any output.
Just saw this on post #16 which means you have a failed upgrade attempted and a mixed of versions REPOS.
This REPOS need to be fixed
What is the output of
dpkg --list | grep openm
Indeed, I am on omv 5 and want to upgrade to omv 6. Here is the ouput you requested -
dpkg --list | grep openm
ii libopenmpt0:armhf 0.4.3-1+deb10u1 armhf module music library based on OpenMPT -- shared library
ii openmediavault 5.6.26-1 all openmediavault - The open network attached storage solution
ii openmediavault-anacron 5.0.3 all anacron plugin for OpenMediaVault.
ii openmediavault-apttool 3.6 all apt tool plugin for OpenMediaVault.
ii openmediavault-autoshutdown 5.1.21 all OpenMediaVault AutoShutdown Plugin
ii openmediavault-backup 5.2.4 all backup plugin for OpenMediaVault.
ii openmediavault-borgbackup 5.1.9 all borgbackup plugin for OpenMediaVault.
ii openmediavault-clamav 5.0.13-1 all openmediavault ClamAV plugin
ii openmediavault-fail2ban 5.0.5 all OpenMediaVault Fail2ban plugin
ii openmediavault-flashmemory 5.0.9 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-luksencryption 5.0.2 all OpenMediaVault LUKS encryption plugin
ii openmediavault-lvm2 5.0.3-1 all openmediavault Logical Volume Manager (LVM2) plugin
ii openmediavault-minidlna 5.0.5 all OpenMediaVault miniDLNA (DLNA server) plugin
ii openmediavault-omvextrasorg 5.6.6 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-remotemount 5.0.3 all Remote mount plugin for OpenMediaVault.
ii openmediavault-sftp 5.0.7 all sftp server
In that case, let's start from the top.
Edit the file /etc/apt/sources.list to become like this:
Command to use: sudo nano /etc/apt/sources.list
deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
Now, delete all the lists and make new one's:
Commands to use:
sudo rm -f /etc/apt/sources.list.d/*.list
Lists to be created and how:
sudo nano /etc/apt/sources.list.d/omvextras.list ryecoaaron Can you confirm if this one is correct for OMV5???
deb https://openmediavault-plugin-developers.github.io/packages/debian usul main
deb [arch=armhf] https://download.docker.com/linux/debian buster stable
sudo nano /etc/apt/sources.list.d/openmediavault-os-security.list
sudo nano /etc/apt/sources.list.d/openmediavault-local.list
sudo nano /etc/apt/sources.list.d/openmediavault.list
deb http://packages.openmediavault.org/public/ usul main
deb https://openmediavault.github.io/packages/ usul main
sudo nano /etc/apt/sources.list.d/raspi.list
After all these are done, run and post the complete output (with the command also) in a codebox:
sudo apt update
Something like below, (although mine is from bullseye)
pi@xxxxxx:~ $ sudo apt update
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
.........
Hit:5 http://deb.debian.org/debian bullseye InRelease
Get:6 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Hit:7 https://openmediavault.github.io/packages shaitan InRelease
Get:8 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease [3934 B]
Hit:9 https://download.docker.com/linux/debian bullseye InRelease
Get:10 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:11 http://packages.openmediavault.org/public shaitan InRelease
Get:12 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Hit:13 http://archive.raspberrypi.org/debian buster InRelease
Get:14 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [192 kB]
Get:15 http://deb.debian.org/debian-security bullseye-security/main armhf Packages [192 kB]
Get:16 http://deb.debian.org/debian bullseye-backports/main armhf Packages [356 kB]
Get:17 http://deb.debian.org/debian bullseye-backports/main arm64 Packages [359 kB]
Get:18 http://deb.debian.org/debian bullseye-backports/main Translation-en [297 kB]
Fetched 1541 kB in 3s (470 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Alles anzeigen
Soma , please note that I am on bulleye with omv5, not on buster. When I purchased my rpi4, it came with bulleye pre-installed. At the time I implemented omv, only omv5 was available.
No, that's impossible.
Buster is Debian 10 and OMV5 runs on Debian 10.
Bullseye is Debian 11 and OMV6 runs on Debian 11.
And that is shown by the dpkg command I asked you.
Also, if you want to confirm, post the output of:
cat /etc/*relea*
pi@xxxxx:~ $ cat /etc/*relea*
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
cat /etc/*versio*
Alles anzeigenNo, that's impossible.
Buster is Debian 10 and OMV5 runs on Debian 10.
Bullseye is Debian 11 and OMV6 runs on Debian 11.
And that is shown by the dpkg command I asked you.
Also, if you want to confirm, post the output of:
cat /etc/*relea*
Codepi@xxxxx:~ $ cat /etc/*relea* PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
cat /etc/*versio*
Here is the output of the command
cat /etc/*versio*
11.1
cat /etc/*relea*
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
santosh@venus:~/Documents$
buster/updates
There should be a hypen in this :: buster-updates
But I wouldn't bother setting them back to buster. Leave them on bullseye and run omv-release-upgrade.
bulleye pre-installed.
You shouldn't use a pre-installed version.
Soma and ryecoaaron, thanks for your help. What is my next step at this point? I have had the OMV 5 run in a stable manner for a few years now and would like to go to OMV 6. Should I run the github install script (I think) you pointed me to? OR wait for Soma for a sequence of commands?
Should I run the github install script (I think) you pointed me to? OR wait for Soma for a sequence of commands?
Fix /etc/apt/sources.list.d/openmediavault-os-security.list
Make sure apt-get update returns no errors
Run omv-release-upgrade
Post all the outputs
Sounds good.
Before removing the files, I ran the following command to see what will be removed. I notice that, in addition to the files you mentioned, 2 more files will be removed. Here is the output
ls -l /etc/apt/sources.list.d/*.list
-rw-r--r-- 1 root root 227 Nov 6 22:24 /etc/apt/sources.list.d/omvextras.list
-rw-r--r-- 1 root root 80 Nov 6 22:24 /etc/apt/sources.list.d/openmediavault-kernel-backports.list
-rw-r--r-- 1 root root 60 Nov 6 22:24 /etc/apt/sources.list.d/openmediavault-local.list
-rw-r--r-- 1 root root 176 Nov 7 09:41 /etc/apt/sources.list.d/openmediavault-os-security.list
-rw-r--r-- 1 root root 196 Nov 6 22:24 /etc/apt/sources.list.d/openmediavault.list
-rw-r--r-- 1 root root 188 Nov 6 22:24 /etc/apt/sources.list.d/raspi.list
-rw-r--r-- 1 root root 41 Nov 6 22:24 /etc/apt/sources.list.d/vscode.list
The contents of these two are below.
cat /etc/apt/sources.list.d/openmediavault-kernel-backports.list
deb http://httpredir.debian.org/debian bullseye-backports main contrib non-free
cat /etc/apt/sources.list.d/vscode.list
### Disabled by raspberrypi-sys-mods ###
Should I leave these file as they are or delete them, as well?
Alles anzeigenThe contents of these two are below.
cat /etc/apt/sources.list.d/openmediavault-kernel-backports.list
deb http://httpredir.debian.org/debian bullseye-backports main contrib non-free
cat /etc/apt/sources.list.d/vscode.list
### Disabled by raspberrypi-sys-mods ###
Should I leave these file as they are or delete them, as well?
You can leave them.
Kernel backports is needed if you have it activated. Even if you don´t, it won't do any harm.
The vscode.list is empty so, leave it
I am still getting errors while running apt-get update -
sudo apt-get update > cmdoutput.txt
E: The repository 'http://security.debian.org/debian-security bullseye/updates Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file.
Alles anzeigenI am still getting errors while running apt-get update -
sudo apt-get update > cmdoutput.txt
E: The repository 'http://security.debian.org/debian-security bullseye/updates Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file.
/etc/apt/sources.list.d/openmediavault-os-security.list
I made a typo on this.
The proper sytanx is:
Great. Completed successfully. Should I run omv-release-upgrade now?
sudo apt-get update > cmdoutput.txt [attach=26888][/attach]
Great. Completed successfully. Should I run omv-release-upgrade now?
sudo apt-get update > cmdoutput.txt [attach=26888][/attach]
Yes but first check the Plugins you have and the list of the one's that were ported to OMV6
omv-extras plugins - porting progress to OMV 6.x (done) - Plugins - openmediavault
See if any are missing there.
Post the output of the upgrade here even if things went OK,
sudo omv-release-upgrade > cmdoutput.txt is running since my last post - about 4 hours ago. I think it is stuck. Should I abort?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!