install RSYNC (archlinux)

Posted by pablok 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
install RSYNC (archlinux)
October 06, 2014 04:06PM
Today I tried this several times while the Pibox was connected by cable. And that was after the stupid mistake to try this while it worked as the PirateBox and then it has of course no internet connection....Although the viewable information in really not very clear about that.
Please advise how to install Rsync on the archlinux PirateBox.

pacman -S rsync
resolving dependencies...
looking for inter-conflicts...

Packages (1): rsync-3.1.0-2

Total Download Size: 0.22 MiB
Total Installed Size: 0.47 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'rsync-3.1.0-2-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
Re: install RSYNC (archlinux)
October 07, 2014 08:24AM
Hi,
that has nothing todo with having not internet.
You need to update the package repository. run

pacman -Sy
then
pacman -S rsync

Matthias


This is only my signature.
Re: install RSYNC (archlinux)
October 07, 2014 01:52PM
Dear Matthias,
Thank you for your answer that pointed me in the right direction.

But I have to say I definitely needed a cable connection with my router to install rsync.
Below is the output in the terminal. The first part, before the ======= is without cable connection. The second part is with a cable connected.
-- Terminal output --
[root@alarmpi ~]# pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update community (download library error)
error: failed retrieving file 'alarm.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update alarm (download library error)
error: failed retrieving file 'aur.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update aur (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
[root@alarmpi ~]# pacman -S rsync
resolving dependencies...
looking for inter-conflicts...

Packages (1): rsync-3.1.0-2

Total Download Size: 0.22 MiB
Total Installed Size: 0.47 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
error: failed retrieving file 'rsync-3.1.0-2-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
synchronizing filesystem...
============================================
==== Met kabelverbinding/ with cable connected ======
[root@alarmpi ~]# pacman -Sy
:: Synchronizing package databases...
core 159.0 KiB 552K/s 00:00 [######################] 100%
extra 2.2 MiB 942K/s 00:02 [######################] 100%
community 2.4 MiB 949K/s 00:03 [######################] 100%
alarm 29.0 KiB 234K/s 00:00 [######################] 100%
aur 61.8 KiB 351K/s 00:00 [######################] 100%
[root@alarmpi ~]# pacman -S rsync
resolving dependencies...
looking for inter-conflicts...

Packages (1): rsync-3.1.1-2

Total Download Size: 0.24 MiB
Total Installed Size: 0.51 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
rsync-3.1.1-2-armv6h 250.0 KiB 638K/s 00:00 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) installing rsync [######################] 100%
synchronizing filesystem...
Re: install RSYNC (archlinux)
October 07, 2014 03:30PM
Looks like it worked, when you have internet winking smiley