Backuppc 3.3.2 upgrade

Bug #1667733 reported by Richard de Rivaz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
backuppc (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Backuppc 3.3.2 is supposed to fix SMB based backup problems. I installed 3.3.2 from Sourceforge on Ubuntu 16.04 LTS 64 bit but Backuppc 'status' still shows previous version 3.3.1 installed. The SMB problem remains and I suspect an installation problem.

tags: added: upgrade-software-version
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
the next release (zesty) is feature-frozen on 3.3.1-4ubuntu1 already.
Except (obviously) fixes.

Version 3.3.2 was released on January 25th, 2017 and so far not even appeared in Debian which we try to follow in this case (Freeze for next release there as well).

Now there are three things combined in your request:
1. please update to new package version (that likely will be done in zesty+1)
2. there is a fix in 3.3.2 which should be backported (that should be an extra bug, maybe there is one already)
3. Why is the manually installed backuppc not showing up - that depends on your setup and how you installed the version from their tarball.

Finally I didn't find an SMB issue in the changelog of https://sourceforge.net/projects/backuppc/files/backuppc/3.3.2/
Yet OTOH I remember such an issue as LP bug.
/me is checking ...

Found it - I'd think your bug is actually a dup to bug 1576187 - would you agree?

Changed in backuppc (Ubuntu):
status: New → Incomplete
Revision history for this message
Richard de Rivaz (richard-mdr) wrote :

Hi Christian

1. Will do

2. #------------------------------------------------------------------------
# Version 3.3.2, 25 Jan 2017
#------------------------------------------------------------------------

* Updates to bin/BackupPC_dump and lib/BackupPC/Xfer/Smb.pm from maksyms to fix
  incompatabilities with Samba 4.3 (#22)

3. I used the installation suggested on Github:

To install BackupPC run these commands as root:

tar zxf BackupPC-__VERSION__.tar.gz
cd BackupPC-__VERSION__
perl configure.pl

Is this different from the 3.3.1-4 packaged version via Synaptic?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks for pointing to the part in the changelog that contains the smb fix Richard. I searched for "samba" not just reading through it :-/

The package instals itself (after placing the raw files) via a postinst script (https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html)
You can find the one that does that for backuppc in: /var/lib/dpkg/info/backuppc.postinst
(this is a cache and might be cleaned)

The install from upstream is conflicting (overriding files) with the distribution one:
Atfer install I see a lot of changes in "dpkg --verify backuppc"
So this breaks your former Distributon based install.

The upstream script asks you for upgrade your lder config which is at /etc/backuppc/config.pl.
If you "just" want to get to the upstream level you have to remove the Distribution one (apt-get remove backuppc) and then run the configure.pl in fresh-install mode.
Afterwards restart the service "service backuppc restart" and the new version is running.

But then this is just the upstream, no updates/upgrades/...
A workaround for now, but I'd recommend picking up the update once it is released and maybe even SRU'ed back.

Revision history for this message
Richard de Rivaz (richard-mdr) wrote :

Hi Christian

Thanks for the explanation and for confirming the conflict. As you say it might be best to wait for the packaged update - I hope that this will not be too long in coming!

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I also found the bug that complained about the issue with SMB originally.
It would be a pleasure if you could help by participating there about reproducing the issue and when a backported fix is around.

That said closing this as dup.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.