I deleted a lot of files, is there any way to restore?

|
Ronard 2022-09-06 00:18:14
Sed then
jonathn 2022-09-06 00:29:52
shabang_68 2022-09-05 23:09:08
I have adwaita now. Same problem

Did you bother running pacman -Qkk as I suggested previously?

shabang_68 2022-09-06 00:36:08
jonathn 2022-09-06 00:29:52
Did you bother running pacman -Qkk as I suggested previously?

Yup. Didn’t do anything

shabang_68 2022-09-06 00:37:51
Ronard 2022-09-06 00:18:14
Sed then

sed?

jonathn 2022-09-06 00:42:57
shabang_68 2022-09-06 00:36:08
Yup. Didn’t do anything

What do you mean, didn’t do anything? If there was no output then there’s something fundamentally broken.

shabang_68 2022-09-06 00:44:02
jonathn 2022-09-06 00:42:57
What do you mean, didn’t do anything? If there was no output then there’s something fundamentally broken.

It had output zero files altered. problem still exists. “DIDN’T DO ANYTHING”

Ronard 2022-09-06 00:44:48
Where did u installed gnome?
Ronard 2022-09-06 00:44:58
Aur/ pacman repo?
shabang_68 2022-09-06 00:45:26
Ronard 2022-09-06 00:44:58
Aur/ pacman repo?

Official repo

jonathn 2022-09-06 00:46:08
shabang_68 2022-09-06 00:44:02
It had output zero files altered. problem still exists. “DIDN’T DO ANYTHING”

Which means there’s something fundamentally broken. There should be multiple altered files (shadow, passwd, group, …).

$ sudo pacman -Qkk filesystem backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)

The command was not as “fix” it was a “diagnosis”.

shabang_68 2022-09-06 00:48:03
jonathn 2022-09-06 00:46:08
Which means there’s something fundamentally broken. There should be multiple altered files (shadow, passwd, group, …).

$ sudo pacman -Qkk filesystem backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)

The command was not as “fix” it was a “diagnosis”.

backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/gshadow (MD5 checksum mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (Size mismatch)
backup file: filesystem: /etc/nsswitch.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/nsswitch.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (MD5 checksum mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
filesystem: 116 total files, 0 altered files

shabang_68 2022-09-06 00:50:01
error: package ‘/etc/os-release’ was not found
warning: ‘/etc/os-release’ is a file, you might want to use -p/–file.
jonathn 2022-09-06 00:50:05
shabang_68 2022-09-06 00:48:03
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/gshadow (MD5 checksum mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (Size mismatch)
backup file: filesystem: /etc/nsswitch.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/nsswitch.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (MD5 checksum mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
filesystem: 116 total files, 0 altered files

What’s the output of

pacman -Qi gnome-control-center filesystem
cat /etc/os-release

?

shabang_68 2022-09-06 00:50:14
jonathn 2022-09-06 00:50:05
What’s the output of

pacman -Qi gnome-control-center filesystem
cat /etc/os-release

?

error: package ‘/etc/os-release’ was not found
warning: ‘/etc/os-release’ is a file, you might want to use -p/–file.

jonathn 2022-09-06 00:50:58
shabang_68 2022-09-06 00:50:14
error: package ‘/etc/os-release’ was not found
warning: ‘/etc/os-release’ is a file, you might want to use -p/–file.

Try

cat /usr/lib/os-release

instead?

shabang_68 2022-09-06 00:51:46
jonathn 2022-09-06 00:50:58
Try

cat /usr/lib/os-release

instead?

NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
HOME_URL=”https://archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux-logo

jonathn 2022-09-06 00:52:41
shabang_68 2022-09-06 00:51:46
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
HOME_URL=”https://archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux-logo

And

pacman -Qo /usr/lib/os-release

?

shabang_68 2022-09-06 00:53:25
jonathn 2022-09-06 00:52:41
And

pacman -Qo /usr/lib/os-release

?

/usr/lib/os-release is owned by filesystem 2021.12.07-1

jonathn 2022-09-06 00:53:39
Hm.
shabang_68 2022-09-06 00:59:16
jonathn 2022-09-06 00:53:39
Hm.

yup

grazzolini 2022-09-06 02:35:50
shabang_68 2022-09-06 00:59:16
yup

Aren’t you using endeavour?

shabang_68 2022-09-06 02:37:42
grazzolini 2022-09-06 02:35:50
Aren’t you using endeavour?

archlinuxgroup-612711.jpg
Nope.

grazzolini 2022-09-06 02:38:29
shabang_68 2022-09-06 02:37:42
archlinuxgroup-612711.jpg
Nope.

I don’t care about this, it can easily be faked. You were asking the exact same question this morning on the endeavour group.

grazzolini 2022-09-06 02:38:52
Either you were lying to them, or you’re lying to us
shabang_68 2022-09-06 02:39:04
grazzolini 2022-09-06 02:38:29
archlinuxgroup-612711.jpg
I don’t care about this, it can easily be faked. You were asking the exact same question this morning on the endeavour group.

NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
HOME_URL=”https://archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux-logo

grazzolini 2022-09-06 02:39:26
Based on the fact you had multiple files changed on your fs outside pacman, this would indicate you running with some extra repo
shabang_68 2022-09-06 02:40:13
I had zero files changed
grazzolini 2022-09-06 02:40:13
shabang_68 2022-09-06 02:39:04
archlinuxgroup-612711.jpg
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
HOME_URL=”https://archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux-logo

What part about “easily faked” you didn’t get? Anyway, you need first to fix your package issues, before anything else

shabang_68 2022-09-06 02:40:51
grazzolini 2022-09-06 02:39:26
archlinuxgroup-612711.jpg
Based on the fact you had multiple files changed on your fs outside pacman, this would indicate you running with some extra repo

backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/gshadow (MD5 checksum mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (Size mismatch)
backup file: filesystem: /etc/nsswitch.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/nsswitch.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (MD5 checksum mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
filesystem: 116 total files, 0 altered files

shabang_68 2022-09-06 02:41:08
grazzolini 2022-09-06 02:40:13
archlinuxgroup-612711.jpg
What part about “easily faked” you didn’t get? Anyway, you need first to fix your package issues, before anything else

You’re out of your mind

vexedmoth 2022-09-06 02:46:13
Hi guys I messed up. I accidentally executed rm -rf * and I press enter
grazzolini 2022-09-06 02:46:49
vexedmoth 2022-09-06 02:46:13
archlinuxgroup-612711.jpg
Hi guys I messed up. I accidentally executed rm -rf * and I press enter

Where you ran that?

vexedmoth 2022-09-06 02:46:51
I deleted a lot of files, is there any way to restore?
vexedmoth 2022-09-06 02:47:02
Few minutes ago
vexedmoth 2022-09-06 02:48:34
grazzolini 2022-09-06 02:46:49
archlinuxgroup-612711.jpg
Where you ran that?

I ran “rm -rf /*”

|