Ticket #125 (closed defect: fixed)

Opened 7 months ago

Last modified 5 months ago

mamona_setup.sh git-core version chekking

Reported by: keesj Owned by: keesj
Priority: normal Milestone: 0.2
Component: Build System Version: 0.2
Keywords: Cc:

Description

On my ubuntu machine the mamona_setup.sh fails to detect that my git version is older then the recommended one.

It looks like the numbering convention are not followed

1:1.5.4.3-1ubuntu2 is bigger then 1.5.5.rc2-1

when I force the install I get the following warning dpkg - warning: downgrading git-core from 1:1.5.4.3-1ubuntu2 to 1.5.5.rc2-1.

Change History

Changed 7 months ago by keesj

  • owner set to keesj
  • status changed from new to assigned

Note: I am trying to repackage a recent version of git to see is the problem still persists.

Changed 7 months ago by keesj

Hi

I was able to recompile debian the 1.5.5.3 version for amd64 using the following commands:

wget http://ftp.de.debian.org/debian/pool/main/g/git-core/git-core_1.5.5.3-1.dsc wget http://ftp.de.debian.org/debian/pool/main/g/git-core/git-core_1.5.5.3.orig.tar.gz wget http://ftp.de.debian.org/debian/pool/main/g/git-core/git-core_1.5.5.3-1.diff.gz

dpkg-source -x git-core_1.5.5.3-1.dsc cd git-core-1.5.5.3/ dpkg-buildpackage -rfakeroot

sudo dpkg -i *.deb apt-get install -f

This version defined "1:" version prefix and therefore does not have the same problems as the ones hosted op openbossa.org. what next?

Changed 7 months ago by aloisio

aloisio@alosalap:~$ dpkg --compare-versions 1:1.5.4.3-1ubuntu2 gt 1.5.5.rc2-1 && echo TRUE
TRUE
aloisio@alosalap:~$ dpkg --compare-versions 1.5.4.3-1ubuntu2 gt 1.5.5.rc2-1 && echo TRUE
aloisio@alosalap:~$ 

It sounds that dpkg can't handle with versions that have '#:' prefix (strange).

We must remove any prefix from package version before comparison and force the installation as the message "dpkg - warning: downgrading git-core" is a false warning.

Changed 7 months ago by keesj

Hi I added new packages amd64 and x86 for ubuntu 8.10 http://mamona.mmapps.net/git_update.tar.gz they are not renamed but I guess it it better then performing the downgrade

There is a readme showing what commands i typed 36f813e11a7184074580a4f41341b606 root/git_update.tar.gz

Changed 5 months ago by keesj

Should we upload the given packages?

Changed 5 months ago by aloisio

  • status changed from assigned to closed
  • resolution set to fixed

Done.

Old git packages: http://dev.openbossa.org/mamona/download/git-gutsy-backport

The new directories: http://dev.openbossa.org/mamona/download/git/gutsy http://dev.openbossa.org/mamona/download/git/hardy

(*) mamona_setup.sh script already points to the new location

Tks keesj and sorry the delay

Note: See TracTickets for help on using tickets.