[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updating Packages in Debian Squeeze from Backports/Testing



On Tue, Jun 14, 2011 at 2:17 PM, Sven Joachim <svenjoac@gmx.de> wrote:
> On 2011-06-14 21:01 +0200, Noah Duffy wrote:
>
>>
>> I read the guide you posted, and it seems simple enough.  I understand
>> it as this:
>>
>> Let's say I want to "backport" Banshee from Wheezy because it's
>> version 2.0.1, I could add the source repository for wheezy to my
>> sources, and build that package following the instructions that way.
>
> Good luck, you might need it.  Banshee seems to be a rather complex
> package.
>
>> The only thing I didn't quite understand was changing the version
>> number to version~bpo50+1.
>
> Actually, for squeeze packports you should use version~bpo60+1, since
> this is a backport for Debian 6.0, not for 5.0.
>
>> They say this makes the version number
>> less than the one you're building.  I don't understand how it makes it
>> less, but either way, I'm assuming this is done for the exact reason I
>> mentioned originally.
>
> The tilde (~) is treated specially by dpkg when comparing versions, it
> sorts before the empty string.
>
>> If I installed a newer package and then
>> upgraded to the next stable release, it's package will trump mine?
>
> Exactly, and this is usually what you want.
>
> Sven

Okay, I think I have a pretty solid understanding now!  I'll take a
stab at all of this a little later.  Hopefully I won't run into any
problems.  :)

Thanks,
Noah Duffy


Reply to: