|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper offers to downgrade almost all packages without offering choice | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Casual J. Programmer <casualprogrammer> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | Duncan Mac-Vicar <dmacvicar> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | schubi |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | Beta-Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
zypper log and TestCase
zypper logs and testcase Output from terminal on running zypper dup /var/log/zypper.log /var/log/zypper.solverTestCase Terminal output from rerunning zypper dup /var/log/zypper.log /var/log/zypper.solverTestCase |
||
|
Description
Casual J. Programmer
2008-03-12 17:05:55 UTC
Created attachment 200915 [details]
zypper log and TestCase
This is still happening after upgrading from factory ( using smart ). For extra measure did: rpm -e libzypp --nodeps rpm -e zypper --nodeps find / -name *zypp* and remove residue left behind by zypper,mainly /var/lib/zypp /var/tmp removed all non-suse repositories from /etc/zypp/repos.d rm /var/lib/rpm/__db.000 rpm --rebuilddb reinstall libzypp, zypper from factory zypper-0.10.4-2 libzypp-4.4.2-2 zypper ref zypper lu -t package zypper lu -t package * Building repository 'openSUSE-DVD 11.0' cache Reading installed packages... S | Repository: | Name | Version | Arch --+-----------------------+----------------+----------+----- v | openSuSE-11.0-factory | liboil | 0.3.13-3 | i586 v | openSuSE-11.0-factory | wpa_supplicant | 0.5.10-4 | i586 which is correct, as I did not update these two. zypper dup Reading installed packages... The following packages are going to be upgraded: wpa_supplicant liboil The following packages are going to be downgraded: yast2-x11 yast2-tv yast2-trans-stats yast2-trans-en_US yast2-theme-openSUSE yast2-tftp-server yast2-sysconfig yast2-support yast2-sudo yast2-security yast2-schema yast2-scanner yast2-samba-server yast2-samba-client yast2-runlevel yast2-restore yast2-repair yast2-registration yast2-pam yast2-online-update-frontend yast2-online-update yast2-ntp-client yast2-nfs-server yast2-nfs-client yast2-metapackage-handler yast2-mail yast2-ldap-server yast2-ldap-client yast2-kerberos-client yast2-iscsi-client yast2-irda yast2-inetd yast2-ftp-server yast2-firewall yast2-ca-management yast2-backup yast2-apparmor yast2-add-on xorg-x11-fonts-core xorg-x11-fonts xmlcharent xkeyboard-config xgl-hardware-list xerces-j2-xml-apis xerces-j2 xdg-utils xalan-j2 update-alternatives ulimit translation-update tomcat6-servlet-2_5-api tomcat6-jsp-2_1-api tango-icon-theme susehelp_en susehelp suseRegister suse-build-key siga sgml-skel release-notes providers pciutils-ids opensuse-manual_en opensuse-gnomeuser_en opensuse-codecs-installer netcfg ndesk-dbus-glib ndesk-dbus myspell-american monodoc-core mono-zeroconf-provider-avahi mono-zeroconf mono-tools mono-basic manufacturer-PPDs man-pages linux-kernel-headers licenses latex2html-pngicons jarnal jakarta-commons-logging jakarta-commons-daemon iso_ent iso-codes intltool intlfnts info2html ifnteuro hicolor-icon-theme gtk2-themes gnome2-user-docs gnome2-SuSE gnome-themes gnome-icon-theme gnome-doc-utils gnome-common gnome-audio gimp-help gecko-sharp2 galago-sharp fonts-config efont-unicode docbook_4 desktop-translations desktop-data-openSUSE dejavu bundle-lang-kde-en bundle-lang-gnome-en bundle-lang-common-en autoyast2-installation arpwatch-ethercodes apparmor-utils apparmor-profiles apparmor-docs SuSEfirewall2 OpenOffice_org-thesaurus-en OpenOffice_org-templates-presentation-layouts OpenOffice_org-templates-en OpenOffice_org-icon-themes OpenOffice_org-hyphen glibc-devel glibc zypper zsh zlib-devel zlib zisofs-tools zip zenity ypbind yp-tools yelp yast2-xml yast2-users yast2-update yast2-tune yast2-transfer yast2-storage-lib yast2-storage yast2-sound yast2-slp yast2-qt yast2-profile-manager yast2-printer yast2-pkg-bindings yast2-perl-bindings yast2-packager yast2-nis-client yast2-network yast2-ncurses yast2-mouse yast2-ldap yast2-hardware-detection yast2-fingerprint-reader yast2-country-data yast2-country yast2-core yast2-control-center-qt yast2-control-center-gnome yast2-control-center yast2-bootloader yast2 xvkbd xtermset xterm xstroke xscreensaver xsane xpdf-tools xournal xorg-x11-xtrans-devel xorg-x11-util-devel xorg-x11-server-extra xorg-x11-server xorg-x11-proto-devel xorg-x11-libxkbfile-devel xorg-x11-libxkbfile xorg-x11-libxcb-devel xorg-x11-libxcb xorg-x11-libs xorg-x11-libfontenc-devel xorg-x11-libfontenc xorg-x11-libXv-devel xorg-x11-libXv xorg-x11-libXt-devel xorg-x11-libXt xorg-x11-libXrender-devel xorg-x11-libXrender xorg-x11-libXprintUtil-devel xorg-x11-libXprintUtil xorg-x11-libXpm-devel xorg-x11-libXpm xorg-x11-libXp-devel xorg-x11-libXp xorg-x11-libXmu-devel xorg-x11-libXmu xorg-x11-libXfixes-devel xorg-x11-libXfixes xorg-x11-libXext-devel xorg-x11-libXext xorg-x11-libXdmcp-devel xorg-x11-libXdmcp xorg-x11-libXau-devel xorg-x11-libXau xorg-x11-libX11-devel xorg-x11-libX11-ccache xorg-x11-libX11 xorg-x11-libSM-devel xorg-x11-libSM xorg-x11-libICE-devel xorg-x11-libICE xorg-x11-fonts-devel xorg-x11-driver-video-unichrome xorg-x11-driver-video xorg-x11-driver-input xorg-x11-devel xorg-x11-Xvnc xorg-x11 xlockmore xinetd xgl xdmbgrd xdg-menu xaw3d x11-tools x11-input-wacom x11-input-synaptics wxGTK wvstreams wvdial wv wol wodim wireshark wireless-tools whois wget wdiff w3m vte vsftpd vorbis-tools vlan vino vim-data vim-base vim vcdimager valgrind vacation uuid-runtime util-linux utempter usbutils unzip unrar unclutter ufraw-gimp ufraw udev totem-plugin totem tomboy tk tix timezone tightvnc tftp texinfo terminfo telnet tcsh tcpdump tcpd tcl tar taglib tack t1lib sysvinit syslog-ng syslinux sysfsutils sysconfig swig suspend sumf sudo subversion strace startup-notification squashfs sqlite3 sqlite2 splashy spamassassin sox snmp-mibs smpppd smartmontools smart slang skencil silc-toolkit sharutils shared-mime-info setserial sensors sed seahorse-lang scsi scrollkeeper screen scpm sax2-tools sax2-libsax-perl sax2-libsax sax2-ident sax2-gui sax2 sash sane-backends samba-client samba sabayon rsync rpm-python rpm resmgr resapplet reiserfs recode readline-doc readline-devel rdesktop rcs quilt quagga qt3-devel qt3 qemu pyxml python-sip python-qt python-orbit python-opengl python-numeric python-ldap python-imaging python-gtkglext python-gtk python-gobject2 python-gnome-extras python-gnome python-cairo python pwdutils pth pstoedit psmisc procps procmail procinfo preload prctl pptp ppp powersave-libs powersave postfix posix_cc portmap popt-devel popt pmtools pm-utils plotutils planner-lang planner pkg-config pinentry pidgin pessulus permissions perl-spamassassin perl-libwww-perl perl-libapparmor perl-gettext perl-base perl-XML-XPath perl-XML-Writer perl-XML-SAX perl-XML-Parser perl-XML-NamespaceSupport perl-XML-LibXML-Common perl-XML-Bare perl-X500-DN perl-URI perl-TimeDate perl-TermReadLine-Gnu perl-TermReadKey perl-RPC-XML perl-PlRPC perl-Parse-RecDescent perl-Net_SSLeay perl-Net-IP perl-Net-Daemon perl-Net-DNS perl-IO-Socket-SSL perl-HTML-Tagset perl-HTML-Parser perl-File-Tail perl-Digest-SHA1 perl-Digest-MD4 perl-Digest-HMAC perl-Date-Calc perl-DBI perl-DBD-SQLite perl-Crypt-SmbHash perl-Crypt-SSLeay perl-Config-IniFiles perl-Config-Crontab perl-Carp-Clan perl-Bootloader perl-Bit-Vector perl pcsc-lite pcre-devel pcre pcmciautils pciutils pax patchutils patch parted pango-devel pango pam_ldap pam-modules pam-devel pam-config pam orca orbit2-devel orbit2 openssl-certs openssl openssh-askpass openssh openslp opensc openobex openmotif-libs openldap2-devel openldap2-client openldap2 openct openSUSE-release numlockx ntp ntfs-3g nss_ldap nss-mdns nscd notification-daemon nmap nfsidmap nfs-kernel-server nfs-client netpbm netcat net-tools ncurses-devel ncurses ncpfs nautilus-share nautilus-sendto nautilus-open-terminal nautilus-cd-burner nautilus nagios multisync-gui multipath-tools mtr mtools mpt-status mozilla-xulrunner181 mozilla-nss mozilla-nspr mono-data-sqlite mono-core module-init-tools mkinitrd mjpegtools mingetty microcode_ctl metamail metacity mdadm master-boot-code man make mailx m4 lzo lukemftp lua-libs ltrace lsof lsb logrotate lirc linux-atm-lib limal-perl limal-nfs-server-perl limal-nfs-server limal-ca-mgm-perl limal-ca-mgm limal lilo liferea libzypp libzio libxslt libxml2-python libxml2-devel libxml2 libxklavier libxfcegui4 libxfce4util libxfce4mcs libxcrypt libx86 libwnck libwnck-1-22 libwmf libwavpack1 libvorbis libvolume_id libvisual libuuid1 libuuid-devel libusb-devel libusb libtool libtiff3 libtasn1-3 libtasn1 libstdc++43-devel libstdc++43 libstdc++-devel libssui0 libssui libsqlite3-0 libspeex libsoup libsnmp15 libsndfile libsmbclient libsigc++2 libsexy libsensors4 libsensors3 libsamplerate librsvg librpcsecgss libreadline5 libraw1394-8 libqt4-x11 libqt4 libpurple libpulsecore4 libpulse0 libpng12-0 libpng-devel libpisync0 libpisock9 libpcap libopensync-plugin-file libopensync libopenssl0_9_8 libopenssl-devel libopensc2 libopenct1 libnvtv libnscd libnotify1 libnotify-devel libnotify libnl libnetpbm10 libneon27 libmudflap43 libmng-devel libmng libltdl-3 liblcms1 liblcms-devel liblazy1 libksba libjpeg-devel libjpeg libjasper libjack0 libiso9660-5 libipoddevice0 libiniparser libieee1284 libidn libidl-devel libidl libicu libgweather0 libgtop-2_0-7 libgtop libgtksourceview-2_0-0 libgtkhtml libgstreamer-0_10-0 libgstinterfaces-0_10-0 libgssapi libgsm1 libgsf-1-114 libgphoto2 libgomp43 libgnutls-devel libgnomeui-devel libgnomeui libgnomesu0 libgnomesu libgnomeprintui libgnomeprint-devel libgnomeprint libgnomekbd libgnomedb libgnomecups libgnomecanvas-devel libgnomecanvas libgnomebt0 libgnome-menu2 libgnome-devel libgnome-desktop-2-2 libgnome libgmime-2_0-3 libgluezilla0 libglademm-2_4-1 libglademm libglade2-devel libglade2 libgimpprint libgdiplus0 libgda-3_0 libgda-3_0-3 libgda libgcj43-jar libgcj43 libgcc43 libgalago libgail-gnome libgadu libfuse2 libext2fs2 libexpat1 libexpat-devel libexif libexempi3 libevent libesd0 libesd-devel libenchant1 libelf1 libelf0 libeel-2-2 libedit0 libdv4 libdrm libdjvulibre15 libdb-4_5-devel libdb-4_5 libcurl4 libcroco-0_6-3 libcom_err2 libcom_err-devel libcdio7 libcap libbz2-devel libbz2-1 libbtctl4 libbtctl-lang libbtctl libbonoboui libbonobo-devel libbonobo libblkid1 libavahi-ui0 libavahi-glib1 libavahi-glib-devel libavahi-devel libavahi-core5 libavahi-common3 libavahi-client3 libattr-devel libattr libatk-1_0-0 libasound2 libart_lgpl libapr1 libapr-util1 libapparmor1 libao libaio-devel libaio libadns1 libacl-devel libacl libWand10 libMagick10 libMagick++10 libFLAC8 libEMF less ldapcpplib ksymoops ksh krb5-devel krb5 kpartx klogd keyutils-libs keyutils-devel kernel-source kernel-pae kbd jpackage-utils joe java-1_5_0-gcj-compat irda iputils iptables iproute2 insserv input-utils inkscape-lang inkscape initviocons info indent imlib2 imlib iftop ifplugd icewm-default icewm icedax i4l-base hwinfo hplip-hpijs hplip hdparm hal-resmgr hal-palm hal-devel hal gzip gvfs guile gucharmap gtkspell gtksourceview18 gtksourceview gtkmm2 gtkhtml2 gtkhtml-sharp2 gtkglext gtk2 gtk-sharp2 gtk gsynaptics gstreamer-0_10-pulse gstreamer-0_10-plugins-good gstreamer-0_10-plugins-base gstreamer-0_10 gsf-sharp grub groff grep graphviz gpm gphoto gpgme gpg2 gperf gpart gnutls gnuchess gnome-web-photo gnome-volume-manager gnome-vfs2 gnome-vfs-sharp2 gnome-vfs-obexftp gnome-utils gnome-terminal gnome-system-monitor gnome-spell2 gnome-speech gnome-sharp2 gnome-session gnome-printer-add gnome-power-manager gnome-pilot-lang gnome-pilot gnome-panel gnome-nettool gnome-mount gnome-menus gnome-media gnome-main-menu gnome-mag gnome-keyring-pam gnome-keyring-manager gnome-keyring-devel gnome-keyring gnome-games-lang gnome-games gnome-cups-manager gnome-commander gnome-bluetooth-lang gnome-bluetooth gnome-applets gnet gmp-devel gmp gmime-sharp gmime gltt glitz-devel glitz glibmm2 glibc-locale glibc-info glibc-i18ndata glib2 glib-sharp2 glib gle glade-sharp2 gitk git-email git-core gimp giflib ghostscript-x11 ghostscript-omni ghostscript-library ghostscript-fonts-std ghostscript-fonts-other ghex-lang ghex ggreeter gftp-lang gftp gettext-tools gettext-runtime genisoimage gedit gdm gdbm-devel gdbm gdb gconfmm gconf2 gconf-sharp2 gconf-editor gcc43-info gcc43-gij gcc43 gcc-info gcc-gij gcc-c++ gcc gcalctool gawk galago-daemon gail ftgl ft2demos freetype2-devel freetype2 freetype freeglut foomatic-filters fontconfig-devel fontconfig flex finger findutils filters fillup filesystem file-roller file festival fdupes fbset fast-user-switch-applet fam-server fam f-spot expect expat exiftool evolution-sharp evolution-pilot evolution-data-server evolution evince ethtool esound epiphany-lang epiphany-extensions eog enchant eject eel ed e2fsprogs dvd+rw-tools dosfstools dos2unix dockutils dmraid dirmngr diffutils diffstat dialog dia-lang dia dhcpv6 dhcpcd dhcp-tools dhcp-client dhcp device-mapper desktop-file-utils deskbar-applet deltarpm ddd dcraw dbus-1-x11 dbus-1-python dbus-1-mono dbus-1-glib-devel dbus-1-glib dbus-1 db-utils dasher-lang dasher dante cyrus-sasl-saslauthd cyrus-sasl-plain cyrus-sasl-digestmd5 cyrus-sasl-devel cyrus-sasl cvs curl-ca-bundle curl cups-libs cups-drivers cups-devel cups-client cups-backends cups-autoconfig cscope cryptsetup cron cracklib-dict-full cracklib cpp43 cpp cpio coreutils compiz-gnome compiz cifs-mount check cdrkit-cdrtools-compat cdrdao cdparanoia cdk capi4linux cairomm cairo-devel cairo cabextract bzip2 bug-buddy brasero bootsplash-theme-SuSE bootsplash bootcycle boost-jam boost-doc boost-devel boost bluez-utils bluez-libs bluez-gnome blt blktrace bison binutils bind-utils bind-libs bin86 beagle-index beagle-gui beagle-firefox beagle-evolution beagle bc bash-doc bash banshee-plugins-default banshee awesfx avahi-mono avahi automake autofs autoconf audiofile-devel audiofile attr atk at-spi at aspell-en aspell art-sharp2 arpwatch apparmor-parser apache2-utils apache2 alsa-utils alsa-plugins alsa-oss alsa-devel alsa alacarte-lang alacarte acpid acl aalib aaa_base a2ps SDL PolicyKit-gnome-libs PolicyKit-doc PolicyKit OpenOffice_org-writer OpenOffice_org-pyuno OpenOffice_org-mailmerge OpenOffice_org-gnome OpenOffice_org-calc OpenOffice_org NetworkManager-gnome NetworkManager-glib NetworkManager NX MozillaFirefox Mesa-devel Mesa ImageMagick FreeNX DirectFB ConsoleKit 3ddiag The following NEW packages are going to be installed: java-1_5_0-sun-plugin java-1_5_0-sun gd perl-doc nagios-www gtk2-branding-upstream graphviz-gd The following package is going to be REMOVED: java-1_6_0-sun-plugin Overall download size: 1014.4 M. After the operation, additional 95.6 M will be used. Continue? [YES/no]: n Created attachment 202645 [details]
zypper logs and testcase
After upgrading to latest factory this only happens when alpha2 DVD is in place. When issuing zypper dup with alpha2 DVD removed the following happens: zypper dup Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000004: No medium found (mount: No medium found) Please insert medium [] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/NO]: y Error building the cache database: Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000004: No medium found (mount: No medium found) Warning: Disabling repository 'openSUSE-DVD 11.0' because of the above error. Reading installed packages... The following package is going to be upgraded: liboil The following NEW packages are going to be installed: java-1_5_0-sun-plugin java-1_5_0-sun The following package is going to be REMOVED: java-1_6_0-sun-plugin Overall download size: 24.5 M. After the operation, additional 74.2 M will be used. Continue? [YES/no]: the upgrade suggestion for liboil is correct, as I still keep that at alpha2 rev. Why java-1_5_0 should be forced on me, and java-1_6_0-sun-plugin removed remains mysterious. As soon as I provide the alpha2 DVD when asked for it, the massive downgrade is suggested as above. Now at libzypp-4.4.3-3 zypper-0.10.4-2 satsolver-tools-0.0.22-4 This really seems to depend on the presence of a DVD repository. If DVD is disabled it seems to behave normal. As far as I am concerned zypper should honor the most recent repository of those available for dup, not simply DVD if its there. This still seems to be the problem with the solver telling zypper to _reinstall_ the package. You would get "the following packages will be reinstalled" for these in the new zypper. This has to be fixed in the solver. e.g.: 2008-03-17 19:28:35 <0> workstation6l(19309) [zypper] zypper-misc.cc(summary):837 <install> (40)ImageMagick-6.3.7.2-35.i586(openSuSE-11.0-factory) 2008-03-17 19:28:35 <0> workstation6l(19309) [zypper] zypper-misc.cc(summary):837 <uninstall> (37098)ImageMagick-6.3.7.2-35.i586(@System) comment #6 is correct. Could you please try the update with the newest versions ? If the error still exists please generate a testcase and attach it to bugzilla. Thanks. Trying to zypper dup with the alpha3 DVD in place ( and source enabled ) now does not offer the batch downgrade but properly offers to upgrade from factory. Still there are some peculiarities left, which might be a bug in their own right or packaging issues: Apart from the majority of packages being upgraded zypper wants to downgrade: The following packages are going to be downgraded: libtheora0 xine-browser-plugin a52dec libffmpeg0 satsolver-tools libbeagle1 gtk-sharp2 glib-sharp2 glade-sharp2 gdm No option given. Also, again, java-1_5_0 is going to be installed in addition to java-1_6_0 as well as the java-1_5_0-sun-plugin installed and the java-1_6_0-sun-plugin removed. The following NEW packages are going to be installed: java-1_5_0-sun-plugin java-1_5_0-sun release-notes-openSUSE perl-XML-Simple mozilla-xulrunner190 liblua5_1 libgssglue1 libMagickWand1 libMagickCore1 libMagick++1 gimp-branding-upstream The following packages are going to be REMOVED: release-notes lua-libs libMagick++10 java-1_6_0-sun-plugin This also has no choice. Created attachment 204914 [details]
Output from terminal on running zypper dup
Created attachment 204916 [details]
/var/log/zypper.log
Created attachment 204918 [details]
/var/log/zypper.solverTestCase
(In reply to comment #8 from Casual J. Programmer) > Apart from the majority of packages being upgraded zypper wants to downgrade: > > The following packages are going to be downgraded: > libtheora0 xine-browser-plugin a52dec libffmpeg0 satsolver-tools libbeagle1 > gtk-sharp2 glib-sharp2 glade-sharp2 gdm > > No option given. > <cut> > > The following packages are going to be REMOVED: > release-notes lua-libs libMagick++10 java-1_6_0-sun-plugin > > This also has no choice. what options would you propose here and above? Well, if possible, something like: Solution1 keep packages in question Solution2 proceed as suggested then there needed to be a choice too for the case of The following NEW packages are going to be installed: java-1_5_0-sun-plugin java-1_5_0-sun I hope zypper doesn't run in "forceResolve" mode. "forceResolve" should *never* be the default, it should only be true if requested on the command line. (In reply to comment #14 from Michael Schröder) > I hope zypper doesn't run in "forceResolve" mode. "forceResolve" should *never* > be the default, it should only be true if requested on the command line. It does and i strongly don't agree that it should not as it is very annoying to get dependency problem prompt for things as obvious as zypper rm vim-base needing to remove also vim-data vim and gvim: ---->>>---- $ src/zypper rm --force-resolution off vim-base Reading installed packages... Problem: vim-data-7.1-59.x86_64 requires vim-base = 7.1, but this requirement cannot be provided deleted providers: vim-base-7.1-59.x86_64[@System] uninstallable providers: vim-base-7.1-105.i586[factory] vim-base-7.1-105.x86_64[factory] Solution 1: Following actions will be done: deinstallation of vim-data-7.1-59.x86_64 deinstallation of vim-7.1-104.x86_64 deinstallation of gvim-7.1-103.x86_64 Solution 2: keep vim-base Choose from above solutions by number or cancel [1/2/C]: ----<<<---- instead of: ---->>>---- $ src/zypper rm vim-base Reading installed packages... The following packages are going to be REMOVED: vim-data vim-base vim gvim After the operation, 22.4 M will be freed. Continue? [YES/no]: n ----<<<---- This is normal install/remove/update... i don't know whether dist-upgrade would be better-off with force-resolution disabled by default (?). On executing zypper dup continuing from comment #8 zypper exits with: * Downloading: libxine1-1.1.11cvs-200803300036.i686.rpm [done] Problem downloading the package file from the repository: Can't provide ./xine-cvs/xine-lib/libxine1-1.1.11cvs-200803300036.i686.rpm : Media Exception Please see the above error message for a hint. rerunning zypper dup then suggests a mess of downgrading, upgrading etc. see attached terminal output. Created attachment 204943 [details]
Terminal output from rerunning zypper dup
Created attachment 204944 [details]
/var/log/zypper.log
(In reply to comment #14 from Michael Schröder) > I hope zypper doesn't run in "forceResolve" mode. "forceResolve" should *never* > be the default, it should only be true if requested on the command line. BTW, looking at the dist-upgrade code, zypper does not use setForceResolve() at all, so the libzypp default is used. Created attachment 204945 [details]
/var/log/zypper.solverTestCase
(In reply to comment #16 from Casual J. Programmer) > On executing zypper dup continuing from comment #8 > > zypper exits with: > > * Downloading: libxine1-1.1.11cvs-200803300036.i686.rpm [done] > Problem downloading the package file from the repository: > Can't provide ./xine-cvs/xine-lib/libxine1-1.1.11cvs-200803300036.i686.rpm : > Media Exception > Please see the above error message for a hint. Maybe you needed a refresh. Thanx for the log, i'll try to provide more helpful error message/hint. > rerunning zypper dup then suggests a mess of downgrading, upgrading etc. see > attached terminal output. I guess this is because of the refresh that took place when you started 'dup' again? Of course the 'downgrading' (read re-installing) is still this very bug. Regarding comment #15: you have a case when there is just one simple request to the solver, as in 'zypper rm vim', but it makes no sense for more complicated stuff. Maybe not even if you want to install/erase two packages. Regarding comment #19: is there a hint in the logfile whether forceResolve is on or off for "zypper dup"? comment #19 Jano while a upgrade call you are calling the SAT-solver twice. The first run is without forceResolve the second one is with: 2008-03-31 12:36:23 <0> workstation6l(18506) [zypper] zypper-misc.cc(resolve):1051 force resolution: 1 Calling it twice is actually what I would propose. First call without force, then check if the problem is trivial, if yes, print problem info and run it with forceResolve. (In reply to comment #23 from Stefan Schubert) > comment #19 > Jano while a upgrade call you are calling the SAT-solver twice. The first run > is without forceResolve the second one is with: Oh yes, i overlooked it, sorry. The first run is apparently the doUpgrade(opt_stats) call. The second one is the resolve() call as i thought doUpgrade just marks solvables for installation/removal and that resolve() is still needed. So this is not true? I disabled force-resolution for dist-upgrade. Should i disable it also for 'zypper update'? Was this the cause of this bug or is there still a solver issue? (In reply to comment #24 from Michael Schröder) > Calling it twice is actually what I would propose. First call without force, > then check if the problem is trivial, if yes, print problem info and run it > with forceResolve. Yes, but how to check if the problem is trivial? Simply by the number of solve problems or something else? Also flooding the output with the problem info in cases like in comment #15 would probably not do any good. comment #25 Use forceResolve for a "single action" e.G. install foo only. "zypper update" is not a single action. The rest should be dependency problems only which hopefully has nothing to do with zypper/libzypp ok done in svn, to be in zypper 0.10.5. I also fixed generating of the solver test case to set force resolve _before_ generating. Schubi, i still need an answer to the rest of the questions in comment #25 :O) Ähm, I think that I have already given all answers. What is still open ? 1) Was this the cause of this bug or is there still a solver issue? (meaning the solver telling to reinstall packages). 2) is Resolver::resolve() needed after Resolver::doUpgrade()? Or should i just call commit right after the the doUpgrade()? Aah, OK 1) Should be fixed. The reporter should retry it. 2) Resolver::doUpgrade() is enough. I have seen the changes in zypper ;-) |