![]() |
package reinstalling
Hey guys! I need a help again :)
I want to reinstall some of installed packages. I read portage manual page, but this manual is the most confusing and frustrating manual that I have seen. Can anyone exactly explain (with a small example) how to reinstall package? I want to reinstall package with another USE flags set. For example: amarok installed with USE='dbus -debug' flags. How can I get amarok with USE='alsa lpc -dbus' flags? Should I remove package completly and install it again? If yes, is this enough: Code:
emerge -unmerge amarokCode:
USE="new_flags_set" emerge amarokThanks |
it seems that nobody has ever reinstalled packages.
|
The answer to your question is in the output of 'emerge --help' ;)
|
If you want a quick answer, then
Code:
USE="new_flags_set" emerge amarok |
Assuming you have amd64 architecture because I don't know what you have, read
http://www.gentoo.org/doc/en/handboo...?part=2&chap=1 Code:
emerge -pv amarokCode:
media-sound/amarok -kde -accessibility debugThen emerge -pv amarok again, and it should show those changes. If you need more changes, go back and edit /etc/portage/package.use again. Then Code:
emerge -av media-sound/amarokEDIT: Editing the package.use file will insure that future upgrades of the software still have the same USE flags. package.use will override the settings only for specified flags of an individual package, override the ones from make.conf and the ones set by default (the defaults are set depending on which eselect profile set you used). |
Yep, it should at least be
Code:
USE="$USE +some_flag -some_other_flag" emerge amarokAnd look for the --newuse parameter, but I think, it is given by default anyway. |
The procedure is simpler than that.
Do: Code:
emerge -pv <package_name>Now just emerge -va that package, if you agree with the output press enter. |
| All times are GMT -5. The time now is 11:14 AM. |