[solved] Unable to install on Debian 9

Hello all,

i’m trying to install zamad, but i get errors…

root@monitor:~# apt-get update
Ign:1 http://ftp.gr.debian.org/debian stretch InRelease
Hit:2 http://ftp.gr.debian.org/debian stretch-updates InRelease
Hit:3 http://ftp.gr.debian.org/debian stretch Release
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
Ign:6 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 InRelease
Fetched 1,217 B in 1s (693 B/s)
Reading package lists… Done

and after this:
root@monitor:~# sudo apt-get install zammad
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package zammad

Make sure that how’s your repository file for zammad looks like this:

root@zammad:~# cat /etc/apt/sources.list.d/zammad.list

This file was generated by dl.packager.io

deb https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 main

Also - make sure you have apt-transport-https installed.

zammad.list contents are as you say, and apt-transport-https is already the newest version (1.4.9).

why it says IGN before the packager.io entry ?
Ign:6 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 InRelease

It says same here.

root@zammad:~# apt-get update
Ign:1 http://ftp.pl.debian.org/debian stretch InRelease
Stary:2 http://ftp.pl.debian.org/debian stretch-updates InRelease
Stary:3 http://security.debian.org/debian-security stretch/updates InRelease
Stary:4 http://ftp.pl.debian.org/debian stretch Release
Ign:5 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
Stary:6 https://artifacts.elastic.co/packages/5.x/apt stable Release
Ign:9 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 InRelease

Does apt-cache search zammad finds package for you?

no…

root@monitor:~# apt-cache search zammad
root@monitor:~#

It’s stupid but show:

cat /etc/issue

not stupid… :slight_smile:

root@monitor:~# cat /etc/issue
Debian GNU/Linux 9 \n \l

Try:

sudo apt-get clean
sudo apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/

root@monitor:~# sudo apt-get clean
root@monitor:~# sudo apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/
Ign:1 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 InRelease
Fetched 1,217 B in 2s (529 B/s)
Error: No information about packages! (Maybe no deb entries?)
Reading package lists… Done
E: Problem executing scripts APT::Update::Post-Invoke-Success ‘test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i’
E: Sub-process returned an error code

Are you sure you got zammad.list in /etc/apt/sources.list.d ?

root@monitor:~# cat /etc/apt/sources.list.d/zammad.list

This file was generated by dl.packager.io

deb https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 main

Make sure your files are located well and are set well with permissions.
Here’s how it looks on “my” side:

root@zammad:/var/log/apt# apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/
Ign:1 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
Stary:2 https://artifacts.elastic.co/packages/5.x/apt stable Release
Ign:3 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 9 InRelease
Fetched 1217 B in 0s (1435 B/s)
Reading package lists… Done

the only “different” in this box, is that it is i686

root@monitor:~# uname -a
Linux monitor 4.9.0-8-686-pae #1 SMP Debian 4.9.130-2 (2018-10-27) i686 GNU/Linux

there is your reason.
you gotta fix that.

yes, but how ?

root@monitor:~# apt-key list
/etc/apt/trusted.gpg

pub rsa2048 2013-02-23 [SC]
6257 DF99 7246 2F57 A20F FB2A B6D5 83CC BD33 EEB8
uid [ unknown] pkgr.io (http://pkgr.io) support@pkgr.io

I disagree. Same situation occurs on my box and I can easily find Zammad package.
This problem seems really weird for me.

i still cannot install it… :frowning:

root@monitor:~# sudo apt-get install zammad
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package zammad

i tried the install in a fresh 64bit debian with success, the problem was the 32bit OS.
thank you all for your support…

Add the Zammad Repository…
See: Install from package — Zammad System Documentation documentation

If you follow the steps from above link step by step, you’ll be fine.

Please mark as [SOLVED]. Thanks.