Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Preventing a package from being updated
Date: Fri, 22 Oct 2010 14:12:59
Message-Id: yu94ocee2qo.fsf@nyu.edu
In Reply to: Re: [gentoo-user] Preventing a package from being updated by Neil Bothwick
1 Neil Bothwick <neil@××××××××××.uk> writes:
2
3 > On Mon, 18 Oct 2010 13:06:25 +0300, Timur Aydin wrote:
4 >
5 >> I am using the ~x86 (testing) version of gentoo linux. After recent
6 >> updates, my X windows became extremely sluggish and I found out that the
7 >> problem is related to a new version of mesa (7.8.2 specifically). So I
8 >> downgraded to version 7.7.1 and my desktop works great again.
9 >>
10 >> Now I want to prevent mesa from being updated until this issue is sorted
11 >> out upstream. I have looked at package.provide, but that didn't work.
12 >> Currently, I have placed media-libs/mesa into my
13 >> /etc/portage/package.mask file and this seems to do the trick. Is this
14 >> the recommended way for handling this situation?
15 >
16 > package.mask is the right place, but you should add the specific version.
17 > Then the system will only upgrade when a newer (hopefully fixed) version
18 > arrives.
19 >
20 > =media-libs/mesa-7.8.2
21
22 I tried this yesterday with great success. As mentioned in b.g.o. 7.8.2
23 causes slowdowns for many people (including me).
24 This system is ~amd64
25
26 But this morning after an eix-sync, my normal update failed
27
28 ajglap gottlieb # emerge --keep-going --update --newuse --with-bdeps=y --color n world
29
30 These are the packages that would be merged, in reverse order:
31
32 Calculating dependencies... done!
33 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
34 [nomerge ] app-crypt/seahorse-2.30.1 USE="ldap libnotify -avahi -debug -doc -test"
35 [nomerge ] app-crypt/gpgme-1.3.0 USE="-common-lisp -pth"
36 [nomerge ] app-crypt/gnupg-2.0.16-r2 USE="bzip2 ldap nls -adns -caps -doc -openct -pcsc-lite (-selinux) -smartcard -static"
37 [nomerge ] app-crypt/pinentry-0.8.0-r1 USE="gtk ncurses qt4 -caps -static"
38 [ebuild U ] app-admin/eselect-pinentry-0.3 [0.2] 0 kB
39 [nomerge ] x11-base/xorg-x11-7.4-r1
40 [ebuild U ] x11-apps/smproxy-1.0.4 [1.0.3] USE="(-debug%)" 111 kB
41 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
42 [nomerge ] gnome-base/libgnomeprintui-2.18.6 USE="-doc"
43 [nomerge ] x11-themes/gnome-icon-theme-2.30.3
44 [nomerge ] x11-misc/icon-naming-utils-0.8.90
45 [nomerge ] dev-perl/XML-Simple-2.18
46 [nomerge ] dev-perl/XML-LibXML-1.70
47 [nomerge ] dev-lang/perl-5.12.2-r1 USE="berkdb gdbm -build -debug -doc -ithreads"
48 [ebuild U ] app-admin/perl-cleaner-2.7 [2.6] 6 kB
49 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
50 [nomerge ] app-admin/sabayon-2.30.1
51 [ebuild UD] x11-base/xorg-server-1.7.7-r1 [1.9.0.902] USE="hal%* ipv6 kdrive nptl sdl%* xorg -debug% -dmx -minimal -tslib (-doc%) (-static-libs%) (-udev%*)" 4,829 kB
52 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
53 [nomerge ] gnome-base/gdm-2.20.11 USE="branding consolekit gnome-keyring ipv6 pam tcpd -accessibility -afs -debug -dmx -remote (-selinux) -xinerama"
54 [nomerge ] sys-auth/pambase-20100925 USE="consolekit cracklib gnome-keyring sha512 -debug -kerberos -minimal -mktemp -passwdqc (-selinux) -ssh"
55 [nomerge ] sys-auth/consolekit-0.4.2-r3 [0.4.2-r1] USE="pam policykit -debug -doc -test"
56 [blocks b ] <sys-apps/shadow-4.1.4.2-r6 ("<sys-apps/shadow-4.1.4.2-r6" is blocking sys-auth/consolekit-0.4.2-r3)
57 [ebuild U ] sys-apps/shadow-4.1.4.2-r6 [4.1.4.2-r5] USE="cracklib nls pam -audit (-selinux) -skey" 1,749 kB
58 [ebuild U ] sys-auth/consolekit-0.4.2-r3 [0.4.2-r1] USE="pam policykit -debug -doc -test" 403 kB
59 [ebuild UD] x11-apps/xinit-1.2.1 [1.2.1-r2] USE="minimal pam -debug" 139 kB
60 [nomerge ] media-gfx/gimp-2.6.10 USE="alsa dbus exif gnome hal jpeg lcms mmx mng pdf png python sse svg tiff -aalib (-altivec) -curl -debug -doc -smp -webkit -wmf"
61 [nomerge ] media-libs/gegl-0.1.2 USE="cairo jpeg mmx png sdl sse svg -debug -doc -ffmpeg -openexr -raw -v4l"
62 [nomerge ] gnome-base/librsvg-2.26.3 USE="zlib -doc -tools"
63 [nomerge ] gnome-extra/libgsf-1.14.19 USE="bzip2 gnome gtk python -doc -thumbnail"
64 [nomerge ] media-gfx/imagemagick-6.6.4.5 USE="X bzip2 corefonts cxx jpeg lcms openmp perl png svg tiff truetype xml zlib -autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lqr -openexr -q32 -q8 -raw -static-libs -wmf" VIDEO_CARDS="nvidia"
65 [nomerge ] x11-drivers/nvidia-drivers-256.53 USE="acpi gtk (multilib) -custom-cflags"
66 [nomerge ] x11-base/xorg-server-1.7.7-r1 [1.9.0.902] USE="hal%* ipv6 kdrive nptl sdl%* xorg -debug% -dmx -minimal -tslib (-doc%) (-static-libs%) (-udev%*)"
67 [ebuild N ] x11-libs/libxkbui-1.0.2 USE="-debug" 217 kB
68 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
69 [nomerge ] gnome-extra/gnome-power-manager-2.30.1 USE="hal policykit -debug -doc -test"
70 [nomerge ] media-libs/libcanberra-0.26 USE="alsa gstreamer gtk sound -oss -pulseaudio -tdb"
71 [nomerge ] x11-themes/sound-theme-freedesktop-0.7
72 [nomerge ] sys-devel/gettext-0.18.1.1-r1 USE="acl git nls openmp -doc -emacs -nocxx"
73 [ebuild U ] dev-vcs/git-1.7.3.2 [1.7.3.1] USE="blksha1 curl gtk iconv perl threads webdav -bash-completion -cgi -cvs -doc -emacs (-ppcsha1) -subversion -tk -xinetd" 2,854 kB
74 [nomerge ] x11-base/xorg-x11-7.4-r1
75 [nomerge ] media-fonts/font-ibm-type1-1.0.1 USE="X"
76 [nomerge ] x11-apps/mkfontscale-1.0.7 USE="-debug"
77 [ebuild U ] x11-libs/libfontenc-1.1.0 [1.0.5] USE="-static-libs% (-debug%)" 263 kB
78 [ebuild U ] sys-apps/portage-2.1.9.21 [2.1.9.20] USE="(ipc) -build -doc -epydoc -python3 (-selinux)" LINGUAS="-pl" 137 kB
79 [blocks B ] <x11-base/xorg-server-1.8.0 ("<x11-base/xorg-server-1.8.0" is blocking x11-apps/xinit-1.2.1-r2)
80
81 Total: 11 packages (8 upgrades, 2 downgrades, 1 new), Size of downloads: 10,703 kB
82 Conflict: 1 block
83
84 !!! The following update has been skipped due to unsatisfied dependencies:
85
86 x11-base/xorg-server:0
87
88 !!! All ebuilds that could satisfy ">=media-libs/mesa-7.8_rc[nptl=]" have been masked.
89 !!! One of the following masked packages is required to complete your request:
90 - media-libs/mesa-7.8.2 (masked by: package.mask)
91 /etc/portage/package.mask:
92 # This version of mesa 7.8.2 is rummored to cause slowdown
93 # The previous version 7.7.1 is rummored to be much better
94 # Masking only 7.8.2 so that future (fixed??) versions can be installed
95
96 (dependency required by "x11-base/xorg-server-1.9.0.902" [ebuild])
97 For more information, see the MASKED PACKAGES section in the emerge
98 man page or refer to the Gentoo Handbook.
99
100 Would you like to merge these packages? [Yes/No] no
101
102 Quitting.
103
104 ajglap gottlieb #
105
106 Perhaps I should be downgrading xorg-server as well.
107
108 Since I would rather have a slow X than an angry portage,
109 I removed the package mask and expected all to be well, but was
110 surprised by the following. In particular at the end it says there is
111 one block but I don't see any.
112
113 Any help/advice would be appreciated.
114
115 allan
116
117 ajglap gottlieb # emerge --keep-going --update --newuse --with-bdeps=y --color n world
118
119 These are the packages that would be merged, in reverse order:
120
121 Calculating dependencies... done!
122 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
123 [nomerge ] app-crypt/seahorse-2.30.1 USE="ldap libnotify -avahi -debug -doc -test"
124 [nomerge ] app-crypt/gpgme-1.3.0 USE="-common-lisp -pth"
125 [nomerge ] app-crypt/gnupg-2.0.16-r2 USE="bzip2 ldap nls -adns -caps -doc -openct -pcsc-lite (-selinux) -smartcard -static"
126 [nomerge ] app-crypt/pinentry-0.8.0-r1 USE="gtk ncurses qt4 -caps -static"
127 [ebuild U ] app-admin/eselect-pinentry-0.3 [0.2] 0 kB
128 [nomerge ] x11-base/xorg-x11-7.4-r1
129 [ebuild U ] x11-apps/smproxy-1.0.4 [1.0.3] USE="(-debug%)" 111 kB
130 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
131 [nomerge ] gnome-extra/gnome-power-manager-2.30.1 USE="hal policykit -debug -doc -test"
132 [nomerge ] media-libs/libcanberra-0.26 USE="alsa gstreamer gtk sound -oss -pulseaudio -tdb"
133 [nomerge ] x11-themes/sound-theme-freedesktop-0.7
134 [nomerge ] sys-devel/gettext-0.18.1.1-r1 USE="acl git nls openmp -doc -emacs -nocxx"
135 [ebuild U ] dev-vcs/git-1.7.3.2 [1.7.3.1] USE="blksha1 curl gtk iconv perl threads webdav -bash-completion -cgi -cvs -doc -emacs (-ppcsha1) -subversion -tk -xinetd" 2,854 kB
136 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
137 [nomerge ] gnome-base/gdm-2.20.11 USE="branding consolekit gnome-keyring ipv6 pam tcpd -accessibility -afs -debug -dmx -remote (-selinux) -xinerama"
138 [nomerge ] sys-auth/pambase-20100925 USE="consolekit cracklib gnome-keyring sha512 -debug -kerberos -minimal -mktemp -passwdqc (-selinux) -ssh"
139 [nomerge ] sys-auth/consolekit-0.4.2-r3 [0.4.2-r1] USE="pam policykit -debug -doc -test"
140 [blocks b ] <sys-apps/shadow-4.1.4.2-r6 ("<sys-apps/shadow-4.1.4.2-r6" is blocking sys-auth/consolekit-0.4.2-r3)
141 [ebuild U ] sys-apps/shadow-4.1.4.2-r6 [4.1.4.2-r5] USE="cracklib nls pam -audit (-selinux) -skey" 1,749 kB
142 [ebuild U ] sys-auth/consolekit-0.4.2-r3 [0.4.2-r1] USE="pam policykit -debug -doc -test" 403 kB
143 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
144 [nomerge ] gnome-extra/gnome-games-2.30.2-r1 USE="artworkextra guile opengl sound (-clutter) -test"
145 [nomerge ] dev-python/pygtkglext-1.1.0 USE="-examples"
146 [nomerge ] virtual/glu-7.0
147 [ebuild U ] media-libs/mesa-7.8.2 [7.7.1] USE="nptl xcb -debug (-gallium) -motif -pic (-selinux)" VIDEO_CARDS="-intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -svga -tdfx -via (-sunffb%)" 0 kB
148 [nomerge ] gnome-base/gnome-2.30.2 USE="cdr cups dvdr ldap policykit -accessibility -mono"
149 [nomerge ] gnome-base/libgnomeprintui-2.18.6 USE="-doc"
150 [nomerge ] x11-themes/gnome-icon-theme-2.30.3
151 [nomerge ] x11-misc/icon-naming-utils-0.8.90
152 [nomerge ] dev-perl/XML-Simple-2.18
153 [nomerge ] dev-perl/XML-LibXML-1.70
154 [nomerge ] dev-lang/perl-5.12.2-r1 USE="berkdb gdbm -build -debug -doc -ithreads"
155 [ebuild U ] app-admin/perl-cleaner-2.7 [2.6] 6 kB
156 [nomerge ] x11-base/xorg-x11-7.4-r1
157 [nomerge ] media-fonts/font-ibm-type1-1.0.1 USE="X"
158 [nomerge ] x11-apps/mkfontscale-1.0.7 USE="-debug"
159 [ebuild U ] x11-libs/libfontenc-1.1.0 [1.0.5] USE="-static-libs% (-debug%)" 263 kB
160 [ebuild U ] sys-apps/portage-2.1.9.21 [2.1.9.20] USE="(ipc) -build -doc -epydoc -python3 (-selinux)" LINGUAS="-pl" 137 kB
161
162 Total: 9 packages (9 upgrades), Size of downloads: 5,520 kB
163 Conflict: 1 block
164
165 Would you like to merge these packages? [Yes/No]

Replies

Subject Author
Re: [gentoo-user] Preventing a package from being updated Alan McKinnon <alan.mckinnon@×××××.com>