unrecoverable fatal error, aborting

Asked by Grant Loughran

HOW DO I RESOLVE THE ERROR? NOVICE

Error: unrecoverable fatal error, aborting:
 files list file for package 'libcom-err2:i386' is missing final newline

Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'

cat /var/log/nala/dpkg-debug.log
Apt Do Install

Raw = False: [b'Selecting previously unselected package locate.\r\n(Reading database ... \r']
Raw = False: [b'(Reading database ... 5%\r(Reading database ... 10%\r']
Raw = False: [b'(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r']
Raw = False: [b'(Reading database ... 50%\r']
Raw = False: [b'(Reading database ... 55%\r']
Raw = False: [b'(Reading database ... 60%\r']
Raw = False: [b'(Reading database ... 65%\r']
Raw = False: [b'(Reading database ... 70%\r']
Raw = False: [b'(Reading database ... 75%\r']
Raw = False: [b'(Reading database ... 80%\r']
Raw = False: [b'(Reading database ... 85%\r']
Raw = False: [b'(Reading database ... 90%\r']
Raw = False: [b'(Reading database ... 95%\r']
Raw = False: [b"dpkg: unrecoverable fatal error, aborting:\r\n files list file for package 'libcom-err2:i386' is missing final newline\r\n"]
line_fix = [b'Selecting previously unselected package locate.\r\n(Reading database ... \r']
Data_Split = [b'Selecting previously unselected package locate.', b'(Reading database ... \rdpkg: unrecoverable fatal error, aborting:', b" files list file for package 'libcom-err2:i386' is missing final newline", b'']

['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/nala/dpkg.py", line 465, in run_install\n os._exit(apt.do_install(self.write_stream.fileno())) # type: ignore[attr-defined]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'apt_pkg.Error: E:Sub-process /usr/bin/dpkg returned an error code (2)\n']

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

"Error: Installation has failed."
Looks like a corrupted download.
I would re-download and flash a new USB image.
https://ubuntu.com/download/desktop
https://etcher.balena.io/

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

What command did you enter or what action did you execute to receive this error message?

For diagnostic purposes please provide the output that you receive for the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo apt update
ls -l /var/lib/dpkg/info/libcom-err2*

Revision history for this message
Grant Loughran (bubb520) said :
#3

Much appreciate your quick response. Hoping I can provide you the info
you require to resolve

the problem.  As an aged novice I find it exciting to try to resolve
problems, but my limited

knowledge allows me to fix only the simplest of errors.

As per your request I copied the Terminal output. Let me know if you
need anything else.

-----------------------------------------

gl@Bubbas-Linux-HP:~$ uname -a
Linux Bubbas-Linux-HP 6.2.0-27-generic #28-Ubuntu SMP PREEMPT_DYNAMIC
Wed Jul 12 22:39:51 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
gl@Bubbas-Linux-HP:~$ lsb_release -crid
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 23.04
Release:    23.04
Codename:    lunar
gl@Bubbas-Linux-HP:~$ sudo apt update
[sudo] password for gl:
╭─ Updating Package List ──────────────────────────────────╮
│No Change: http://ca.archive.ubuntu.com/ubuntu lunar InRe…│
│No Change: http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│No Change: http://security.ubuntu.com/ubuntu lunar-securi…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-back…│
│No Change: http://archive.ubuntu.mirror.rafal.ca/ubuntu l…│
│Updated:   http://ubuntu.mirrors.ovh.net/ubuntu lunar InR…│
│Updated:   https://download.opensuse.org/repositories/hom…│
│Fetched 368 KB in 1s (368.0 KB/s)                         │
╰──────────────────────────────────────────────────────────╯
42 packages can be upgraded. Run 'nala list --upgradable' to see them.
gl@Bubbas-Linux-HP:~$ sudo apt upgrade
╭─ Updating Package List
──────────────────────────────────────────────────────────────────────
│No Change: http://archive.ubuntu.mirror.rafal.ca/ubuntu lunar
InRelease                       │
│No Change: http://ca.archive.ubuntu.com/ubuntu lunar
InRelease                                │
│No Change: http://ca.archive.ubuntu.com/ubuntu lunar-updates
InRelease                        │
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-backports
InRelease [100 KB]             │
│No Change: http://security.ubuntu.com/ubuntu lunar-security
InRelease                         │
│Updated:
https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive…│
│Updated:   http://ubuntu.mirrors.ovh.net/ubuntu lunar InRelease [267
KB]                      │
│Fetched 368 KB in 1s (368.0 KB/s) │
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
================================================================================================
  Installing
================================================================================================
   Package: Version:                                               Size:
   linux-headers-6.2.0-32
6.2.0-32.32                                          13.2 MB
   linux-headers-6.2.0-32-generic
6.2.0-32.32                                           3.7 MB
   linux-image-6.2.0-32-generic
6.2.0-32.32                                          13.6 MB
   linux-modules-6.2.0-32-generic
6.2.0-32.32                                          25.0 MB
   linux-modules-extra-6.2.0-32-
6.2.0-32.32                                          72.4 MB

================================================================================================
  Upgrading
================================================================================================
   Package:                        Old Version:         New
Version:                      Size:
   amd64-microcode                 3.20220411.1ubuntu3
3.20220411.1ubuntu3              144 KB
                                   .1 .2
   apt                             2.6.0
2.6.0ubuntu0.1                   1.4 MB
   apt-transport-https             2.6.0
