[zypp-devel] status 18.6.
- reimplemented: listrepos (rug service-list) (Duncan) refresh (Duncan) addrepo (rug service-add) search see also ISSUES - ZypperCommand enumeration class added with mappings between zypper and rug commands and aliases. E.g. addrepo - service-add - sa. Cleaner and more flexible code. - code clean-up ISSUES - I'm getting cca 12 secs times for loading preparsed resolvables from db for factory. This means an overall time for install/remove/search commands of 15-20 secs. - Lazy loading (probably) produces hell of a delay when searching in package descriptions (which are not loaded by default, right?) I need to double-check this. Search within NVRAD is quick. Of course, zypper search now just loads all resolvables into memory like it did before (it's just that now it is from preparsed db). This will of course be solved with a full-featured query API, which will later be used by both solver and user searches. Would anybody mind if i looked into this during the Hack Week? Such API would be immediately used by zypper search, and later by solver and searches in YaST package manager (and wherever we need to query database). - solver gives strange results. We probably write some dependencies incorrectly by parsers or we read them incorrectly. See OLD ZYPP, NEW ZYPP with susetags, and NEW ZYPP with yum. But since the results differ between susetags and yum, it is probably the parsers that write wrong data. - We need to replace references to source by RepoInfo (or what) in PoolItem (and maybe elsewhere) I think that's it for now. Continuing fixing the above and dropping the rest of old code from zypper. jano OLD ZYPP $ zypper install gedit .... Summary: <install> [S4:1][package]enchant-1.2.0-74.x86_64 <install> [S4:1][package]gedit-2.18.0-40.x86_64 <uninstall> [S0:0][package]gedit-2.16.1-42.x86_64 NEW ZYPP with susetags factory $ time ./zypper install gedit Summary: <install> [S0:0][package]gnome-audio-2.0.0-177.noarch <install> [S0:0][package]gnome-icon-theme-2.18.0-18.noarch <install> [S0:0][package]gnome-themes-2.18.1-31.noarch <install> [S0:0][package]gnome2-user-docs-2.18.1-31.noarch <install> [S0:0][package]hicolor-icon-theme-0.10-18.noarch <install> [S0:0][package]iso-codes-1.0a-24.noarch <install> [S0:0][package]tango-icon-theme-0.8.0-41.noarch <install> [S0:0][package]DirectFB-1.0.0-32.x86_64 <install> [S0:0][package]Mesa-6.5.3-28.x86_64 <install> [S0:0][package]PolicyKit-0.2_git20060822-73.x86_64 <install> [S0:0][package]SDL-1.2.11-67.x86_64 <install> [S0:0][package]aaa_base-10.3-46.x86_64 <install> [S0:0][package]aaa_skel-2007.3.7-20.x86_64 <install> [S0:0][package]aalib-1.4.0-365.x86_64 <install> [S0:0][package]aspell-0.60.5-26.x86_64 <install> [S0:0][package]aspell-en-6.0-77.x86_64 <install> [S0:0][package]atk-1.18.0-25.x86_64 <install> [S0:0][package]audiofile-0.2.6-61.x86_64 <install> [S0:0][package]audit-libs-1.5.3-14.x86_64 <install> [S0:0][package]avahi-0.6.17-42.x86_64 <install> [S0:0][package]avahi-glib-0.6.17-42.x86_64 <install> [S0:0][package]bash-3.2-35.x86_64 <install> [S0:0][package]cairo-1.4.0-28.x86_64 <install> [S0:0][package]cdparanoia-IIIalpha9.8-609.x86_64 <install> [S0:0][package]cdrdao-1.2.2-81.x86_64 <install> [S0:0][package]cdrkit-cdrtools-compat-1.1.5.1-20.x86_64 <install> [S0:0][package]check-0.9.5-18.x86_64 <install> [S0:0][package]coreutils-6.9-25.x86_64 <install> [S0:0][package]control-center2-2.18.0-42.x86_64 <install> [S0:0][package]cpio-2.6-66.x86_64 <install> [S0:0][package]cracklib-2.8.10-19.x86_64 <install> [S0:0][package]cracklib-dict-small-2.8.10-19.x86_64 <install> [S0:0][package]cups-libs-1.2.11-18.x86_64 <install> [S0:0][package]cyrus-sasl-2.1.22-60.x86_64 <install> [S0:0][package]dbus-1-1.0.2-32.x86_64 <install> [S0:0][package]dbus-1-glib-0.73-27.x86_64 <install> [S0:0][package]dbus-1-x11-1.0.2-37.x86_64 <install> [S0:0][package]desktop-file-utils-0.13-6.x86_64 <install> [S0:0][package]diffutils-2.8.7-64.x86_64 <install> [S0:0][package]dvd+rw-tools-7.0-31.x86_64 <install> [S0:0][package]e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329-23.x86_64 <install> [S0:0][package]eel-2.18.0.1-35.x86_64 <install> [S0:0][package]enchant-1.2.0-74.x86_64 <install> [S0:0][package]esound-0.2.37-21.x86_64 <install> [S0:0][package]evolution-data-server-1.10.1-33.x86_64 <install> [S0:0][package]fam-2.7.0-54.x86_64 <install> [S0:0][package]file-4.20-25.x86_64 <install> [S0:0][package]fillup-1.42-163.x86_64 <install> [S0:0][package]filesystem-10.3-31.x86_64 <install> [S0:0][package]findutils-4.2.31-7.x86_64 <install> [S0:0][package]fontconfig-2.4.2-26.x86_64 <install> [S0:0][package]freetype2-2.3.4-22.x86_64 <install> [S0:0][package]gail-1.18.0-29.x86_64 <install> [S0:0][package]gconf2-2.18.0.1-29.x86_64 <install> [S0:0][package]gdbm-1.8.3-286.x86_64 <install> [S0:0][package]gedit-2.18.0-40.x86_64 <install> [S0:0][package]genisoimage-1.1.5.1-20.x86_64 <install> [S0:0][package]glib2-2.12.11-22.x86_64 <install> [S0:0][package]glibc-2.6-5.x86_64 <install> [S0:0][package]glitz-0.5.6-62.x86_64 <install> [S0:0][package]gnome-desktop-2.18.1-35.x86_64 <install> [S0:0][package]gnome-keyring-0.8.1-25.x86_64 <install> [S0:0][package]gnome-media-2.18.0-34.x86_64 <install> [S0:0][package]gnome-main-menu-0.9.8-38.x86_64 <install> [S0:0][package]gnome-menus-2.18.0-35.x86_64 <install> [S0:0][package]gnome-mount-0.5-56.x86_64 <install> [S0:0][package]gnome-panel-2.18.1-34.x86_64 <install> [S0:0][package]gnome-python-desktop-2.18.0-39.x86_64 <install> [S0:0][package]gnome-vfs2-2.18.0.1-41.x86_64 <install> [S0:0][package]gnutls-1.6.1-19.x86_64 <install> [S0:0][package]gpm-1.20.1-371.x86_64 <install> [S0:0][package]grep-2.5.2-12.x86_64 <install> [S0:0][package]gstreamer010-0.10.12-29.x86_64 <install> [S0:0][package]gstreamer010-plugins-bad-0.10.4-35.x86_64 <install> [S0:0][package]gstreamer010-plugins-base-0.10.12-36.x86_64 <install> [S0:0][package]gstreamer010-plugins-good-0.10.5-42.x86_64 <install> [S0:0][package]gstreamer010-plugins-ugly-0.10.5-36.x86_64 <install> [S0:0][package]gtk2-2.10.11-27.x86_64 <install> [S0:0][package]gtk2-engines-2.10.0-29.x86_64 <install> [S0:0][package]gtksourceview-1.8.5-26.x86_64 <install> [S0:0][package]hal-0.5.8_git200704021230-36.x86_64 <install> [S0:0][package]icedax-1.1.5.1-20.x86_64 <install> [S0:0][package]info-4.8-71.x86_64 <install> [S0:0][package]insserv-1.09.0-27.x86_64 <install> [S0:0][package]keyutils-libs-1.2-26.x86_64 <install> [S0:0][package]krb5-1.6.1-25.x86_64 <install> [S0:0][package]libFLAC8-1.1.4-21.x86_64 <install> [S0:0][package]libacl-2.2.34-59.x86_64 <install> [S0:0][package]libao-0.8.6-86.x86_64 <install> [S0:0][package]libart_lgpl-2.3.19-19.x86_64 <install> [S0:0][package]libasound2-1.0.14-8.x86_64 <install> [S0:0][package]libattr-2.4.28-65.x86_64 <install> [S0:0][package]libbeagle-0.2.17-21.x86_64 <install> [S0:0][package]libbonobo-2.18.0-21.x86_64 <install> [S0:0][package]libbonoboui-2.18.0-36.x86_64 <install> [S0:0][package]libbz2-1-1.0.4-26.x86_64 <install> [S0:0][package]libcap-1.10-27.x86_64 <install> [S0:0][package]libcdaudio-0.99.12-59.x86_64 <install> [S0:0][package]libcddb-1.3.0-39.x86_64 <install> [S0:0][package]libcdio-0.77-44.x86_64 <install> [S0:0][package]libcom_err-1.39+1.40_WIP_20061114+PATCH20070329-23.x86_64 <install> [S0:0][package]libcroco-0.6.1-48.x86_64 <install> [S0:0][package]libdaemon-0.10-79.x86_64 <install> [S0:0][package]libdb-4_5-4.5.20-12.x86_64 <install> [S0:0][package]libdrm-2.3.0-27.x86_64 <install> [S0:0][package]libdvdnav-0.1.10-58.x86_64 <install> [S0:0][package]libdvdread-0.9.6-46.x86_64 <install> [S0:0][package]libexif-0.6.16-3.x86_64 <install> [S0:0][package]libexpat1-2.0.1-5.x86_64 <install> [S0:0][package]libgcc41-4.1.3_20070521-11.x86_64 <install> [S0:0][package]libgcrypt-1.2.4-22.x86_64 <install> [S0:0][package]libglade2-2.6.0-69.x86_64 <install> [S0:0][package]libgnome-2.18.0-37.x86_64 <install> [S0:0][package]libgnomecanvas-2.14.0-69.x86_64 <install> [S0:0][package]libgnomecups-0.2.2-93.x86_64 <install> [S0:0][package]libgnomekbd-2.18.1-34.x86_64 <install> [S0:0][package]libgnomeprint-2.18.0-24.x86_64 <install> [S0:0][package]libgnomeprintui-2.18.0-28.x86_64 <install> [S0:0][package]libgnomesu-1.0.0-118.x86_64 <install> [S0:0][package]libgnomeui-2.18.1-36.x86_64 <install> [S0:0][package]libgpg-error-1.4-43.x86_64 <install> [S0:0][package]libgsf-1.14.2-76.x86_64 <install> [S0:0][package]libgsm-1.0.10-56.x86_64 <install> [S0:0][package]libgtop-2.14.8-22.x86_64 <install> [S0:0][package]libidl-0.8.8-21.x86_64 <install> [S0:0][package]libjack-0.103.0-33.x86_64 <install> [S0:0][package]libjpeg-6.2.0-796.x86_64 <install> [S0:0][package]libmusicbrainz-2.1.4-45.x86_64 <install> [S0:0][package]libnotify-0.4.4-30.x86_64 <install> [S0:0][package]libnscd-2.0.2-27.x86_64 <install> [S0:0][package]libnvtv-0.4.7a-95.x86_64 <install> [S0:0][package]libogg-1.1.3-58.x86_64 <install> [S0:0][package]liboil-0.3.9-47.x86_64 <install> [S0:0][package]libopencdk-0.5.11-25.x86_64 <install> [S0:0][package]libopenssl0_9_8-0.9.8e-26.x86_64 <install> [S0:0][package]libpng-1.2.12-49.x86_64 <install> [S0:0][package]librsvg-2.16.1-38.x86_64 <install> [S0:0][package]libsexy-0.1.11-26.x86_64 <install> [S0:0][package]libsidplay1-1.36.59-56.x86_64 <install> [S0:0][package]libsmbclient-3.0.25a-13.x86_64 <install> [S0:0][package]libsmbios-libs-0.13.6-2.x86_64 <install> [S0:0][package]libsoup-2.2.100-23.x86_64 <install> [S0:0][package]libstdc++42-4.2.1_20070604-8.x86_64 <install> [S0:0][package]libtheora-0.99.0.7-29.x86_64 <install> [S0:0][package]libtiff-3.8.2-50.x86_64 <install> [S0:0][package]libvisual-0.4.0-63.x86_64 <install> [S0:0][package]libvorbis-1.1.2-59.x86_64 <install> [S0:0][package]libvolume_id-112-6.x86_64 <install> [S0:0][package]libwnck-2.18.0-29.x86_64 <install> [S0:0][package]libxcrypt-2.4-55.x86_64 <install> [S0:0][package]libxklavier-3.0-66.x86_64 <install> [S0:0][package]libxml2-2.6.29-2.x86_64 <install> [S0:0][package]libzio-0.4-27.x86_64 <install> [S0:0][package]lirc-0.8.1_0.8.2pre3-8.x86_64 <install> [S0:0][package]logrotate-3.7.4-46.x86_64 <install> [S0:0][package]lzo-2.02-58.x86_64 <install> [S0:0][package]metacity-2.18.2-32.x86_64 <install> [S0:0][package]mingetty-1.0.7s-9.x86_64 <install> [S0:0][package]mktemp-1.5-788.x86_64 <install> [S0:0][package]mozilla-nspr-4.6.7-4.x86_64 <install> [S0:0][package]mozilla-nss-3.11.6-4.x86_64 <install> [S0:0][package]nautilus-2.18.0.1-38.x86_64 <install> [S0:0][package]nautilus-cd-burner-2.18.1-35.x86_64 <install> [S0:0][package]ncurses-5.6-24.x86_64 <install> [S0:0][package]neon-0.26.3-26.x86_64 <install> [S0:0][package]net-tools-1.60-633.x86_64 <install> [S0:0][package]notification-daemon-0.3.7-31.x86_64 <install> [S0:0][package]nss-mdns-0.9-23.x86_64 <install> [S0:0][package]openSUSE-release-10.3-36.x86_64 <install> [S0:0][package]openldap2-client-2.3.35-17.x86_64 <install> [S0:0][package]openslp-1.2.0-77.x86_64 <install> [S0:0][package]openssl-0.9.8e-26.x86_64 <install> [S0:0][package]openssl-certs-0.9.8e-26.x86_64 <install> [S0:0][package]orbit2-2.14.7-20.x86_64 <install> [S0:0][package]pam-0.99.7.1-28.x86_64 <install> [S0:0][package]pam-modules-10.3-28.x86_64 <install> [S0:0][package]pango-1.16.2-23.x86_64 <install> [S0:0][package]parted-1.8.7-14.x86_64 <install> [S0:0][package]perl-base-5.8.8-60.x86_64 <install> [S0:0][package]permissions-2007.6.12-3.x86_64 <install> [S0:0][package]pm-utils-0.99.3-20.x86_64 <install> [S0:0][package]pmtools-20061026-29.x86_64 <install> [S0:0][package]popt-1.7-344.x86_64 <install> [S0:0][package]pwdutils-3.1.3-38.x86_64 <install> [S0:0][package]python-2.5.1-12.x86_64 <install> [S0:0][package]python-cairo-1.2.2-62.x86_64 <install> [S0:0][package]python-gnome-2.16.0-70.x86_64 <install> [S0:0][package]python-gobject2-2.12.3-35.x86_64 <install> [S0:0][package]python-gtk-2.10.4-20.x86_64 <install> [S0:0][package]python-numeric-24.2-77.x86_64 <install> [S0:0][package]python-orbit-2.14.1-56.x86_64 <install> [S0:0][package]python-xml-2.5.1-12.x86_64 <install> [S0:0][package]readline-5.2-35.x86_64 <install> [S0:0][package]resmgr-1.1.0_SVNr139-2.x86_64 <install> [S0:0][package]sed-4.1.5-48.x86_64 <install> [S0:0][package]shared-mime-info-0.20-24.x86_64 <install> [S0:0][package]slang-2.0.5-58.x86_64 <install> [S0:0][package]sqlite-3.3.17-21.x86_64 <install> [S0:0][package]startup-notification-0.8-75.x86_64 <install> [S0:0][package]sysfsutils-2.1.0-45.x86_64 <install> [S0:0][package]taglib-1.4-87.x86_64 <install> [S0:0][package]sysvinit-2.86-84.x86_64 <install> [S0:0][package]tcpd-7.6-775.x86_64 <install> [S0:0][package]totem-2.18.1-37.x86_64 <install> [S0:0][package]udev-112-6.x86_64 <install> [S0:0][package]wavpack-4.40.0-18.x86_64 <install> [S0:0][package]wireless-tools-29pre21-2.x86_64 <install> [S0:0][package]wodim-1.1.5.1-20.x86_64 <install> [S0:0][package]xorg-x11-libICE-7.2-43.x86_64 <install> [S0:0][package]xorg-x11-libSM-7.2-41.x86_64 <install> [S0:0][package]xorg-x11-libX11-7.2-56.x86_64 <install> [S0:0][package]xorg-x11-libXau-7.2-37.x86_64 <install> [S0:0][package]xorg-x11-libXext-7.2-46.x86_64 <install> [S0:0][package]xorg-x11-libXfixes-7.2-46.x86_64 <install> [S0:0][package]xorg-x11-libXmu-7.2-46.x86_64 <install> [S0:0][package]xorg-x11-libXp-7.2-41.x86_64 <install> [S0:0][package]xorg-x11-libXpm-7.2-45.x86_64 <install> [S0:0][package]xorg-x11-libXprintUtil-7.2-41.x86_64 <install> [S0:0][package]xorg-x11-libXrender-7.2-45.x86_64 <install> [S0:0][package]xorg-x11-libXt-7.2-47.x86_64 <install> [S0:0][package]xorg-x11-libXv-7.2-42.x86_64 <install> [S0:0][package]xorg-x11-libfontenc-7.2-42.x86_64 <install> [S0:0][package]xorg-x11-libs-7.2-74.x86_64 <install> [S0:0][package]xorg-x11-libxcb-7.2-32.x86_64 <install> [S0:0][package]xorg-x11-libxkbfile-7.2-45.x86_64 <install> [S0:0][package]yast2-control-center-gnome-2.13.2-41.x86_64 <install> [S0:0][package]zisofs-tools-1.0.6-59.x86_64 <install> [S0:0][package]zlib-1.2.3-59.x86_64 Continue? [y/n] NEW ZYPP with YUM factory gedit$ ./zypper install gedit 11 Problems: Problem: No valid solution found with only resolvables of best architecture. Problem: zlib-1.2.3-59.x86_64 cannot be installed due to missing dependencies Problem: python-numeric-24.2-77.x86_64 cannot be installed due to missing dependencies Problem: gedit-2.18.0-40.x86_64 cannot be installed due to missing dependencies Problem: python-gnome-2.16.0-70.x86_64 cannot be installed due to missing dependencies Problem: python-gtk-2.10.4-20.x86_64 cannot be installed due to missing dependencies Problem: python-orbit-2.14.1-56.x86_64 cannot be installed due to missing dependencies Problem: python-gobject2-2.12.3-35.x86_64 cannot be installed due to missing dependencies Problem: python-cairo-1.2.2-62.x86_64 cannot be installed due to missing dependencies Problem: python-xml-2.5.1-12.x86_64 cannot be installed due to missing dependencies Problem: cairo-1.4.0-28.x86_64 cannot be installed due to missing dependencies Problem: No valid solution found with only resolvables of best architecture. With this run only resolvables with the best architecture has been regarded. Regarding all possible resolvables takes time but can come to a valid result. Solution 1: Make a solver run with ALL possibilities. Regarding all resolvables with compatible architecture. number, (r)etry or (c)ancel> (choosing 1 does not help either) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Jan Kupec
ISSUES
- I'm getting cca 12 secs times for loading preparsed resolvables from db for factory. This means an overall time for install/remove/search commands of 15-20 secs.
How many packages ?
This will of course be solved with a full-featured query API, which will later be used by both solver and user searches. Would anybody mind if i looked into this during the Hack Week?
No, quite the contrary ;-)
Such API would be immediately used by zypper search, and later by solver and searches in YaST package manager (and wherever we need to query database).
- solver gives strange results. We probably write some dependencies incorrectly by parsers or we read them incorrectly.
It seems more likely that libzypp (resp. the solver) does not see any of the already installed packages. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Monday 18 June 2007 15:56:45 Klaus Kaempf wrote:
This will of course be solved with a full-featured query API, which will later be used by both solver and user searches. Would anybody mind if i looked into this during the Hack Week?
You can already use ResolvableQuery for search, no need to restore a source to get the id of one package! The rule is, we only need to read a source if we are going to solve it. ResolvableQuery has a hook that is called for every result, with the Resolvable data for that one. Then you can use the id to ask more attributes. -- Duncan Mac-Vicar Prett Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (3)
-
Duncan Mac-Vicar Prett
-
Jan Kupec
-
Klaus Kaempf