[pacman-dev] Problem with pacman 3 and groups
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, There's a problem with pacman well at least the one from VMiklos darcs, I didn't test the one in arch's repository though but I'm pretty sure it has the same issue. If packages in 2 repositories are members of the same group, pacman sees 2 groups with the same name instead of one group containing packages from both repo, First i thought it ain't a bug but more or less future feature but when I tried to install a group, pacman tried to install packages from the first repository in pacman.conf, and not all packages. - ---------------- CUT (0)[root@nasreddine ~]# pacman -Sg gnome gnome gnome-icon-theme gnome control-center epiphany gnome-applets gnome-backgrounds gnome-common gnome-desktop gnome-media gnome-mime-data gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus vte yelp (0)[root@nasreddine ~]# pacman -S gnome :: group gnome: gnome-icon-theme :: Install whole content? [Y/n] - ---------------- CUT Regards, Wael Nasreddine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEdNttVWU5RcjdGKIRAm7dAJ95RkYhqa3PzJcosfINGwobqkwatQCg6LBf 0aEyWZ5CRqSOFTOtlJMJy/o= =KcC3 -----END PGP SIGNATURE-----
On Thu, May 25, 2006 at 12:17:19AM +0200, Wael Nasreddine <wael@siemens-mobiles.org> wrote:
There's a problem with pacman well at least the one from VMiklos darcs, I didn't test the one in arch's repository though but I'm pretty sure it has the same issue.
If packages in 2 repositories are members of the same group, pacman sees 2 groups with the same name instead of one group containing packages from both repo, First i thought it ain't a bug but more or less future feature but when I tried to install a group, pacman tried to install packages from the first repository in pacman.conf, and not all packages.
the fix is not so trivial since alpm_db_readgrp() takes one group name (like "gnome") and gives you _one_ group, not a list of groups of course with api change it can be fixed udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
On Thu, May 25, 2006 at 07:15:29PM +0200, VMiklos <vmiklos@frugalware.org> wrote:
the fix is not so trivial since alpm_db_readgrp() takes one group name (like "gnome") and gives you _one_ group, not a list of groups
of course with api change it can be fixed
got to fix this without any big change: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...; $ pacman -Sg chroot-core chroot-core bc bzip2 db debianutils e2fsprogs elinks expat file findutils flex gawk gdbm gettext glibc gnupg gpm gzip libarchive libgcc libidn libstdc++ libxml2 lynx ncurses net-tools openssl pacman pcre popt readline shadow sudo tar texinfo unzip util-linux wget which zlib chroot-core distcc $ sudo pacman -S chroot-core :: group chroot-core: bc bzip2 db debianutils e2fsprogs elinks expat file findutils flex gawk gdbm gettext glibc gnupg gpm gzip libarchive libgcc libidn libstdc++ libxml2 lynx ncurses net-tools openssl pacman pcre popt readline shadow sudo tar texinfo unzip util-linux wget which zlib :: Install whole content? [Y/n] :: group chroot-core: distcc :: Install whole content? [Y/n] resolving dependencies... done. looking for inter-conflicts... done. Targets: glibc-2.4-2 bc-1.06-2 bzip2-1.0.3-3 libgcc-4.1.0-1 libstdc++-4.1.0-1 db-4.4.20-1 debianutils-2.15.3-1 e2fsprogs-1.38-2 expat-2.0.0-4 ncurses-5.5-1 gpm-1.20.1-13 zlib-1.2.3-1 libidn-0.5.20-1 openssl-0.9.8-3 elinks-0.11.1-4 file-4.17-1 findutils-4.3.0-1 flex-2.5.33-1 gawk-3.1.5-1 gdbm-1.8.3-2 gettext-0.14.5-2 readline-5.1-1 gnupg-1.4.3-1 gzip-1.2.4b-1 libarchive-1.2.53-2 libxml2-2.6.24-1 lynx-2.8.5-3 net-tools-1.60-19 pacman-3.3.0-2 pcre-6.6-1 popt-1.7-3 shadow-4.0.15-1 sudo-1.6.8p12-1 tar-1.15.1-4 texinfo-4.8-3 unzip-5.52-1 util-linux-2.12-23 wget-1.10.2-1 which-2.16-2 distcc-2.18.3-2 Total Package Size: 52.5 MB Proceed with upgrade? [Y/n] udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
VMiklos wrote:
got to fix this without any big change:
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...;
$ pacman -Sg chroot-core chroot-core bc bzip2 db debianutils e2fsprogs elinks expat file findutils flex gawk gdbm gettext glibc gnupg gpm gzip libarchive libgcc libidn libstdc++ libxml2 lynx ncurses net-tools openssl pacman pcre popt readline shadow sudo tar texinfo unzip util-linux wget which zlib chroot-core distcc $ sudo pacman -S chroot-core :: group chroot-core: bc bzip2 db debianutils e2fsprogs elinks expat file findutils flex gawk gdbm gettext glibc gnupg gpm gzip libarchive libgcc libidn libstdc++ libxml2 lynx ncurses net-tools openssl pacman pcre popt readline shadow sudo tar texinfo unzip util-linux wget which zlib :: Install whole content? [Y/n]
:: group chroot-core: distcc :: Install whole content? [Y/n]
resolving dependencies... done. looking for inter-conflicts... done.
Targets: glibc-2.4-2 bc-1.06-2 bzip2-1.0.3-3 libgcc-4.1.0-1 libstdc++-4.1.0-1 db-4.4.20-1 debianutils-2.15.3-1 e2fsprogs-1.38-2 expat-2.0.0-4 ncurses-5.5-1 gpm-1.20.1-13 zlib-1.2.3-1 libidn-0.5.20-1 openssl-0.9.8-3 elinks-0.11.1-4 file-4.17-1 findutils-4.3.0-1 flex-2.5.33-1 gawk-3.1.5-1 gdbm-1.8.3-2 gettext-0.14.5-2 readline-5.1-1 gnupg-1.4.3-1 gzip-1.2.4b-1 libarchive-1.2.53-2 libxml2-2.6.24-1 lynx-2.8.5-3 net-tools-1.60-19 pacman-3.3.0-2 pcre-6.6-1 popt-1.7-3 shadow-4.0.15-1 sudo-1.6.8p12-1 tar-1.15.1-4 texinfo-4.8-3 unzip-5.52-1 util-linux-2.12-23 wget-1.10.2-1 which-2.16-2 distcc-2.18.3-2
Total Package Size: 52.5 MB
Proceed with upgrade? [Y/n]
udv / greetings, VMiklos
Hello, I'm afraid this hasn't fixed the issue, look at the output: -------------------- CUT (0)[root@nasreddine /home/wael]# pacman -Sg gnome gnome gnome-icon-theme gnome control-center epiphany gnome-applets gnome-backgrounds gnome-common gnome-desktop gnome-media gnome-mime-data gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus vte yelp (0)[root@nasreddine /home/wael]# pacman -S gnome :: group gnome: gnome-icon-theme :: Install whole content? [Y/n] y :: group gnome: control-center epiphany gnome-applets gnome-backgrounds gnome-common gnome-desktop gnome-media gnome-mime-data gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus vte yelp :: Install whole content? [Y/n] y error: could not add target 'gnome': not found in sync db -------------------- CUT Regards, Wael Nasreddine
On Fri, May 26, 2006 at 04:52:09PM +0200, Wael Nasreddine <wael@siemens-mobiles.org> wrote:
I'm afraid this hasn't fixed the issue, look at the output:
-------------------- CUT (0)[root@nasreddine /home/wael]# pacman -Sg gnome gnome gnome-icon-theme gnome control-center epiphany gnome-applets gnome-backgrounds gnome-common gnome-desktop gnome-media gnome-mime-data gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus vte yelp (0)[root@nasreddine /home/wael]# pacman -S gnome :: group gnome: gnome-icon-theme :: Install whole content? [Y/n] y
:: group gnome: control-center epiphany gnome-applets gnome-backgrounds gnome-common gnome-desktop gnome-media gnome-mime-data gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus vte yelp :: Install whole content? [Y/n] y
error: could not add target 'gnome': not found in sync db -------------------- CUT
could you please send the output with '--debug=-1 -v'? thanks, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 VMiklos wrote:
could you please send the output with '--debug=-1 -v'?
thanks, VMiklos Hi,
Here you go - ------------------------ CUT (0)[root@nasreddine ~]# pacman -S gnome --debug=-1 -v --noconfirm config: new section 'options' config: log file: /var/log/pacman.log config: holdpkg: pacman config: holdpkg: glibc config: new section 'testing' config: testing: server: file (null) /home/wael/Files/Nux/pkgs/testing/os/i686/ config: new section 'current' config: current: server: file (null) /home/wael/Files/Nux/pkgs/current/os/i686/ config: new section 'extra' config: extra: server: file (null) /home/wael/Files/Nux/pkgs/extra/os/i686/ config: new section 'unstable' config: unstable: server: file (null) /home/wael/Files/Nux/pkgs/unstable/os/i686/ flow2: PM_OPT_CACHEDIR set to 'var/cache/pacman/pkg' Root : / DBPath: var/lib/pacman Targets: gnome flow1: registering database 'local' debug: opening database 'local' flow1: registering database 'testing' debug: opening database 'testing' flow1: registering database 'current' debug: opening database 'current' flow1: registering database 'extra' debug: opening database 'extra' flow1: registering database 'unstable' debug: opening database 'unstable' debug: loading package cache (infolevel=0x3) for repository 'testing' debug: loading package cache (infolevel=0x3) for repository 'current' debug: loading package cache (infolevel=0x3) for repository 'extra' debug: loading package cache (infolevel=0x3) for repository 'unstable' flow2: target 'gnome' not found -- looking for provisions debug: loading group cache for repository 'testing' debug: loading group cache for repository 'current' :: group gnome: gnome-icon-theme debug: loading group cache for repository 'extra' :: group gnome: control-center epiphany gnome-applets gnome-backgrounds gnome-common gnome-desktop gnome-media gnome-mime-data gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus vte yelp debug: loading group cache for repository 'unstable' error: could not add target 'gnome': not found in sync db flow1: unregistering database 'local' debug: closing database 'local' flow1: unregistering database 'testing' debug: freeing package cache for repository 'testing' debug: closing database 'testing' flow1: unregistering database 'current' debug: freeing package cache for repository 'current' debug: closing database 'current' flow1: unregistering database 'extra' debug: freeing package cache for repository 'extra' debug: closing database 'extra' flow1: unregistering database 'unstable' debug: freeing package cache for repository 'unstable' debug: closing database 'unstable' - ------------------------ CUT Regards, Wael Nasreddine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEevyYVWU5RcjdGKIRAtCCAJ4+WtGKKjYqOnQz4JTeq85BEtPEYgCeJ2Ev At8bpQ2DmspQVLyFmkjCsYo= =E93y -----END PGP SIGNATURE-----
On Mon, May 29, 2006 at 03:52:25PM +0200, Wael Nasreddine <wael@siemens-mobiles.org> wrote:
Here you go
could you please pull & try again? thanks, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
participants (2)
-
VMiklos
-
Wael Nasreddine