2.6.0ubuntu0.1                     4 KB
   apt-utils                       2.6.0
2.6.0ubuntu0.1                   215 KB
   ghostscript                     10.0.0~dfsg1-0ubunt
10.0.0~dfsg1-0ubunt               49 KB
                                   u1.2 u1.3
   ghostscript-x                   10.0.0~dfsg1-0ubunt
10.0.0~dfsg1-0ubunt               20 KB
                                   u1.2 u1.3
   gir1.2-javascriptcoregtk-4.0    2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.               32 KB
                                   04.1 04.1
   gir1.2-javascriptcoregtk-4.1    2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.               31 KB
                                   04.1 04.1
   gir1.2-webkit2-4.0              2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.               96 KB
                                   04.1 04.1
   gir1.2-webkit2-4.1              2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.               96 KB
                                   04.1 04.1
   inetutils-telnet                2:2.4-2ubuntu1
2:2.4-2ubuntu1.1                 100 KB
   libapt-pkg6.0                   2.6.0
2.6.0ubuntu0.1                   926 KB
   libgs-common                    10.0.0~dfsg1-0ubunt
10.0.0~dfsg1-0ubunt              174 KB
                                   u1.2 u1.3
   libgs10                         10.0.0~dfsg1-0ubunt
10.0.0~dfsg1-0ubunt              3.8 MB
                                   u1.2 u1.3
   libgs10-common                  10.0.0~dfsg1-0ubunt
10.0.0~dfsg1-0ubunt              601 KB
                                   u1.2 u1.3
   libjavascriptcoregtk-4.0-18     2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.              7.5 MB
                                   04.1 04.1
   libjavascriptcoregtk-4.1-0      2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.              7.5 MB
                                   04.1 04.1
   libjavascriptcoregtk-6.0-1      2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.              7.5 MB
                                   04.1 04.1
   libmysqlclient21                8.0.33-0ubuntu0.23.
8.0.34-0ubuntu0.23.              1.3 MB
                                   04.4 04.1
   libtiff6                        4.5.0-5ubuntu1
4.5.0-5ubuntu1.1                 199 KB
   libtiff6:i386                   4.5.0-5ubuntu1
4.5.0-5ubuntu1.1                 208 KB
   libwebkit2gtk-4.0-37            2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.             21.2 MB
                                   04.1 04.1
   libwebkit2gtk-4.1-0             2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.             21.2 MB
                                   04.1 04.1
   libwebkitgtk-6.0-4              2.40.4-0ubuntu0.23.
2.40.5-0ubuntu0.23.             20.9 MB
                                   04.1 04.1
   linux-firmware                  20230323.gitbcdcfbc
20230323.gitbcdcfbc            281.0 MB
                                   f-0ubuntu1.5 f-0ubuntu1.6
   linux-generic                   6.2.0.27.27
6.2.0.32.32                        2 KB
   linux-generic-hwe-22.04         6.2.0.27.27
6.2.0.32.32                        2 KB
   linux-headers-generic           6.2.0.27.27
6.2.0.32.32                        8 KB
   linux-headers-generic-hwe-22.…  6.2.0.27.27
6.2.0.32.32                        8 KB
   linux-image-generic             6.2.0.27.27
6.2.0.32.32                        8 KB
   linux-image-generic-hwe-22.04   6.2.0.27.27
6.2.0.32.32                        8 KB
   linux-libc-dev                  6.2.0-27.28
6.2.0-32.32                      1.6 MB
   telnet                          0.17+2.4-2ubuntu1
0.17+2.4-2ubuntu1.1                4 KB
   thunderbird                     1:102.13.0+build1-0
1:102.15.0+build1-0             62.2 MB
                                   ubuntu0.23.04.1 ubuntu0.23.04.1
   thunderbird-gnome-support       1:102.13.0+build1-0
1:102.15.0+build1-0                9 KB
                                   ubuntu0.23.04.1 ubuntu0.23.04.1
   thunderbird-locale-en           1:102.13.0+build1-0
1:102.15.0+build1-0              952 KB
                                   ubuntu0.23.04.1 ubuntu0.23.04.1
   thunderbird-locale-en-us        1:102.13.0+build1-0
1:102.15.0+build1-0               17 KB
                                   ubuntu0.23.04.1 ubuntu0.23.04.1

================================================================================================
  Kept Back, Will Not Be Upgraded
================================================================================================
   Package:                        Old Version:         New
Version:                      Size:
   kodi-inputstream-rtmp           20.3.0-1~kinetic
20.3.0+ds1-1                     323 KB
   libldb2                         2:2.6.2+samba4.17.7
2:2.6.2+samba4.17.7              640 KB
                                   +dfsg-1ubuntu2 +dfsg-1ubuntu2.2
   libsmbclient                    2:4.17.7+dfsg-1ubun
2:4.17.7+dfsg-1ubun              248 KB
                                   tu2 tu2.2
   libwbclient0                    2:4.17.7+dfsg-1ubun
2:4.17.7+dfsg-1ubun              133 KB
                                   tu2 tu2.2
   samba-libs                      2:4.17.7+dfsg-1ubun
2:4.17.7+dfsg-1ubun             25.0 MB
                                   tu2 tu2.2

================================================================================================
  Summary
================================================================================================
  Install    5 Packages
  Upgrade   37 Packages
  Kept Back  5 Packages

  Disk space required  687.3 MB

