Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Capacity of the virtual machine is not small.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Thu Sep 08, 2016 1:16 am    Post subject: Capacity of the virtual machine is not small. Reply with quote

Hello.
On "VMware Workstation 12 Pro", I am using the "Gentoo Xfce".

As described below, have been removed Midori browser.
Code:
user # sudo emerge -C www-client/modori
user # sudo emerge --depclean

However, the capacity of the virtual machine will not be small.
Why capacity by the amount I have deleted the Midori browser is not small.
Is there a way to reduce the capacity of the virtual machine.
Thank you.
Back to top
View user's profile Send private message
Frustie
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 101
Location: My own little planet.

PostPosted: Thu Sep 08, 2016 8:05 am    Post subject: Reply with quote

I think there is a chance that a lot of your 'compiles' are still in the working directories.

Please see if this link is any help : https://wiki.gentoo.org/wiki/Eclean
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43192
Location: 56N 3W

PostPosted: Thu Sep 08, 2016 9:39 am    Post subject: Reply with quote

usuha,

The link posted by Frustie is a good place to start. There are a few other things to clean up too.

Code:
emerge --depclean
does not completely remove old kernels from /usr/src
You need to remove the remaining old kernel directories yourself.
This was a deliberate design decision so that careless use of --depclean would not remove you only working kernel .config file.

The portage build directory, normally /var/tmp/portage will fill up with failed builds.
When emerge is not running, remove this entire directory. Portage will recreate it.

If you have portage logging enabled, a copy of all of the gcc output that scrolls by when emerge runs, is saved to /var/log/portage.
Again, when emerge is not running, remove this entire directory. Portage will recreate it.

If you have a logger installed (you should), some of the files in /var/log con grow without limit. For some logs thin is a good thing,
Be sure your lags are being 'rotated'. Some loggers do this automatically, others require the use of logrotate.

Further cleanups, its really only noise
Remove old module directories from /lib/modules ... do not remove directories that relate to kernels you may want to use again.

Remove old kernels and initrd files from /boot. If you have a separate /boot partition its normally small, so may fill up of its own accord.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Thu Sep 08, 2016 12:26 pm    Post subject: Reply with quote

Thanks a lot NeddySeagoon.
Thanks a lot Frustie.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Thu Sep 08, 2016 2:50 pm    Post subject: Reply with quote

