How to remove half configured brltty package ?
I ran sudo apt-get update
and
sudo apt-get upgrade
(Didn't even realise brltty was installed) I don't use it but it failed to upgrade. How can I remove this half-configured package.
I've already tried:
sudo apt-get remove brltty
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libntdb1 linux-headers-
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
brltty
0 to upgrade, 0 to newly install, 1 to remove and 127 not to upgrade.
1 not fully installed or removed.
After this operation, 7,234 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 601580 files and directories currently installed.)
Removing brltty (5.3.1-1ubuntu1) ...
Failed to stop brltty.service: Unit brltty.service not loaded.
invoke-rc.d: initscript brltty, action "stop" failed.
dpkg: error processing package brltty (--remove):
subprocess installed pre-removal script returned error exit status 5
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120ubuntu6) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
brltty
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo dpkg -r brltty
(Reading database ... 601580 files and directories currently installed.)
Removing brltty (5.3.1-1ubuntu1) ...
Failed to stop brltty.service: Unit brltty.service not loaded.
invoke-rc.d: initscript brltty, action "stop" failed.
dpkg: error processing package brltty (--remove):
subprocess installed pre-removal script returned error exit status 5
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120ubuntu6) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
brltty
:~$ sudo dpkg -C
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
brltty Access software for a blind person using a braille displa
:~$ sudo dpkg --purge brltty
(Reading database ... 601580 files and directories currently installed.)
Removing brltty (5.3.1-1ubuntu1) ...
Failed to stop brltty.service: Unit brltty.service not loaded.
invoke-rc.d: initscript brltty, action "stop" failed.
dpkg: error processing package brltty (--purge):
subprocess installed pre-removal script returned error exit status 5
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120ubuntu6) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
brltty
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu brltty Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrew
- Solved:
- Last query:
- Last reply: