I'm unable to remove package.
[sudo] password for admin: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: webmin 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 173 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 143102 files and directories currently installed.) Removing webmin (1.900) ... dpkg: error processing package webmin (--remove): cannot remove '/usr/share/webmin/qmailadmin/stop.cgi': Bad message Errors were encountered while processing: webmin E: Sub-process /usr/bin/dpkg returned an error code (1)
When I looked in to the permissions, I see the following:
ls: cannot access '/usr/share/webmin/qmailadmin/stop.cgi': Bad message total 16 drwxr-xr-x 2 root root 4096 Jan 29 21:50 . drwxr-xr-x 111 root root 12288 Jan 29 20:54 .. -????????? ? ? ? ? ? stop.cgi
How to fix this.