Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to prevent emacs from installing v24?
Date: Mon, 08 Oct 2012 17:14:11
Message-Id: 18931.1349716352@ccs.covici.com
In Reply to: Re: [gentoo-user] How to prevent emacs from installing v24? by "Canek Peláez Valdés"
1 Canek Peláez Valdés <caneko@×××××.com> wrote:
2
3 > On Mon, Oct 8, 2012 at 11:39 AM, Grant Edwards
4 > <grant.b.edwards@×××××.com> wrote:
5 > > How do I prevent emerge from demanding that emacs 24 be installed? I
6 > > uninstalled it a few days ago and re-installed 23 because 24 was just
7 > > too buggy to be usable.
8 > >
9 > > I put this in /etc/portage/package.mask to keep 24 from getting
10 > > installed:
11 > >
12 > > >=app-editors/emacs-24.0
13 > >
14 > > But emerge -u keeps insisting that it be allowed to re-install emacs 24:
15 > >
16 > > # emerge -auvND world
17 > >
18 > > These are the packages that would be merged, in order:
19 > >
20 > > Calculating dependencies... done!
21 > > [ebuild U ] virtual/libffi-3.0.11 [0] 0 kB
22 > > [ebuild U ] dev-libs/libtasn1-2.13 [2.12] USE="-doc -static-libs" 1,919 kB
23 > > [ebuild N ] app-emacs/emacs-common-gentoo-1.3-r3 USE="X -games" 0 kB
24 > > [ebuild U ] net-libs/gnutls-2.12.20 [2.12.18] USE="cxx nettle nls zlib -bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test" 7,062 kB
25 > > [ebuild NS #] app-editors/emacs-24.2 [23.4-r4] USE="X alsa gpm gtk jpeg png svg tiff xft xpm -Xaw3d (-aqua) -athena -dbus -games -gconf -gif -gnutls -gsettings -gtk3 -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int" 33,902 kB
26 > > [ebuild N ] virtual/emacs-24 0 kB
27 > > [ebuild U ] net-analyzer/wireshark-1.8.3 [1.8.2-r2] USE="caps gcrypt gtk ipv6 pcap ssl zlib -adns -doc -doc-pdf -geoip -kerberos -libadns -lua -portaudio -profile -python (-selinux) -smi" 23,559 kB
28 > > [ebuild U ] net-dns/dnsmasq-2.63 [2.57] USE="dhcp ipv6 nls -conntrack% -dbus -idn -lua% -script% -tftp" LINGUAS="-de% -es% -fi% -fr% -id% -it% -no% -pl% -pt_BR% -ro%" 370 kB
29 > > [ebuild U ] app-shells/gentoo-bashcomp-20101217-r1 [20101217] 23 kB
30 > >
31 > > Total: 9 packages (6 upgrades, 2 new, 1 in new slot), Size of downloads: 66,833 kB
32 > >
33 > > The following mask changes are necessary to proceed:
34 > > #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
35 > > # /etc/portage/package.mask:
36 > > =app-editors/emacs-24.2
37 > >
38 > > NOTE: The --autounmask-keep-masks option will prevent emerge
39 > > from creating package.unmask or ** keyword changes.
40 > >
41 > > Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
42 > >
43 > > How do I tell emerge that I don't want emacs 24?
44 >
45 > Portage is telling you how:
46 >
47 > > The following mask changes are necessary to proceed:
48 > > #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
49 >
50 > You need to also mask >=virtual/emacs-24.
51
52 But why bnot let it install, it doesn't mean you have to use it. You
53 have to use eselect emacs to change what version you are using.
54
55 --
56 Your life is like a penny. You're going to lose it. The question is:
57 How do
58 you spend it?
59
60 John Covici
61 covici@××××××××××.com

Replies

Subject Author
[gentoo-user] Re: How to prevent emacs from installing v24? Grant Edwards <grant.b.edwards@×××××.com>