Mark Wass wrote at about 13:20:24 +1000 on Tuesday, July 16, 2019: > Hi Guys > > Is there a How-To on upgrading from 4.3.0 to 4.3.1? > > I'm running 4.3.0 on Ubuntu 18.04 LTS and I installed originally from the > script on this page. > > https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu > > Thanks > Mark
It's unfortunately not that simple as you need to get a valid 'debian' folder for each package to compile the debian packages. I downloaded the 4.3.0 source packages built by Raoul Bhatia and copied over the debian folders (plus/minus some minor tweaks) and then used git to get the new latest sources and fakeroot to compile the packages... It's all a bit klugey.. Here are my notes: - First get debian version of old packages from Raoul Bhatia mkdir raoulbhatia cd raoulbhatia git clone https://github.com/raoulbhatia/rsync-bpc rsync-bpc cd rsync-bpc/ git checkout 3.0.9.13-DEBIAN cd .. git clone https://github.com/raoulbhatia/libbackuppc-xs-perl libbackuppc-xs-perl cd libbackuppc-xs-perl/ cd .. git clone https://github.com/raoulbhatia/backuppc backuppc cd backuppc/ git checkout DEBIAN - Then build updated packages using git and copying over the debian files from Raoul - Build 'rsync-bpc' package git clone g...@github.com:backuppc/rsync-bpc cd rsync-bpc/ git checkout 3.0.9.14 cp -a ../raoulbhatia/rsync-bpc/debian debian dch -i [Update changelog] fakeroot dpkg-buildpackage -uc -u cd .. dpkg -i rsync-bpc-<xxx>.debs - Build 'libbackuppc-xs-perl' package curl --location https://github.com/backuppc/backuppc-xs/releases/download/0.59/BackupPC-XS-0.59.tar.gz > libbackuppc-xs-perl_0.59.orig.tar.gz git clone g...@github.com:backuppc/backuppc-xs libbackuppc-xs-perl cd libbackuppc-xs-perl cp -a ../raoulbhatia/libbackuppc-xs-perl/debian debian dpkg-source --commit name: mtime-signed Description: Allow mtime to be signed in attrib files dch -i [Update changelog] fakeroot dpkg-buildpackage -uc -us cd .. dpkg -i libbackuppc-xs-perl-<xxx>.deb [Note need to install the package just compiled] - Build 'backuppc' [NOTE: needs new version of libbackuppc-xs-perl to be installed in order to compile] git clone g...@github.com:backuppc/backuppc cd backuppc cp -a ../raoulbhatia/backuppc/debian/ debian cp -a ../raoulbhatia/backuppc/lib/SCGI* lib/ [copies over SCGI.pm and SCGI dir] dch -i [Update changelog] vi debian/rules [Update the version number] From: ./makeDist --releasedate "2018-11-26" --version "4.3.0" To: ./makeDist --releasedate "2019-07-14" --version "4.3.1" fakeroot dpkg-buildpackage -uc -us cd .. dpkg -i backuppc-<xxx>.deb If necessary, restart the backuppc service: service backuppc restart Good luck! _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/