You are not logged in.
Hi
I did recently an update which involved qt. This broke my Virtualbox installation which ist pretty bad as i need it for school.
Doing a pacman -U qt will give me lots of messages like:
/usr/share/qt/translations/qt_pl.qm exists in filesystem
qt: /usr/share/qt/translations/qt_pt.qm exists in filesystem
qt: /usr/share/qt/translations/qt_ru.qm exists in filesystem
qt: /usr/share/qt/translations/qt_sk.qm exists in filesystem
qt: /usr/share/qt/translations/qt_sl.qm exists in filesystem
Endling with. "No packages updated".
The pacman Wiki wants me to check the owner for each file which is not practicable becouse of the number of files.
So what do i do?
Thanks.
Last edited by Archdove (2012-03-29 15:22:45)
Offline
Maybe do a pacman -R qt, forcing if necessary? Then reinstall it?
But what do you mean by "broke" anyway?
Offline
Sorry for beeing unprecise:
Broken means i get this message when starting Virtualbox:
~]$ virtualbox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/libQtCore.so.4: file too short
Offline
If the output of
stat -c %s $(find /var/lib/pacman/local -name "qt-*")/filesis '0' (zero) or you get an error saying 'No such file or directory', run
pacman -Sf qtto reinstall qt.
Offline
I assume pacman was asking you to check for files not owned by root. There are ways to make the computer do all the work for you and return a result in a few seconds. But in this case I think it's pointless.
Last edited by alphaniner (2012-03-29 14:00:56)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I assume pacman was asking you to check for files not owned by root. There are ways to make the computer do all the work for you and return a result in a few seconds. But in this case I think it's pointless.
What are you referring to?
Offline
You mean the 'ways' I mentioned? I just meant one could create a compound command to pull out all the filenames from the error message and print out any that aren't owned by root. I pieced together a kludge using pacman -Ql, but didn't post it because it would generally be overkill:
grep -v "root" < <(pacman -Ql qt |awk '{print $2}' |while read i;do [[ "$i" =~ /$ ]] || ls -l "$i" ;done)It also filters out all directories including those that are unique to the package, which is another shortcoming.
Last edited by alphaniner (2012-03-29 14:21:00)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Ah, now I get it :-) Indeed, it helps, but doesn't actually fix anything.
Offline
So Pacman -Rf qt dit the trick. Altough i did try it before an it did nothing.
Thanks for helping me out!
Offline
So Pacman -Rf qt dit the trick.
[karol@black ~]$ pacman -Rf qt
error: invalid optionWeird, it doesn't work for me.
Offline
Yes karol
Because it's actually pacman -Sf qt
Sorry for that...
Offline
That's what I thought :-)
Offline