Re: Upgrading from Backports

2016-06-08 Thread Patrick Bartek
On Wed, 08 Jun 2016, Alex Mestiashvili wrote:

> On 06/07/2016 11:46 PM, Patrick Bartek wrote:
> > Need to upgrade claws-mail installed from regular repo to a newer
> > version in wheezy-backports.  I don't want to end up with two
> > installed versions.  Have done research, but have found nothing
> > specific about this particular procedure.  Would
> > 
> >apt-get install -t wheezy-backports claws-mail= > number>
> > 
> > upgrade the old version or just install the new version along side
> > the old.
> > 
> 
> It will upgrade the package. In this case backports simply provide a
> more up-to-date version of the same software.

That's what I thought.  I just wanted to be safe rather than sorry.

Thanks.

B



Re: Upgrading from Backports

2016-06-08 Thread Patrick Bartek
On Wed, 08 Jun 2016, Jochen Spieker wrote:

> Patrick Bartek:
> > Need to upgrade claws-mail installed from regular repo to a newer
> > version in wheezy-backports.  I don't want to end up with two
> > installed versions.  Have done research, but have found nothing
> > specific about this particular procedure.  Would
> > 
> >apt-get install -t wheezy-backports claws-mail= > number>
> > 
> > upgrade the old version or just install the new version along side
> > the old.
> 
> A Debian package can only ever be installed in one version at a time
> on one machine. The package is defined by its name. In your example,
> claws-mail is the package name and if it is already installed then it
> will be upgraded. You can most probably leave out the version number
> behind the package name. I would be surprised if wheezy-backports
> contained more than one version of claws-mail. And even if that was
> the case, apt-get would then pick the most recent version.
> 
> > Or would it be easier to "remove" the old version keeping all the
> > configs, etc., and install the new one from backports?  I did this
> > with LibreOffice a few years ago.  Worked fine.
> 
> Doesn't really make a difference. The state of your system should be
> the same after either 'remove && install' or a simple 'install'.

I'll try "upgrading" without the version number.

Yes, there's only one version of claws-mail in wheezy-backports, which
is newer than the regular repo version.

Thanks for clarifying.

B



Re: Upgrading from Backports

2016-06-08 Thread Jochen Spieker
Patrick Bartek:
> Need to upgrade claws-mail installed from regular repo to a newer
> version in wheezy-backports.  I don't want to end up with two installed
> versions.  Have done research, but have found nothing specific about
> this particular procedure.  Would
> 
>apt-get install -t wheezy-backports claws-mail=
> 
> upgrade the old version or just install the new version along side the
> old.

A Debian package can only ever be installed in one version at a time on
one machine. The package is defined by its name. In your example,
claws-mail is the package name and if it is already installed then it
will be upgraded. You can most probably leave out the version number
behind the package name. I would be surprised if wheezy-backports
contained more than one version of claws-mail. And even if that was the
case, apt-get would then pick the most recent version.

> Or would it be easier to "remove" the old version keeping all the
> configs, etc., and install the new one from backports?  I did this with
> LibreOffice a few years ago.  Worked fine.

Doesn't really make a difference. The state of your system should be the
same after either 'remove && install' or a simple 'install'.

J.
-- 
If I was Mark Chapman I would have shot John Lennon with a water pistol.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Upgrading from Backports

2016-06-08 Thread Alex Mestiashvili
On 06/07/2016 11:46 PM, Patrick Bartek wrote:
> Need to upgrade claws-mail installed from regular repo to a newer
> version in wheezy-backports.  I don't want to end up with two installed
> versions.  Have done research, but have found nothing specific about
> this particular procedure.  Would
> 
>apt-get install -t wheezy-backports claws-mail=
> 
> upgrade the old version or just install the new version along side the
> old.
> 

It will upgrade the package. In this case backports simply provide a
more up-to-date version of the same software.



Upgrading from Backports

2016-06-07 Thread Patrick Bartek
Need to upgrade claws-mail installed from regular repo to a newer
version in wheezy-backports.  I don't want to end up with two installed
versions.  Have done research, but have found nothing specific about
this particular procedure.  Would

   apt-get install -t wheezy-backports claws-mail=

upgrade the old version or just install the new version along side the
old.

Or would it be easier to "remove" the old version keeping all the
configs, etc., and install the new one from backports?  I did this with
LibreOffice a few years ago.  Worked fine.

I'm running Wheezy 64-bit.

Thanks.

B