[Bug 425054] New: Zypper removes package when it is supposed to be updating it
https://bugzilla.novell.com/show_bug.cgi?id=425054 Summary: Zypper removes package when it is supposed to be updating it Product: openSUSE 11.0 Version: Final Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: sourtooth@gmail.com QAContact: qa@suse.de Found By: Other When i recently installed the pure-ftpd update ( fortunately i watched the updater ) and noticed it REMOVED my pure-ftpd package ( which i manually installed from an older not oss repository package ) instead of UPGRADING it. so i went into Yast and reinstalled it. then i manually started it ( rcpure-ftpd start ) and did a test login and noticed it didn't obey my settings anymore. looking in /etc/pure-ftpd/ i noticed that zypper MOVED MY CONFIG files out of the way to install the package. so i had to restore my config files. a package manager should never uninstall a package it is upgrading -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c1
--- Comment #1 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User sourtooth@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c2
--- Comment #2 from Ben Cooksley
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c3
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User tgoettlicher@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c4
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=425054
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c5
--- Comment #5 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c6
Ján Kupec
Right now the updater applet calls "zypper -x --non-interactive in -l -t patch $PATHNAME"
Jano, should I add "--no-force-resolution" to zypper's command line?
It should not be necessary, it should be set automatically when in --non-interactive mode. The log would tell. Ben, can you try to reproduce and provide the resulting zypper.log? @Thomas: Is it possible to run the applet from command line to be able to get the log (a believe the log is not created in /var/log/zypper.log because the applet runs with user rights) something like this: $ ZYPP_LOGFILE=myzypper.log opensuseupdater-kde -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c7
--- Comment #7 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User sourtooth@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c8
Ben Cooksley
https://bugzilla.novell.com/show_bug.cgi?id=425054
User sourtooth@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c9
--- Comment #9 from Ben Cooksley
https://bugzilla.novell.com/show_bug.cgi?id=425054
User tgoettlicher@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c10
--- Comment #10 from Thomas Göttlicher
@Thomas: Is it possible to run the applet from command line to be able to get the log (a believe the log is not created in /var/log/zypper.log because the applet runs with user rights)
something like this:
$ ZYPP_LOGFILE=myzypper.log opensuseupdater-kde Yes, you can run it this way.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=425054
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c11
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=425054
User sourtooth@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c12
--- Comment #12 from Ben Cooksley
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c13
--- Comment #13 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c14
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c15
--- Comment #15 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=425054
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c16
--- Comment #16 from Ján Kupec
I bet it's because "pure-ftpd" is in the "soft lock" list. Argh. This tells the solver that it should try to remove the package. The question is, how did it end up in that list? Did you deselect "pure-ftp" in the YaST UI at some point in the past. And maybe later on installed it via zypper (which doesn't update the soft lock list, but that's another bug)?
Is there a bug for this? If not, please create it, so that it does not get lost. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=425054
User sourtooth@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c17
--- Comment #17 from Ben Cooksley
https://bugzilla.novell.com/show_bug.cgi?id=425054
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c18
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=425054
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425054#c19
Swamp Script User
participants (1)
-
bugzilla_noreply@novell.com