You are not logged in.
[billytcf@dynames ~]$ yaourt -S aptana
==> Downloading aptana PKGBUILD from AUR...
==> Last 5 comments ordered by date (asc):
I deleted the comments here
==> aptana dependencies:
- firefox (package found)
- libstdc++5 (already installed)
- j2re (package that provides j2re already installed)
- unzip (already installed)
==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
n
==> Continue the building of 'aptana'? [Y/n]
==> ----------------------------------------------
==>Y
==> Building and installing package
==> Making package: aptana 1.0-1 (Wed Apr 23 14:53:31 UTC 2008)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
Password:
error: several packages provide j2re, please specify one :
jre icedtea6
==> ERROR: Pacman failed to install missing dependencies.
Error: Makepkg was unable to build aptana package.
I have jdk and jre installed by pacman but still have this prob.
So i cheated, edited pkgbuild remove all dependencies, then
==> aptana dependencies:
- unzip (already installed)
==> Continue the building of 'aptana'? [Y/n]
==> ----------------------------------------------
==>
==> Building and installing package
==> Making package: aptana 1.0-1 (Wed Apr 23 15:04:37 UTC 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found Aptana_Studio_Setup_Linux.zip in build dir
-> Found aptana.desktop in build dir
-> Found aptana.png in build dir
-> Found _aptana in build dir
==> Validating source files with md5sums...
Aptana_Studio_Setup_Linux.zip ... FAILED
aptana.desktop ... Passed
aptana.png ... Passed
_aptana ... Passed
==> ERROR: One or more files did not pass the validity check!
Error: Makepkg was unable to build aptana package.
tried downloading the file for a few times but still fail md5
May I request help here??
thanks everyone!!
Last edited by billytcf (2008-04-23 07:02:50)
Billy Tse
Offline
It's quite simple. When the AUR package was created, the current version of Aptana was 1.0, but the source url links to the latest version. This was all ok until they released version 1.1 because then you suddenly have a completely new file that gets downloaded and because of this is will fail the md5 check.
It's very simple to fix though, in one of two ways. Either just delete the md5sum=() array (changing pkgver=1.0 to pkgver=1.1 would also be a good idea), or download the PKGBUILD and in the same directory as you store it just run makepkg -g and replace the md5sum array with the resulting data (this would be the best way to handle this...).
Last edited by Dirhael (2008-04-23 11:17:05)
Offline
error: several packages provide j2re, please specify one :jre icedtea6
Is there any need to have two java environments? If you have installed icedtea, then jre seems to be unnecessary. Correct me if I'm wrong.
Offline
i didn't install icedtea6
so i dunno what happened
thx Dirhael i'll try it out! (use the delte md5sum-() though )
Billy Tse
Offline