Re: Pin package to "any version, don't remove"?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 07/21/2014 08:38 AM, The Wanderer wrote:
> On 07/21/2014 06:18 AM, Andrei POPESCU wrote:
>
>> On Du, 20 iul 14, 08:13:30, The Wanderer wrote:
>
>>> What I was aiming at with the version-number wildcard is to let a
>>> single pinning stanza work repeatedly, for different
>>> fglrx-driver versions, without need for manual intervention.
>
>> Would it be acceptable to pin to a release? Something like
>
>> Package: fglrx-driver
>> Pin: release a=unstable
>> Priority: 990
>> Explanation: ...
>
>> 990 is the priority of the target release (as per
>> apt_preferences(5)).
>
> It very well might be. I'll try this next time I get a chance
> (although *certainly* not with unstable).
Just to report back: I just tried this, and it didn't work. 'apt-get
dist-upgrade' still wants to remove fglrx-driver.
Even 'apt-get dist-upgrade fglrx-{driver,control}', which I used to
dist-upgrade without removing the driver last time, now no longer works;
apt-get doesn't figure out that it can resolve the dependencies by not
upgrading xserver-xorg-core, unless I explicitly hold (or pin) that
package to its current version. Which is another version-specific pin,
exactly what I was trying to avoid.
There are various approaches which look like they *should* work for this
- - logic-, semantics-, and syntax-wise - but as far as I've been able to
find, apparently none of them do...
(aptitude doesn't work much better; it can be made to figure out that
dependency-resolution path, but not before being told "no" on around a
dozen suggested solutions involving removing fglrx-driver.)
- --
The Wanderer
Secrecy is the beginning of tyranny.
A government exists to serve its citizens, not to control them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCgAGBQJT1VuNAAoJEASpNY00KDJr8ckQAIqtMDseLs5pUSihljSjLT2+
UbUVy9Cif4p8PnEHccqQHTdNiYHg/xsmG7hoce2sgFb0AeVq/ROpf7JYsnQejb9q
nbnjfOhUZQtFYwHWfx2SJQPZSx/h8/wBZGdrD3hXtIzshAC/Sca5ZbNCF2re68op
k4brF2LO9ccDPKlLkzhjHuMJanJb7bnx6Lg4+IB0CTvgESGMp0hZfN0rqCDf3DS/
yWdpOJ2Sh8iZeKQ51nWtj6lMwyUxyyTYFlunSHwQi7MCv3/SUWLkusBYaGioNecF
OU5B5ufj1mPXDbiD3D6d5k4rgl/LGKS8DqMKWOSOol8cXM0tCTw1rdKatubtp6T8
bM2fyDnTEx7z0aCgVwNIRRaPAMW3Zo5fI4BGvZ84ueUGSxsPAaTG28Lv/ZsynozL
507DnZ6FqovZcomv0s9Uua1ooDFAubE1QNH6nfAERc+yMcNH9A9J5sNcETH3Vb54
c6qLVVvgKO+KaBMhLV5t5GQtFBaiBtuki3JSbSCURBOueOrA+TdaYhyrHkUWk9VJ
LyL5A9kcI+/nj1/IZQm1Ez10kIhIVmI4mXn1fr+nG2xM8Ry2vQtxH89VOlIBS/WD
C0ZEpJdK1RSOdKb1IzWFotNnPJRLrMLpW8fyIBnHtM6CyoPqm5nCBv+VpNC27N3F
HX19Pen+8OfNfPqgJ1MH
=Zeyv
-----END PGP SIGNATURE-----
Reply to: