public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Vaeth <vaeth@mathematik.uni-wuerzburg.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] eix-test-obsolete problem
Date: Fri, 7 Mar 2008 18:06:02 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0803071735560.5324@wmax001.mathematik.uni-wuerzburg.de> (raw)
In-Reply-To: <a4AYz-4S4-9@gated-at.bofh.it>



> 	Installed packages with a version not in the database (or masked):
> 	
> 	[I] app-misc/beagle (0.3.3[?]@02/27/08)
                                   ^
This is your problem: eix is not able to detect from which repository
this version was installed. The reason is that you have not given your
overlay a name.

Some time ago, eix was able to guess the repository by means of the
information in /var/db/*/*/environment.bz2, but new portage versions
do not store that information in this file anymore.

The clean solution of your problem is to give your overlay a name
(i.e. to create a "profile" subdirectory in your overlay and store
your name in a new file "profile/repo_name") and then to reemerge
all packages from the overlay so that the name is also stored in
the /var/db database. (Instead of reemerging you can also hack
the database manually and create the files /var/db/*/*/repository
with the corresponding overlay name in it; however, I give no
guarantee that this will not have unexpected side effects...).

If you want that eix-test-obsolete just ignores the repository
(i.e. that 0.3.3[?] is "found" in the database even if the version
in the database is from a possibly different overlay), set
   NONEXISTENT_IF_OTHER_OVERLAY='false'
in /etc/eixrc. However, I would not recommend this.

The output of update-eix is as expected:

> 	[3] "" /usr/local/portage (cache: none)
            ^^                            ^^^^
This is empty, because you have not       ^^^^
named your overlay yet                    ^^^^
                                          ^^^^
                    This means that the cache method "none" is used
                    (man eix for details) which is the default for
                    overlays unless you set something special.[*]

[*] With eix-0.12.0 the default has changed to a new cache method
    which appears superior (but has some security risks).
    The previous cache method "none" was renamed.
-- 
gentoo-user@lists.gentoo.org mailing list



       reply	other threads:[~2008-03-07 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a4AYz-4S4-9@gated-at.bofh.it>
2008-03-07 17:06 ` Vaeth [this message]
2008-03-10  7:32   ` [gentoo-user] eix-test-obsolete problem Shaochun Wang
2008-03-07  2:50 Shaochun Wang
2008-03-07  9:46 ` Neil Bothwick

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=Pine.LNX.4.64.0803071735560.5324@wmax001.mathematik.uni-wuerzburg.de \
    --to=vaeth@mathematik.uni-wuerzburg.de \
    --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