You are not logged in.

#1 2007-06-02 20:34:29

Alvinistic
Member
From: Singapore
Registered: 2005-09-27
Posts: 17

pacman 3 can't download pkg

Hi, I just downloaded Arch Duke the LinuxTag edition. Did a clean install and so far so good.

The problem is I can't install anything using the new pacman 3.

I did a

 pacman -Sy

I used the Xfer command to use wget to download the packages. Pacman actually managed to connect to the repository, but it can't download the db. I can see the progress bar but it is not moving. FYI, I used the ftp://ftp.archlinux.org/current/os/i686, so I don't think there is something wrong with the repo.

I also tried

pacman --debug -Sy

but it shows nothing as pacman actually just stuck there when trying to download the file.

This problem wasn't there when I was using pacman 2.9.8. I expect pacman 3 will do everything the previous version capable to do sad
Oh yeah, and I am using proxy.

Btw, in case anyone asking, this is my pacman.conf:

#
# /etc/pacman.conf
#
# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#
#[testing]
#Include = /etc/pacman.d/testing

[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[current]
#Server = file:///mnt/cdrom/arch/pkg

Please help. Thanks!

Offline

#2 2007-06-02 21:27:55

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: pacman 3 can't download pkg

last i heard ftp.archlinux.org was throttled , and even if not u shouldnt uyse it anyway

i guess u HAVE tried another mirror right?


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-06-03 00:08:39

Alvinistic
Member
From: Singapore
Registered: 2005-09-27
Posts: 17

Re: pacman 3 can't download pkg

Yeah, I have tried using other mirror and it gave me the same result sad

Offline

#4 2007-06-03 00:22:48

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: pacman 3 can't download pkg

The problem might be with your proxy. Try using it without it?

Offline

#5 2007-06-03 00:45:38

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: pacman 3 can't download pkg

try an http repo.
it could be that your network isn't allowing the dat portion of the ftp connections or something.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2007-06-03 09:05:39

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: pacman 3 can't download pkg

I've experienced the same problem yesterday when I tried to install Arch within qemu. Everything else network-related worked: I was able to browse the web using links and pacman was even able to download the .db.tar.gz files from the mirror I've selected, but when it came to download the actual packages, pacman stalled.

First I thought this was some weird problem with qemu, so I installed Virtualbox and tried again, but the problem remained. So I gave up because I thought it was a problem with how network works in those virtual machines.

The ISO I booted from was the Duke ftp one for i686 (Archlinux-i686-2007.05-Duke.ftp.iso).

Offline

#7 2007-06-03 09:28:23

Alvinistic
Member
From: Singapore
Registered: 2005-09-27
Posts: 17

Re: pacman 3 can't download pkg

Hi, everyone

Thanks for the reply.

The problem might be with your proxy. Try using it without it?

Unfortunately, I have no control over using proxy or direct connection as I'm using university's connection.

I've experienced the same problem yesterday when I tried to install Arch within qemu. Everything else network-related worked: I was able to browse the web using links and pacman was even able to download the .db.tar.gz files from the mirror I've selected, but when it came to download the actual packages, pacman stalled.

My case is a bit different. I also can not download the db file sad

My guess is because of the new pacman. I didn't have these problems when I was using earlier version of pacman. So, I expect a workaround to make it work in my box.

Offline

#8 2007-06-03 09:49:49

Alvinistic
Member
From: Singapore
Registered: 2005-09-27
Posts: 17

Re: pacman 3 can't download pkg

try an http repo.
it could be that your network isn't allowing the dat portion of the ftp connections or something.

Thx, cactus. It works. I can download from http repo. But I'm still wondering why I can't download from ftp repo with pacman 3 while I could do it using pacman 2.9.8.

Maybe someone can figure this out? Thanks! I love Arch and I love you, guys!

Offline

#9 2007-06-11 00:16:28

rickyc85
Member
Registered: 2007-06-11
Posts: 2

Re: pacman 3 can't download pkg

Hi everyone!

I had the same problem. In my case it is due to a bug in the DNS of the router that doesn't manage ipv6 correctly.
I solved appending --inet4-only to XferCommand in pacman.conf.

Last edited by rickyc85 (2007-06-11 07:59:25)

Offline

#10 2007-06-11 15:16:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman 3 can't download pkg

Any specific reason you're using the XferCommand?

Offline

#11 2007-07-03 17:32:43

rickyc85
Member
Registered: 2007-06-11
Posts: 2

Re: pacman 3 can't download pkg

XferCommand is the command used by pacman to call an external download manager. In my pacman.conf I have:
XferCommand = /usr/bin/wget --passive-ftp --inet4-only -c -O %o %u

Offline

#12 2007-07-03 20:36:12

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: pacman 3 can't download pkg

rickyc85 wrote:

Hi everyone!

I had the same problem. In my case it is due to a bug in the DNS of the router that doesn't manage ipv6 correctly.
I solved appending --inet4-only to XferCommand in pacman.conf.

Does this apply to both pacman2 and pacman3 ?
If you comment XferCommand in pacman.conf , it doesn't work at all ?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB