Installing Transmission error

Transmisssion

Installing Transmission: bittorrent server with web interface (c)

[ INFO ] DietPi-Software | APT install for: transmission-daemon, please wait...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package transmission-common.
(Reading database ... 55591 files and directories currently installed.)
Preparing to unpack .../transmission-common_2.94-2+deb10u2_all.deb ...
Unpacking transmission-common (2.94-2+deb10u2) ...
Selecting previously unselected package libevent-2.1-6:armhf.
Preparing to unpack .../libevent-2.1-6_2.1.8-stable-4_armhf.deb ...
Unpacking libevent-2.1-6:armhf (2.1.8-stable-4) ...
Selecting previously unselected package libminiupnpc17:armhf.
Preparing to unpack .../libminiupnpc17_2.1-1+b1_armhf.deb ...
Unpacking libminiupnpc17:armhf (2.1-1+b1) ...
Selecting previously unselected package libnatpmp1:armhf.
Preparing to unpack .../libnatpmp1_20150609-7_armhf.deb ...
Unpacking libnatpmp1:armhf (20150609-7) ...
Selecting previously unselected package transmission-daemon.
Preparing to unpack .../transmission-daemon_2.94-2+deb10u2_armhf.deb ...
Unpacking transmission-daemon (2.94-2+deb10u2) ...
Setting up libnatpmp1:armhf (20150609-7) ...
Setting up libminiupnpc17:armhf (2.1-1+b1) ...
Setting up libevent-2.1-6:armhf (2.1.8-stable-4) ...
Setting up transmission-common (2.94-2+deb10u2) ...
Setting up transmission-daemon (2.94-2+deb10u2) ...
chown: invalid group: ‘debian-transmission:debian-transmission’
dpkg: error processing package transmission-daemon (--configure):
 installed transmission-daemon package post-installation script subprocess retur                                                                                                             ned error exit status 1