Hello.
Code:
user $ sudo eclean-dist -d
password:
 * Building file list for distfiles cleaning...
 * Cleaning distfiles...
 [   73.0 K ] M2Crypto-0.22.3.tar.gz
 [    1.3 M ] ModemManager-1.4.12.tar.xz
 [    3.3 M ] NetworkManager-1.0.12.tar.xz
 [    3.7 M ] SDL-1.2.15.tar.gz
 [  357.5 K ] alsa-plugins-1.0.29.tar.bz2
 [  518.3 K ] audiofile-0.3.6.tar.xz
 [    1.6 M ] bluez-5.39.tar.xz
 [   60.1 K ] crda-3.18.tar.xz
 [    8.8 M ] dhcp-4.3.3-P1.tar.gz
 [    6.2 M ] elfutils-0.166.tar.bz2
 [    1.7 M ] enigmail-1.9.1.tar.gz
 [    8.2 M ] ffmpeg-2.8.6.tar.bz2
 [   18.2 K ] firefox-45.0-patches-04.tar.xz
 [   19.0 K ] firefox-45.0-patches-05.tar.xz
 [  474.9 K ] firefox-45.2.0esr-ja.xpi
 [  176.9 M ] firefox-45.2.0esr.source.tar.xz
 [  919.8 K ] flac-1.3.1.tar.xz
 [  409.3 K ] freeglut-3.0.0.tar.gz
 [   81.9 K ] gdata-provider-2.6-r1.tar.xz
 [  380.1 K ] geoclue-2.4.3.tar.xz
 [  494.2 K ] giflib-4.1.6.tar.bz2
 [  481.6 K ] glu-9.0.0.tar.bz2
 [   40.7 K ] gpm-1.20.7-docs.patch.xz
 [  771.2 K ] gpm-1.20.7.tar.lzma
 [    7.3 M ] gst-libav-1.6.3.tar.xz
 [    4.0 M ] gst-plugins-bad-1.6.3.tar.xz
 [    2.7 M ] gst-plugins-base-1.6.3.tar.xz
 [    3.0 M ] gst-plugins-good-1.6.3.tar.xz
 [    3.4 M ] gstreamer-1.6.3.tar.xz
 [  623.4 K ] hyphen-2.8.8.tar.gz
 [  489.7 K ] json-c-0.12.tar.gz
 [  571.8 K ] json-glib-1.2.0.tar.xz
 [  536.0 B ] lame-3.99.5-automake-2.12.patch.gz
 [    1.4 M ] lame-3.99.5.tar.gz
 [  333.6 K ] libasyncns-0.8.tar.gz
 [   61.9 K ] libcap-2.24.tar.xz
 [    2.2 M ] liberation-fonts-ttf-2.00.1.tar.gz
 [  703.7 K ] libical-1.0.1.tar.gz
 [  355.9 K ] libndp-1.6.tar.gz
 [  884.1 K ] libnl-3.2.27.tar.gz
 [  397.3 K ] libogg-1.3.1.tar.xz
 [  693.9 K ] libqmi-1.12.6.tar.xz
 [    1.0 M ] libsndfile-1.0.26.tar.gz
 [    1.0 M ] libvorbis-1.3.4.tar.xz
 [    1.8 M ] libvpx-1.5.0.tar.bz2
 [  867.1 K ] libwebp-0.4.0.tar.gz
 [    1.4 M ] midori_0.5.11_all_.tar.bz2
 [  178.9 K ] newt-0.52.15.tar.gz
 [    7.1 M ] nss-3.23.tar.gz
 [   28.1 K ] nss-pem-20140125.tar.bz2
 [    7.9 K ] paxctl-0.9.tar.gz
 [  502.6 K ] pinentry-0.9.5.tar.bz2
 [   37.9 K ] ppp-2.4.7-patches-1.tar.xz
 [  672.0 K ] ppp-2.4.7.tar.gz
 [   32.7 K ] ppp-dhcpc.tgz
 [    1.4 M ] pulseaudio-8.0.tar.xz
 [  218.0 K ] rp-pppoe-3.11.tar.gz
 [  240.5 K ] sbc-1.3.tar.xz
 [    1.4 M ] slang-2.2.4.tar.bz2
 [    1.0 M ] speex-1.2rc1.tar.gz
 [    5.6 M ] swig-3.0.5.tar.gz
 [  684.0 B ] thunderbird-38.0-patches-0.1.tar.xz
 [  191.7 M ] thunderbird-45.2.0.source.tar.xz
 [  598.1 K ] vo-aacenc-0.1.3.tar.gz
 [   10.5 M ] webkitgtk-2.10.9.tar.xz
 [  383.3 K ] webrtc-audio-processing-0.1.tar.xz
 [   16.2 K ] wireless-regdb-2016.06.10.tar.xz
 [    2.5 M ] wpa_supplicant-2.5.tar.gz
 [  610.1 K ] x264-snapshot-20140308-2245.tar.bz2
 [  679.0 K ] xvidcore-1.3.3.tar.bz2
 [    9.4 K ] yasm-1.2.0-x32.patch.xz
 [    1.4 M ] yasm-1.2.0.tar.gz
 ===========
 [  478.5 M ] Total space from 72 files were freed in the distfiles directory

   The following unavailable installed packages were found
             kde-apps/gpgmepp-15.12.3
             media-fonts/dejavu-2.34
             sys-libs/timezone-data-2016d

I would be good to remove the following packages.
Code:
             kde-apps/gpgmepp-15.12.3
             media-fonts/dejavu-2.34
             sys-libs/timezone-data-2016d

Thank you.
Back to top
View user's profile Send private message
Frustie
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 101
Location: My own little planet.

PostPosted: Thu Sep 08, 2016 3:02 pm    Post subject: Reply with quote

No, i would not remove those three packages.

"timezone-data" is definitely required by your system and the others might break some functionality as well.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43192
Location: 56N 3W

PostPosted: Thu Sep 08, 2016 4:51 pm    Post subject: Reply with quote

usuha,

You cannot remove those distfiles. For some reason they have already been removed.
Before you decide to remove any package lok to see what depends on it.
Code:
$ equery d timezone-data
 * These packages depend on timezone-data:
dev-python/python-dateutil-2.4.2-r1 (sys-libs/timezone-data)
dev-python/pytz-2016.3 (>=sys-libs/timezone-data-2015g)
sys-libs/glibc-2.22-r4 (!vanilla ? sys-libs/timezone-data)