Do you want to continue? [Y/n] y
╭─ Updating Packages
──────────────────────────────────────────────────────────────────────────╮
│dpkg: unrecoverable fatal error,
aborting:                                                    │
│files list file for package 'libcom-err2:i386' is missing final
newline                       │
│╭────────────────────────────────────────────────────────────────────────────────────────────╮│
││⠸ Running dpkg … ╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1.2% • -:--:-- • 1/85││
│╰────────────────────────────────────────────────────────────────────────────────────────────╯│
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
Error: Installation has failed.
If you'd like to file a bug report please include
'/var/log/nala/dpkg-debug.log'

Error: unrecoverable fatal error, aborting:
  files list file for package 'libcom-err2:i386' is missing final newline
gl@Bubbas-Linux-HP:~$ ls -l /var/lib/dpkg/info/libcom-err2*
-rw-r--r-- 1 root root 250 May  2 11:21
/var/lib/dpkg/info/libcom-err2:amd64.list
-rw-r--r-- 1 root root 223 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:amd64.md5sums
-rw-r--r-- 1 root root  37 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:amd64.shlibs
-rw-r--r-- 1 root root 641 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:amd64.symbols
-rw-r--r-- 1 root root  75 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:amd64.triggers
-rw-r--r-- 1 root 8296  78 Nov  6  1927
/var/lib/dpkg/info/libcom-err2:i386.list
-rw-r--r-- 1 root root 221 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:i386.md5sums
-rw-r--r-- 1 root root  37 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:i386.shlibs
-rw-r--r-- 1 root root 641 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:i386.symbols
-rw-r--r-- 1 root root  75 Feb 17  2023
/var/lib/dpkg/info/libcom-err2:i386.triggers
gl@Bubbas-Linux-HP:~$

On 2023-09-06 3:55 p.m., Manfred Hampl wrote:
> Your question #707855 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/707855
>
> Manfred Hampl requested more information:
> What command did you enter or what action did you execute to receive
> this error message?
>
> For diagnostic purposes please provide the output that you receive for
> the following commands (to be executed in a terminal window):
>
> uname -a
> lsb_release -crid
> sudo apt update
> ls -l /var/lib/dpkg/info/libcom-err2*
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Well done.

In addition: What is the output of the command

apt policy libcom-err2:i386

Revision history for this message
Grant Loughran (bubb520) said :
#5

On 2023-09-08 4:26 a.m., Manfred Hampl wrote:
> apt policy libcom-err2:i386

ANSWER..............

gl@Bubbas-Linux-HP:~$ apt policy libcom-err2:i386
Usage: nala [OPTIONS] COMMAND [ARGS]...
Try 'nala -h' for help.
╭─ Error ──────────────────────────────────────────────────╮
│ No such command 'policy'.                                │
╰──────────────────────────────────────────────────────────╯

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

I am very astonished about your last output. It seems that the package "nala" interferes with the normal operations of the apt command, which is an important part of the package management system.

What is the output of the commands

which apt
command -v apt
/usr/bin/apt policy libcom-err2:i386

Revision history for this message
Grant Loughran (bubb520) said :
#7

I could uninstall NALA apt if you think it is part of the problem.

I use it because I like the colored output etc.

Following is the output you requested....................................

gl@Bubbas-Linux-HP:~$ which apt
/usr/bin/apt

gl@Bubbas-Linux-HP:~$ command -v apt
apt

gl@Bubbas-Linux-HP:~$ /usr/bin/apt policy libcom-err2:i386
libcom-err2:i386:
   Installed: 1.47.0-1ubuntu1
   Candidate: 1.47.0-1ubuntu1
   Version table:
  *** 1.47.0-1ubuntu1 500
         500 http://ca.archive.ubuntu.com/ubuntu lunar/main i386 Packages
         500 http://archive.ubuntu.mirror.rafal.ca/ubuntu lunar/main
i386 Packages
         500 http://ubuntu.mirrors.ovh.net/ubuntu lunar/main i386 Packages
         100 /var/lib/dpkg/status

gl@Bubbas-Linux-HP:~$

On 2023-09-08 12:25 p.m., Manfred Hampl wrote:
> /usr/bin/apt policy libcom-err2:i386

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

I do not think that nala is part of the problem, it just hindered running one of the diagnostic commands that I needed for a suggestion for repair.

Open a terminal window and issue the following commands:

wget https://launchpad.net/ubuntu/+archive/primary/+files/libcom-err2_1.47.0-1ubuntu1_i386.deb
sudo dpkg -i libcom-err2_1.47.0-1ubuntu1_i386.deb
sudo /usr/bin/apt upgrade

and report the results

Revision history for this message
Grant Loughran (bubb520) said :
#9

AS PER YOUR REQUEST................

gl@Bubbas-Linux-HP:~$ wget
https://launchpad.net/ubuntu/+archive/primary/+files/libcom-err2_1.47.0-1ubuntu1_i386.deb

--2023-09-08 14:08:30--
https://launchpad.net/ubuntu/+archive/primary/+files/libcom-err2_1.47.0-1ubuntu1_i386.deb
Resolving launchpad.net (launchpad.net)... 2620:2d:4000:1001::8003,
2620:2d:4000:1001::8004, 185.125.189.222, ...
Connecting to launchpad.net
(launchpad.net)|2620:2d:4000:1001::8003|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location:
https://launchpadlibrarian.net/651988647/libcom-err2_1.47.0-1ubuntu1_i386.deb
[following]
--2023-09-08 14:08:31--
https://launchpadlibrarian.net/651988647/libcom-err2_1.47.0-1ubuntu1_i386.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)...
2620:2d:4000:1001::8008, 2620:2d:4000:1001::8007, 185.125.189.229, ...
Connecting to launchpadlibrarian.net
(launchpadlibrarian.net)|2620:2d:4000:1001::8008|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14962 (15K) [application/x-debian-package]
Saving to: ‘libcom-err2_1.47.0-1ubuntu1_i386.deb’

libcom-err2_1.4 100%[=====>]  14.61K  --.-KB/s    in 0s

2023-09-08 14:08:31 (39.9 MB/s) - ‘libcom-err2_1.47.0-1ubuntu1_i386.deb’
saved [14962/14962]

gl@Bubbas-Linux-HP:~$ sudo dpkg -i libcom-err2_1.47.0-1ubuntu1_i386.deb
[sudo] password for gl:

dpkg: unrecoverable fatal error, aborting:
  files list file for package 'libcom-err2:i386' is missing final newline
gl@Bubbas-Linux-HP:~$ sudo /usr/bin/apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
   linux-headers-6.2.0-32 linux-headers-6.2.0-32-generic
   linux-image-6.2.0-32-generic
   linux-modules-6.2.0-32-generic
   linux-modules-extra-6.2.0-32-generic
The following packages have been kept back:
   kodi-inputstream-rtmp libldb2 libsmbclient libwbclient0
   samba-libs
The following packages will be upgraded:
   amd64-microcode apt apt-transport-https apt-utils
   ghostscript ghostscript-x gir1.2-javascriptcoregtk-4.0
   gir1.2-javascriptcoregtk-4.1 gir1.2-webkit2-4.0
   gir1.2-webkit2-4.1 inetutils-telnet libapt-pkg6.0
   libgs-common libgs10 libgs10-common
   libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0
   libjavascriptcoregtk-6.0-1 libmysqlclient21 libtiff6
   libtiff6:i386 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0
   libwebkitgtk-6.0-4 linux-firmware linux-generic
   linux-generic-hwe-22.04 linux-headers-generic
   linux-headers-generic-hwe-22.04 linux-image-generic
   linux-image-generic-hwe-22.04 linux-libc-dev telnet
   thunderbird thunderbird-gnome-support
   thunderbird-locale-en thunderbird-locale-en-us
37 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
32 standard LTS security updates
Need to get 0 B/569 MB of archives.
After this operation, 687 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
dpkg: unrecoverable fatal error, aborting:
  files list file for package 'libcom-err2:i386' is missing fin
al newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

gl@Bubbas-Linux-HP:~$

On 2023-09-08 1:30 p.m., Manfred Hampl wrote:
> sudo /usr/bin/apt upgrade

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Try

sudo dpkg -i libcom-err2_1.47.0-1ubuntu1_i386.deb --force-all

and report the results

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

If that also fails, try

echo -e '\n' | sudo tee -a /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Grant Loughran (bubb520) said :
#12

Results...........................

gl@Bubbas-Linux-HP:~$ sudo dpkg -i libcom-err2_1.47.0-1ubuntu1_i386.deb
--force-all
[sudo] password for gl:

dpkg: error: cannot access archive '--force-all': No such file or directory

gl@Bubbas-Linux-HP:~$

On 2023-09-08 3:25 p.m., Manfred Hampl wrote:
> sudo dpkg -i libcom-err2_1.47.0-1ubuntu1_i386.deb --force-all

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

it seems the sequence in the command in comment #10 was wrong,

sudo dpkg --force-all -i libcom-err2_1.47.0-1ubuntu1_i386.deb

Revision history for this message
Grant Loughran (bubb520) said :
#14

Results............... no output for this request

gl@Bubbas-Linux-HP:~$ echo -e '\n' | sudo tee -a
/var/lib/dpkg/info/libcom-err2:i386.list
[sudo] password for gl:

gl@Bubbas-Linux-HP:~$

On 2023-09-08 3:30 p.m., Manfred Hampl wrote:
> echo -e '\n' | sudo tee -a /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

now re-run

sudo apt upgrade

Revision history for this message
Grant Loughran (bubb520) said :
#16

Results to resequenced input .............................

gl@Bubbas-Linux-HP:~$ sudo dpkg --force-all -i
libcom-err2_1.47.0-1ubuntu1_i386.deb
[sudo] password for gl:

dpkg: unrecoverable fatal error, aborting:
  files list file for package 'libcom-err2:i386' contains empty filename

gl@Bubbas-Linux-HP:~$

On 2023-09-08 3:40 p.m., Manfred Hampl wrote:
> sudo dpkg --force-all -i libcom-err2_1.47.0-1ubuntu1_i386.deb

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

ok, if soft tools do not work, let's continue with heavier weapons:

sudo rm /var/lib/dpkg/info/libcom-err2:i386.list
sudo touch /var/lib/dpkg/info/libcom-err2:i386.list
sudo dpkg --force-all -i libcom-err2_1.47.0-1ubuntu1_i386.deb

What do you get for these commands?

Revision history for this message
Grant Loughran (bubb520) said :
#18

Results........................

