Page 1 of 1

Removing locales, that I don't need

PostPosted: Fri Dec 28, 2012 21:18
by ranhel
I installed Sabayon 10 (amd64), a couple of programs that I need and than tried to automatically remove locales that I basically do't need (in my situation they are da, nds and so on...). First of all I ran automatic unemerge packages that are no longer need to be in system:
Code: Select all
emerge --depclean

Result:
Code: Select all
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_zh_CN(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   net-dns/avahi pulled in by:
 *     net-print/cups-1.5.3
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_ja(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   app-dicts/aspell-en pulled in by:
 *     app-text/aspell-0.60.6.1
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_it(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=app-text/poppler-0.12.3-r3[utils] pulled in by:
 *     net-print/cups-1.5.3
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_ca(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_hu(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   net-dns/avahi[dbus] pulled in by:
 *     net-fs/samba-3.6.7
 *
 *   app-dicts/myspell-en pulled in by:
 *     app-text/hunspell-1.3.2-r3
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_da(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_nds(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_pt_BR(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_uk(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_zh_TW(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   app-crypt/pinentry pulled in by:
 *     app-crypt/gnupg-2.0.19
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_es(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_bg(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_ru(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_pt(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_bs(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_et(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_fi(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_sv(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=x11-drivers/ati-userspace-10.12 pulled in by:
 *     x11-libs/xvba-video-0.8.0
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_de(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_pl(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=net-dns/avahi-0.6.12[dbus] pulled in by:
 *     media-sound/pulseaudio-2.1-r1
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_fr(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   net-dns/avahi[mdnsresponder-compat] pulled in by:
 *     kde-base/kdelibs-4.9.4-r1
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_nb(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_gl(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_en_GB(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_el(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_sr(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_nl(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_tr(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 *   net-dns/avahi pulled in by:
 *     media-tv/xbmc-11.0
 *
 *   >=kde-base/kde-l10n-4.4:4[-aqua,linguas_cs(+)] pulled in by:
 *     net-irc/konversation-1.4
 *
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 *
 *   emerge --update --newuse --deep --with-bdeps=y @world
 *
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 *
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the portage tree, since it may
 * not be possible to satisfy their dependencies.


So, I listened to wise people and ran
Code: Select all
emerge -av --update --newuse --deep --with-bdeps=y @world

Result:
Code: Select all
!!! Problem resolving dependencies for dev-python/argparse:0 from @selected
... done!

!!! The ebuild selected to satisfy "dev-python/argparse:0" has unmet requirements.
- dev-python/argparse-1.2.1-r2::gentoo USE="" PYTHON_TARGETS="-python2_5 -python2_6 -python3_1"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python2_5 python_targets_python2_6 python_targets_python3_1 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Can someone tells me what is the message about unsatisfied REQUIRED_USE flag means? I understand all words, but can't understand what does the phrase means. And the last question: should I reemerge cups, konversation and others packages, that uses unnecessary locales for me to make locales free from dependencies? (I already changed LINGUAS in make.conf and didn't choose "install all locales" while installing the OS)

Re: Removing locales, that I don't need

PostPosted: Fri Dec 28, 2012 22:09
by joost
You do realize that the default package manager for Sabayon is Entropy and NOT Portage?

Re: Removing locales, that I don't need

PostPosted: Fri Dec 28, 2012 22:41
by Fitzcarraldo
Follow the procedure given in the post Re: en_GB language missing after install., changing the "uk", "gb" and "en_GB" to suit the locale you want to use.

Re: Removing locales, that I don't need

PostPosted: Sat Dec 29, 2012 21:55
by ranhel
joost wrote:You do realize that the default package manager for Sabayon is Entropy and NOT Portage?

Yes, I realized it. But I can't understand, why I can't get correct answer for my question from you just becouse I tried to use Entropy, didn't find functions that I need and than tried to use Portage, that is also installed in distro from the begining and, seems like, might be a topic of questions in "Newbies Area". I also wold like to ask you - where should I put my suggestions about Entropy/Rigo?
Fitzcarraldo wrote:Follow the procedure given in the post Re: en_GB language missing after install., changing the "uk", "gb" and "en_GB" to suit the locale you want to use.

Thanks, but that is not exact my problem - I have all langages I need and it seems like (taking into account emerge output) there is some additional locales that I don't need. Actually this is not a great problem, I just trying to make clean system without something, that is inneed for me.

Instead opening new topic I whant to ask you show me where (instead kernel options before compiling) I can set resolutions of all interface, exept KDE (using KDE I have resolution that I need, but before this I have a lower one).

I'm sorry about my mistakes in messages, just English isn't my native language.

Re: Removing locales, that I don't need

PostPosted: Sun Dec 30, 2012 9:52
by svantoviit
ranhel wrote:I can't understand, why I can't get correct answer for my question from you

Maybe because:
Sabayon Wiki wrote:The Portage package manager is not the default package manager of Sabayon. It should only be used by advanced users who understand the Portage system and understand what flags can do to a system. If you insist on using Portage and you FUBAR your Sabayon Linux installation, you are on your own. This is your big warning, so pay attention to it.

ranhel wrote: I just trying to make clean system without something, that is inneed for me

You should consider to install rather Gentoo in this case. It's easier than tweak Sabayon.