So you would break glibc by removing timezone-data. Almost everything needs glibc, so thats a very bad thing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1771
Location: Here and Away Again

PostPosted: Thu Sep 08, 2016 6:08 pm    Post subject: Reply with quote

Adding a bit to what others said...

usuha wrote:
Code:
   The following unavailable installed packages were found
             kde-apps/gpgmepp-15.12.3
             media-fonts/dejavu-2.34
             sys-libs/timezone-data-2016d

These are old versions that are no longer in Portage (unavailable), and since they're still installed, it should be a good idea to update the packages in question before removing their distfiles (not that the distfiles alone do much good, as usually an ebuild is also needed).
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Thu Sep 08, 2016 10:40 pm    Post subject: Reply with quote

Thanks a lot NeddySeagoon.
Thanks a lot Frustie.
Thanks a lot Chiitoo.

Hello.
Code:
user $ sudo equery d timezone-data
Password:
 * These packages depend on timezone-data:
sys-libs/glibc-2.22-r4 (!vanilla ? sys-libs/timezone-data)

Code:
user $ sudo emerge –u kde-apps/gpgmepp
user $ sudo emerge –u media-fonts/dejavu
user $ sudo emerge –u sys-libs/timezone-data
>
>
>
>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/nss-3.23
 *  - /usr/lib64/libnssutil3.so
 *      used by /opt/firefox/libfreebl3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libnss3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libnssdbm3.so (www-client/firefox-bin-45.3.0)
 *      used by 12 other files
 *  - /usr/lib64/libsmime3.so
 *      used by /opt/firefox/libxul.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/updater (www-client/firefox-bin-45.3.0)
 *      used by /opt/thunderbird/libxul.so (mail-client/thunderbird-bin-45.2.0)
 *  - /usr/lib64/libnss3.so
 *      used by /opt/firefox/libsmime3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libssl3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libxul.so (www-client/firefox-bin-45.3.0)
 *      used by 4 other files
 *  - /usr/lib64/libssl3.so
 *      used by /opt/firefox/libxul.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/updater (www-client/firefox-bin-45.3.0)
 *      used by /opt/thunderbird/libxul.so (mail-client/thunderbird-bin-45.2.0)
Use emerge @preserved-rebuild to rebuild packages using these libraries
user $ sudo eclean distfiles
 * Building file list for distfiles cleaning...
 * Cleaning distfiles...
 [    4.5 M ] dejavu-fonts-ttf-2.34.tar.bz2
 [   66.1 K ] gpgmepp-15.12.3.tar.xz
 ===========
 [    4.6 M ] Total space from 2 files were freed in the distfiles directory

What kind of operation do I need.
Should I run "emerge @preserved-rebuild".

Thank you.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Thu Sep 08, 2016 10:45 pm    Post subject: Reply with quote

Yes, and never run emerge without --oneshot when installing dependencies, otherwise you will clutter your world file. This in turn can cause problems in future.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Fri Sep 09, 2016 2:39 am    Post subject: Reply with quote

Thanks a lot Buffoon.