gl@Bubbas-Linux-HP:~$ sudo apt upgrade
[sudo] password for gl:
╭─ Updating Package List ──────────────────────────────────╮
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│Updated:   http://ubuntu.mirrors.ovh.net/ubuntu lunar InR…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│Updated:   https://download.opensuse.org/repositories/hom…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-upda…│
│Updated:   http://ca.archive.ubuntu.com/ubuntu lunar-back…│
│Updated:   http://security.ubuntu.com/ubuntu lunar-securi…│
│Updated:   http://security.ubuntu.com/ubuntu lunar-securi…│
│Fetched 2.8 MB in 1s (2.8 MB/s)                           │
╰──────────────────────────────────────────────────────────╯
============================================================
  Installing
============================================================
   Package:            Version:                       Size:
   linux-headers-6.2…  6.2.0-32.32                  13.2 MB
   linux-headers-6.2…  6.2.0-32.32                   3.7 MB
   linux-image-6.2.0…  6.2.0-32.32                  13.6 MB
   linux-modules-6.2…  6.2.0-32.32                  25.0 MB
   linux-modules-ext…  6.2.0-32.32                  72.4 MB

============================================================
  Upgrading
============================================================
                       Old          New
   Package:            Version:     Version:          Size:
   amd64-microcode     3.20220411.  3.20220411.      144 KB
                       1ubuntu3.1   1ubuntu3.2
   apt                 2.6.0        2.6.0ubuntu      1.4 MB
                                    0.1
   apt-transport-htt…  2.6.0        2.6.0ubuntu        4 KB
                                    0.1
   apt-utils           2.6.0        2.6.0ubuntu      215 KB
                                    0.1
   ghostscript         10.0.0~dfsg  10.0.0~dfsg       49 KB
                       1-0ubuntu1.  1-0ubuntu1.
                       2            3
   ghostscript-x       10.0.0~dfsg  10.0.0~dfsg       20 KB
                       1-0ubuntu1.  1-0ubuntu1.
                       2            3
   gir1.2-javascript…  2.40.4-0ubu  2.40.5-0ubu       32 KB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   gir1.2-javascript…  2.40.4-0ubu  2.40.5-0ubu       31 KB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   gir1.2-webkit2-4.0  2.40.4-0ubu  2.40.5-0ubu       96 KB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   gir1.2-webkit2-4.1  2.40.4-0ubu  2.40.5-0ubu       96 KB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   inetutils-telnet    2:2.4-2ubun  2:2.4-2ubun      100 KB
                       tu1          tu1.1
   libapt-pkg6.0       2.6.0        2.6.0ubuntu      926 KB
                                    0.1
   libgs-common        10.0.0~dfsg  10.0.0~dfsg      174 KB
                       1-0ubuntu1.  1-0ubuntu1.
                       2            3
   libgs10             10.0.0~dfsg  10.0.0~dfsg      3.8 MB
                       1-0ubuntu1.  1-0ubuntu1.
                       2            3
   libgs10-common      10.0.0~dfsg  10.0.0~dfsg      601 KB
                       1-0ubuntu1.  1-0ubuntu1.
                       2            3
   libjavascriptcore…  2.40.4-0ubu  2.40.5-0ubu      7.5 MB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   libjavascriptcore…  2.40.4-0ubu  2.40.5-0ubu      7.5 MB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   libjavascriptcore…  2.40.4-0ubu  2.40.5-0ubu      7.5 MB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   libmysqlclient21    8.0.33-0ubu  8.0.34-0ubu      1.3 MB
                       ntu0.23.04.  ntu0.23.04.
                       4            1
   libtiff6            4.5.0-5ubun  4.5.0-5ubun      199 KB
                       tu1          tu1.1
   libtiff6:i386       4.5.0-5ubun  4.5.0-5ubun      208 KB
                       tu1          tu1.1
   libwebkit2gtk-4.0…  2.40.4-0ubu  2.40.5-0ubu     21.2 MB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   libwebkit2gtk-4.1…  2.40.4-0ubu  2.40.5-0ubu     21.2 MB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   libwebkitgtk-6.0-4  2.40.4-0ubu  2.40.5-0ubu     20.9 MB
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   linux-firmware      20230323.gi  20230323.gi    281.0 MB
                       tbcdcfbcf-0  tbcdcfbcf-0
                       ubuntu1.5    ubuntu1.6
   linux-generic       6.2.0.27.27  6.2.0.32.32        2 KB
   linux-generic-hwe…  6.2.0.27.27  6.2.0.32.32        2 KB
   linux-headers-gen…  6.2.0.27.27  6.2.0.32.32        8 KB
   linux-headers-gen…  6.2.0.27.27  6.2.0.32.32        8 KB
   linux-image-gener…  6.2.0.27.27  6.2.0.32.32        8 KB
   linux-image-gener…  6.2.0.27.27  6.2.0.32.32        8 KB
   linux-libc-dev      6.2.0-27.28  6.2.0-32.32      1.6 MB
   telnet              0.17+2.4-2u  0.17+2.4-2u        4 KB
                       buntu1       buntu1.1
   thunderbird         1:102.13.0+  1:102.15.0+     62.2 MB
                       build1-0ubu  build1-0ubu
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   thunderbird-gnome…  1:102.13.0+  1:102.15.0+        9 KB
                       build1-0ubu  build1-0ubu
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   thunderbird-local…  1:102.13.0+  1:102.15.0+      952 KB
                       build1-0ubu  build1-0ubu
                       ntu0.23.04.  ntu0.23.04.
                       1            1
   thunderbird-local…  1:102.13.0+  1:102.15.0+       17 KB
                       build1-0ubu  build1-0ubu
                       ntu0.23.04.  ntu0.23.04.
                       1            1

