To fix for package has dpkg rHR value
by BudiKusasi from LinuxQuestions.org on (#5EQBA)
How do we fix for package has rHRdpkg value
Code:$ dpkg -l | grep touchpad
rHR touchpad-indicator 2.2.11mx19+1 all An indicator for the touchpadR is telling it's in big trouble, if is going to be reinstalled
Code:$ sudo apt reinstall touchpad-indicator
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/383 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 345327 files and directories currently installed.)
Preparing to unpack .../touchpad-indicator_2.2.1-1mx19+1_all.deb ...
Unpacking touchpad-indicator (2.2.1-1mx19+1) over (2.2.1-1mx19+1) ...
/usr/sbin/deluser: The user `budi' is not a member of group `input'.
dpkg: warning: old touchpad-indicator package post-removal script subprocess returned error exit status 6
dpkg: trying script from the new package instead ...
/usr/sbin/deluser: The user `budi' is not a member of group `input'.
dpkg: error processing archive /var/cache/apt/archives/touchpad-indicator_2.2.1-1mx19+1_all.deb (--unpack):
new touchpad-indicator package post-removal script subprocess returned error exit status 6
/usr/sbin/deluser: The user `demo' is not a member of group `input'.
dpkg: error while cleaning up:
new touchpad-indicator package post-removal script subprocess returned error exit status 6keep on failing, this is because of being ordered by message in:
Code:$ sudo apt remove touchpad-indicator
[sudo] password for budi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-gconf-2.0 gir1.2-rsvg-2.0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
touchpad-indicator
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 1,383 kB disk space will be freed.
Do you want to continue? [Y/n]
dpkg: error processing package touchpad-indicator (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal...
Please help out.


Code:$ dpkg -l | grep touchpad
rHR touchpad-indicator 2.2.11mx19+1 all An indicator for the touchpadR is telling it's in big trouble, if is going to be reinstalled
Code:$ sudo apt reinstall touchpad-indicator
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/383 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 345327 files and directories currently installed.)
Preparing to unpack .../touchpad-indicator_2.2.1-1mx19+1_all.deb ...
Unpacking touchpad-indicator (2.2.1-1mx19+1) over (2.2.1-1mx19+1) ...
/usr/sbin/deluser: The user `budi' is not a member of group `input'.
dpkg: warning: old touchpad-indicator package post-removal script subprocess returned error exit status 6
dpkg: trying script from the new package instead ...
/usr/sbin/deluser: The user `budi' is not a member of group `input'.
dpkg: error processing archive /var/cache/apt/archives/touchpad-indicator_2.2.1-1mx19+1_all.deb (--unpack):
new touchpad-indicator package post-removal script subprocess returned error exit status 6
/usr/sbin/deluser: The user `demo' is not a member of group `input'.
dpkg: error while cleaning up:
new touchpad-indicator package post-removal script subprocess returned error exit status 6keep on failing, this is because of being ordered by message in:
Code:$ sudo apt remove touchpad-indicator
[sudo] password for budi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-gconf-2.0 gir1.2-rsvg-2.0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
touchpad-indicator
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 1,383 kB disk space will be freed.
Do you want to continue? [Y/n]
dpkg: error processing package touchpad-indicator (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal...
Please help out.