No description provided.
I'm getting error when tring to install new GIT version using 3rd party PPA:
No apport report written because MaxReports is reached already
You did not provide enough information. Please ask on the mailing list first.
Don't forget to include links to your build, .travis.yml and explain why you need a custom git version.
I believe it's not a question it's an issue that is why i posted it here.
Sorry for not providing the details. I posted an empty issue somehow
here's my .travisci file
# command to install dependencies
- mysql -e 'create database rhodecode_test;'
- psql -c 'create database rhodecode_test;' -U postgres
- git --version
- sudo add-apt-repository ppa:pdoes/ppa -y
- sudo apt-get update -y
- sudo apt-get install git -y
- pip install mysql-python psycopg2 mock unittest2
- pip install . --use-mirrors
# command to run tests
dpkg: error processing /var/cache/apt/archives/git_2%3a22.214.171.124-0avh1~oneiric_i386.deb (--unpack):
It is an issue with your PPA, not travis CI environment.
Can you explain why you need a different git version?
That is odd since it tested it Locally in virtual machine, and it worked fine with this PPA.
I need latest version of git since my software is build on top of git.
Trying to install the package in question via dpkg -i:
$ wget http://ppa.launchpad.net/pdoes/ppa/ubuntu/pool/main/g/git/git-el_126.96.36.199-0avh1~oneiric_all.deb
[-- cut --]
$ sudo dpkg -i git-el_188.8.131.52-0avh1~oneiric_all.deb
Selecting previously deselected package git-el.
(Reading database ... 32525 files and directories currently installed.)
Unpacking git-el (from git-el_184.108.40.206-0avh1~oneiric_all.deb) ...
dpkg: dependency problems prevent configuration of git-el:
git-el depends on emacs | emacsen; however:
Package emacs is not installed.
Package emacsen is not installed.
dpkg: error processing git-el (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
We do not preprovision Emacs. Moreover, after trying to install this package, I can no longer install emacs23-nox without doing a lot of manual dependency fixing. All of this in a clean VM that only has bare essentials like profile/env variables/build directories provisioned.
So yeah, this package is badly broken.
Thanks, i'll investigate more, or try to find different PPA.
I don't know why it works for on a clean ubuntu for me.
Just out of curiousity, if you install emacs23-nox first and then try to dpkg -i ... this git package, you get
dpkg -i ...
travis@nettuno:~$ sudo dpkg -i git_220.127.116.11-0avh1~oneiric_i386.deb
(Reading database ... 35110 files and directories currently installed.)
Preparing to replace git 1:18.104.22.168-1 (using git_22.214.171.124-0avh1~oneiric_i386.deb) ...
mv: `/usr/lib/git-core/git-add.tmp' and `/usr/lib/git-core/git-add' are the same file
dpkg: error processing git_126.96.36.199-0avh1~oneiric_i386.deb (--install):
subprocess new pre-installation script returned error exit status 1
@marcinkuzminski I have a workaround for you. This package does install cleanly if there is no earlier versions of git installed (and we now use standard Ubuntu packages, not a custom-built version we used to run before). So if you
sudo apt-get remove git
in a before_install and then add the PPA, it should work. We may consider switching to this PPA to provide a newer git version, although most projects don't care. It worries me that this package cannot cleanly do an upgrade from the standard git version but if it works well otherwise, it's not a problem for us to provision it. Let me know how it goes.
Introduce git::ppa, references travis-ci/travis-ci#684
The decision about using it hasn't been made yet but it was 2 minutes of work
to add this recipe.
Perfect, build is running now after uninstalling older version.
probably It can do upgrades after you add this PPA, I think the mv command is simply broken because maintainer didn't assume that older version can have same components, and should be replaced by mv -f.
It would be nice if default environment could provide a never git version. There were a lot of bugfixes after 1.7.5 version.
Also what i'm mostly interested in that most command can take -c option to override default configuration when running git subcommands