Prev: getting current screen ID
Next: e2fsck: HOWTO tutorial
From: Michael Tsang on 22 Jun 2010 03:00 Consider the following: Package foo is installed (version 1.0). As it is not in any of the repositories, its priority is 100. Package foo is available in both repo xyz and pqr. The version in xyz is 0.9 and its priority is 990; the version in pqr is 1.1 and its priority is 500. Can foo be upgraded to 1.1 or it will be left intact? -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
From: Ron Johnson on 22 Jun 2010 03:40 On 06/22/2010 01:26 AM, Michael Tsang wrote: > Consider the following: > Package foo is installed (version 1.0). As it is not in any of the > repositories, its priority is 100. > Package foo is available in both repo xyz and pqr. The version in xyz is 0.9 > and its priority is 990; the version in pqr is 1.1 and its priority is 500. > Can foo be upgraded to 1.1 or it will be left intact? Have you tried, to see what happens? --simulate was added for that reason. I'd try this: # apt-get --simulate install foo=1.1 -- Seek truth from facts. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4C206669.6080802(a)cox.net
From: Boyd Stephen Smith Jr. on 22 Jun 2010 13:00 On Tuesday 22 June 2010 01:26:28 Michael Tsang wrote: > Consider the following: > Package foo is installed (version 1.0). As it is not in any of the > repositories, its priority is 100. > Package foo is available in both repo xyz and pqr. The version in xyz is > 0.9 and its priority is 990; the version in pqr is 1.1 and its priority is > 500. Can foo be upgraded to 1.1 or it will be left intact? Foo will be upgraded to 1.1. The 0.9 version is not considered because it is a downgrade and not does not have a priority above 1000. Downgrades are not supported, so they are pruned rather early in apt(itude) processing. If the 0.9 version had a priority of 1001, Foo would be downgraded to 0.9. If the 1.1 version had a priority of less than 100, Foo would remain at version 1.0. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss(a)iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
|
Pages: 1 Prev: getting current screen ID Next: e2fsck: HOWTO tutorial |