Feb 10, 2024 22:06
I hope I became more specific, now.
Feb 10, 2024 22:05
sudo mv /tmp/linux-image-headers 6.5.0.15 /var/lib/dpkg/info
Feb 10, 2024 22:02
sudo mv /var/lib/dpkg/info/linux-image-headers 6.5.0.15.* /tmp
Feb 10, 2024 21:58
sudo apt --fix-broken
Feb 10, 2024 21:54
sudo apt-get autoremove sudo apt-get --purge remove && sudo apt-get autoclean sudo apt-get -f install sudo apt-get update sudo apt-get upgrade sudo dpkg --configure -asudo dpkg --purge linux-image-6.5.0.15-generic sudo apt-get update sudo apt-get -f install
Feb 10, 2024 21:54
grep -a -B 25 -A 100 'containing string' /dev/sda1 > result.txt That was the last command in order to find even one txt file with no result.😥
Feb 10, 2024 21:54
I have three disks. One of the is Ubuntu file system. There is no chance of wrong disk. The point is where files has gone? I have no words. I ll try to recover the disk mounting as external to see if I find something examining at the same time for hardware failures.
Feb 10, 2024 21:54
But there was nothing iside snap folder dealing with my lost filles.
Feb 10, 2024 21:54
Maybe.The first weird thing I noticed after moving headers to tmp was, except for missing files on desktop as I said, that appeared the snap folder in my desktop down right of it.
Feb 10, 2024 21:54
Find commands didn't work. I have already tested.
Feb 10, 2024 21:54
All seems to me too much strange for me to lose my files. It is like it never existed. There are nowhere.
Feb 10, 2024 21:54
Finally I reset my user filles folders with the command I tell in my first post, but there was nothing inside folders. So I lost all of my files.
Feb 10, 2024 21:54
I can't remember but I ll find it. I remember that after doing this I had no notification for the particular linux header. That was I thing the moment I saw my Desktop with no files or shortcuts. Then reverse the command. I moved headers from tmp to original position. But the bad thing had already happened. No user files no mounting and all these I told in my history.
Feb 10, 2024 21:54
I replaced the ssd disk with new one ssd. I have clear installation Ubuntu 23.10, now I am going to try restore lost files with testdisk from old ssd disk. Will see.
Feb 10, 2024 21:54
I moved linux-image-headers 6.5.0.15 to tmp folder. Before that I was trying to purge it. I tried to repair dpkg with no result. Everything was started with notification dpkg: too many errors, stopping while I was trying to update via terminal. Terminal showed the faulty situation with the particular linux-image-headers.
Feb 10, 2024 21:54
Thank you very much for your assistance. I ll inform you about results.
Feb 10, 2024 21:54
The next step is that I ll replace my ssd disk with new one, clear install Ubuntu 23.10 and then I ll mount the previous disk on a docking station as external so that I try to restore via testdisk or photorec. I cannot do something else.
Feb 10, 2024 21:54
The only chance is the hardware failure. I cannot explain in other way. If we suppose the mistake factor I could restore files via testdisk or photorec. But not..No result. All files has been disappeared like never has been exist. Unless there are somewhere I cannot imagine or don't know. Have you seen something like that issue?
Feb 10, 2024 21:54
I have seen all these topics. The problem is that the lost files can't be located anywhere. Like never been exist. I cannot restore even a specific one txt file or pdf.