public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Caleb Shay <caleb@webninja.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Portage irk...
Date: 30 Jan 2003 14:27:50 -0500	[thread overview]
Message-ID: <1043954868.21542.3.camel@Chinstrap> (raw)
In-Reply-To: <1912.216.226.62.175.1043954311.squirrel@lpbrochu.dyndns.org>

You can "pin" a package.  Just put ">=app-grp/appname-x.y.z" into
/var/cache/edb/world and emerge -u world won't try to downgrade, or use
= instead of >= and it will never try to change the version at all.

Caleb

On Thu, 2003-01-30 at 14:18, Louis-Philippe Brochu wrote:
> > One way to do it:  remove whatever packages you do not want touched by
> > "world" out of /var/cache/edb/world.  The packages in that file are the
> > only ones that will get looked at whenever you run 'emerge -u world'.
> 
> Well there is two problems with this approach. First one is that by
> removing this package from the world file it will not be updated anymore
> when a new version (newer than the one installed) is released. Second
> problem is that this hack won't work if the package removed from the world
> file is required as a dependency for another package you're trying to
> install. Portage will resolve the denpendency, will want to install your
> package and will downgrade it.
> 
> > Secondarily, I suggest running 'emerge -up world' to see what would be
> > downgraded first, without actually running anything.
> >
> > Automatic downgrading is generally healthy behavior (if for example, we
> > unmasked a new version which later proved broken/unstable, therefore we
> > need people to revert to an older, stable release).
> 
> Yes but there should be a way to disable this. An option to "pin" a
> minimum version of a package or to simply disable the possibility of
> downgrading a package (with a switch on the command line or better, a
> configurable option in /etc/make.conf).
> 
> The case you are talking about *should* pratically never happen if
> packages we're tested *before* being released.
> 
> > This is a FAQ...   I'm sure there are some enhancements to Portage
> > underway   which will make this issue more elegant/intuitive.
> 
> I really hope the Gentoo developpers will add this functionnality. Ever
> since the introduction for the ~arch keywords packages updates have been a
> mess for me. If you are running on a stable system exclusively everything
> is fine. Same thing if you are running exclusively with an unstable system
> (with ~arch). If you never use the emerge world command you should not
> have many problems, just define the ACCEPT_KEYWORDS before emerging
> unstable packages and you're ok.
> 
> The problem comes when you are using stable *and* unstable *and* emerge
> world command. Try to emerge world a mix of stable and unstable packages
> and see all the packages downgrades. Try to define ACCEPT_KEYWORDS, now
> Portage wants to install all unstable packages. Mask the old version of
> unstable packages you installed (or just remove them from the world file)
> and watch Portage trying to resolve a dependency for another packages and
> downgrade your package anyway... The only thing Portage need is a
> "don't-ever-downgrade-my-packages" function IMHO.
> 
> 
> 
> --
> gentoo-dev@gentoo.org mailing list
-- 
/*---------------------------------------------------------------------
Caleb Shay                                   "UNIX _IS_ user friendly.
Programmer/System Administrator              It's just particular about
Providence, RI                               who its friends are."
---------------------------------------------------------------------*/


--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-01-30 19:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30 13:42 [gentoo-dev] Portage irk Emiel Kollof
2003-01-30 14:32 ` Dylan Carlson
2003-01-30 19:18   ` Louis-Philippe Brochu
2003-01-30 19:27     ` Caleb Shay [this message]
2003-01-30 21:02       ` Louis-Philippe Brochu
2003-01-30 20:31     ` Blake Watters
2003-01-30 21:00       ` Louis-Philippe Brochu
2003-01-30 21:55     ` Troy Dack
2003-01-30 22:02       ` Alan
2003-01-31 14:29       ` Louis-Philippe Brochu
2003-01-31  6:47 ` J Robert Ray
2003-01-31 18:19   ` Emiel Kollof

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=1043954868.21542.3.camel@Chinstrap \
    --to=caleb@webninja.com \
    --cc=gentoo-dev@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