You are not logged in.
Oh ok, I guess it was a problem with my code then
Offline
Ability to check if a package is in a group.
done, check lazy-pac-cli for info if you can't find it in libpypac ,
arch + gentoo + initng + python = enlisy
Offline
i can't see that bug lunke, i just tried it with broken serverstrings and it worked,
those lines are for handling multiple listings of the same server,conf_list_new =[ '[current]' '[current]', 'Server = ftp://******', ..., '[extra]', ...]
this is/was pacmans default layout, one in pacman.conf and one in the serverfile,
Well I get the same problem with lazy-pac so I think there is a problem. Here's a slice of my conf_list:
["...Alot of of stuff ..."[extra]', '# Add your preferred servers here, they will be used first', 'Include = /etc/pacman.d/extra', '', '[unstable]', '# Add your preferred servers here, they will be used first', 'Include = /etc/pacman.d/unstable', '', '[community]', '# Add your preferred servers here, they will be used first', 'Include = /etc/pacman.d/community', '', '# An example of a custom package repository. See the pacman manpage for', '# tips on creating your own repositories.', '#[custom]', '#Server = file:///home/custompkgs', '[staging]', 'Server = ftp://ftp.archlinux.org/tur/staging', '#', '# The Extra Repository', '#', '[extra]', "Bunch of servers here...", ... ]
Then this line in the download section slices off the first [extra]
conf_list_new = conf_list[conf_list.index("[" + repo + "]") + 1:]
but then the loop breaks when it comes to [unstable] so it never reaches the extra Server = section. I have the same problem when I try to update with the sync function, with my own program and with lazy-pac.
Offline
libpypac only works if you got the server in one place,
why do you have [extra] in many places?
arch + gentoo + initng + python = enlisy
Offline
Well I got this in /etc/pacman.conf
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra
And this in /etc/pacman.d/extra
#
# The Extra Repository
#
[extra]
Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/extra/os/i686
....
Isn't that the default?
Offline
then it should work,
i just tried that setup and it worked,
arch + gentoo + initng + python = enlisy
Offline