You are not logged in.

#476 2010-09-21 17:35:18

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

Try using:

sudo clyde -S --aur somepackage

Offline

#477 2010-09-21 19:14:47

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

Try using:

sudo clyde -S --aur somepackage

Well, I tried that before -Sa, still the same issue.

Offline

#478 2010-09-21 19:56:09

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

What is the package you trying to install BTW?

Offline

#479 2010-09-21 20:39:37

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: Clyde - A better libalpm/makepkg wrapper

quickserve, I also have xyne's repo, but it's not up-to-date. So it tries to install from xyne's repo, but the package version that it requests doesn't exist.

Last edited by Berticus (2010-09-21 20:39:47)

Offline

#480 2010-09-21 22:34:46

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

I was just able to install quickserve from xyne's repo:

~ $ install quickserve
resolving dependencies...
looking for inter-conflicts...

Targets (2): python-xynehttpserver-2010.09.18.4-1 [0.01 MB]  
            quickserve-2010.09.18.1-1 [0.01 MB]  

Total Download Size:    0.01 MB
Total Installed Size:   0.06 MB

==> Proceed with installation? [Y/n] y
:: Retrieving packages from xyne-any...
python-xynehttpserve...    6.8K  141.3K/s 00:00:00 [###################################] 100%
quickserve-2010.09.1...    6.6K  145.8K/s 00:00:00 [###################################] 100%
checking package integrity...
(2/2) checking for file conflicts                  [###################################] 100%
(1/2) installing python-xynehttpserver             [###################################] 100%
(2/2) installing quickserve                        [###################################] 100%

Run "sudo clyde -Syy" and try installing again.

Offline

#481 2010-09-22 03:03:45

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: Clyde - A better libalpm/makepkg wrapper

well, I know I need to refresh the database. The point is the feature of searching only aur doesn't work as it claims.

Offline

#482 2010-09-24 20:51:53

aeosynth
Member
From: California
Registered: 2010-02-06
Posts: 115
Website

Re: Clyde - A better libalpm/makepkg wrapper

So are we ever getting a --noedit option?

Offline

#483 2010-09-24 20:57:26

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: Clyde - A better libalpm/makepkg wrapper

+1 for the default clyde.conf


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#484 2010-09-27 07:35:37

ffjia
Member
Registered: 2009-08-26
Posts: 94

Re: Clyde - A better libalpm/makepkg wrapper

When using clyde to install package from AUR, it first (likely) searches
package in the normal arch repo, then AUR. If I use --aur option, clyde should
only search package(s) in AUR, right?

$ sudo clyde -v -S --aur polipo
Root      : /
Conf File : /etc/clyde.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
Targets   : polipo
:: polipo package not found, searching for group...
:: polipo group not found, searching AUR...

==> Installing the following packages from AUR
Targets (1): polipo

==> Proceed with installation? [Y/n]

Offline

#485 2010-09-27 16:11:03

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: Clyde - A better libalpm/makepkg wrapper

ffjia wrote:

When using clyde to install package from AUR, it first (likely) searches
package in the normal arch repo, then AUR. If I use --aur option, clyde should
only search package(s) in AUR, right?

$ sudo clyde -v -S --aur polipo
Root      : /
Conf File : /etc/clyde.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
Targets   : polipo
:: polipo package not found, searching for group...
:: polipo group not found, searching AUR...

==> Installing the following packages from AUR
Targets (1): polipo

==> Proceed with installation? [Y/n]

That's what I would think too, and that's what it says when I pass it the h flag. However, it doesn't skip checking the repos.

Offline

#486 2010-09-30 18:01:42

correnos
Member
Registered: 2009-11-05
Posts: 20

Re: Clyde - A better libalpm/makepkg wrapper

Question: Does Clyde include an easy way to update svn/git packages? I have several of these installed (via yaourt) and would very much like to keep the automatic updating.

Offline

#487 2010-10-01 13:52:12

virus_found
Member
From: Moscow
Registered: 2009-05-22
Posts: 51
Website

Re: Clyde - A better libalpm/makepkg wrapper

Hello. First time using clyde. It uses makepkg only to build AUR packages, doesn't it? How do I build a regular package, say, git? In yaourt I would "yaourt -Sb git", in bauerbill I would "bauerbill -S --abs git". Thanks.

Offline

#488 2010-10-02 01:04:46

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

I tried installing pacfoster from AUR, and Clyde did not show yaourt as a dependency although it is one (and it download it).

~ $ install pacfoster
:: pacfoster package not found, searching for group...
:: pacfoster group not found, searching AUR...

==> Installing the following packages from repos

Targets (1): ruby-1.9.2_p0-3 [2.75 MB]  

Total Download Size:    2.75 MB
Total Installed Size:   17.54 MB

==> Installing the following packages from AUR
Targets (1): pacfoster  

==> Proceed with installation? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
:: Retrieving packages from extra...
ruby-1.9.2_p0-3-i686...    2.8M 1434.0K/s 00:00:02 [###################################] 100%
checking package integrity...
(1/1) checking for file conflicts                  [###################################] 100%
(1/1) installing ruby                              [###################################] 100%
Optional dependencies for ruby
    tk: for Ruby/TK
==> Downloading package-query.tar.gz
    ( Unsupported package from AUR: Potentially dangerous! )
==> Edit the PKGBUILD (highly recommended for security reasons)? [Y/n] n
==> Making package: package-query 0.3-2 (Fri Oct  1 18:01:53 PDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading package-query-0.3.tar.gz...
--2010-10-01 18:01:53--  http://mir.archlinux.fr/~tuxce/releases/package-query/package-query-0.3.tar.gz
Resolving mir.archlinux.fr... 213.186.62.207
Connecting to mir.archlinux.fr|213.186.62.207|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14506 (14K) [application/x-gzip]
Saving to: "package-query-0.3.tar.gz.part"

100%[===================================================>] 14,506      44.5K/s   in 0.3s    

2010-10-01 18:01:54 (44.5 KB/s) - "package-query-0.3.tar.gz.part" saved [14506/14506]

==> Validating source files with md5sums...
    package-query-0.3.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting package-query-0.3.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
for dir in src doc ; do ( cd $dir ; make install ) ; done
make[1]: Entering directory `/tmp/clyde-kevin/package-query/package-query/src/package-query-0.3/src'
gcc -Wall  -march=i686 -mtune=generic -O2 -pipe   -c -o aur.o aur.c
gcc -Wall  -march=i686 -mtune=generic -O2 -pipe   -c -o alpm-query.o alpm-query.c
gcc -Wall  -march=i686 -mtune=generic -O2 -pipe   -c -o util.o util.c
gcc -Wall  -march=i686 -mtune=generic -O2 -pipe   -c -o package-query.o package-query.c
gcc -Wall  *.o -o package-query -lalpm -lyajl -lcurl
install -m 755 package-query /tmp/clyde-kevin/package-query/package-query/pkg/usr/bin/package-query
make[1]: Leaving directory `/tmp/clyde-kevin/package-query/package-query/src/package-query-0.3/src'
make[1]: Entering directory `/tmp/clyde-kevin/package-query/package-query/src/package-query-0.3/doc'
gzip -c package-query.8 > package-query.8.gz
install -m 644 package-query.8.gz /tmp/clyde-kevin/package-query/package-query/pkg/usr/share/man/man8/package-query.8.gz
make[1]: Leaving directory `/tmp/clyde-kevin/package-query/package-query/src/package-query-0.3/doc'
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: package-query 0.3-2 (Fri Oct  1 18:01:58 PDT 2010)
loading package data...
resolving dependencies...
looking for inter-conflicts...
checking package integrity...
(1/1) installing package-query                     [###################################] 100%
==> Downloading yaourt.tar.gz
    ( Unsupported package from AUR: Potentially dangerous! )
==> Edit the PKGBUILD (highly recommended for security reasons)? [Y/n]

Offline

#489 2010-10-03 09:26:55

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: Clyde - A better libalpm/makepkg wrapper

2 things I wanna say:

- If by mistake I try to install a package from AUR that is already installed, clyde doesnt notify that the package is already installed on the system.

- Can I have the permission of the developers to write a blog post about clyde? If yes...do you want me to mention anything in particular?

Cheers


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#490 2010-10-05 19:50:41

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Clyde - A better libalpm/makepkg wrapper

Hi. So when I'm downloading big updates like the KDE/GNOME updates, I think it would really help to have a total progress indicator instead of just the individual packages. Would this make people happy/be accepted upstream? I am considering adding it sometime soon.

Offline

#491 2010-10-05 20:54:15

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Clyde - A better libalpm/makepkg wrapper

I also get hangs after installing something from AUR somewhat often. I will install something, and then it will just write a blank line after the 100% line and never finish. I have to ^C it and then I get an error like "could not initialize the transaction". There seems to be no negative effects from killing the process though, and it just hangs there instead of continuing; this is especially frustrating when I am trying to install something with a few dependencies from AUR because it will hang after installing the first or second dependency while I ignore it thinking it is compiling the program I want.

Offline

#492 2010-10-05 21:17:27

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Clyde - A better libalpm/makepkg wrapper

cookiecaper wrote:

Hi. So when I'm downloading big updates like the KDE/GNOME updates, I think it would really help to have a total progress indicator instead of just the individual packages. Would this make people happy/be accepted upstream? I am considering adding it sometime soon.

If you add a line saying TotalDownload to clyde.conf (or pacman.conf for pacman) it will do this already

Offline

#493 2010-10-12 04:55:14

bruce
Member
Registered: 2008-11-27
Posts: 57

Re: Clyde - A better libalpm/makepkg wrapper

Hey Kiwi, when using the --noconfirm flag when building/installing an aur package as root Clyde exits when prompting the user about using a BuildUser which I would have said is not the correct functionality in this case (although I understand completely if you disagree smile ).

http://codepad.org/Ub69dSsB
is a patch which makes clyde check whether the --nocommit flag is set before deciding whether to prompt the user for input, if you'd like it at all smile (pretty basic I know :-p )
ps Sorry I didn't put this on the bug tracker, but I don't have a github account sad

Offline

#494 2010-10-16 19:17:26

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Clyde - A better libalpm/makepkg wrapper

I get an error when compiling it:

gcc -Wall -W -O2 -fPIC `pkg-config --cflags lua` -shared -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -lalpm -o lualpm.so lualpm.c
gcc -Wall -W -O2 -fPIC `pkg-config --cflags lua` -shared -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -o clydelib/signal.so clydelib/lsignal.c
clydelib/lsignal.c: In function 'sighook':
clydelib/lsignal.c:167:46: warning: unused parameter 'ar'
clydelib/lsignal.c: In function 'l_signal':
clydelib/lsignal.c:231:10: warning: 'sig' may be used uninitialized in this function
gcc -Wall -W -O2 -fPIC `pkg-config --cflags lua` -shared -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -o clydelib/utilcore.so clydelib/utilcore.c
ronn man/clyde.ronn
make: ronn: Command not found
make: [man/clyde.8] Error 127 (ignored)
install -Dm755 lualpm.so /home/gtklocker/aur/builds/clyde-git/pkg/usr/lib/lua/5.1/lualpm.so
ronn man/clyde.ronn
make: ronn: Command not found
make: [man/clyde.8] Error 127 (ignored)
install -Dm755 clyde /home/gtklocker/aur/builds/clyde-git/pkg/usr/bin/clyde
install -dm755 /home/gtklocker/aur/builds/clyde-git/pkg/usr/share/lua/5.1/clydelib
install -Dm755 clydelib/utilcore.so \
        /home/gtklocker/aur/builds/clyde-git/pkg/usr/lib/lua/5.1/clydelib/utilcore.so
install -Dm755 clydelib/signal.so \
        /home/gtklocker/aur/builds/clyde-git/pkg/usr/lib/lua/5.1/clydelib/signal.so
install -Dm644 clydelib/*.lua /home/gtklocker/aur/builds/clyde-git/pkg/usr/share/lua/5.1/clydelib/
install -Dm644 man/clyde.8 /home/gtklocker/aur/builds/clyde-git/pkg/usr/share/man/man8/clyde.8
install -Dm644 extras/_clydezsh /home/gtklocker/aur/builds/clyde-git/pkg/usr/share/zsh/site-functions/_clyde
install -Dm644 extras/clydebash /home/gtklocker/aur/builds/clyde-git/pkg/etc/bash_completion.d/clyde

Offline

#495 2010-10-23 05:55:10

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

Is there any way to have Clyde let you edit the PKGBUILD before downloading/installing dependencies?

Offline

#496 2010-10-24 10:07:18

ffjia
Member
Registered: 2009-08-26
Posts: 94

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

Is there any way to have Clyde let you edit the PKGBUILD before downloading/installing dependencies?

Yep, I also want to know that...

Offline

#497 2010-10-26 23:23:43

oxez
Member
From: QC
Registered: 2009-08-26
Posts: 38
Website

Re: Clyde - A better libalpm/makepkg wrapper

Hello.

For some unknown reason since today I cannot install anything with clyde.

oxez ~ > sudo clyde -S gdm-old
:: gdm-old package not found, searching for group...
:: gdm-old group not found, searching AUR...
oxez ~ > sudo clyde -S gdm-old
error: failed to init transaction (verrouillage de la base de données impossible)
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck
oxez ~ >

After the "searching AUR..." line, the process seems to exit immediately, but the db.lck file is not removed..

What would cause this? And what file(s) would let me know what's going on?

I'm using the latest git clyde
Thanks

Offline

#498 2010-10-26 23:55:30

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

Did you try manually removing /var/lib/pacman/db.lck?

sudo rm /var/lib/pacman/db.lck

Edit: if you cannot install anything from the AUR, it may be because it now uses HTTPS. Clyde possibly needs to be updated to handle this.

Last edited by anonymous_user (2010-10-27 00:09:58)

Offline

#499 2010-10-27 00:24:57

oxez
Member
From: QC
Registered: 2009-08-26
Posts: 38
Website

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

Did you try manually removing /var/lib/pacman/db.lck?

sudo rm /var/lib/pacman/db.lck

Edit: if you cannot install anything from the AUR, it may be because it now uses HTTPS. Clyde possibly needs to be updated to handle this.

Yeah I did delete it, but trying again causes the problem to re-arise. What you suggested about HTTPS might be true, yaourt cannot seem to download the files either.

I'll see what I can do, thanks!

Offline

#500 2010-10-27 03:19:37

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

Edit: if you cannot install anything from the AUR, it may be because it now uses HTTPS. Clyde possibly needs to be updated to handle this.

Yikes! Yes the switch to mandatory HTTPS by the AUR cripples clyde which has no HTTPS support. Clyde uses luasocket which does not support https. I will try to fix this as soon as possible. I've asked on the aur-general mailing list if HTTPS can be optional. In the meantime I will try to get clyde working again.

Offline

Board footer

Powered by FluxBB