============================================================
  Kept Back, Will Not Be Upgraded
============================================================
                       Old          New
   Package:            Version:     Version:          Size:
   kodi-inputstream-…  20.3.0-1~ki  20.3.0+ds1-      323 KB
                       netic        1
   libldb2             2:2.6.2+sam  2:2.6.2+sam      640 KB
                       ba4.17.7+df  ba4.17.7+df
                       sg-1ubuntu2  sg-1ubuntu2
                                    .2
   libsmbclient        2:4.17.7+df  2:4.17.7+df      248 KB
                       sg-1ubuntu2  sg-1ubuntu2
                                    .2
   libwbclient0        2:4.17.7+df  2:4.17.7+df      133 KB
                       sg-1ubuntu2  sg-1ubuntu2
                                    .2
   samba-libs          2:4.17.7+df  2:4.17.7+df     25.0 MB
                       sg-1ubuntu2  sg-1ubuntu2
                                    .2

============================================================
  Summary
============================================================
  Install    5 Packages
  Upgrade   37 Packages
  Kept Back  5 Packages

  Disk space required  687.3 MB

Do you want to continue? [Y/n] y
╭─ Updating Packages ──────────────────────────────────────╮
│dpkg: unrecoverable fatal error, aborting:                │
│files list file for package 'libcom-err2:i386' contains e…│
│╭────────────────────────────────────────────────────────╮│
││⠴ Running dpkg … ━━━━━━━━━━━━━━━━━ 1.2% • -:--:-- • 1/85││
│╰────────────────────────────────────────────────────────╯│
╰──────────────────────────────────────────────────────────╯
Error: Installation has failed.
If you'd like to file a bug report please include
'/var/log/nala/dpkg-debug.log'

Error: unrecoverable fatal error, aborting:
  files list file for package 'libcom-err2:i386' contains empty filename

gl@Bubbas-Linux-HP:~$

On 2023-09-08 3:45 p.m., Manfred Hampl wrote:
> Your question #707855 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/707855
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> now re-run
>
> sudo apt upgrade
>

Revision history for this message
Grant Loughran (bubb520) said :
#19

Results................................( "touch" command = no output)

gl@Bubbas-Linux-HP:~$ sudo rm /var/lib/dpkg/info/libcom-err2:i386.list
[sudo] password for gl:

rm: cannot remove '/var/lib/dpkg/info/libcom-err2:i386.list': Operation
not permitted

gl@Bubbas-Linux-HP:~$ sudo touch /var/lib/dpkg/info/libcom-err2:i386.list

gl@Bubbas-Linux-HP:~$ sudo dpkg --force-all -i
libcom-err2_1.47.0-1ubuntu1_i386.deb

dpkg: unrecoverable fatal error, aborting:
  files list file for package 'libcom-err2:i386' contains empty filename

gl@Bubbas-Linux-HP:~$

On 2023-09-08 3:55 p.m., Manfred Hampl wrote:
> sudo dpkg --force-all -i libcom-err2_1.47.0-1ubuntu1_i386.deb

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

"rm: cannot remove '/var/lib/dpkg/info/libcom-err2:i386.list': Operation not permitted"

That's unexpected.

What is the output of the commands

sudo attrib /var/lib/dpkg/info/libcom-err2:i386.list
echo "" | sudo tee /var/lib/dpkg/info/libcom-err2:i386.list
ls -l /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Grant Loughran (bubb520) said :
#21

Results.............................

gl@Bubbas-Linux-HP:~$ sudo attrib /var/lib/dpkg/info/libcom-err2:i386.list
[sudo] password for gl:

sudo: attrib: command not found

gl@Bubbas-Linux-HP:~$ echo "" | sudo tee
/var/lib/dpkg/info/libcom-err2:i386.list
tee: '/var/lib/dpkg/info/libcom-err2:i386.list': Operation not permitted

gl@Bubbas-Linux-HP:~$ ls -l /var/lib/dpkg/info/libcom-err2:i386.list

-rw-r--r-- 1 root 8296 84 Sep  8 16:06
/var/lib/dpkg/info/libcom-err2:i386.list

gl@Bubbas-Linux-HP:~$

On 2023-09-08 4:20 p.m., Manfred Hampl wrote:
> ls -l /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Manfred Hampl (m-hampl) said :
#22

Sorry, my fault, what is the output of

sudo lsattr /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Grant Loughran (bubb520) said :
#23

I shut computer down for the evening..... Up for the day now.

Results.....

gl@Bubbas-Linux-HP:~$ sudo lsattr /var/lib/dpkg/info/libcom-err2:i386.list
[sudo] password for gl:

-u---a-Ac---tTe------m /var/lib/dpkg/info/libcom-err2:i386.list

gl@Bubbas-Linux-HP:~$

On 2023-09-08 5:50 p.m., Manfred Hampl wrote:
> sudo lsattr /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Manfred Hampl (m-hampl) said :
#24

Execute the following commands and report the results:

sudo chattr -a /var/lib/dpkg/info/libcom-err2:i386.list
sudo rm -v /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Grant Loughran (bubb520) said :
#25

Response.............

gl@Bubbas-Linux-HP:~$ sudo chattr -a
/var/lib/dpkg/info/libcom-err2:i386.list
[sudo] password for gl:

