You are not logged in.
What options are you passing to reflector in powerpill.conf?
I am parsing "-l 25". I just modified what you said above and used the top 25 mirrors.
Offline
I think I've fixed it. If the problem persists, let me know in the reflector thread;
*edit*
haha, look at the end of that sentence... proof that I've been coding too much!
Last edited by Xyne (2009-04-24 22:24:25)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
hy Xyne
last day i was try generate metalink but it fail
powerpill -Syu --get-metalink /home/user/update.metalink
i dont have idea whats wrong. any advice??
thx,
"Am I not good enough for you?"
Offline
In what way did it fail? Did it display an error message or did it simply not generate a metalink?
If you saw an error message, please post it otherwise it would be very difficult to figure out what happened.
If you saw nothing, it's probably because you had nothing to download.
*edit*
I just reread your post and noticed the syntax of your command ("powerpill -Syu --get-metalink /home/user/update.metalink"). Try this instead:
powerpill -Syu --get-metalink >/home/user/update.metalink
Some options changed with the release of 16.0. You can check the current options with "man powerpill".
Last edited by Xyne (2009-04-25 07:18:23)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I'm glad that the problem went away but why are you using so few mirrors?
Those three is my nearest ones. Thats why. Should I add more you say?
Birger
Offline
Those three is my nearest ones. Thats why. Should I add more you say?
That depends. If you've set the maximum number of connection in the aria2c section of powerpill to more than 3, then yes, otherwise no. In general though the whole point of powerpill is to use multiple mirrors to pull everything in very quickly. I use servers from the other side of the planet and all it does it speed up the overall download. If you're worried about slow servers you can set the minimum speed limit.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
*edit*
Nvm, updated the version comparison function... let me know if Powerpill misses any downloads.
Last edited by Xyne (2009-04-30 20:26:47)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Do I need to clear my config at root when using powerpill 16.0?
I am facing issue such that powerpill is ignoring my ignore command and there is readline error message too.
My ignore command is:
powerpill -Syu -ignore tcl --ignore tk --ignore amsn --ignore kernel26 --ignore kernel26-firmware
It will still show:
[core]
kernel26
[extra]
tcl tk
[community]
amsn.
My error message is:
readline() on closed filehandle $fh at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 1178.
Use of uninitialized value $file_contents in split at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 1181.
Last edited by archlinuxsagi (2009-05-03 01:41:12)
Offline
@archlinuxsagi
Yes. As the upgrade messages states, you need to remove all of your pre-16.0 configuration files. The file format has changed completely.
I've fixed the "--ignore" error as of perl-xyne-arch-0.51. Please test the latest version.
I don't know why you receive that error message. I've added a line to Pacman.pm that should provide more information if you get it again, but it may be connected to the old configuration files. Please remove those and then try again.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hi! I've got the
Can't use an undefined value as a HASH reference at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 576.
error.
Config file was deleted when updating to version 16. I've also tried to delete it again, but error still occurs.
Proud ex-maintainer of firefox-pgo
Offline
Someone else posted about the same problem on the bug tracker. It should be fixed now. Let me know if it isn't.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
i have the same error message, and yes i used a new clean configuration...
Offline
After last update of perl-xyne-arch (only one I had from your repo) problem still occurs.
Last edited by blasse (2009-05-07 11:56:21)
Proud ex-maintainer of firefox-pgo
Offline
I've updated perl-xyne-arch again. Please try the latest version (>=0.54).
If the problem persists, post which version of perl-xyne-arch you have, the current error message (which should no longer refer to line 576) and the contents of /etc/pacman.conf.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Error message:
Can't use an undefined value as a HASH reference at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 582.
Version:
[sigma@blasse-laptop ~]$ powerpill -Qi perl-xyne-arch
Nazwa : perl-xyne-arch
Wersja : 0.54-1
pacman.conf:
#
# /etc/pacman.conf
#
# See the pacman manpage for option directives#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
IgnorePkg = webkitgtk-svn#
# 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
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
## Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
[testing]
Include = /etc/pacman.d/mirrorlist[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
[archlinux.pl]
Server = http://unix.net.pl/arch/x86_64
[xyne-any]
Server = http://xyne.archlinux.ca/repos/any/
Proud ex-maintainer of firefox-pgo
Offline
This one is confusing. There are only two calls to the function that's generating the error and the last update added checks to that one (which involved the SyncFirst array, which you don't even use), so it should be in the system upgrade call, but I really don't see how that could generate the error unless you have something strange in your local db. I can't reproduce the problem here so this is proving difficult to solve.
Upgrade to the latest version of perl-xyne-any, then open /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm, go to line 803 and insert the line
print "checking $pkg\n";
so that you change the code from this:
next if grep {$self->is_in_sync_db_group($pkg,$_)} @ignored_groups;
my $local_ver = $self->get_local_db_ver($pkg);
to this:
next if grep {$self->is_in_sync_db_group($pkg,$_)} @ignored_groups;
print "checking $pkg\n";
my $local_ver = $self->get_local_db_ver($pkg);
then rerun "powerpill -Su". It should list all the packages as it check them. The last package before the error might give me an idea of what's causing it.
After that, undo the changes and then change line 776 from
sub get_sysupgrade_download_alt
to
sub get_sysupgrade_download
and change line 789 from
sub get_sysupgrade_download
to
sub get_sysupgrade_download_alt
.
Try "powerpill -Su" again and tell me if the error persists (it shouldn't). If that fixes the error, you can leave those changes for now while I try to figure out the cause.
You could also send me a tarball of your local db if you want so I could do some testing here.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I will do some testing later today - I've got this error with powerpill -Sy and -Syu, but I don't remember if it happen also with powerpill -S
Proud ex-maintainer of firefox-pgo
Offline
It's very strange if you get the error with "-Sy"... powerpill doesn't actually do anything in that case. *edit* I mean, it uses the pacman binary for database updates and passes control to the pacman binary immediately if there are no packages to download.
Last edited by Xyne (2009-05-07 07:12:07)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
It sync to server perfectly, display list of pkg to download, than ask if I want to download them. After that I see an error and powerpill/pacman exits.
I will later chceck pacman logs and tell you which update brings regression.
Proud ex-maintainer of firefox-pgo
Offline
Hi,
I have just modified Pacman.pm with your changes:
* Added print "checking $pkg\n"; . Powerpill prints:
... (It's always the same checking message with different packages)
....
checking extra/ortp
checking extra/gtk-sharp-2
Can't use an undefined value as a HASH reference at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 582.
* I've changed "get_sysupgrade_download..." in lines 776 and 789 and it works!!!
Thank you for all
Offline
If I checked correctly regression started with upgraded perl-xyne-arch from 0.50-1 -> 0.52-2
Error message after suggested changes:
checking core/dbus-core
checking community/powertop
checking extra/gtk-sharp-2
Can't use an undefined value as a HASH reference at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 582.
Last edited by blasse (2009-05-07 21:27:50)
Proud ex-maintainer of firefox-pgo
Offline
The issue should be fixed in perl-xyne-arch>=0.56 but I may have introduce other bugs due to changes in several functions. Let me know if you notice any.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Fixed!
All your base are belong to us
Offline
Looks like working fine now. Thx for fast reaction Xyne
Proud ex-maintainer of firefox-pgo
Offline
@archlinuxsagi
Yes. As the upgrade messages states, you need to remove all of your pre-16.0 configuration files. The file format has changed completely.I've fixed the "--ignore" error as of perl-xyne-arch-0.51. Please test the latest version.
I don't know why you receive that error message. I've added a line to Pacman.pm that should provide more information if you get it again, but it may be connected to the old configuration files. Please remove those and then try again.
.
Seems like --ignore command is not working as of perl-xyne-arch 0.57-1. Anybody else facing this issue?
Offline