Bug 431139 - zypper dup is reinstalling packages every time it is running
Summary: zypper dup is reinstalling packages every time it is running
Status: RESOLVED FIXED
: 429065 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Factory
Hardware: 64bit Other
: P5 - None : Major with 10 votes (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-01 05:28 UTC by Markus Koßmann
Modified: 2008-11-18 11:29 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
solver testcase (2.86 MB, application/x-tbz)
2008-10-01 05:30 UTC, Markus Koßmann
Details
zypper logfile (207.37 KB, text/x-log)
2008-10-01 05:34 UTC, Markus Koßmann
Details
zypper messages (1.22 KB, text/plain)
2008-10-01 05:35 UTC, Markus Koßmann
Details
2nd testcase (2.91 MB, application/x-tbz)
2008-10-01 13:10 UTC, Markus Koßmann
Details
logfile and testcase with bad repo (2.90 MB, application/x-tbz)
2008-10-02 03:42 UTC, Markus Koßmann
Details
testcase and logfiles with beta2 (2.96 MB, application/x-tbz)
2008-10-08 19:21 UTC, Markus Koßmann
Details
solver testcase for factory on Oct 10 (2.37 MB, application/x-tbz)
2008-10-18 18:27 UTC, Markus Koßmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Koßmann 2008-10-01 05:28:23 UTC
The last few times I've run 'zypper dup' on my factory installation, it reinstalled a lot packages ( see attached zypper messages). There is only the factory reo configured. So it can't be a conflict between different repos.
(Solver testcase attached)
Comment 1 Markus Koßmann 2008-10-01 05:30:03 UTC
Created attachment 242706 [details]
solver testcase
Comment 2 Markus Koßmann 2008-10-01 05:34:16 UTC
Created attachment 242707 [details]
zypper logfile
Comment 3 Markus Koßmann 2008-10-01 05:35:33 UTC
Created attachment 242708 [details]
zypper messages
Comment 4 Michael Schröder 2008-10-01 09:11:40 UTC
I can't reproduce this with the sat solver's deptestomatic. Schubi, can you see the bug with libzypp's one?
Comment 5 Stefan Schubert 2008-10-01 12:44:22 UTC
I cannot reproduce the error too. The testcase does not reflect the state which
is shown in the zypper logs. ( The testcase has been made one day later). So
could you please try to reproduce the error with included testcase ? Thanks!!!
Comment 6 Markus Koßmann 2008-10-01 13:10:58 UTC
Created attachment 242807 [details]
2nd testcase 

No problem creating another testcase
Files contained in zypper_files.tar.bz2
first "zypper dup -l |tee zypp.output2"  produced zypper.log3 (saying "Yes" to download )
then run zypper dup -l --debug-solver
and finally again zypper dup -l ( saying "no" to download), which created zypper.log4
Comment 7 Markus Koßmann 2008-10-02 03:39:07 UTC
This morning the factory repo is not usable because it is going to be updated to Beta2. But "zypper dup -l"  still tries to reinstall even if the action is aborted :

File '/repodata/repomd.xml' not found on medium 'http://ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Factory/standard/'

Abort, retry, ignore? [A/r/i]: A
Reading installed packages...

The following packages are going to be reinstalled:
  tango-icon-theme kdegames4-carddecks-default kdegames4-carddecks-other
[...]
OpenOffice_org-templates-labels-a4


Overall download size: 168.0 M. No additional space will be used or freed after the operation.
Continue? [YES/no]:  n     
Comment 8 Markus Koßmann 2008-10-02 03:42:15 UTC
Created attachment 242973 [details]
logfile and testcase with bad repo
Comment 9 Markus Koßmann 2008-10-08 19:21:14 UTC
Created attachment 244422 [details]
testcase and logfiles with beta2

With beta2 the problem has become much worse :-( . Now zypper will try to reinstall every package when I run zypper dup. 
The files included in zypper_files_beta2.tar.bz2 are 
zypper.log.first : logfile of a full reinstall
after that the testcase was created and then another zypper dup was started with text output in zypper.output
Comment 10 Dave Plater 2008-10-09 07:11:56 UTC
happens on my system too.
Comment 11 Stefan Schubert 2008-10-09 15:45:17 UTC
Thanks, that testcase shows the problem. Michael, could you please take over ?
Comment 12 Stefan Schubert 2008-10-09 15:49:11 UTC
*** Bug 429065 has been marked as a duplicate of this bug. ***
Comment 13 Michael Schröder 2008-10-13 08:27:29 UTC
No wonder: the vendor string is empty for all of the packages in the factory repository.
Comment 14 Stefan Schubert 2008-10-13 08:43:55 UTC
Aha, and what shall I do with this now ? :-)
Adrian, can you confirm this. If yes, please close this bug.
Comment 15 Markus Koßmann 2008-10-14 05:17:03 UTC
Just wait to close the bug until a release of factory with fixed vendor string is synced out ;-) 
Comment 16 Markus Koßmann 2008-10-18 18:27:10 UTC
Created attachment 246411 [details]
solver testcase for factory on Oct 10

Todays update of factory doesn't fix the problem. I hope it will be fixed with beta3. Attached archive with testcase, output of zypper and zypper.log for a 2nd run of "zypper dup"
Comment 17 Stefan Schubert 2008-11-18 11:29:22 UTC
It has been a non defined vendor entry. That should be fixed meanwhile.