You are not logged in.

#1 2009-01-09 08:51:15

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Problem using yaourt and AUR[SOLVED]

Hi, I have some strange issues with regarding to yaourt and the AUR...

1. My problem with yaourt is that it can't seem to install or find packages on the AUR..
2. Using the AUR; when trying to open the tarball downloaded via opera, no files (PKGBUILD, etc) are there...


I want to download (kicad and geda) supposedly but this problem occurs...:(

Any help would be appreciated...I tried downloading using midori but it crashes though...:/







Thanks in advance

Last edited by kaola_linux (2009-01-11 06:53:28)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#2 2009-01-09 08:57:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: Problem using yaourt and AUR[SOLVED]

There are posts around here about that.  From memory, the AUR was upgraded so you will need the latest git version of yaourt.

Offline

#3 2009-01-09 09:09:06

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

How about with the tarballs which doesn't contain any files? Are they related with each other? I tried to download the tarball of the yaourt-git but it still doesn't have any files...:/

Last edited by kaola_linux (2009-01-09 09:11:58)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#4 2009-01-09 10:01:14

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: Problem using yaourt and AUR[SOLVED]

Offline

#5 2009-01-09 10:34:27

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

I tried opening the file using xarchiver and squeeze but it doesn't contain anything at all...Is this problem related to my system itself?

I had include [archlinuxfr] to my repos, yaourt-git is not there...:(

Here is another info with regards to installing geda-suite via yaourt:

[koala@myhost ~]$ yaourt -S geda-suite
==> Resuming previous build

==> Downloading geda-suite PKGBUILD from AUR...
/usr/lib/yaourt/aur.sh: line 250: cd: geda-suite/: No such file or directory
==> Last 5 comments ordered by date (asc):

Comment by: aepytus21 on 20070919 [00:21:26]
modified pkgbuild for geda's new release and directory structure. thanks chrismortimore for original pkgbuild
pkgname=geda-suite
pkgver=1.2.0
pkgrel=3
pkgdesc="gEDA suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project"
arch=('i686')
license=('GPL')
url="http://geda.seul.org"
depends=('glib2' 'gtk2' 'guile' 'geda-libs' 'pkgconfig')
source=(http://geda.seul.org/release/v1.2/$pkgver/geda-gschem-$pkgver.tar.gz http://geda.seul.org/release/v1.2/$pkgver/geda-gnetlist-$pkgver.tar.gz http://geda.seul.org/release/v1.2/$pkgver/geda-gsymcheck-$pkgver.tar.gz http://geda.seul.org/release/v1.2/$pkgver/geda-gattrib-$pkgver.tar.gz http://geda.seul.org/release/v1.2/$pkgver/geda-utils-$pkgver.tar.gz http://geda.seul.org/release/v1.2/$pkgver/geda-docs-$pkgver.tar.gz)
md5sums=('2bd5b949f0579bd5bc8dc91d6ddfd8cd' 'fe435c8124df5ee85e46f3f1e329ff70' 'bf23cf68e82f14f1e44b83fa9b951b90' '39acaa05c12c78f5a1fece22760e9d91' '7430311688713ae4e924344970deecc5' 'bbd67ab610a41bf44716cfdc651c0eb8')
build ()
{
# geda-gschem
cd $startdir/src/geda-gschem-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install

# geda-gnetlist
cd $startdir/src/geda-gnetlist-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install

# geda-gsymcheck
cd $startdir/src/geda-gsymcheck-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install

# geda-gattrib
cd $startdir/src/geda-gattrib-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install

# geda-utils
cd $startdir/src/geda-utils-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install

# geda-docs
cd $startdir/src/geda-docs-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install
#cleanup
rm -rf src || return 1
rm -rf pkg || return 1
}

Comment by: hatred on 20071213 [13:11:48]
Please add x86_64 to arch=() array. Also, wersion 1.2.0 is released, I simple change version in PKGBUILD and make it.

Comment by: jcasper on 20080507 [16:15:37]
Adopted and updated to current standards and version (1.4.0)

Comment by: onlinefloh on 20080723 [19:53:38]
As far as i can tell, configure needs perl module XML::Parser in order to compile properly.
So perl-xml-parser needs to be added to makedepends.
http://aur.archlinux.org/packages.php?ID=18604

Comment by: onlinefloh on 20080818 [19:06:38]
with a slightly update in PKGBUILD (as already pointed out) now this builds just fine and - judging from a real quick look - works equally fine. PKGBUILD:
# Contributor: Jared Casper <jaredcasper@gmail.com>
pkgname=geda-suite
pkgver=1.4.0
pkgrel=2
pkgdesc="gEDA/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project"
arch=('i686 x86_64' 'ppc')
url="http://geda.seul.org"
license=('GPL')
depends=('glib2' 'gtk2' 'guile' 'geda-libs' 'pkgconfig')
optdepends=('libstroke: for stroke support')
makedepends=('perl-xml-parser')
install=geda-suite.install
source=(http://geda.seul.org/release/v1.4/$pkgver/geda-gschem-$pkgver.tar.gz http://geda.seul.org/release/v1.4/$pkgver/geda-gnetlist-$pkgver.tar.gz http://geda.seul.org/release/v1.4/$pkgver/geda-gsymcheck-$pkgver.tar.gz http://geda.seul.org/release/v1.4/$pkgver/geda-gattrib-$pkgver.tar.gz http://geda.seul.org/release/v1.4/$pkgver/geda-utils-$pkgver.tar.gz http://geda.seul.org/release/v1.4/$pkgver/geda-docs-$pkgver.tar.gz)
md5sums=('f09144055957e894af7c74ea01b19265'
'b90ea69e260b35c3801e20795275cf2c'
'cc7328eef2de2f3aac496c15640671f0'
'e3a455f46c37fcf2ff93cc87bf20dc32'
'e28f8e42e89d4784ca875071642386d8'
'f60118dcc9067254227af30041a50767')
build ()
{
# geda-gschem
cd $srcdir/geda-gschem-$pkgver/
./configure --prefix=/usr --disable-update-desktop-database
make
make DESTDIR=$pkgdir install
# geda-gnetlist
cd $srcdir/geda-gnetlist-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
# geda-gsymcheck
cd $srcdir/geda-gsymcheck-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
# geda-gattrib
cd $srcdir/geda-gattrib-$pkgver/
./configure --prefix=/usr --disable-update-desktop-database
make
make DESTDIR=$pkgdir install
# geda-utils
cd $srcdir/geda-utils-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
# geda-docs
cd $srcdir/geda-docs-$pkgver/
./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
}

      First Submitted: Fri, 10 Nov 2006 12:32:23 +0000
      Last Updated: Sun, 04 Jan 2009 03:52:50 +0000
geda-suite 1.4.3-1 (Unsupported): gEDA\/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project
==>  Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n

Unable to read PKGBUILD for geda-suite

Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#6 2009-01-09 10:49:28

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: Problem using yaourt and AUR[SOLVED]

file downloaded and opened fine with xarchiver here.

Edit addition:  Have you tried wget or curl?

Last edited by xaiviax (2009-01-09 10:54:07)

Offline

#7 2009-01-09 11:22:27

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

I trried using wget, it's still the same...Package doesn't contain anything...:(


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#8 2009-01-09 11:52:26

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: Problem using yaourt and AUR[SOLVED]

What's the downloaded package size?  You may have an issue with tar or gzip.

Offline

#9 2009-01-10 03:27:44

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

Before when downloding a tarball the size is only 1kb -1.6kb...

Your indeed correct that I had problems with gzip and tar....


Installed it using this because it says alot of conflicts if doing a normal reinstall:

#pacman -Sf tar gzip

Now I can use yaourt and also downloading the tarballs from AUR has the files now...:D

Great thanks to you xaiviax!!!

Last edited by kaola_linux (2009-01-10 03:38:06)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#10 2009-01-10 07:36:23

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

Trying to install using yaourt I get this error:

[koala@myhost ~]$ yaourt -S openlierox

==> Downloading openlierox PKGBUILD from AUR...
tar: Record size = 8 blocks
==> Last 5 comments ordered by date (asc):

Comment by: vEX on 20070423 [12:13:05]
PKGBUILD for 0.57_beta2, fixed up source-field and removed manual tar command (makepkg will automatically extract the source).
#contributor: Dominika Solarz <dominikasolarz@gmail.com>
pkgname=openlierox
pkgver=0.57_beta2
pkgrel=1
pkgdesc="An extremely addictive realtime worms shoot-em-up backed by an active gamers community"
license="GPL"
url="http://openlierox.sourceforge.net/"
depends=("sdl" "sdl_mixer" "sdl_image" "hawknl" "gd" "zlib" "libxml2" )
install=()
source=("http://downloads.sourceforge.net/sourceforge/openlierox/OpenLieroX_0.57_beta2.src.tar.bz2")
md5sums=(6985e35d7d1cd7520ccba387c459f333)
build() {
cd $startdir/src/OpenLieroX
./compile.sh
mkdir -p $startdir/pkg/usr/bin
cp bin/openlierox $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/OpenLieroX
cp -r share/gamedir/* $startdir/pkg/usr/share/OpenLieroX/
}

Comment by: vEX on 20070423 [12:16:03]
Although it segfaults for me when trying to start a game.

Comment by: eliasj on 20070621 [11:19:14]
[vEX]: Add to your PKGBUILD arch=('i686'). Without it PKGBUILD doesn't work.

Comment by: sandsmark on 20080220 [10:36:04]
If you want, I can adopt this package. Just orphan it, and I'll pick it up.

Comment by: Ghost1227 on 20080504 [06:59:00]
Adopted, added menu entry.

      First Submitted: Sun, 28 Jan 2007 00:57:55 +0000
      Last Updated: Mon, 27 Oct 2008 00:58:47 +0000
openlierox 0.57_beta8-3 (Unsupported): A real-time, excessive worms-clone
==>  Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n


==> openlierox dependencies:
 - gcc-libs (already installed)
 - gd (package found)
 - hawknl (building from AUR)
 - libxml2 (already installed)
 - sdl_image (already installed)
 - sdl_mixer (already installed)
 - libzip (package found)
==>  Continue the building of openlierox ? [Y/n]
==>   ----------------------------------------------
==>y

==> Building missing dependencies from AUR:

==> Downloading hawknl PKGBUILD from AUR...

Comment by: Snowman on 20070331 [22:34:23]
-moved from [community] repo.

Comment by: eliasj on 20080106 [15:14:21]
This package needs also package patch. I mean without package patch, there aren't command patch.

Comment by: xaw on 20080127 [00:29:11]
Adopted and added GNU patch as additional dependency.

Comment by: zoulnix on 20080709 [10:29:01]
move patch to makedep~ instead, and remove unzip from makedep~ since its not needed.

      First Submitted: Sat, 31 Mar 2007 22:34:23 +0000
      Last Updated: Sun, 27 Jan 2008 00:29:11 +0000
hawknl 1.68-1 (Unsupported): A fairly low level API, a wrapper over Berkeley\/Unix Sockets
==>  Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n


==> hawknl dependencies:
 - glibc (already installed)
 - patch (already installed)
 - unzip (already installed)
==>  Continue the building of hawknl ? [Y/n]
==>   ----------------------------------------------
==>y


==> Building and installing package
==> Making package: hawknl 1.68-1 i686 (Sat Jan 10 15:16:18 UTC 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading HawkNL168src.zip...
--2009-01-10 15:16:19--  http://www.sonic.net/~philf/download/HawkNL168src.zip
Resolving www.sonic.net... 209.204.190.64
Connecting to www.sonic.net|209.204.190.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 224411 (219K) [application/zip]
Saving to: `HawkNL168src.zip.part'

100%[======================================>] 224,411     --.-K/s   in 0.04s   

2009-01-10 15:16:19 (5.39 MB/s) - `HawkNL168src.zip.part' saved [224411/224411]

  -> Found build.patch in build dir
==> Validating source files with md5sums...
    HawkNL168src.zip ... Passed
    build.patch ... Passed
==> Extracting Sources...
  -> bsdtar -x -f HawkNL168src.zip
==> Entering fakeroot environment...
==> Finished making: hawknl 1.68-1 i686 (Sat Jan 10 15:16:20 UTC 2009)

==>  Continue installing hawknl? [Y/n]
==>  [v]iew package contents [c]heck package with namcap
==>   ----------------------------------------------
==>y

loading package data...
error: './hawknl-1.68-1-i686.pkg.tar.gz': cannot open package file
==> WARNING: Your package is saved in /tmp/yaourt-tmp-koala/hawknl-1.68-1-i686.pkg.tar.gz
cp: cannot stat `./hawknl-1.68-1-i686.pkg.tar.gz': No such file or directory
==> WARNING: Unable to copy hawknl-1-i686.pkg.tar.gz to /tmp/yaourt-tmp-koala/ directory
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]

Here is another method using abs:

[koala@myhost ~]$ cd ./abs-build/geda-libs/
[koala@myhost geda-libs]$ makepkg -s
==> Making package: geda-libs 1.4.3-1 i686 (Sat Jan 10 15:22:57 UTC 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading libgeda-1.4.3.tar.gz...
--2009-01-10 15:22:59--  http://geda.seul.org/release/v1.4/1.4.3/libgeda-1.4.3.tar.gz
Resolving geda.seul.org... 128.31.0.34
Connecting to geda.seul.org|128.31.0.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 985338 (962K) [application/x-tar]
Saving to: `libgeda-1.4.3.tar.gz.part'

100%[======================================>] 985,338     3.40M/s   in 0.3s    

2009-01-10 15:23:01 (3.40 MB/s) - `libgeda-1.4.3.tar.gz.part' saved [985338/985338]

  -> Downloading geda-symbols-1.4.3.tar.gz...
--2009-01-10 15:23:01--  http://geda.seul.org/release/v1.4/1.4.3/geda-symbols-1.4.3.tar.gz
Resolving geda.seul.org... 128.31.0.34
Connecting to geda.seul.org|128.31.0.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 843490 (824K) [application/x-tar]
Saving to: `geda-symbols-1.4.3.tar.gz.part'

100%[======================================>] 843,490     4.76M/s   in 0.2s    

2009-01-10 15:23:01 (4.76 MB/s) - `geda-symbols-1.4.3.tar.gz.part' saved [843490/843490]

==> Validating source files with md5sums...
    libgeda-1.4.3.tar.gz ... Passed
    geda-symbols-1.4.3.tar.gz ... Passed
==> Extracting Sources...
  -> bsdtar -x -f libgeda-1.4.3.tar.gz
  -> bsdtar -x -f geda-symbols-1.4.3.tar.gz
==> Entering fakeroot environment...
==> Finished making: geda-libs 1.4.3-1 i686 (Sat Jan 10 15:25:24 UTC 2009)

Although it has finished building it, It seems that there are no binary packages made...:(


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#11 2009-01-10 08:16:04

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Problem using yaourt and AUR[SOLVED]

If tar and gzip were messed up, more probably were too. I would re-add all core packages 'pacman -S core' or even all packages: pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")

Offline

#12 2009-01-10 10:28:59

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

Ranguvar wrote:

If tar and gzip were messed up, more probably were too. I would re-add all core packages 'pacman -S core' or even all packages: pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")

I tried to

pacman -S core

and this shows up

[koala@myhost ~]$ sudo pacman -S core
error: could not open file /var/lib/pacman/sync/extra/beep-1.2.2-1/depends: No such file or directory
core package not found, searching for group...
error: could not open file /var/lib/pacman/sync/extra/beep-1.2.2-1/desc: No such file or directory
error: 'core': not found in sync db
[koala@myhost ~]$ sudo pacman -Sf core
error: could not open file /var/lib/pacman/sync/extra/beep-1.2.2-1/depends: No such file or directory
core package not found, searching for group...
error: could not open file /var/lib/pacman/sync/extra/beep-1.2.2-1/desc: No such file or directory
error: 'core': not found in sync db

hmm


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#13 2009-01-10 11:51:20

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Problem using yaourt and AUR[SOLVED]

Your pacman database (/var/lib/pacman) is messed up.
pacman -Syy
could fix that. But it seems that you have a lot of stuff messed up on your system, so pretty much anything can go wrong.

Offline

#14 2009-01-10 11:55:39

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Problem using yaourt and AUR[SOLVED]

Is there a package group called core? you may be looking for "base".
And try pacman -Syy as suggested above.

Last edited by u_no_hu (2009-01-10 11:56:40)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#15 2009-01-10 14:48:37

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

bender02 wrote:

Your pacman database (/var/lib/pacman) is messed up.
pacman -Syy
could fix that. But it seems that you have a lot of stuff messed up on your system, so pretty much anything can go wrong.

Does this mean I have to reinstall all my packages?:o I'm doing pacman -Syy now hope this can help...


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#16 2009-01-10 17:45:55

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Problem using yaourt and AUR[SOLVED]

u_no_hu wrote:

Is there a package group called core? you may be looking for "base".

Oops, yeah. I get those mixed up, sorry.

Offline

#17 2009-01-11 06:51:07

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Problem using yaourt and AUR[SOLVED]

Ranguvar wrote:

If tar and gzip were messed up, more probably were too. I would re-add all core packages 'pacman -S core' or even all packages: pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")

Ranguvar this was very helpful:

pacman -Sf $(pacman -Qq | grep -v "$(pacman -Qmq)")

I've added "f" to force install due to conflicts...Now my system can install via yaourt and via abs as well...:lol:


Many thanks to all


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

Board footer

Powered by FluxBB