Hello.
Code:
pure@gentoo_green ~ $ sudo emerge @preserved-rebuild
パスワード:
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) www-client/firefox-bin-45.3.0::gentoo
 * firefox-45.3.0esr-ja.xpi SHA256 SHA512 WHIRLPOOL size ;-) ...                                [ ok ]
 * firefox-bin_x86_64-45.3.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                       [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-45.3.0esr-ja.xpi to /var/tmp/portage/www-client/firefox-bin-45.3.0/work
unpack firefox-45.3.0esr-ja.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-bin_x86_64-45.3.0.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-45.3.0/work
 * Unpacking firefox-45.3.0esr-ja.xpi to /var/tmp/portage/www-client/firefox-bin-45.3.0/work
 * Selected language packs (first will be default): ja
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-45.3.0/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-bin-45.3.0/work/firefox ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-bin-45.3.0/work/firefox ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/firefox-bin-45.3.0/work/firefox ...
>>> Source compiled.
>>> Test phase [not enabled]: www-client/firefox-bin-45.3.0

>>> Install firefox-bin-45.3.0 into /var/tmp/portage/www-client/firefox-bin-45.3.0/image/ category www-client
 * PT_PAX marking -mr /var/tmp/portage/www-client/firefox-bin-45.3.0/image//opt/firefox/firefox with scanelf
 * PT_PAX marking -mr /var/tmp/portage/www-client/firefox-bin-45.3.0/image//opt/firefox/firefox-bin with scanelf
 * PT_PAX marking -mr /var/tmp/portage/www-client/firefox-bin-45.3.0/image//opt/firefox/plugin-container with scanelf
 * XATTR_PAX marking -mre /var/tmp/portage/www-client/firefox-bin-45.3.0/image//opt/firefox/firefox with setfattr
 * XATTR_PAX marking -mre /var/tmp/portage/www-client/firefox-bin-45.3.0/image//opt/firefox/firefox-bin with setfattr
 * XATTR_PAX marking -mre /var/tmp/portage/www-client/firefox-bin-45.3.0/image//opt/firefox/plugin-container with setfattr
>>> Completed installing firefox-bin-45.3.0 into /var/tmp/portage/www-client/firefox-bin-45.3.0/image/

 * Final size of build directory: 2332 KiB
 * Final size of installed tree: 102384 KiB


>>> Installing (1 of 2) www-client/firefox-bin-45.3.0::gentoo
 * QA Notice: Symbolic link /opt/firefox/browser/plugins points to /usr/lib64/nsbrowser/plugins which does not exist.
 * Updating icons cache ...                                                                     [ ok ]
 *
 * For using the crashreporter, you need gnome-base/gconf,
 * gnome-base/orbit and net-misc/curl emerged.
 *
 * For HTML5 video you need media-video/ffmpeg installed.  Please note
 * that gstreamer:0.10 will also be used, if available.
 * Updating desktop mime database ...
 * Updating icons cache ...                                                                     [ ok ]

>>> Emerging (2 of 2) mail-client/thunderbird-bin-45.2.0::gentoo
 * thunderbird-45.2.0-ja.xpi SHA256 SHA512 WHIRLPOOL size ;-) ...                               [ ok ]
 * thunderbird-bin_x86_64-45.2.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                   [ ok ]
 * lightning-4.7.2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                  [ ok ]
>>> Unpacking source...
>>> Unpacking thunderbird-45.2.0-ja.xpi to /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work
unpack thunderbird-45.2.0-ja.xpi: file format not recognized. Ignoring.
>>> Unpacking thunderbird-bin_x86_64-45.2.0.tar.bz2 to /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work
>>> Unpacking lightning-4.7.2.tar.xz to /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work
 * Unpacking thunderbird-45.2.0-ja.xpi to /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work
 * Selected language packs (first will be default): ja
>>> Source unpacked in /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work
>>> Preparing source in /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work/thunderbird ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work/thunderbird ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/work/thunderbird ...
>>> Source compiled.
>>> Test phase [not enabled]: mail-client/thunderbird-bin-45.2.0

>>> Install thunderbird-bin-45.2.0 into /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image/ category mail-client
 * PT_PAX marking -mr /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image///opt/thunderbird/thunderbird-bin with scanelf
 * PT_PAX marking -mr /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image///opt/thunderbird/thunderbird with scanelf
 * PT_PAX marking -mr /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image///opt/thunderbird/plugin-container with scanelf
 * XATTR_PAX marking -mre /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image///opt/thunderbird/thunderbird-bin with setfattr
 * XATTR_PAX marking -mre /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image///opt/thunderbird/thunderbird with setfattr
 * XATTR_PAX marking -mre /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image///opt/thunderbird/plugin-container with setfattr
>>> Completed installing thunderbird-bin-45.2.0 into /var/tmp/portage/mail-client/thunderbird-bin-45.2.0/image/

 * Final size of build directory: 25432 KiB
 * Final size of installed tree: 95744 KiB


