Commit b08baaf2 authored by Bernhard Link's avatar Bernhard Link

fix readding of existing packages when after a delete rule an older package is found first

parent 5d8d87ce
2005-04-16 Bernhard R. Link <brlink@debian.org>
* fix broken fix in signature.c from 2005-04-10
* fix bug when after a delete rule the second
origin has the version already in an archive
2005-04-12 Bernhard R. Link <brlink@debian.org>
* fix same more warnings
......
Updates since 0.3:
- minor bugfix: no longer readd existing packages, when after a delete rule
a old package was found first.
- adopt short-howto to changes in keywords.
- many tidy ups
Updates since 0.2:
- Override: SourceOverride: replaced by (Deb|UDeb|Dsc)Override
- new command reoverride to reapply override information.
- sometimes be a bit more verbose
- new iteratedupdate command , which is a variant of
- new experimental iteratedupdate command , which is a variant of
update but needs less memory.
- to ignore Release signature failures two --force's are needed now.
......
......@@ -372,11 +372,12 @@ static retvalue upgradelist_trypackage(void *data,const char *chunk){
free(packagename);
return RET_NOTHING;
}
if( versioncmp <= 0 && current->version == current->new_version
if( versioncmp != 0 && current->version == current->new_version
&& current->version_in_use != NULL ) {
/* The version to include is less than the newest
* version we found, but it is also not the same like
* the version we already have? */
/* The version to include is not the newest after the
* last deletion round), but maybe older, maybe newer.
* So we get to the question: it is also not the same
* like the version we already have? */
int vcmp = 1;
(void)dpkgversions_cmp(version,current->version_in_use,&vcmp);
if( vcmp == 0 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment