You are not logged in.
In my last installation of archlinux ,I found missing some .so files, but the related package seems being installed.
So I used the "--force" option to reinstall it, and resolved....
I wonder if pacman using a transaction when do some operation.
The apt system does. If an operation was interrupted, next time before you using apt, you must complete the transaction first...
And the rpm system, have a function to check if the packages installed in the system are correctly. It check all the files in the system the same with the record in its database......
Offline
During pacman operation, the db is locked. If the operation is terminated abnormally, the lock remains in place, so that the next time you try to use pacman, you are unable to do so until you have dealt with the issue and removed the lock.
pacman -Qk checks installed files against package file lists.
The pacman man page is a good read.
If you think pacman needs additional functionality in these, or any other, areas, the bugtracker is the best place to post your feature requests. If you are able to include code that implements your desired feature, that would obviously be appreciated too.
Offline
here is the old bug report: http://bugs.archlinux.org/task/8585
Offline
During pacman operation, the db is locked. If the operation is terminated abnormally, the lock remains in place, so that the next time you try to use pacman, you are unable to do so until you have dealt with the issue and removed the lock.
pacman -Qk checks installed files against package file lists.
The pacman man page is a good read.
If you think pacman needs additional functionality in these, or any other, areas, the bugtracker is the best place to post your feature requests. If you are able to include code that implements your desired feature, that would obviously be appreciated too.
the "pacman -Qk" command is good, I just use it ,and found the "hicolor-icon-theme" package miss files .....
But I think , translation is not the same with file lock ...
When an operation terminated abnormally, the pacman's database is not integrated, It is not allowed to a database. Modern relationship database use transaction to keep integrated. Before next time using, the uncompleted transaction must be complete or rollback.
The lock file make only one instance of pacman running at the same time . In fact pacman can allow multiple instance, just like modern database allow multiple user. This need more programming code.
Last edited by iamybj (2010-03-22 02:10:40)
Offline
The lock file make only one instance of pacman running at the same time . In fact pacman can allow multiple instance, just like modern database allow multiple user. This need more programming code.
Patches welcome.
Offline
A package manager should behave linearly in many circumstances. The ability to install software with one thread and remove dependencies in another can wreak havok to the system. Relational database programs have this functionality built in; Records are always locked during write operations and are locked for reading when a writing is happening.
Offline