>>> Installing (2 of 2) mail-client/thunderbird-bin-45.2.0::gentoo
 * QA Notice: Symbolic link /opt/thunderbird/plugins points to /usr/lib64/nsbrowser/plugins which does not exist.
 * Updating icons cache ...                                                                     [ ok ]
 * Updating desktop mime database ...
 * Updating icons cache ...                                                                     [ ok ]
 * If calendar fails to show up in extensions, or if you need to force it
 * to be reloaded in your profile (ie: after re-emerging thunderbird-bin
 * to enable or disable locales via LINGUAS), please open config editor
 * and set extensions.lastAppVersion to 38.0.0 to force a reload. If this
 * fails to show the calendar extension after restarting with above change
 * please file a bug report.

 * Messages for package mail-client/thunderbird-bin-45.2.0:

 * If calendar fails to show up in extensions, or if you need to force it
 * to be reloaded in your profile (ie: after re-emerging thunderbird-bin
 * to enable or disable locales via LINGUAS), please open config editor
 * and set extensions.lastAppVersion to 38.0.0 to force a reload. If this
 * fails to show the calendar extension after restarting with above change
 * please file a bug report.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/nss-3.23
 *  - /usr/lib64/libnssutil3.so
 *      used by /opt/firefox/libfreebl3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libnss3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libnssdbm3.so (www-client/firefox-bin-45.3.0)
 *      used by 12 other files
 *  - /usr/lib64/libsmime3.so
 *      used by /opt/firefox/libxul.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/updater (www-client/firefox-bin-45.3.0)
 *      used by /opt/thunderbird/libxul.so (mail-client/thunderbird-bin-45.2.0)
 *  - /usr/lib64/libnss3.so
 *      used by /opt/firefox/libsmime3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libssl3.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/libxul.so (www-client/firefox-bin-45.3.0)
 *      used by 4 other files
 *  - /usr/lib64/libssl3.so
 *      used by /opt/firefox/libxul.so (www-client/firefox-bin-45.3.0)
 *      used by /opt/firefox/updater (www-client/firefox-bin-45.3.0)
 *      used by /opt/thunderbird/libxul.so (mail-client/thunderbird-bin-45.2.0)
Use emerge @preserved-rebuild to rebuild packages using these libraries

Thank you.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Fri Sep 09, 2016 3:17 am    Post subject: Reply with quote

emerge @preserved-rebuild does not work on binary packages.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Fri Sep 09, 2016 4:19 am    Post subject: Reply with quote

Thanks a lot Buffoon.
Code:
pure@gentoo_green ~ $ sudo eclean-pkg -d
パスワード:
 * Building file list for packages cleaning...
!!! Error accessing PKGDIR.

!!! (Check your make.conf file and environment).

!!! Error: [Errno 2] No such file or directory: '/usr/portage/packages'

pure@gentoo_green ~ $ sudo eclean-pkg
 * Building file list for packages cleaning...
!!! Error accessing PKGDIR.

!!! (Check your make.conf file and environment).

!!! Error: [Errno 2] No such file or directory: '/usr/portage/packages'

The problem is unresolved.
Is there an effective solution to the other?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Fri Sep 09, 2016 4:34 am    Post subject: Reply with quote

By default this directory is not used, if you never created binary packages in your system there is nothing to worry about.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Fri Sep 09, 2016 6:48 am    Post subject: Reply with quote

Thanks a lot Buffoon.
Many thanks.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1771
Location: Here and Away Again

PostPosted: Fri Sep 09, 2016 12:31 pm    Post subject: Reply with quote

Indeed, you may want to run

Code:
emerge --deselect kde-apps/gpgmepp media-fonts/dejavu sys-libs/timezone-data

if the packages were added to your '/var/lib/portage/world' file (it is good to avoid manually editing this file).

When a package gets added, it is also mentioned at the end of a merge:
Code:
>>> Recording media-fonts/dejavu in "world" favorites file...

Using the '--oneshot' (-1) option, as suggested by Buffoon earlier, will prevent packages from being added into the file. Having packages in the file, that are normally in the system only to help other packages, may lead into weird issues, and that is one reason to why we avoid adding everything into it.

Another reason is that packages that are not used/needed would remain installed in the system, and would not be cleaned by '--depclean'.

Note that it is not needed for operations such as world updates ('emerge -ajuD @world' for example does not add every package that will be merged into the file).
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
usuha
n00b
n00b


Joined: 28 May 2016
Posts: 26
Location: Tokyo, Japan

PostPosted: Sat Sep 10, 2016 1:11 am    Post subject: Reply with quote

Thanks a lot Chiitoo.
Many thanks.

Hello.
Code:
pure@gentoo_green ~ $ sudo emerge --deselect kde-apps/gpgmepp media-fonts/dejavu sys-libs/timezone-data
パスワード:
>>> Removing kde-apps/gpgmepp from "world" favorites file...
>>> Removing media-fonts/dejavu from "world" favorites file...
>>> Removing sys-libs/timezone-data from "world" favorites file...

I was able valuable study how to use the "emerge --oneshot".
Thank you very much.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum