-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Transmission: Reinstall can fail in cases #4244
Comments
Hi, many thanks for your message. Hmm DietPi is doing nothing else than installing |
I did try rebooting and ran setup again, same result. |
strange, usually
Found an older issue on reddit. But strange that it is working for me |
I mark this as closed. Feel free to reopen if required. |
Hi, There is no real error message shown on your screen print. Pls can you run following
Plus post the full output. If possible copy the output from SSH session and avoid doing screen prints |
When running the apt upgrade, here is what I get:
Apparently there is some rests of the transmission installation and the command doesn't succeed to remove them. Looks like an issue with groups/users. But it doesn't tell me which folders have a group issue. Also, I just read your message on the dietpi forum, I'm very sorry for having post on both (I usually do that when I've got an issue for having more answer, but I forgot how quick you were and that it was just adding you more work. sorry again). |
The
|
Thanks for your answer. Here is what I get:
|
In general there is no need to post the issue twice. This will not speed up things as the same people are on both platform. |
Hmm, do we remove that group? Let me see. We don't use it anymore, but it shouldn't be removed. Can you please paste:
|
I have no group called "debian-transmission". But I have a user named like that, do you want me to remove it and try again ? |
I'm very sorry, I won't do that again next time |
Done ! (it didn't return anything) |
Nonono don't remove that user 😄. The opposite: Create the group.
|
It's done. I try again ? With dietpi-software or just with apt install ? |
Just to be sure it's really solved, finish the install first:
|
The install completed without issues. |
Did you rerun |
I didn't. But now I did, and it works ! Transmission seems to work perfectly, Thank you ! I think the problem came from my trial at creating a new group for permissions. I have my download folder where both transmission, radarr and sonarr should all be able to read and write, while others can only read. I created a new group called downloadaccess including debian-transmission, radarr and sonarr users. |
Usually we use user group |
Exactly. I mean there is not issue to create a new group in general to further split permissions, but as in the apparent case, some package installs have issues when their system groups are removed. When the whole user is removed, it is re-created, but it is then often assumed, that when the user exists, that the group exists as well, and then |
Ah I see. The thing is that I would like to have some custom groups, one for videoaccess (that will contain jellyfin, sonarr, radarr, ombi but without write rights) and one for download access only for transmission, sonarr and radarr with write access |
another report on the forum https://dietpi.com/phpbb/viewtopic.php?t=9227 @MichaIng |
I guess it happens on reinstalls only as we removed the group once, and the postinst script checks for the user only, and then expects the group to exist. So this is something that we should add to update patches instead. I'll verify and open a PR then. |
Done with: 14998ff |
Creating a bug report/issue
Required Information
cat /boot/dietpi/.version
echo $G_DISTRO_NAME
orcat /etc/debian_version
uname -a
echo $G_HW_MODEL_NAME
or (EG: RPi3)Additional Information (if applicable)
echo $G_HW_UUID
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
Details:
Linux DietPi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
apt-get -qq --allow-change-held-packages install transmission-daemon
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
The text was updated successfully, but these errors were encountered: