Package Details: attic 0.16-1

Git Clone URL: (read-only)
Package Base: attic
Description: A deduplicating backup program for efficient and secure backups.
Upstream URL:
Licenses: BSD
Submitter: Beneldr
Maintainer: None
Last Packager: gim
Votes: 31
Popularity: 0.161833
First Submitted: 2013-12-21 23:16
Last Updated: 2015-12-04 11:34

Latest Comments

SanskritFritz commented on 2017-05-11 12:37

Tha-Fox have you tried borg? It's a fork of attic.

Tha-Fox commented on 2017-05-10 21:14

Python was upgraded and once again attic broke. Every time I've just reinstalled attic and it has worked. This time I can't install attic from AUR. I get this error:

attic/crypto.c:448:18: error: field ”ctx” has incomplete type

error: command 'gcc' failed with exit status 1

Has anyone else seen this?

rpodgorny commented on 2016-05-23 16:06

arneko: not sure, really. but! just in case you don't know already, be sure to check borg - the actively maintained attic fork...

arneko commented on 2016-05-23 13:49

Is it just me or is both the "mount" and "extract" function broken? I tried on both my client and my server without results, also the self tests seem fo fail (fakeroot -u python -m Since both extract and mount don't work it's kinda hard to tell if backups works at all, but certainly seems to. Tried reinstalling the package with no effect.

Clouseau commented on 2015-11-14 20:38

All good, didn't upgrade the system for 2 months :D

Clouseau commented on 2015-11-13 19:46

Tried fresh install today and there is an error in build

Traceback (most recent call last):
File "/usr/bin/sphinx-build", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.4/site-packages/pkg_resources/", line 3084, in <module>
File "/usr/lib/python3.4/site-packages/pkg_resources/", line 3070, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/pkg_resources/", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.4/site-packages/pkg_resources/", line 651, in _build_master
File "/usr/lib/python3.4/site-packages/pkg_resources/", line 952, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.4/site-packages/pkg_resources/", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Sphinx==1.3.1' distribution was not found and is required by the application
Makefile:113: recipe for target 'man' failed
make: *** [man] Error 1
==> ERROR: A failure occurred in build().
The build failed.

The package python-sphinx-1.3.1-10 is installed. Any idea?

noplomplom commented on 2015-10-17 09:21

Error again, re-installing does not help:

Traceback (most recent call last):
File "/usr/bin/attic", line 2, in <module>
from attic.archiver import main
ImportError: No module named 'attic'
attic: Error: Connection closed by remote host

Any ideas?

EDIT: I found where the problem was. I simply forgot to re-install attic on my remote server too...

JasonP commented on 2015-10-10 14:05

@Beneldr Also reinstalled here and everything goes fine :)


Beneldr commented on 2015-10-10 13:38

@JasonP: I just reinstalled the package. Also, note that vlad is now the maintainer.

JasonP commented on 2015-10-05 14:38

@Beneldr After the recent change to Python3.5 as the default Python 3 in Arch, attic stopped working because it's not installed in this version. Should I simply reinstall it or is there an automated way for library migrations when Python upgrades?


wsha commented on 2015-05-14 04:18

Just to add some information to the recent comments: development of the original Attic project has slowed down due to other commitments in the main developer's personal life. However, he is still working on Attic and does not plan to merge all of the changes that some other community members have been making in downstream forks of the project. The original Attic developer favors stability, whereas the forked projects are tolerant of backwards incompatible changes for the sake of adding new features (at least at the outset of a new fork but perhaps remaining stable after some initial changes). It is up to the users to decide which project is a better fit for their needs (if one of the new features is needed, one of the forks should probably be used; if not, the original project might provide more stability), but keep in mind that the forked versions will produce repos that can no longer work with the attic command from the original project.

You can read more here:

Beneldr commented on 2015-04-16 05:51

Package updated for newly released bugfix version 0.15. Also, for those of you interested in a more active branch, attic-merge-all-git has been uploaded to the AUR.

lockheed commented on 2015-04-01 08:11

