There is a troublemaking empty file (md5sums of kernel 4.19.1) left on my ubuntu system, with has strange owner/group/date/attributes
How to fix or workaround this defect file?
$ uname -a
Linux olly-ryzen-pc1 4.20.10-042010-generic #201902150516 SMP Fri
Feb 15 10:19:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
stat
$ stat /var/lib/dpkg/info/linux-image-unsigned-4.19.1-041901-generic.md5sums
Datei: /var/lib/dpkg/info/linux-image-unsigned-4.19.1-041901-generic.md5sums
Größe: 0 Blöcke: 0 EA Block: 4096 Normale
leere Datei <= empty file
Gerät: 802h/2050d Inode: 27918873 Verknüpfungen: 1
Zugriff: (5625/-rwS-w-r-t) Uid: (477987903/ UNKNOWN) Gid: (3699747887/
UNKNOWN)
Zugriff : 2381-05-02 11:29:39.163881368 +0100
Modifiziert: 2293-06-01 00:54:46.455862499 +0100
Geändert : 2167-05-10 21:19:01.867729249 +0100
Geburt : -
lsattr
$ lsattr /var/lib/dpkg/info/linux-image-unsigned-4.19.1-041901-generic.md5sums
lsattr: Keine Daten verfügbar Beim Lesen der Flags von /var/lib/dpkg/info/linux-image-unsigned-4.19.1-041901-generic.md5sums
apt, dpkg
This file can't changed or deleted (remove/purge 4.19.1), but troubles apt-get to install applications.
--fix-broken or --reinstall dpkg exit also with 'not allowed' message.
Cannot be deleted. Die Control-Info-Datei »/var/lib/dpkg/info/linux-image-unsigned-4. 19.1-041901-generic.md5sums« kann nicht gelöscht werden: Vorgang nicht zulässig
chmod -st, chown root:root
No changes.
rm -f
No.
live USB
Also tried a boot of ubuntu (install 4.18) from USB-Stick to repair, but:
sudo e2fsck -f /dev/sba2 does not report an error
sudo badblocks -vsn /dev/sda2 reports 0 bad blocks
and rm, chmod, chown: same behaivior as above ..
Only to compare, here is a neighbor file:
$ stat /var/lib/dpkg/info/linux-sound-base.md5sums
Datei: /var/lib/dpkg/info/linux-sound-base.md5sums
Größe: 545 Blöcke: 8 EA Block: 4096 Normale Datei
Gerät: 802h/2050d Inode: 27269131 Verknüpfungen: 1
Zugriff: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Zugriff : 2019-02-03 16:56:08.943545720 +0100
Modifiziert: 2015-07-31 05:42:23.000000000 +0200
Geändert : 2018-05-22 01:20:37.178864616 +0200
Geburt : -
$ lsattr /var/lib/dpkg/info/linux-image-unsigned-4.19.1-041901-generic.list
--------------e---
/var/lib/dpkg/info/linux-image-unsigned-4.19.1-041901-generic.list
mvto rename the file?