!cApDlsILLZkmAyVoxe:matrix.org

Matrix on Debian

264 Members
https://wiki.debian.org/Matrix102 Servers

Load older messages


SenderMessageTime
13 Feb 2019
@max:kamax.ioMaximusok! trying now20:20:15
@max:kamax.ioMaximus Linda: before I run it, what files are going to be changed? or command I can run before/after to see the change 20:23:12
@lindalap:matrix.orgLinda

I was about to list them

20:23:20
@lindalap:matrix.orgLinda

Let me see

20:23:23
@lindalap:matrix.orgLinda
  1. /etc/apt/trusted.gpg will have Matrix.org signing key removed.
  2. /etc/apt/trusted.gpg.d/matrix-org_packages.asc will be removed if it exists.
  3. /etc/apt/sources.list.d/matrix-org.list will be overwritten and maintained by the package. The existence of this file depends on the answer "yes" or "no" question to APT data sources every time. (If you need to choose again, run dpkg-reconfigure matrix-archive-keyring.)
  4. /usr/share/keyrings/matrix-archive-keyring.gpg is added.
  5. /etc/apt/trusted.gpg.d/matrix-archive-keyring.gpg will be a new symlink to /usr/share/keyrings/matrix-archive-keyring.gpg. This is also managed by the package in rare cases.
20:26:13
@lindalap:matrix.orgLinda

#5 is only true if using dpkg-reconfigure and answering "yes" to APT system trusted key. (You probably don't want that, so choose "no".)

20:27:11
@lindalap:matrix.orgLinda

Hopefully that answers to your question.

20:27:52
@lindalap:matrix.orgLinda

I think there's also a command dpkg-preconfigure, but I've never used it before.

20:28:10
@max:kamax.ioMaximus Linda: I was thinking of a command that show me the trusted status of the matrix.org key, showing that per example it's trusted from everything, and then see how that is different after the package is installed 20:29:08
@max:kamax.ioMaximus(if it makes sense?20:29:19
@lindalap:matrix.orgLinda

For the "trusted from everything" part, apt-key finger | grep -i matrix kind of shows if it's trusted by APT for everything. It should be empty.

20:32:07
@lindalap:matrix.orgLinda

For the other stuff, let me think...

20:32:12
@lindalap:matrix.orgLinda

gpg --no-default-keyring --keyring /usr/share/keyrings/matrix-archive-keyring.gpg --fingerprint shows the fingerprint for that keyring.

20:33:54
@lindalap:matrix.orgLinda

grep -ir "matrix.org" /etc/apt/sources.list* to see your Matrix.org source lists.

20:35:08
@lindalap:matrix.orgLinda

If there's [signed-by=] deb or deb-src lines only, then it's working.

20:35:25
@lindalap:matrix.orgLinda

Like, this is my /etc/apt/sources.list.d/matrix-org.list:

# This sourcelist is managed by the matrix-archive-keyring package; changes
# done here will be overridden by the next package configuration or update.
deb [signed-by=/usr/share/keyrings/matrix-archive-keyring.gpg] http://matrix.org/packages/debian/ sid main
deb-src [signed-by=/usr/share/keyrings/matrix-archive-keyring.gpg] http://matrix.org/packages/debian/ sid main
20:36:09
@lindalap:matrix.orgLinda

I'm not sure if I understood your question more than that?

20:36:43
@max:kamax.ioMaximusI think i got the info I needed20:37:30
@lindalap:matrix.orgLinda

If you go dpkg-reconfigure matrix-archive-keyring and it will default APT sources to "no" again (should maybe change that to be persistent to the previous choice), it will immediately remove /etc/apt/sources.list.d/matrix-org.list just to clarify.

20:39:14
@lindalap:matrix.orgLinda

if you choose "no "there

20:39:30
@lindalap:matrix.orgLinda

also happens when you uninstall

20:39:36
@max:kamax.ioMaximuslooks like it's working20:41:27
@max:kamax.ioMaximusI said yes to use APT stuff, and no to trust fully20:41:37
@max:kamax.ioMaximusthe sources have what you described20:41:47
@lindalap:matrix.orgLinda

I need to polish some source code and it will be ready tomorrow (probably)

20:41:57
@max:kamax.ioMaximusyep. Just the distro name in the source.list wasn't right for my case, but the rest seems fine20:42:20
@lindalap:matrix.orgLinda

First-time install doesn't ask the APT "trust fully" question for a good reason. It defaults to false. The APT "full trust" question is asked by dpkg-reconfigure only because it defaults to asking every little question (same as ---priority=low), where the typical sysadmin tools use --priority=high.

20:43:32
@lindalap:matrix.orgLinda

yep. Just the distro name in the source.list wasn't right for my case, but the rest seems fine

What was it?

20:43:41
@lindalap:matrix.orgLinda

The DEBUG line I added.

20:43:55
@lindalap:matrix.orgLinda

It found sid fine for me.

20:44:00

Show newer messages


Back to Room ListRoom Version: