[R-sig-Debian] c2d4u: apt sees new package version as a downgrade

Michael Rutter m@rutter @end|ng |rom gm@||@com
Thu Jan 19 20:09:06 CET 2023



On 1/19/23 2:00 PM, Merkle, Edgar C. wrote:
> Hello,
> 
> I noticed a strange thing when attempting to upgrade a specific package (lavaan) from c2d4u and wondered if someone could confirm the problem. In short, apt seems to think that an older version from the "universe" repo is higher than the newer version from c2d4u.
> 
> When I do
> 
> apt-cache showpkg r-cran-lavaan
> 
> I get the output at the bottom of this email. Then, I tried to force install the 0.6-13 version using
> 
> apt install r-cran-lavaan=0.6-13-1cran1.2204.0
> 
> and apt warned me that I was downgrading the package. I am wondering whether it is because universe has a period between "6" and "10", while c2d4u correctly has a dash between "6" and "13". If so, what would be best practice to install 0.6-13? I could pin the version, but I worry I will forget about it when future versions come out.
> 
> Thanks for your help,
> Ed

Ed,

Thanks for the email.  lavaan on Cran uses a dash, while the package 
built for Ubuntu via Debian uses a dot.  I will correct that in the next 
24 hours.  These small differences slip through sometimes.

Again, thanks for pointing that out.
Michael


> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian



More information about the R-SIG-Debian mailing list