@Beneldr, I agree separate package attic-merge-all should be created. This is what I suggested here: However, I am not the person to do it because of two reasons: 1 - I lack the time to maintain it. For example, I tried creating the package with that PKGBUILD but, even though I did this before, in the limited time I had I was unable to re-learn how to package it for AUR. 2 – I know very little about compiling packages from github. My PKGBUILD is based on yours, it compiles, and resulting program works, but there are some errors during compilation. Since you already maintain your own git version, I though perhaps it would not be a serious burden for you to add another version. I thought that due to the features of attic-merge-all, you might think it is worth it.

Beneldr commented on 2015-03-31 11:25

@lockheed: I’ve been following the talk upstream, so I’m aware of the situation. It is unfortunate. However, I don’t know whether I should change the source of this package or not. My first thought was that maybe we should create a new package, attic-merge-all, just like rpodgorny wrote. There are, after all, several “fork packages” in the AUR for better, enhanced versions of their original. And I see that you’ve already created a PKGBUILD for merge-all-git. Thus, I encourage you to upload it to the AUR.

lockheed commented on 2015-03-29 21:53

@rpodgorny, I understand. However, both packages have the same maintainer and since the other one has no discussion, I though it would be more sensible to mentioned it here.

rpodgorny commented on 2015-03-29 21:45

@lockheed: yep, i'm familiar with the situation. that's why a new package (attic-merge-all-git?) should be created (or updated). but this is a non-git version and should be bound to a release/tag (and there should be no git repository in source list as a consequence - only a properly checksummed tarball).

lockheed commented on 2015-03-29 21:36

@rpodgorny, This is unreleased because the main project is dead, or at least frozen since months, because the original creator moved on with his life. This is why the new branch was created and is being constantly updated with bugfixes and new features.

rpodgorny commented on 2015-03-29 21:33

@lockheed: this is not a -git version so no unreleased (rolling) stuff, please...

lockheed commented on 2015-03-29 17:48

Here's the PKGBUILD for the latest, fully featured attic:

pkgdesc="A deduplicating backup program for efficient and secure backups. Merge-all branch with additional features and bugfixes."
arch=('i686' 'x86_64')
depends=('openssl' 'python-msgpack')
optdepends=('python-llfuse: Mounting backups as a FUSE filesystem')
makedepends=('git' 'cython' 'python-sphinx')

