I experience the same bug with another package.
Apt-src (version: 0.25.1-0.1) did not update from amule
2.2.2-1unbuntu1 to 2.2.4-1ubuntu1.1.
Sven's patch (message #10) works.
I debugged the problem and can explain Sven's patch:
In my situation (i.e., when comparing 2.2.2-1unbuntu1 and 2.2.4-1ubuntu1.1
$vs->compare($match->{Version}, $version) returns 2.
This is in accordance with the documentation of AptPkg::Version (which
is the type of $vs):
compare(A, B)
Compare package version A with B, returning a negative value if A
is an earlier version than B, zero if the same or a positive value
if A is later.
(from the AptPkg::Version man page)
Apt-src 0.25.1-0.1 only checks whether compare only returns a value != 1.
If not, apt-src thinks the package has not changed.
However, any return value >0 should have the same effect as 1.
This is what the patch does.
Best,
Dominique.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]