[linux, DEB] Version strings "5.0.LINUX..." and "5.0.1.LINUX..." confuse the installer (GDebi)
Closed this issue · 4 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Install PEAZIP 5.0.LINUX.GTK2-2
2. Try to install PEAZIP 5.0.1.LINUX.GTK2-2 (wich obviously is newer) with GDebi
What is the expected output? What do you see instead?
PEAZIP 5.0.1.LINUX.GTK2-2 installed
I see a message like "a newer version is already installed"
What version of the product are you using? On what operating system?
Deb packages : 5.0 and 5.0.1
Please provide any additional information below.
I very highly guess that string comparaison gives :
"5.0.LINUX.GTK2-2" > "5.0.1.LINUX.GTK2-2" and causes 5.0.1 to be refused to install
Very obvious, isn't it ?
As a workaround :
remove current Peazip (5.0) by "sudo apt-get remove peazip"
and install PEAZIP 5.0.1.LINUX.GTK2-2
By the way, I notice that uninstaller wants to remove
"/usr/local/share/applications" which I think is bad, fortunately a non-empty
dir won't be removed (by apt).
Greatest regards
Original issue reported on code.google.com by MM.tsu...@gmail.com
on 1 Aug 2013 at 1:23
GoogleCodeExporter commented
Thank you for reporting, I'll move to fixed x.y.z naming convention (major
version, minor version, revision) consistently for all packages from next
release, so i.e. 5.1 string in package name will be 5.1.0.
Original comment by giorgio.tani.software@gmail.com
on 1 Aug 2013 at 1:36
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
Naming convention changed in 5.1.0 to fixed scheme major.minor.revision to
avoid this issue.
Original comment by giorgio.tani.software@gmail.com
on 1 Sep 2013 at 6:13
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
You wrote somwhere that version string is 5 bytes.
Do you mean that your max version is 15.15.15 ? It is a very annoying detail.
Regards
Original comment by MM.tsu...@gmail.com
on 3 Sep 2013 at 7:50
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
version string is now alway 5 bytes (digits, characters) long, x.y.z, e.g.
5.1.0 instead of 5.1 - before, it was 3 characters long for minor releases and
5 for revisions, e.g 3 characters 5.0 followed by 5 characters 5.0.1, which was
confusing for some package managers.
Original comment by giorgio.tani.software@gmail.com
on 3 Sep 2013 at 10:26
- Added labels: ****
- Removed labels: ****