You are not logged in.
... 6 posts above yours: http://bbs.archlinux.org/viewtopic.php? … 00#p763000
Greetings,
I have tried out clyde, and it is pretty nice and fast. However, I can't help but to feel there is something I am missing that I liked in yaourt.... that is the ability to simply type yaourt -S packagename versus sudo clyde -S package name.
I am not interested in whatever may be the perceived correct method as I always inspect the package build file anyways, and sure the extra sudo infront of clyde may not be much since yaourt is seemingly longer, but it feels nicer. When I use pacman I always go into su first, so I have my one su - command and then I use pacman - S etc... for whatever I need there. However, you are not supposed to build a package from AUR in su mode and even get a nice warning about it.... but you have to use sudo?
Anyways, the jest of all of my rambling here is, if you can make clyde work without sudo, it will be gold as far as I am concerned.
Offline
Anyways, the jest of all of my rambling here is, if you can make clyde work without sudo, it will be gold as far as I am concerned.
This has been anwsered several times.
It seems people wont read through the topic, maybe someone should write a FAQ page?
Offline
Greetings,
I have tried out clyde, and it is pretty nice and fast. However, I can't help but to feel there is something I am missing that I liked in yaourt.... that is the ability to simply type yaourt -S packagename versus sudo clyde -S package name.
I am not interested in whatever may be the perceived correct method as I always inspect the package build file anyways, and sure the extra sudo infront of clyde may not be much since yaourt is seemingly longer, but it feels nicer. When I use pacman I always go into su first, so I have my one su - command and then I use pacman - S etc... for whatever I need there. However, you are not supposed to build a package from AUR in su mode and even get a nice warning about it.... but you have to use sudo?
Anyways, the jest of all of my rambling here is, if you can make clyde work without sudo, it will be gold as far as I am concerned.
just type
clyde package name
otherwise alias sudo clyde -S to clyde -S and you are good to go ^^
Offline
This has been anwsered several times.
It seems people wont read through the topic, maybe someone should write a FAQ page?
A FAQ page or why not directly a wiki article?
I would prefer the second.
Regards
Offline
A FAQ page or why not directly a wiki article?
I would prefer the second.
Regards
Good point. I created the page. Feel free to expand it, everyone
Offline
Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?
Offline
Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?
clyde -Qm
Offline
clyde -Qm
Thanks!
Pretty good. Not quite as good as yaourt's regular printout, but still pretty good.
Last edited by Llama (2010-05-25 19:18:56)
Offline
[Whoops, deleted. Nothing to see here, move along. ]
Last edited by bcat (2010-05-25 21:14:16)
Running Arch on a Dell Studio 1735. xmonad FTW! Dotfiles here.
Want free cloud-based file sharing? Sign up for Dropbox and we both get some bonus storage!
Offline
This is the second time I've tried Clyde. The first time I had some issues with the makefile (don't know if you remember that irc conversation), but this time it went ok. Unfortunately I get these errors almost constantly, and I don't know what to make of them.
[kaolbrec@sagaris]$ sudo clyde -S clyde
:: clyde package not found, searching for group...
:: clyde group not found, searching AUR...
lua: failed to decompress [-3]
stack traceback:
[C]: in function 'read'
/usr/share/lua/5.1/clydelib/aur.lua:85: in function 'getgzip'
/usr/share/lua/5.1/clydelib/sync.lua:1362: in function 'sync_trans'
/usr/share/lua/5.1/clydelib/sync.lua:1615: in function 'clyde_sync'
/usr/share/lua/5.1/clydelib/sync.lua:1621: in function </usr/share/lua/5.1/clydelib/sync.lua:1620>
(tail call): ?
/usr/bin/clyde:1032: in function </usr/bin/clyde:943>
(tail call): ?
[C]: ?
I got the exact same error while searching for or attempting to install xmonad, or netbeans etc. At the moment Clyde is unusable for me.
EDIT: Scratch that. Clyde is perfectly capable of installing things (and quite quick as you say) but it seems to dump that out every so often, and occasionally keep a lock on the db. Odd.
Last edited by kaolbrec (2010-05-26 01:44:06)
Offline
Llama wrote:Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?
clyde -Qm
`pacman -Qm` does the same. And it seems faster.
Offline
5000 internetz says you are behind a proxy when you get that gzip error.
Offline
ijanos wrote:Llama wrote:Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?
clyde -Qm
`pacman -Qm` does the same. And it seems faster.
And less colourful
Offline
% for i in pacman pacman-color clyde; do (time $i -Qm)| tail -n 0; done
$i -Qm 0,13s user 0,07s system 96% cpu 0,201 total
$i -Qm 0,11s user 0,08s system 97% cpu 0,196 total
$i -Qm 0,51s user 0,11s system 98% cpu 0,620 total
I noticed that in i think all operations clyde is noticeably slower (well, it also shows more output, colorizes etc).
(I mainly use clyde for the cross-repo-aur-search. I prefer to download aur pkgs with slurpy and then manually do makepkg and pacman -U)
Ogion
(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant
Offline
5000 internetz says you are behind a proxy when you get that gzip error.
Really? Another reason to hate the campus proxy. All will be better in a week, when term ends and I bugger off back to Cornwall then.
Offline
There might be a bug with deleting corrupted packages. I had one today (mplayer) and clyde asked to delete it, but it did not get zapped, so the same happened again. I tried a few times, with both enter (default is Y) and y + enter, but the package was still in the cache. pacman -Syu deleted the corrupted package eventually.
Offline
I noticed that in i think all operations clyde is noticeably slower (well, it also shows more output, colorizes etc).
Pacman is written in pure C, while clyde uses Lua, so yeah it'll be slower. Plus it does the coloring, etc, that you mentioned. Try comparing Clyde to another AUR helper.
Offline
Pacman is written in pure C, while clyde uses Lua...
Well, that is not that simple. Clyde uses libalpm which is a C library. But still, a program's speed is not really depend on the programming language, you can easily find slow C programs
Offline
How am I supposed to abort the script at a confirmation prompt?
Offline
^C<enter> works.
Nothing less extravagant?
Offline
Stebalien wrote:^C<enter> works.
Nothing less extravagant?
You can also apply this patch to util.lua and hit 'a' when prompted. It does - or at least should do - the same thing as ^C.
--- util.lua.old 2010-05-27 10:33:14.000000000 -0700
+++ util.lua 2010-05-27 10:47:12.949341118 -0700
@@ -494,9 +494,9 @@
fprintf(stream, fmt, ...)
if (preset) then
- fprintf(stream, " %s ", g("[Y/n]"))
+ fprintf(stream, " %s ", g("[Y/n/a]"))
else
- fprintf(stream, " %s ", g("[y/N]"))
+ fprintf(stream, " %s ", g("[y/N/a]"))
end
if (config.noconfirm) then
@@ -512,6 +512,12 @@
if ((not strcasecmp(answer, g("Y"))) or (not strcasecmp(answer, g("YES")))) then
return true
+ elseif ((not strcasecmp(answer, g("A"))) or (not strcasecmp(answer, g("ABORT")))) then
+ if (alpm.trans_interrupt() == 0 ) then
+ return exit(0)
+ end
+ trans_release()
+ return cleanup(0)
elseif ((not strcasecmp(answer, g("N"))) or (not strcasecmp(answer, g("NO")))) then
return false
end
Offline
Does clyde -Syu update packages from the aur as well
Offline
Does clyde -Syu update packages from the aur as well
clyde -Suy --aur does.
Offline