Processing triggers for systemd (241-7~deb10u7+rpi1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Errors were encountered while processing:
 transmission-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
[FAILED] DietPi-Software | APT install for: transmission-daemon
 - Command: apt-get -qq --allow-change-held-packages install transmission-daemon
[ INFO ] DietPi-Software | APT install for: transmission-daemon, please wait...
Setting up transmission-daemon (2.94-2+deb10u2) ...
chown: invalid group: ‘debian-transmission:debian-transmission’
dpkg: error processing package transmission-daemon (--configure):
 installed transmission-daemon package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 transmission-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
[FAILED] DietPi-Software | APT install for: transmission-daemon
 - Command: apt-get -qq --allow-change-held-packages install transmission-daemon
[ INFO ] DietPi-Bugreport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT, please wait...
[  OK  ] DietPi-Bugreport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT
[  OK  ] DietPi-Bugreport | Packing upload archive
[  OK  ] DietPi-Bugreport | Sending bug report
[ INFO ] DietPi-Bugreport | Reference code: 0cddf0a7-b28f-4184-8736-2ea02639870f
[ INFO ] DietPi-Software | Executing alternative command: apt-get install transmission-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
transmission-daemon is already the newest version (2.94-2+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up transmission-daemon (2.94-2+deb10u2) ...
chown: invalid group: ‘debian-transmission:debian-transmission’
dpkg: error processing package transmission-daemon (--configure):
 installed transmission-daemon package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 transmission-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
[FAILED] Alternative command execution | Exited with error
Press any key to return to error handler menu...

Usually the user/group should be created by the Debian apt package. We had a similar case on GitHub. https://github.com/MichaIng/DietPi/issues/4244

Unfortunately the user never really reply to our questions

Hi,

I’m having the exact same issue.

When trying to install Transmission, I get this error :

... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(
                           │ database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database .
                           │ (Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading
                           │ database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 156399 files and
                           │ directories currently installed.)^M
                           │ Preparing to unpack .../transmission-common_2.94-2+deb10u2_all.deb ...^M
                           │ Unpacking transmission-common (2.94-2+deb10u2) ...^M
                           │ Selecting previously unselected package libevent-2.1-6:armhf.^M
                           │ Preparing to unpack .../libevent-2.1-6_2.1.8-stable-4_armhf.deb ...^M
                           │ Unpacking libevent-2.1-6:armhf (2.1.8-stable-4) ...^M
                           │ Selecting previously unselected package libminiupnpc17:armhf.^M
                           │ Preparing to unpack .../libminiupnpc17_2.1-1+b1_armhf.deb ...^M
                           │ Unpacking libminiupnpc17:armhf (2.1-1+b1) ...^M
                           │ Selecting previously unselected package libnatpmp1:armhf.^M
                           │ Preparing to unpack .../libnatpmp1_20150609-7_armhf.deb ...^M
                           │ Unpacking libnatpmp1:armhf (20150609-7) ...^M
                           │ Selecting previously unselected package transmission-daemon.^M
                           │ Preparing to unpack .../transmission-daemon_2.94-2+deb10u2_armhf.deb ...^M
                           │ Unpacking transmission-daemon (2.94-2+deb10u2) ...^M
                           │ Setting up libnatpmp1:armhf (20150609-7) ...^M
                           │ Setting up libminiupnpc17:armhf (2.1-1+b1) ...^M
                           │ Setting up libevent-2.1-6:armhf (2.1.8-stable-4) ...^M
                           │ Setting up transmission-common (2.94-2+deb10u2) ...^M
                           │ Setting up transmission-daemon (2.94-2+deb10u2) ...^M
                           │ chown: invalid group: ‘debian-transmission:debian-transmission’^M
                           │ dpkg: error processing package transmission-daemon (--configure):^M
                           │  installed transmission-daemon package post-installation script subprocess returned error exit status 1^M
                           │ Processing triggers for systemd (241-7~deb10u7+rpi1) ...^M
                           │ Processing triggers for libc-bin (2.28-10+rpi1) ...^M
                           │ Errors were encountered while processing:^M
                           │  transmission-daemon^M
                           │ E: Sub-process /usr/bin/dpkg returned an error code (1)

I don’t know what’s happening, I didn’t find anything on the issue.

Why do you post on GitHub as well as on the forum. Pls try to stick to a single platform as it doesn’t make sense to post your issue twice. This just increase our efforts. Thanks for understanding.

I have a issue with a clean install of Transmission on Rock64.

transmission-daemon.service - Transmission BitTorrent Daemon                                   │
│      Loaded: loaded (/lib/systemd/system/transmission-daemon.service; disabled; vendor preset:   │
│ enabled)                                                                                         │
│      Active: failed (Result: exit-code) since Fri 2022-11-11 21:16:46 CET; 13h ago               │
│     Process: 806 ExecStart=/usr/bin/transmission-daemon -f --log-error (code=exited,             │
│ status=1/FAILURE)                                                                                │
│    Main PID: 806 (code=exited, status=1/FAILURE)                                                 │
│         CPU: 48ms                                                                                │
│                                                                                                  │
│ Nov 11 21:16:46 Rock64 systemd[1]: Starting Transmission BitTorrent Daemon...                    │
│ Nov 11 21:16:46 Rock64 transmission-daemon[806]: [2022-11-11 21:16:46.206] JSON parse failed in  │
│ /var/lib/transmission-daemon/.config/transmission-daemon/settings.json at pos 1653:              │
│ ESCAPE_INVALID -- remaining text "C8/v~gnAF65836\c"                                              │
│ Nov 11 21:16:46 Rock64 transmission-daemon[806]: [2022-11-11 21:16:46.206] transmission-daemon   │
│ Error loading config file -- exiting. (daemon.c:825)                                             │
│ Nov 11 21:16:46 Rock64 systemd[1]: transmission-daemon.service: Main process exited,             │
│ code=exited, status=1/FAILURE                                                                    │
│ Nov 11 21:16:46 Rock64 systemd[1]: transmission-daemon.service: Failed with result 'exit-code'.  │
│ Nov 11 21:16:46 Rock64 systemd[1]: Failed to start Transmission BitTorrent Daemon.

There seems to be an issue on the configuration file.