When attempting to install docker, java, and curl and was receiving the entitled error for each of these.  Did manage to install curl with another method, but anything where sudo apt was used to install things gave this error.
Here is the what is coming back
$ sudo apt install default-jre   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ca-certificates-java default-jre-headless fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni openjdk-21-jre openjdk-21-jre-headless
Suggested packages:
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic
The following NEW packages will be installed:
  ca-certificates-java default-jre default-jre-headless fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni openjdk-21-jre openjdk-21-jre-headless
0 upgraded, 9 newly installed, 0 to remove and 14 not upgraded.
Need to get 0 B/48.9 MB of archives.
After this operation, 210 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package ca-certificates-java.
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'libgtk-3-common' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
 
     
    