Hi guys, I have set up an empty Debian 12 VM on a Proxmox server. I have followed all the steps in the instructions.
https://helpcenter.onlyoffice.com/installation/docs-community-install-ubuntu.aspx
I was able to install all necessary packages without any problems
When installing onlyoffice-documentserver the message appears:
E: Unable to locate package onlyoffice-documentserver
GPG is correct
apt-get update and upgrade was performed
vm was restarted
ping on download.onlyoffice.com goes
I have the same error when i use the docs-install.sh script
Where is my fault?
Thank you
I have entered all the necessary commands in this order.
sudo apt-get install -y redis-server rabbitmq-server nginx-extras gnupg2 htop curl
sudo apt-get install -y postgresql
systemctl enable postgresql
systemctl start postgresql
sudo -i -u postgres psql -c âCREATE USER onlyoffice WITH PASSWORD âonlyofficeâ;â
sudo -i -u postgres psql -c âCREATE DATABASE onlyoffice OWNER onlyoffice;â
sudo -i -u postgres psql -c âGRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;â
mkdir -p -m 700 ~/.gnupg
curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import
chmod 644 /tmp/onlyoffice.gpg
sudo chown root:root /tmp/onlyoffice.gpg
sudo mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg
echo âdeb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze mainâ | sudo tee /etc/apt/sources.list.d/onlyoffice.list
sudo apt-get update
sudo apt-get upgrade
sed -r -i âs/^deb(.*)$/deb\1 contrib/gâ /etc/apt/sources.list
sudo apt-get install -y ttf-mscorefonts-installer
sudo apt-get install -y onlyoffice-documentserver
Hi @inputbox
Could you please confirm which architecture you are using for Debian 12? Is it ARM or x64 (amd64) ?
Your approach appears to be correct. Could you also specify which installation guide you followed?
Itâs a x64 System on a Intel CPU (Virtual CPU Emulation Typ: x86-64-v2-AES)
Vitrtual HDD: 60GB
1 Socket, 2 Cores
4GB RAM
My Outputs:
deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main
OK:1 http://deb.debian.org/debian bookworm InRelease
OK:2 http://security.debian.org/debian-security bookworm-security InRelease
OK:3 http://deb.debian.org/debian bookworm-updates InRelease
OK:4 https://download.onlyoffice.com/repo/debian squeeze InRelease
apt-cache: no output
/usr/share/keyrings/onlyoffice.gpg
----------------------------------
pub rsa4096 2016-12-15 [SC]
E09CA29F6E178040EF22B4098320CA65CB2DE8E5
uid [ unknown ] Ascensio System Limited (ONLYOFFICE) <support@onlyoffice.com>
sub rsa4096 2016-12-15 [E]
1 Like
@inputbox
Are you still encountering the error when running the command:
sudo apt-get install onlyoffice-documentserver
Yes, its the same Error.
I have already reinstalled the system several times,
even with install script the error appears.
@inputbox
It looks like your issue might be related to AptPreferences specified in the file /etc/apt/preferences
or in the directory /etc/apt/preferences.d/
.
To check the priority of the repositories, you can run the following command:
apt-cache policy
The Priority of all Package Sources is 500.
Hmm
Please provide the output of the following commands:
apt-cache policy
apt-cache policy onlyoffice-documentserver
apt-cache policy:
100 /var/lib/dpkg/status
release a=now
500 https://download.onlyoffice.com/repo/debian squeeze/main i386 Packages
release o=debian squeeze,a=squeeze,n=squeeze,l=debian squeeze,c=main,b=i386
origin download.onlyoffice.com
500 Index of /debian bookworm-updates/main i386 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 Index of /debian-security bookworm-security/non-free-firmware i386 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=non-free-firmware,b=i386
origin security.debian.org
500 Index of /debian-security bookworm-security/main i386 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 Index of /debian bookworm/contrib i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=i386
origin deb.debian.org
500 Index of /debian bookworm/non-free-firmware i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free-firmware,b=i386
origin deb.debian.org
500 Index of /debian bookworm/main i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=i386
origin deb.debian.org
apt-cache policy onlyoffice-documentserver:
N: Couldnât find package onlyoffice-documentserver
1 Like
inputbox:
i386 Packages
We overlooked the most crucial detail.
I figured out the CPU architecture, but OS architectureâŚ
ONLYOFFICE Docs Community Edition for Linux System Requirements:
Software requirements:
CPU: dual core 2 GHz or better
RAM: at least 2 GB, but depends of the host OS. More is better
HDD: at least 40 GB of free space
SWAP: at least 4 GB, but depends of the host OS. More is better
OS: 64-bit Debian , Ubuntu or other compatible distribution with kernel version 3.13 or later
Oh no, how embarrassing, I overlooked that.
With the x64 version it works without any problems.
Great Job. Thankâs
1 Like