You are not logged in.

#51 2005-07-28 10:45:14

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Lazy-Pac

Oh ok, I guess it was a problem with my code then smile

Offline

#52 2005-07-28 11:32:27

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

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

#53 2005-07-29 22:32:10

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Lazy-Pac

xerxes2 wrote:

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

#54 2005-07-30 09:22:21

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

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

#55 2005-07-31 19:34:17

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Lazy-Pac

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

#56 2005-07-31 21:17:15

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

then it should work,
i just tried that setup and it worked,


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB