Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15214 - Feature: "Lock" versions of packages to prevent them from being touched AT ALL
Summary: Feature: "Lock" versions of packages to prevent them from being touched AT ALL
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 10:40 UTC by Simon Detheridge
Modified: 2011-10-30 22:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Detheridge 2003-02-06 10:40:41 UTC
I'd like a way to 'lock' a version of a package that I have installed, so that
Portage will leave it alone. I'd like to put this list of package versions
outside of package.mask so it won't get zapped by an 'emerge sync'.


This would be useful for packages which take a certain degree of 'tweaking' to
make them work as desired, (editing the .ebuild, manual .configure, and so on)
and would be _known to break_ if one were to 'emerge -u world' and there were a
newer version available.

I've taken out qmail twice and apache once, through (admittedly careless) use of
'emerge -u world' and I'd like to be able to protect myself from my own mistakes.

Reproducible: Didn't try
Steps to Reproduce:
n/a
Comment 1 Simon Detheridge 2003-02-13 10:04:15 UTC
*thinks* - Perhaps this could be implemented quite simply, with just an /etc/mask.conf that overrides the settings in package.mask and isn't therefore altered by emerge sync. (Same ways as make.conf & make.defaults work together)
Comment 2 SpanKY gentoo-dev 2003-02-25 15:17:20 UTC
you can 'pin' packages in your world file