pacman download library error

Ask questions about Arch Linux ARM. Please search before making a new topic.

pacman download library error

Postby brodiscious » Mon Feb 23, 2015 12:13 am

Hi everyone,

Sorry ahead of time if this is an easy fix. I'm not proud of it but I've spent literally all day searching Google for a fix that works. I don't like when people ask me for help without first putting in the effort themselves so I like to do the same. I am not new to Linux but I am not an expert either.

Anyway, I recently installed Arch on my POGOPLUG v4 on a USB stick. It boots, I can SSH into it, and it appears to connect to the outside as well as it tries to resolve dependencies before downloading packages. Pacman just fails to download them. I can ping to outside addresses as well. Here's the error I get when I try to install anything or perform system updates.

$this->bbcode_second_pass_code('', '
[root@pogoserver ~]# pacman -S ntfs-3g
resolving dependencies...
looking for conflicting packages...

Packages (2) fuse-2.9.3-2 ntfs-3g-2014.2.15-1

Total Download Size: 0.53 MiB
Total Installed Size: 1.89 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'fuse-2.9.3-2-arm.pkg.tar.xz' from mirror.archlinuxarm.org : Resolving timed out after 10521 milliseconds
warning: failed to retrieve some files
error: failed retrieving file 'ntfs-3g-2014.2.15-1-arm.pkg.tar.xz' from mirror.archlinuxarm.org : Resolving timed out after 10522 milliseconds
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
')

Anyway thanks ahead of time, I appreciate any help I can get :)
brodiscious
 
Posts: 2
Joined: Sun Feb 22, 2015 11:58 pm

Re: pacman download library error

Postby Guidobelix » Mon Feb 23, 2015 8:52 am

Try pacman -Syu before downloading any package. It will update the system and, more important for you, it will synchronize repository databases.
Guidobelix
 
Posts: 45
Joined: Fri Jun 21, 2013 6:52 am

Re: pacman download library error

Postby brodiscious » Tue Feb 24, 2015 12:59 am

Updates and synchronization don't work either through pacman. Anything where pacman needs to connect to a repository it fails and gets the same "download library error." I've changed the mirrors from the default to others and that also seems to have no effect. :cry:

I've read a few places where disabling ipv6 solves the problem because of a goofy way that pacman is trying to connect to the mirrors, but I don't remember being able to locate the systctl.conf. It was not where it should be (if I remember correctly) and I really don't know how to go about changing that setting to try that fix.
brodiscious
 
Posts: 2
Joined: Sun Feb 22, 2015 11:58 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 9 guests