Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#15816 - pacman fails to download specific package file from repository

Attached to Project: Pacman
Opened by Doug Penner (DarwinSurvivor) - Wednesday, 05 August 2009, 20:05 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 07 August 2009, 08:43 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 3.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
PacMan failed to doanload the dia package from 2 different mirrors. Other packages install fine, only dia seems to be affected (as far as I can tell).

The first time I tried to install it (pacman -S dia), pacman segfaulted (sorry, I forgot to copy the text, but it was definitely a segfault). Every time after yeilded the following error (but no segfault).
failed retrieving file 'dia-0.97-2-x86_64.pkg.tar.gz' from mirror.csclub.uwaterloo.ca : Success

I was able to manually download the package using wget, then run pacman -U <downloaded_file> and that worked fine.


Additional info:
Package Version:
dia-0.97-2-x86_64
Mirrors tested:
ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/x86_64

Steps to reproduce:
pacman -S dia

Note: Please see debug.txt for more details.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 07 August 2009, 08:43 GMT
Reason for closing:  Not a bug
Comment by Xavier (shining) - Thursday, 06 August 2009, 11:11 GMT
I guess its because there was a corrupted file already in your cache, and it was trying to resume it
debug: existing file found, using it

If you remove the file from the cache, does it work?

And the first segfault happened during downloading?
Comment by Roman Kyrylych (Romashka) - Thursday, 06 August 2009, 13:20 GMT
@Xavier: I think it is similar to my issue in  FS#15657 
(trying to download partial file without checking if it wasn't changed first)
but in my case it was error: failed retrieving file ...: Requested Range Not Satisfiable
and here it is error: failed retrieving file ... : Success
Comment by Doug Penner (DarwinSurvivor) - Friday, 07 August 2009, 06:18 GMT
I just got the same error again when trying to install gparted.
I did a "sudo rm -rf /var/cache/pacman/pkg/*" before running it (this time).

Xavier: I believe the segfault happened while it was trying to "install" the package (after downloading), but I am not sure (I accidentally closed the window before I could copy the output). As for deleting the cached file, I installed dia manually (wget'd the file), but the gparted attempt does not show that error.

I have attached my terminal session to this comment.
Comment by Xavier (shining) - Friday, 07 August 2009, 08:13 GMT
in that last case, the mirror did not have the file.
It was probably just sync-ing.

I wonder if we will ever make any progress on these download issues...
Comment by Doug Penner (DarwinSurvivor) - Friday, 07 August 2009, 08:19 GMT
The package is "still" not installing, 3 hours later. Is it normal for this to happen or am I just really un-lucky?
Comment by Xavier (shining) - Friday, 07 August 2009, 08:24 GMT
gparted was upgraded to 0.4.6
http://archlinux.unixheads.org/extra/os/x86_64/gparted-0.4.6-1-x86_64.pkg.tar.gz

I just checked that the db of this mirror is also up-to-date.
You just need -Sy
Comment by Doug Penner (DarwinSurvivor) - Friday, 07 August 2009, 08:42 GMT
Ah, that did the trick, thank you.

I'll keep in mind to -Sy if I have problems in the future.

Loading...