You are not logged in.
Why do I often have to remove a foreign package when it's updated in order to make it work after an update?
So many questions in AUR that something is updated and it's not working - "well just rebuild it". Meaning that you should first "-Rdd" it and then "-S" it again. If you just "yaourt -Syu --aur" - some might not work after this. So why can't those programs work after an update without deleting them before?
Offline
??
Do you have an example? Perhaps you are referring to development builds (git,cvs,bzr,etc). But these can be updated with yaourt with the "--devel" switch.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Or, makepkg -fi...
Offline
??
Do you have an example?
https://aur.archlinux.org/packages.php?ID=37087 ("Just rebuild it.")
https://aur.archlinux.org/packages.php?ID=37779 ("recompiling perl-xml-fast fixes it")
https://aur.archlinux.org/packages.php?ID=24443 ("Same was happening to me, reinstalling perl-gtk2-imageview and perl-gtk2-unique solved the problem. Also had to reinstall perl-goo-canvas for the editing functionality.")
Works for me that same way.
Perhaps you are referring to development builds (git,cvs,bzr,etc).
Not from what I know.
Last edited by Mr. Alex (2012-06-10 21:00:22)
Offline
Oh ... those aren't development builds. But two points: just because advice is given doesn't mean it is good advice. In these two cases I don't have reason do doubt the quality of the advice though. So the second point: neither of these are recommending that you rebuild the AUR package; they are indicating that some OTHER package needs to be rebuilt to work with the new version.
Also, neither of these examples would require removing anything, so I'm not sure how they fit with your original question.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Rebuilding does not mean you have to uninstall it first. You just install it over.
# yaourt -S packagenameshould do it.
Offline
Trilby, added one more example.
they are indicating that some OTHER package needs to be rebuilt to work with the new version.
For example I update nvidia-bfs and it's not working after it. So I "-Rdd" it and "-S" it again. Suddenly it works.
Also, neither of these examples would require removing anything, so I'm not sure how they fit with your original question.
They require deletion and following installation of the same package. So what aren't you sure about?
Last edited by Mr. Alex (2012-06-11 06:15:09)
Offline
So many questions in AUR that something is updated and it's not working - "well just rebuild it". Meaning that you should first "-Rdd" it and then "-S" it again.
What you describe is reinstalling, not rebuilding. You often have to rebuild local packages because of [Trilby 5: second point]. Reinstalling the same package shouldn't make any difference.
For example I update nvidia-bfs and it's now working after it. So I "-Rdd" it and "-S" it again. Suddenly it works.
Assuming you mean "not" instead of "now": Find out what exactly "not works" is, and why it happens (error message?). Having to recompile local packages to be in sync with other updated packages is normal. Fixing problems through reinstalling is not.
As it is a kernel module: are you sure there were booted on the same kernel version as the module when xorg failed to start?
Last edited by hokasch (2012-06-10 22:12:28)
Offline
First problem, stop using yaourt. What you're actually doing is rebuilding but because yaourt hides that step (and you don't seem to know about it) you've misunderstood what's going on.
If libWhatever updates, some stuff that depends on it will have to be rebuilt. In the repos, this is taken care of by the devs, in the AUR you have to do it yourself.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Assuming you mean "not" instead of "now"
Yes, it's "not". Fixed it in my message.
As it is a kernel module: are you sure there were booted on the same kernel version as the module when xorg failed to start?
Yes because before rebooting I updated the whole system.
What you're actually doing is rebuilding but because yaourt hides that step
OK, I get it now. So that's why Gentoo guys rebuild world so often. ![]()
Offline