pkgver() {
cd "$srcdir/$pkgname"
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'

build() {
cd "$srcdir/$pkgname/docs"
PYTHONPATH=.. make man

package() {
cd "$srcdir/$pkgname"
install -D -m644 "docs/_build/man/attic-deduplicatingarchiver.1" "$pkgdir/usr/share/man/man1/attic.1"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python3 -q install --root="$pkgdir" --optimize=1

lockheed commented on 2015-03-27 10:09

@Blender, would you consider changing the source of your attic package as per this post?
I think there's no point to stick with the old version with suspended development, when there is a new, active branch available with many more futures and bugfixes.

richli commented on 2015-03-26 18:18

@amxx: It's because Python 3.4.3-2 was recently released, which disabled configuration with Valgrind [1]. Here's a bug report that's similar: [2].


amxx commented on 2015-03-26 18:09

forcing recompilation of attic solves the issue ... strange

amxx commented on 2015-03-26 18:03

After python update I get an error running attic
File "/usr/bin/attic", line 2, in <module>
from attic.archiver import main
File "/usr/lib/python3.4/site-packages/attic/", line 13, in <module>
from attic.archive import Archive, ArchiveChecker
File "/usr/lib/python3.4/site-packages/attic/", line 7, in <module>
from attic.key import key_factory
File "/usr/lib/python3.4/site-packages/attic/", line 10, in <module>
from attic.crypto import pbkdf2_sha256, get_random_bytes, AES, bytes_to_long, long_to_bytes, bytes_to_int, num_aes_blocks
ImportError: /usr/lib/python3.4/site-packages/attic/ undefined symbol: AnnotateIgnoreReadsBegin

Python update is :
[2015-03-26 12:19] [ALPM] upgraded python (3.4.3-1 -> 3.4.3-2)
[2015-03-26 12:19] [ALPM] upgraded python-lxml (3.4.2-1 -> 3.4.2-2)
[2015-03-26 12:19] [ALPM] upgraded python-numpy (1.9.2-1 -> 1.9.2-2)
[2015-03-26 12:19] [ALPM] upgraded python-pyzmq (14.5.0-1 -> 14.5.0-2)
[2015-03-26 12:19] [ALPM] upgraded python-scipy (0.15.1-1 -> 0.15.1-2)
[2015-03-26 12:19] [ALPM] upgraded python2-lxml (3.4.2-1 -> 3.4.2-2)
[2015-03-26 12:19] [ALPM] upgraded python2-numpy (1.9.2-1 -> 1.9.2-2)
[2015-03-26 12:19] [ALPM] upgraded python2-pyzmq (14.5.0-1 -> 14.5.0-2)
[2015-03-26 12:19] [ALPM] upgraded python2-scipy (0.15.1-1 -> 0.15.1-2)

lockheed commented on 2015-03-17 06:03

Update: it worked after reboot.

lockheed commented on 2015-03-16 22:34

I keep getting this error:

ImportError: /usr/lib/python3.4/lib-dynload/ cannot read file data: Input/output error
Makefile:113: recipe for target 'man' failed
make: *** [man] Error 1

I checked and the file is already using "python3"

2bluesc commented on 2014-12-22 06:59

Latest build (0.14) has issues when default python version is version 2 (python --version on my system is 2.7.9):

Build finished. The manual pages are in _build/man.
==> Entering fakeroot environment...
==> Starting package()...
Attic requires Python 3.2 or later
==> ERROR: A failure occurred in package().
==> ERROR: Makepkg was unable to build attic.

Fixed by running `python3` instead of `python`

Jamalaka commented on 2014-12-05 13:40

Builds successfull under "arm".

Beneldr commented on 2014-07-31 19:55

Thanks to willemw, I’ve already uploaded a new version. I can confirm it is working, whether Attic is installed beforehand or not. Let’s hope that we don’t need a -6 bump. ;-)

willemw commented on 2014-07-31 18:48

Something like this should work, in case attic is not already installed:
build() {
cd "$srcdir/Attic-$pkgver/docs"
PYTHONPATH=.. make man

Beneldr commented on 2014-07-31 14:04

gps1539: The “make man” doesn’t seem to work. It’s probably due to a path issue; I’ll have a look at it when I have the time. I‘ve uploaded a new version without the docs for now.

gps1539 commented on 2014-07-31 05:49

Fails to install

Exception occurred:
File "", line 14, in <module>
import sys, os, attic
ImportError: No module named 'attic'

Beneldr commented on 2014-07-28 18:12

willemw: Shoot! My first thought was to add the build function, but I saw some other packages here in AUR that did it as I (formerly) did. It’s fixed now, though; Sphinx dependency added too. Thanks for your feedback, once again!

willemw commented on 2014-07-28 17:58

The following lines should be in build():
cd "$srcdir/Attic-$pkgver/docs"
make man

Also, please add 'python-sphinx' to makedeps (see docs/Makefile).

Beneldr commented on 2014-07-28 16:55

willemw: Thanks for your comments. I’ve changed the PKGBUILD for this package as well as the git version of it. Since I’m still new to the AUR, I do appreciate feedback!

willemw commented on 2014-07-28 12:58

Please add man (and html) pages: cd docs; make man

willemw commented on 2014-07-28 12:20

'attic-git' should have both 'provides' and 'conflicts'. 'attic' should not have 'conflicts' (and 'provides') in that case.
'python-msgpack' already depends on 'python', so 'python' doesn't have to be in 'depends'.

jborgstrom commented on 2014-03-08 19:38

The official download url is This download contains some extra bits making the install a lot quicker (Installing directly from git/github requires Cython).

eht16 commented on 2014-02-23 08:21

It works now, thanks.

Beneldr commented on 2014-02-22 23:13

That is weird... I am sure I ran updpkgsums before I uploaded version 0.10-1. I also installed attic-0.10-1 afterwards just to see that everything was working.

Anyway, I uploaded a new package version. It should be working again!

eht16 commented on 2014-02-22 11:26

Building attic fails with:

==> Building and installing package
==> Making package: attic 0.10-1 (Sat 22 Feb 12:24:38 CET 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading 0.10.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 117 100 117 0 0 225 0 --:--:-- --:--:-- --:--:-- 225
0 0 0 66463 0 0 42390 0 --:--:-- 0:00:01 --:--:-- 325k
==> Validating source files with md5sums...
0.10.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build attic.

Did you update the md5sums in PKGBUILD?