#208659 apt-src: does not upgrade, if only debian package version differs

#208659#5
Date:
2003-09-04 09:57:17 UTC
From:
To:
... at least, it looks like this is the problem.
once upon a time i did 'apt-src install sysvinit'; it installed 2.85-4.
while 2.85-7 is now the current debian release, apt-src strictly refuses
to upgrade, claiming the newest version is already installed.
on a change of the upstream version it starts the upgrade.

#208659#10
Date:
2008-06-22 12:30:23 UTC
From:
To:
The minor correction below seems to correct this error. Please verify, and if possible update.

*** /usr/share/perl5/AptSrc.pm~	2008-05-31 19:48:32.000000000 +0200
--- /usr/share/perl5/AptSrc.pm	2008-06-22 14:14:17.000000000 +0200
***************
*** 374,380 ****
  	}

  	my ($version, $source)=$this->findsource($this->source);
! 	if (! defined $version || $vs->compare($version, $this->version) != 1) {
  		# Nothing to upgrade.
  		return;
  	}
--- 374,380 ----
  	}

  	my ($version, $source)=$this->findsource($this->source);
! 	if (! defined $version || $vs->compare($version, $this->version) <= 0) {
  		# Nothing to upgrade.
  		return;
  	}

#208659#15
Date:
2009-07-23 20:24:55 UTC
From:
To:
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.

#208659#20
Date:
2023-07-02 21:03:11 UTC
From:
To:
Dear Sir or Madam,

I would like to use the opportunity to introduce myself – my name is Inna Zaimenko, I am an accomplished biologist and a business lady. I have a company Deepli GmbH (https://deepli.net) in Germany and am currently located in UAE on a business license.

I live in Germany since 10 years, did a PhD in Integrative Oncology at Charite and Master's in Cancer Biology at Heidelberg University. I have Deepli since 2018, we are an IT company, but because of my background we also do a lot of business strategy consulting projects, market research, establish business partnerships, and help in general with what we can to those companies interested.

We have several software solutions for data mining of scientific literature, but we also do custom data science and web development projects. We have access to 1.6 millions scientists and 10 millions+ companies.

Among our non-IT projects were market research for medical device manufacturer, business strategy for growth for plant engineering company, finding suppliers or distributors for medical implant companies, finding a GMP manufacturer for a clinical trial, finding journals that are interested in a manuscript, and even establishment of two companies in UAE for a project management company from Germany.

We can offer:
– data science and web development
– business strategy for growth
– email marketing at scale from own mail server
– company setup in UAE
– search for information of interest incl. research, supplier, etc.

Is there anything we can do for you at the moment?

I hope this email does not bother you, if yes, I will not contact you again, apologies for inconvenience.

Have a great day!

Kind regards,
Inna Zaimenko


CEO at Deepli GmbH
https://deepli.net
c/o HQ Feringastr. 6, 85774 Unterföhring, Germany
DIC Building 16 Ground Floor, Dubai, UAE