chattr: Operation not supported while setting flags on
/var/lib/dpkg/info/libcom-err2:i386.list

gl@Bubbas-Linux-HP:~$ sudo rm -v /var/lib/dpkg/info/libcom-err2:i386.list

rm: cannot remove '/var/lib/dpkg/info/libcom-err2:i386.list': Operation
not permitted

gl@Bubbas-Linux-HP:~$

On 2023-09-09 9:50 a.m., Manfred Hampl wrote:
> sudo rm -v /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Manfred Hampl (m-hampl) said :
#26

Strange. There is a file, that cannot be deleted. Apparently there are some special attributes set on it, but the first attempt to modify these attributes failed, too. I still think that modifying or deleting that file is key to solving your problem with updating.

What output do you receive for the commands

cat /var/lib/dpkg/info/libcom-err2:i386.list
sudo chattr -aum /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Grant Loughran (bubb520) said :
#27

RESPONSE............................

gl@Bubbas-Linux-HP:~$

cat /var/lib/dpkg/info/libcom-err2:i386.list
/.
/lib
/lib/i386-linux-gnu
/lib/i386-linux-gnu/libcom_err.so.2.1
/usr
/usr/sh

gl@Bubbas-Linux-HP:~$ sudo chattr -aum
/var/lib/dpkg/info/libcom-err2:i386.list
[sudo] password for gl:

chattr: Operation not supported while setting flags on
/var/lib/dpkg/info/libcom-err2:i386.list

gl@Bubbas-Linux-HP:~$

On 2023-09-09 12:10 p.m., Manfred Hampl wrote:
> sudo chattr -aum /var/lib/dpkg/info/libcom-err2:i386.list

Revision history for this message
Manfred Hampl (m-hampl) said :
#28

Ok. Let's try something.

Issue the following commands:

cd ~
echo "/." > libcom-err2:i386.list
sudo cp -v libcom-err2:i386.list /var/lib/dpkg/info/

and report the results.

Revision history for this message
Grant Loughran (bubb520) said :
#29

RESPONSE.................

gl@Bubbas-Linux-HP:~$ cd ~
gl@Bubbas-Linux-HP:~$ echo "/." > libcom-err2:i386.list
gl@Bubbas-Linux-HP:~$ sudo cp -v libcom-err2:i386.list /var/lib/dpkg/info/
'libcom-err2:i386.list' -> '/var/lib/dpkg/info/libcom-err2:i386.list'
cp: cannot create regular file
'/var/lib/dpkg/info/libcom-err2:i386.list': Operation not permitted

gl@Bubbas-Linux-HP:~$

On 2023-09-09 12:55 p.m., Manfred Hampl wrote:
> sudo cp -v libcom-err2:i386.list/var/lib/dpkg/info/

Revision history for this message
Manfred Hampl (m-hampl) said :
#30

Do you get the same error also for the command

sudo mv /var/lib/dpkg/info/libcom-err2:i386.list ~

Revision history for this message
Grant Loughran (bubb520) said :
#31

RESONSE..............

gl@Bubbas-Linux-HP:~$ sudo mv /var/lib/dpkg/info/libcom-err2:i386.list ~
[sudo] password for gl:

mv: cannot move '/var/lib/dpkg/info/libcom-err2:i386.list' to
'/home/gl/libcom-err2:i386.list': Operation not permitted

gl@Bubbas-Linux-HP:~$

On 2023-09-09 1:35 p.m., Manfred Hampl wrote:
> sudo mv /var/lib/dpkg/info/libcom-err2:i386.list ~

Revision history for this message
Manfred Hampl (m-hampl) said :
#32

I am sorry, but I am running out of ideas.
I have no idea, why that offending file cannot be deleted or modified.

Just a few further "guesses in the dark":

What output do you get for the commands

mount
sudo rm /var/lib/dpkg/info/libcom-err2:i386.list
sudo dmesg | tail

Revision history for this message
Grant Loughran (bubb520) said :
#33

RESPONSE.............

gl@Bubbas-Linux-HP:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=2918704k,nr_inodes=729676,mode=755,inode64)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=592756k,mode=755,inode64)
/dev/mapper/vgubuntu-root on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs
(rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=20538)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs
(rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs
(rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
/var/lib/snapd/snaps/bare_5.snap on /snap/bare/5 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core_15511.snap on /snap/core/15511 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core_15925.snap on /snap/core/15925 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core18_2785.snap on /snap/core18/2785 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core18_2790.snap on /snap/core18/2790 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_1974.snap on /snap/core20/1974 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_2015.snap on /snap/core20/2015 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core22_858.snap on /snap/core22/858 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/epiphany_154.snap on /snap/epiphany/154 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core22_864.snap on /snap/core22/864 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/epiphany_150.snap on /snap/epiphany/150 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-28-1804_194.snap on
/snap/gnome-3-28-1804/194 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-28-1804_198.snap on
/snap/gnome-3-28-1804/198 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-38-2004_140.snap on
/snap/gnome-3-38-2004/140 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-38-2004_143.snap on
/snap/gnome-3-38-2004/143 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-42-2204_120.snap on /snap/gnome-42-2204/120
type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-42-2204_126.snap on /snap/gnome-42-2204/126
type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-sudoku_90.snap on /snap/gnome-sudoku/90 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-sudoku_96.snap on /snap/gnome-sudoku/96 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gtk-common-themes_1535.snap on
/snap/gtk-common-themes/1535 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/mesa-core22_208.snap on /snap/mesa-core22/208 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/notes_4.snap on /snap/notes/4 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/notes_6.snap on /snap/notes/6 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/purevpn_12.snap on /snap/purevpn/12 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/qt515-core20_27.snap on /snap/qt515-core20/27 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/qt515-core20_28.snap on /snap/qt515-core20/28 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/qt5-core20_15.snap on /snap/qt5-core20/15 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snap-store_638.snap on /snap/snap-store/638 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snap-store_959.snap on /snap/snap-store/959 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_19993.snap on /snap/snapd/19993 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_20092.snap on /snap/snapd/20092 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd-desktop-integration_57.snap on
/snap/snapd-desktop-integration/57 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd-desktop-integration_83.snap on
/snap/snapd-desktop-integration/83 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/speed-test_31.snap on /snap/speed-test/31 type
squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/sublime-text_118.snap on /snap/sublime-text/118
type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/sublime-text_122.snap on /snap/sublime-text/122
type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/sweethome3d-homedesign_15.snap on
/snap/sweethome3d-homedesign/15 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/teams-for-linux_436.snap on
/snap/teams-for-linux/436 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/utube_55.snap on /snap/utube/55 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/teams-for-linux_441.snap on
/snap/teams-for-linux/441 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/whatsie_145.snap on /snap/whatsie/145 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/whatsie_146.snap on /snap/whatsie/146 type squashfs
(ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
ramfs on /run/credentials/systemd-sysctl.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/nvme0n1p1 on /boot/efi type vfat
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/snapd/ns type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=592756k,mode=755,inode64)
nsfs on /run/snapd/ns/purevpn.mnt type nsfs (rw)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=592752k,nr_inodes=148188,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
nsfs on /run/snapd/ns/snapd-desktop-integration.mnt type nsfs (rw)
/dev/sda1 on /media/gl/BAKUP_UBUNT type vfat
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
nsfs on /run/snapd/ns/snap-store.mnt type nsfs (rw)
gl@Bubbas-Linux-HP:~$
sudo rm /var/lib/dpkg/info/libcom-err2:i386.list
rm: cannot remove '/var/lib/dpkg/info/libcom-err2:i386.list': Operation
not permitted
gl@Bubbas-Linux-HP:~$ sudo dmesg | tail
[82378.413336] wlo1: authenticated
[82378.421370] wlo1: associate with 5c:a6:e6:e5:75:63 (try 1/3)
[82378.425319] wlo1: RX AssocResp from 5c:a6:e6:e5:75:63 (capab=0x1911
status=0 aid=4)
[82378.425759] wlo1: associated
[82378.466771] wlo1: Limiting TX power to 35 (35 - 0) dBm as advertised
by 5c:a6:e6:e5:75:63
[82378.573616] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[82456.093535] nouveau 0000:01:00.0: DRM: Dropped ACPI reprobe event due
to RPM error: -22
[82855.164371] pcieport 0000:00:01.1: Data Link Layer Link Active not
set in 1000 msec
[85008.053524] pcieport 0000:00:01.1: Data Link Layer Link Active not
set in 1000 msec
[94250.266733] pcieport 0000:00:01.1: Data Link Layer Link Active not
set in 1000 msec
gl@Bubbas-Linux-HP:~$

On 2023-09-09 1:50 p.m., Manfred Hampl wrote:
> sudo dmesg | tail

Revision history for this message
Manfred Hampl (m-hampl) said :
#34

This doesn't give a hint to the root cause either.

I am sorry, but I do not know what to do next. I am at my wits' end.

Maybe somebody else has additional ideas.

Revision history for this message
Grant Loughran (bubb520) said :
#35

Thank you for your persistence in trying to resolve this issue.

It is much appreciated.

If this was Windows, there are many options to delete files.

After thinking further I have a couple of options I will try.

I use the "PIKA BACKUP" app. My last Backup was Aug 9th, so I will use
the restore option and keep my fingers crossed.

The last option, I hope you can advise me on.

Reinstall the OS but hopefully maintain the data ( installed apps etc.)

Should I reinstall Ubuntu 23.04 (current) or 22.04.3 LTS

Thks again so much

Cheers

GL

On 2023-09-09 2:55 p.m., Manfred Hampl wrote:
> Your question #707855 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/707855
>
> Manfred Hampl posted a new comment:
> This doesn't give a hint to the root cause either.
>
> I am sorry, but I do not know what to do next. I am at my wits' end.
>
> Maybe somebody else has additional ideas.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#36

If you have a recent backup, then trying to restore it, is a good idea.

Reinstalling the operating system, but keeping the installed applications as they are, is not possible.

The usual approach is creating backup copies of all data that should be kept to an external medium (e.g USB disk or USB tick), then reinstalling the operating system and the applications, and finally restoring the data.

If you include your personal settings in the backup and restore process, then the application settings should be similar to what they were.

Whether you should install Ubuntu 22.04 or 23.04 is somewhat a personal decision.

22.04 is quite solid, and supported until the year 2027.
23.04 has some new features (e.g. needed for very new hardware), but support ends in January 2024; it will be required to do an upgrade to Ubuntu 23.10 within the coming months, and then an upgrade to Ubuntu 24.04 (when 23.10 and 24.04 will be published).

Can you help with this problem?

Provide an answer of your own, or ask Grant Loughran for more information if necessary.

To post a message you must log in.