You are not logged in.
Hi All,
Fairly new to Arch but I've been running Linux for quite a while. I use Unison to keep various files in sync between my laptop, desktop, etc. For the most part, it usually works great for me.
Unison was set up and working fine between my Arch laptop and some of my other machines (Ubuntu and Debian based). However, after a recent pacman -Su, I'm having troubles. Every time I run Unison, I get a message like the following:
Waiting for changes from server
Reconciling changes
Dumping archives to ~/unison.dump on both hosts
Finished dumping archives
Fatal error: Internal error: New archives are not identical.
Retaining original archives. Please run Unison again to bring them up to date.Unfortunately, running Unison again doesn't fix this. I've tried "brainwashing" unison by deleting the archive files on both hosts, but I get the same message the very next time I run Unison.
I compared hex dumps of the archive files in vimdiff and found that there were a few bytes that were different between the two archives, but I don't know the binary format of the Unison archive files so I don't understand what the differences mean.
Conveniently, I kept a log of the output of pacman during my recent -Su, and Unison was NOT upgraded at that time, although openssh was (I somehow tricked myself into thinking that unison wasn't upgraded, but my log clearly shows it was). I'm currently running Unison 2.40.65 on all of my machines. It was working fine on my Arch laptop before the -Su, and still works on my Debian/Ubuntu boxes.
Any thoughts? Is anybody else running into this problem?
Thanks!
-Jeremy
Last edited by jeremytrimble (2012-09-19 11:41:08)
Offline
List of updated packages?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Thanks for the quick response. I can provide other information if it helps as well.
It's a big list:
alsa-lib-1.0.26-1 alsa-plugins-1.0.26-1 alsa-utils-1.0.26-1 archlinux-keyring-20120812-1 attica-0.4.1-1 automake-1.12.3-1
avahi-0.6.31-4 binutils-2.22-10 clucene-2.3.3.4-6 cracklib-2.8.19-1 cronie-1.4.8-3 cryptsetup-1.5.0-2 device-mapper-2.02.97-1
dhcpcd-5.6.0-1 dri2proto-2.8-1 e2fsprogs-1.42.5-1 ebook-tools-0.2.2-1 ethtool-1:3.5-1 filesystem-2012.8-1 firefox-15.0.1-1
flashplugin-11.2.202.238-1 freemind-0.9.0-3 fribidi-0.19.4-1 gc-7.2.d-1 gcc-4.7.1-6 gcc-libs-4.7.1-6 gdk-pixbuf2-2.26.3-1 gegl-0.2.0-3
gimp-2.8.2-1 git-1.7.12-1 glibc-2.16.0-4 gnutls-3.1.1-1 grep-2.14-1 gtk2-xfce-engine-3.0.1-1 gtk3-xfce-engine-3.0.1-1 gvim-7.3.659-1
hspell-1.2-1 hwids-20120831-1 icedtea-web-java7-1.3-1 ifplugd-0.28-13 imagemagick-6.7.9.2-1 imagemagick-doc-6.7.9.2-1 inetutils-1.9.1-4
initscripts-2012.08.3-2 inkscape-0.48.3.1-5 iproute2-3.5.1-1 iptables-1.4.15-1 jdk7-openjdk-7.u7_2.3.2-1 jre7-openjdk-7.u7_2.3.2-1
jre7-openjdk-headless-7.u7_2.3.2-1 kactivities-4.9.1-1 kdebase-runtime-4.9.1-1 kdegraphics-kolourpaint-4.9.1-1 kdegraphics-okular-4.9.1-1
kdelibs-4.9.1-1 khrplatform-devel-8.0.4-3 krb5-1.10.3-1 less-451-1 libatasmart-0.19-1 libcap-ng-0.7-1 libcups-1.6.1-6 libdrm-2.4.39-1
libedit-20120601_3.0-1 libegl-8.0.4-3 libevent-2.0.20-1 libgbm-8.0.4-3 libglapi-8.0.4-3 libgssglue-0.4-1 libmpc-1.0.1-1
libquvi-scripts-0.4.8-1 libreoffice-af-3.6.1-1 libreoffice-base-3.6.1-4 libreoffice-calc-3.6.1-4 libreoffice-common-3.6.1-4
libreoffice-draw-3.6.1-4 libreoffice-en-US-3.6.1-4 libreoffice-extension-nlpsolver-3.6.1-4 libreoffice-extension-pdfimport-3.6.1-4
libreoffice-extension-presentation-minimizer-3.6.1-4 libreoffice-extension-presenter-screen-3.6.1-4
libreoffice-extension-report-builder-3.6.1-4 libreoffice-extension-scripting-python-3.6.1-4 libreoffice-extension-wiki-publisher-3.6.1-4
libreoffice-gnome-3.6.1-4 libreoffice-impress-3.6.1-4 libreoffice-kde4-3.6.1-4 libreoffice-math-3.6.1-4
libreoffice-postgresql-connector-3.6.1-4 libreoffice-scripting-beanshell-3.6.1-4 libreoffice-scripting-javascript-3.6.1-4
libreoffice-sdk-3.6.1-4 libreoffice-sdk-doc-3.6.1-4 libreoffice-writer-3.6.1-4 libsystemd-187-4 [removal] libwbclient-3.6.7-2
libwebkit-1.8.3-1 libwps-0.2.7-1 libxml2-2.8.0-1 libxrandr-1.4.0-1 linux-3.5.3-1 linux-api-headers-3.5.1-1 logrotate-3.8.2-1
lvm2-2.02.97-1 man-pages-3.42-1 mercurial-2.3.1-1 mesa-8.0.4-3 mpfr-3.1.1.p2-1 nepomuk-core-4.9.1-1 net-tools-1.60.20120804git-2
netcfg-2.8.10-1 nmap-6.01-2 nss-3.13.6-1 nvidia-304.43-1 nvidia-utils-304.43-1 openssh-6.1p1-2 openvpn-2.2.2-2 oxygen-icons-4.9.1-1
p11-kit-0.13-1 pacman-mirrorlist-20120908-1 perl-5.16.1-1 perl-http-daemon-6.01-1 perl-http-date-6.02-1 perl-uri-1.60-1
phonon-gstreamer-4.6.2-1 pkg-config-0.27.1-1 poppler-0.20.3-1 poppler-glib-0.20.3-1 poppler-qt-0.20.3-1 powertop-2.1-1 ppp-2.4.5-4
pyxml-0.8.4-10 randrproto-1.4.0-1 ristretto-0.6.3-2 sane-1.0.23-1 sdl-1.2.15-2 smbclient-3.6.7-2 sqlite-3.7.14-1 sudo-1.8.6-1
swt-4.2-1 systemd-189-4 systemd-tools-187-4 [removal] sysvinit-2.88-7 sysvinit-tools-2.88-7 texlive-bin-2012.0-4 udisks-1.0.4-5
unison-2.40.65-1 upower-0.9.18-2 vim-runtime-7.3.659-1 virtualbox-4.1.22-1 virtualbox-modules-4.1.22-1 vlc-2.0.3-3 wget-1.14-1
wireless_tools-29-7 xf86-input-evdev-2.7.3-1 xorg-server-1.12.4-1 xorg-server-common-1.12.4-1
Last edited by jeremytrimble (2012-09-19 11:40:06)
Offline
I Had the same problem while syncing unison 2.40.65-1 (on an Ubuntu server). Complete reinitialization (removing archives) did not solve the problem. After a downgrade to 2.40.63-4 it worked. (was unison-2.40.65-1).
As quick workaround:
pacman -U /var/cache/pacman/pkg/unison-2.40.63-4-x86_64.pkg.tar.xz
Offline
This happens because the latest version of unison is build against ocaml 4, while Ubuntu/Debian still use ocaml 3.
Offline
I somehow ended up thinking that unison hadn't been upgraded, but obviously it was. Duh. (Error exists between chair and package manager.)
Downgrading to version 2.40.63-4 worked for me as well. Thanks for the info, _tj45 and Tes--!
Offline
I somehow ended up thinking that unison hadn't been upgraded, but obviously it was.
I agree with you. I cant downgrade so I cant use Unison from Arch side anymore. Someone knows a mirror for downgrading ?
Offline
Someone knows a mirror for downgrading ?
I don't know of a mirror, but there is a repository containing past PKGBUILD files for Arch packages.
Check out this link: https://projects.archlinux.org/svntogit … ges/unison
You should be able to download the files for an older version of unison and use ABS to build it.
Offline
There's a bug in ocaml 4. Seems it will be fixed soon, with the next release. Unfortunately Arch is already switched to ocaml 4. No workaround at moment except downgrade :-(
http://tech.groups.yahoo.com/group/unis … sage/10585
Last edited by Yagi858 (2012-09-23 20:30:16)
Offline
Argh, I really love Arch, but sometimes it's just a tick too fast ;-) Same problem here, just deleted archive files, waited 3 hours in order to get unison to reindex all files and now have the error again...
Thankfully there is ARM which has a copy of the old unison in case you don't have it in your cache anymore and don't want to build it yourself: http://arm.konnichi.com/search/index.ph … ommunity=1
Offline