Debian Trixie install fails

I’m trying to install insync on Debian Trixie and the installation fails.

The install fails when updating from Bookworm or on a fresh install on Trixie. What seems to be happening is the installer is changing the trusted key and the changed key isn’t recognized.

I also tried copying over the key from a working Bookworm installation but the installer modifies it when upgrading to Trixie.

Attached is a screenshot of the install on a fresh install of Trixie.

1 Like

Sorry for the trouble! Let me forward this to our engineers to check what may be happening.

In the meantime, let me know what this file says: /etc/apt/sources.list.d/insync.list

It should ideally say trixie rather than bookworm. If not, please update it then try the installation again.

Hi Mia,

Any update on when this will be fixed?

Hi @Sam_Crawford! Apologies for the delays. Just checking that your /etc/apt/sources.list.d/insync.list file says trixie, correct?

Hi Mia, I thought I replied to your question a few days ago but maybe I didn’t.

Yes, the insync.list file says trixie.

Hi @Sam_Crawford

Can you uninstall Insync (sudo apt remove insync) and then re-install using apt (sudo apt install ./insync_3.9.4.60020-trixie_amd64.deb)

Hi Kurt, I’m still getting the same issue.
It exits with the following message: “Error: Sub-process /usr/bin/dpkg returned an error code (1)”

Is it only me having this problem? This is my attempt this morning to install Insync on a new “trixie” virtual machine. Note: I also was getting the same error attempting to install on an actual installation of trixie too.

sam@debian:~/Downloads$ sudo apt install ./insync_3.9.4.60020-trixie_amd64.deb
Note, selecting ‘insync’ instead of ‘./insync_3.9.4.60020-trixie_amd64.deb’
Installing:
insync

Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
Download size: 0 B / 163 MB
Space needed: 419 MB / 17.2 GB available

Get:1 /home/sam/Downloads/insync_3.9.4.60020-trixie_amd64.deb insync amd64 3.9.4.60020-trixie [163 MB]
Selecting previously unselected package insync.
(Reading database … 158133 files and directories currently installed.)
Preparing to unpack …/insync_3.9.4.60020-trixie_amd64.deb …
Unpacking insync (3.9.4.60020-trixie) …
Setting up insync (3.9.4.60020-trixie) …
dpkg: error processing package insync (–configure):
installed insync package post-installation script subprocess returned error exi
t status 1
Processing triggers for gnome-menus (3.36.0-2) …
Processing triggers for man-db (2.13.0-1) …
Processing triggers for shared-mime-info (2.4-5+b1) …
Processing triggers for mailcap (3.74) …
Processing triggers for desktop-file-utils (0.28-1) …
Processing triggers for hicolor-icon-theme (0.18-1) …
Errors were encountered while processing:
insync
Notice: Download is performed unsandboxed as root as file ‘/home/sam/Downloads/insync_3.9.4.60020-trixie_amd64.deb’ couldn’t be accessed by user ‘_apt’. - pkgAcquire::Run (13: Permission denied)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
sam@debian:~/Downloads$

Hi @Sam_Crawford! So sorry for not getting back to you sooner. I’ll escalate this to @Kurt_Ko for further investigation.

Thank you for your patience!

@Sam_Crawford Kurt will re-test some things on his end and we’ll update you accordingly. Thank you!

@Kurt_Ko Anything yet?

Can all affected parties share their /var/log/dpkg.log files after trying a fresh installation? Seeing the errors with a bit more detail would definitely help.

Cheers,

H.

1 Like

Here is the portion of the /var/log/dpkg.log dealing with the Insync installation

2025-02-03 17:11:59 startup archives install
2025-02-03 17:12:00 install insync:amd64 3.9.4.60020-trixie
2025-02-03 17:12:00 status half-installed insync:amd64 3.9.4.60020-trixie
2025-02-03 17:12:00 status triggers-pending man-db:amd64 2.13.0-1
2025-02-03 17:12:00 status triggers-pending mailcap:all 3.74
2025-02-03 17:12:00 status triggers-pending hicolor-icon-theme:all 0.18-2
2025-02-03 17:12:00 status triggers-pending shared-mime-info:amd64 2.4-5+b2
2025-02-03 17:12:08 status unpacked insync:amd64 3.9.4.60020-trixie
2025-02-03 17:12:08 configure insync:amd64 3.9.4.60020-trixie 3.9.4.60020-trixie
2025-02-03 17:12:08 status half-configured insync:amd64 3.9.4.60020-trixie
2025-02-03 17:12:08 trigproc man-db:amd64 2.13.0-1
2025-02-03 17:12:08 status half-configured man-db:amd64 2.13.0-1
2025-02-03 17:12:08 status installed man-db:amd64 2.13.0-1
2025-02-03 17:12:08 trigproc mailcap:all 3.74
2025-02-03 17:12:08 status half-configured mailcap:all 3.74
2025-02-03 17:12:09 status installed mailcap:all 3.74
2025-02-03 17:12:09 trigproc hicolor-icon-theme:all 0.18-2
2025-02-03 17:12:09 status half-configured hicolor-icon-theme:all 0.18-2
2025-02-03 17:12:09 status installed hicolor-icon-theme:all 0.18-2
2025-02-03 17:12:09 trigproc shared-mime-info:amd64 2.4-5+b2
2025-02-03 17:12:09 status half-configured shared-mime-info:amd64 2.4-5+b2
2025-02-03 17:12:18 status installed shared-mime-info:amd64 2.4-5+b2

2 Likes

Just to confirm Sam’s report here. All you need to do to replicate this is install Debian Trixie using the current version of the installer (https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso) and immediately after installation, attempt to install insync. I usually do that by downloading the installer from your site and then using gdebi to install it.

1 Like

I am following up with @Kurt_Ko for an update. Thanks so much @reis for the information you shared! We really appreciate it.

The solution I used:

cd /var/lib/dpkg/info/

Remove all insync files:

rm insync.*

Ensure you have the correct GPG key from Insync, as apt-key has been discontinued in Debian Trixie. The Insync documentation is currently incorrect. Please run the following command:

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/insync.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ACCAF35C

Run the command apt update and check if the error has disappeared. If necessary, reinstall Insync.

4 Likes

Hi Danilo

I tried what you suggested but it’s not working for me. I may have done something wrong.

2 Likes

@mia @Kurt_Ko @bayindirh Any updates to this issue yet?

When I try @Danilo_Arantes suggestion “sudo gpg --no-default-keyring --keyring /usr/share/keyrings/insync.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ACCAF35C”, I get the following error:

“gpg: failed to create temporary file ‘/root/.gnupg/.#lk0x00005643d59d5eb0.debian.4684’: No such file or directory
gpg: connecting dirmngr at ‘/root/.gnupg/S.dirmngr’ failed: No such file or directory
gpg: keyserver receive failed: No dirmngr”

Thanks!

2 Likes

Hey! I’ll check back with @Kurt_Ko :slight_smile:

@bayindirh is one of our long-time users :grin: They’ve really been a blessing to all of us here as they’d share their knowledge whenever possible :pray:t4:

1 Like

Hi @mia,

Thanks for your kind words. I have seen the post, and will try a clean install when I have time. Currently it’s a bit tight, but will try to keep you updated.

Cheers!

2 Likes