Installation Imapsync auf UCS

Hallo,

wir wollen gerne imapsync installieren. Die Installationsanweisung ist da sehr einfach:

#!/bin/cat 
# $Id: INSTALL.Debian.txt,v 1.7 2016/06/22 19:58:32 gilles Exp gilles $

There is one section for Debian 7 and one for Debian 6.

==========================================
= Installing imapsync on Debian 7 Wheezy =
==========================================

Here are the two commands to install imapsync dependencies.
You need root priviledge to run them.

The first command installs standard Debian packages:

  apt-get install   
libauthen-ntlm-perl 
libcrypt-ssleay-perl 
libdigest-hmac-perl  
libfile-copy-recursive-perl 
libio-compress-perl 
libio-socket-inet6-perl 
libio-socket-ssl-perl   
libio-tee-perl          
libmodule-scandeps-perl 
libnet-ssleay-perl      
libpar-packer-perl      
libreadonly-perl        
libterm-readkey-perl    
libtest-pod-perl        
libtest-simple-perl     
libunicode-string-perl  
liburi-perl             
cpanminus


The second command installs "manually" the Perl module Data::Uniqid
because Debian hasn't made it available via a package yet.
It also  install manually Perl module Mail::IMAPClient because
it is good to be up to date:

  cpanm Data::Uniqid Mail::IMAPClient

After installing the dependencies, imapsync should be working.

You don't have to be root to test and use imapsync.
Take the compressed tarball called imapsync-1.xxx.tgz
where 1.xxx is the version number. 
Untar the tarball where you want:

  cd 
  tar xzvf  imapsync-1.xxx.tgz

Go into the directory imapsync-1.xxx

  cd imapsync-1.xxx

A dependencies test that shows also the basic example:

  ./imapsync

A live test showing imapsync job:

  ./imapsync --testslive

Now the install command (need root priviledges again):

  cp imapsync /usr/bin/

That's finished for the installation part.
You can use imapsync.

Now go to read http://imapsync.lamiral.info/#doc
start with the tutorial.

===========================================
= Installing imapsync on Debian 6 Squeeze =
===========================================


  apt-get install   
libcrypt-ssleay-perl 
libdigest-hmac-perl  
libfile-copy-recursive-perl 
libio-compress-perl 
libio-socket-inet6-perl 
libio-socket-ssl-perl   
libio-tee-perl          
libmodule-scandeps-perl 
libnet-ssleay-perl      
libpar-packer-perl      
libreadonly-perl        
libterm-readkey-perl    
libtest-pod-perl        
libtest-simple-perl     
libunicode-string-perl  
liburi-perl


  perl -MCPAN -e "install Data::Uniqid"
  perl -MCPAN -e "install Authen::NTLM"
  perl -MCPAN -e "install Mail::IMAPClient"
 
The Perl module Mail::IMAPClient is good to be recent
and installed manually.

After installing the dependencies, imapsync should be working.

You don't have to be root to test and use imapsync.
Take the compressed tarball called imapsync-1.xxx.tgz
where 1.xxx is the version number. 
Untar the tarball where you want:

  cd 
  tar xzvf  imapsync-1.xxx.tgz

Go into the directory imapsync-1.xxx

  cd imapsync-1.xxx

A dependencies test that shows also the basic example:

  ./imapsync

A live test showing imapsync job:

  ./imapsync --testslive

Now the install command (need root priviledges again):

  cp imapsync /usr/bin/

That's finished for the installation part.
You can use imapsync.

Now go to read http://imapsync.lamiral.info/#doc
start with the tutorial.

Leider kriegen wir die dependencies aber schon nicht sauber drauf:

apt-get install   
> libauthen-ntlm-perl 
> libcrypt-ssleay-perl 
> libdigest-hmac-perl  
> libfile-copy-recursive-perl 
> libio-compress-perl 
> libio-socket-inet6-perl 
> libio-socket-ssl-perl   
> libio-tee-perl          
> libmodule-scandeps-perl 
> libnet-ssleay-perl      
> libpar-packer-perl      
> libreadonly-perl        
> libterm-readkey-perl    
> libtest-pod-perl        
> libtest-simple-perl     
> libunicode-string-perl  
> liburi-perl             
> cpanminus
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »perl« wird an Stelle von »libio-compress-perl« gewählt.
Hinweis: »perl-modules« wird an Stelle von »libtest-simple-perl« gewählt.
Paket libcrypt-ssleay-perl ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

Paket libauthen-ntlm-perl ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

E: Für Paket »libauthen-ntlm-perl« existiert kein Installationskandidat.
E: Für Paket »libcrypt-ssleay-perl« existiert kein Installationskandidat.
E: Paket libio-tee-perl kann nicht gefunden werden.
E: Paket libmodule-scandeps-perl kann nicht gefunden werden.
E: Paket libpar-packer-perl kann nicht gefunden werden.
E: Paket libtest-pod-perl kann nicht gefunden werden.
E: Paket cpanminus kann nicht gefunden werden.
root@ucs:/usr/local/src/imapsync-1.727# ./imapsync
Can't locate IO/Tee.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./imapsync line 717.
BEGIN failed--compilation aborted at ./imapsync line 717.
root@ucs:/usr/local/src/imapsync-1.727# ./imapsync --testslive
Can't locate IO/Tee.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./imapsync line 717.
BEGIN failed--compilation aborted at ./imapsync line 717.

Der Aufruf des programms selber scheitert auch:

./imapsync Can't locate IO/Tee.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./imapsync line 717. BEGIN failed--compilation aborted at ./imapsync line 717.

Hat jemand eine Idee, wie es gehen kann?
Danke
Sascha

ucr set repository/online/unmaintained='yes' 
aptitude update

Ups…das war einfach…:slight_smile:
Klappt hervorragend,
Danke
Sascha

Freut mich, daß es geklappt hat. Anschließend sollte man es wieder deaktivieren:

ucr set repository/online/unmaintained='no' 

na klar, logisch!

danke nochmal
Sascha

Mastodon