OpenMediaVault: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 45: Line 45:
<source lang="bash">
<source lang="bash">
apt update
apt update
apt upgrade
apt list --upgradable
apt list --upgradable


apt upgrade
ls -lah /etc/apt/trusted.gpg.d/
ls -lah /etc/apt/sources.list.d/
ls -lah /etc/apt/sources.list.d/
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

Revision as of 22:46, 20 August 2020

cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
deb https://packages.openmediavault.org/public usul main
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul main
## Uncomment the following line to add software from the proposed repository.
# deb https://packages.openmediavault.org/public usul-proposed main
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul-proposed main
## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb https://packages.openmediavault.org/public usul partner
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul partner
EOF

Install

export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none

wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" \
https://packages.openmediavault.org/public/archive.key

apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
apt-get update

apt-get --yes \
--auto-remove \
--show-upgraded \
--allow-downgrades \
--allow-change-held-packages \
--no-install-recommends \
--option Dpkg::Options::="--force-confdef" \
--option DPkg::Options::="--force-confold" \
install openmediavault-keyring openmediavault

# populate the database
omv-confdbadm populate

# login information
cat /etc/issue

Good To Know

apt update
apt upgrade
apt list --upgradable

ls -lah /etc/apt/trusted.gpg.d/
ls -lah /etc/apt/sources.list.d/

wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

References