I'm now in safe mode but a regular repairing permissions still repair the same things!
and I did not understand what should I do with the "repair_packages --repair --standard-pkgs"
Should I run it on terminal?
Sorry, yes...
/usr/libexec/repair_packages --repair --standard-pkgs
This can also be accesses via pkgutil command using the --repair.
Poking around on my system, AppleUSBMultitouch.kext is part of 3 pkgs
pkgutil --file-info /System/Library/Extensions/AppleUSBMultitouch.kext
volume: /
path: System/Library/Extensions/AppleUSBMultitouch.kext
pkgid: com.apple.pkg.BaseSystem
pkg-version: 10.5.3.1.1.1188305148
install-time: 1233381189
uid: 0
gid: 0
mode: 40755
pkgid: com.apple.pkg.update.os.10.5.7
pkg-version: 1.0.1.1191932192
install-time: 1242176533
uid: 0
gid: 0
mode: 40755
pkgid: com.apple.pkg.update.os.10.5.8
pkg-version: 1.0.1.1191932192
install-time: 1249516851
uid: 0
gid: 0
mode: 40755
So, you can run the following from the terminal..
pkgutil --repair com.apple.pkg.BaseSystem