From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cleaning /var/lib/portage/world
Date: Wed, 16 Aug 2017 18:07:21 +0100 [thread overview]
Message-ID: <20170816180721.1b613578@digimed.co.uk> (raw)
In-Reply-To: <CAHH9eM4_1BZp3WFjdfqyGOhJzSN68pzyA1A5Pwvnk1Qy4dmR2Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]
On Wed, 16 Aug 2017 13:23:28 -0300, Francisco Ares wrote:
> 2017-08-16 10:40 GMT-03:00 Arve Barsnes <arve.barsnes@gmail.com>:
>
> > On 16 August 2017 at 13:32, Francisco Ares <frares@gmail.com> wrote:
> >
> >> But, after backing up the original "world" file and replacing with
> >> the one built by the script, things don't work as expected, as a lot
> >> of packages were orphaned, by checking with "depclean".
> >>
> >> Anyone could tell me what did I miss?
> >>
> >
> > You're probably getting false positives from equery, as you haven't
> > taken USE flags into consideration.
> >
> > An example:
> > # equery d unrar
> > app-arch/rar-5.5.0_p20170811 (all_sfx ? app-arch/unrar)
> > app-emulation/winetricks-20170614 (rar ? app-arch/unrar)
> >
> > I don't have the USE="rar" set on winetricks, so although it is
> > correct that rar would keep unrar available, since I have
> > USE="all_sfx" set, your script will make the wrong choice if I don't
> > have rar installed.
> Good point! Back to work.
emerge -cpv cat/pkg will tell you whether the package can be removed or
if it is needed by something else. It will take a while to run it for
every atom in @world but it will give reliable results, as determined by
portage.
--
Neil Bothwick
Nostalgia isn't what it used to be.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-08-16 17:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 11:32 [gentoo-user] cleaning /var/lib/portage/world Francisco Ares
2017-08-16 13:40 ` Arve Barsnes
2017-08-16 16:23 ` Francisco Ares
2017-08-16 17:07 ` Neil Bothwick [this message]
2017-08-17 14:34 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170816180721.1b613578@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox