Removing transmission-daemon breaks dpkg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
transmission (Ubuntu) |
Fix Released
|
High
|
Chris Coulson |
Bug Description
Binary package hint: transmission
kosh@isis:~$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
kosh@isis:~$ dpkg -l transmission-daemon | fgrep trans
un transmission-daemon <none> (no description available)
I installed transmission-
(Reading database ... 131566 files and directories currently installed.)
Removing transmission-daemon ...
* Stopping bittorrent daemon transmission-daemon [ OK ]
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
Purging configuration files for transmission-daemon ...
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
Processing triggers for man-db ...
dpkg: unrecoverable fatal error, aborting:
syntax error: unknown user 'debian-
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
Press return to continue.
Changed in transmission (Ubuntu): | |
status: | Confirmed → Fix Committed |
I’m sorry, I misinterpreted that output. transmission-daemon is removed, but it leaves behind statoverride configuration, breaking dpkg (output of subsequent package installation attempt):
dpkg: unrecoverable fatal error, aborting: transmission' in statoverride file
syntax error: unknown user 'debian-
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
Press return to continue.
Removing all lines from /var/lib/ dpkg/statoverri de that mention the user debian-transmission fixes the issue:
debian-transmission debian-transmission 4775 /var/lib/ transmission- daemon/ downloads transmission- daemon/ info on-daemon/ settings. json
debian-transmission debian-transmission 4750 /var/lib/
debian-transmission debian-transmission 4750 /etc/transmissi