You are not logged in.
For the record it seems tarfu fixed it by suggesting on the clyde-git AUR page to add the luasec package as a dependency of clyde. I did nothing! Some good news is I have figured out how to use luacurl in clyde so http proxies will work soon. Thanks tarfu and ghost1227!
Offline
I've been using clyde for a while now and I like it. As of lately, though, I've noticed that when clyde asks for input it will only read the first letter of the input. Because it is difficult myself clear, take a look at this screencap. I've used "abcde" as the password and I've not pressed enter at all when entering the password, yet clyde registered the first letter as the input. The same happens with any other prompt except for the one that says "Enter #'s (separated by blanks) of packages to be installed". I've tried any terminal emulator that I have installed (gnome-terminal, xterm, urxvt). It also occurs when in pts so I doubt it's a thing with the terminal. Any ideas?
Offline
@Foucault -- Ah, I've noticed that too! I thought it was some weird tmux problem, because I tried it once outside of tmux and it worked fine....but it was just that once and I didn't research it any further. It doesn't seem to happen all the time, though.
Scott
Offline
I've tried using bash instead of zsh that I normally use but the same thing happens. Could it be some misconfiguration of my terminal (/etc/profile, /etc/bash.bashrc, ~/.bashrc, ~/.zshrc, ~/.bash_profile just sources ~/.bashrc)? This also happens with any other account I have. I can't reproduce it with any other program except for clyde.
Offline
Oops that should be fixed now. Sorry about the one-char terminal stuff. It's my fault I didn't look at a patch carefully enough. I've rewritten it and it should work well now.
Clyde now defaults to using sudo instead of su (if sudo is available). If neither are available it will report an error when using the number-picky search thing. People do like sudo better than su, right? I would hope so. If not I can add a config field.
Offline
Thanks for the update. However the "Enter #'s (separated by blanks) of packages to be installed" prompt seems to fail no matter the input with Valid inputs are numbers, whitespace, or empty. I've edited /usr/share/lua/5.1/clydelib/sync.lua (line 473 as of commit c1e014e8) from
if nums_choice:match( "[%S%D]" ) then
to
if not nums_choice:match( "[%S%D]" ) then
as a workaround (I doubt it is the correct solution of course but I am too lazy to read the whole source).
Offline
Doh sorry. I have rewritten it again. The number picker will complain if anything in the list is not a digit or whitespace. It will also now check if the number is out of range. Then it asks you again. I am not sure what the best method would be. For example, would just ignoring the bad entries be best? Or is starting over and asking again better?
PS: right now it starts over and asks again
Last edited by juster (2010-11-08 00:41:17)
Offline
I would have Clyde ask again after invalid input.
Edit: just for consistency why not put these checks for Y/n prompts?
Last edited by anonymous_user (2010-11-08 00:47:24)
Offline
I believe starting over is better indeed.
Offline
Is there a way to tell Clyde in wich directory it should perform the build operation for aur's pacakges ? I can't find infos on that in the man page
Offline
Edit: just for consistency why not put these checks for Y/n prompts?
This seemed like a good idea so I added it real quick just now. XferCommand config option also now works. Thanks to rck for the patch!
Is there a way to tell Clyde in wich directory it should perform the build operation for aur's pacakges ? I can't find infos on that in the man page
Right now there is no way to override where clyde builds its AUR packages. This could be added as a new config option and I will look into it.
Offline
I've been searching for an answer to this question for quite a while, but couldn't find any yet:
Why does loading the pacman "database" generate such an enormous hard disk usage? Isn't it just reading one big fat database file? Or is the "database" spread over hundreds of files?
Anyway, how can I speed this up?
Offline
Search some more... it is well covered on the forums.
Offline
@dauerbaustelle
Offline
When I have my terminal maximized, I get weird output:
~ $ sudo clyde -Syy
:: Synchronizing package databases...
core 35.6K 338.8K/s 00:00:00 [########################################################################################################################################################] 100%
extra 451.5K 1095.5K/s 00:00:00 [########################################################################################################################################################] 100%
~ $ unity 160.0K 261.1K/s 00:00:00 [###########################################################---------------------------------------------------------------------------------------------] 39%
When I make it narrower (say half the screen width), it looks normal:
~ $ sudo clyde -Syy
:: Synchronizing package databases...
core 35.6K 333.6K/s 00:00:00 [#############################################] 100%
extra 451.5K 775.1K/s 00:00:01 [#############################################] 100%
community 408.8K 770.7K/s 00:00:01 [#############################################] 100%
~ $
Last edited by anonymous_user (2010-11-21 01:57:52)
Offline
So while each db is downloading your shell prompt is displayed? Or is the example you gave after the sync is completed? If this happens while clyde is syncing can you type in the shell prompt? Which terminal and shell are you using? That seems pretty weird.
Offline
The example is after its completed. I think. However I cannot reproduce it anymore.
FWIW the terminal was Sakura and the shell was bash.
Offline
After 500+ post I dunno whether it was said before, but as it should be kind of wrapper for pacman and yaourt, do you intend to include the option to build from source as it can be done in yaourt via
yaourt -Sb <package>
?
Offline
Sure I added a feature request for you at clyde's issues list on github:
Offline
Is it me or doesn't clyde succeed in installing multiple aur packages at once? Like 'clyde -S aurpack1 aurpack2' installs aurpack1, but then hangs; I need ^C and individually 'clyde -S aurpack2'. This happened on two very different pc's so I think it may be a bug, but wanted to check here before reporting as such (or is that wrong?).
Offline
I cannot confirm that. I just ran "sudo clyde -S bashrun2 grun" and both programs installed. Try updating Clyde and see if it still happens.
Offline
Is it me or doesn't clyde succeed in installing multiple aur packages at once? Like 'clyde -S aurpack1 aurpack2' installs aurpack1, but then hangs; I need ^C and individually 'clyde -S aurpack2'. This happened on two very different pc's so I think it may be a bug, but wanted to check here before reporting as such (or is that wrong?).
This happened to me once--about three weeks ago--and hasn't happened since. I can't even remember which packages I installed. Are there maybe some circular dependencies or some such? It could be that if you try to install two packages that share dependencies, the script gets caught up in a form of circular reasoning, whereby each package needs what the other contains, or the order in which the packages and dependencies need to be installed isn't properly sorted. This can stem from errors in the PKGBUILD or the delay between package submissions to the AUR, as the maintainer tries to keep multiple packages up-to-date.
Last edited by ANOKNUSA (2010-11-24 17:39:41)
Offline
Try updating Clyde and see if it still happens.
It's a brand new install; it happened on my old pc too. Maybe it's the --color flag? Or something else in my setup. I couldn't reproduce the error now with grun and bashrun2, both with and without --color. If it happens again I'll post the packages too, maybe it matters (it happened with thttpd and prism or with notify-osd-customizable and notifyconf, don't remember).
Edit: something else: my pachage db was outdated, so clyde didn't find the package; I needed pacman -Sy. But pacman had a useful error message:
Proceed with installation? [Y/n] y
:: Retrieving packages from community...
error: failed retrieving file 'zathura-0.0.8.1-1-x86_64.pkg.tar.xz' from ftp.uni-kl.de : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from community
error: failed to commit transaction (File unavailable (e.g., file not found, no access))
Errors occurred, no packages were upgraded.
Clyde just says ":: Retrieving packages from community..." and then fails. Maybe the error message could be printed too?
Last edited by VCoolio (2010-11-24 18:11:06)
Offline
@VCoolio - it just happens here too:
~ $ sudo clyde -Syyu
:: Synchronizing package databases...
core 35.8K 335.0K/s 00:00:00 [########################################################################################################################################################] 100%
extra 450.9K 1123.1K/s 00:00:00 [########################################################################################################################################################] 100%
community 409.6K 1106.9K/s 00:00:00 [########################################################################################################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (2): udev-164-1 [0.20 MB] networkmanager-0.8.2-6 [0.56 MB]
Total Download Size: 0.56 MB
Total Installed Size: 5.70 MB
==> Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
~ $ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (2): udev-164-1 [0.20 MB] networkmanager-0.8.2-6 [0.56 MB]
Total Download Size: 0.56 MB
Total Installed Size: 5.70 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirrors.kernel.org : Forbidden
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirror.internode.on.net : Not Found
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirror.optus.net : Not Found
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirror.aarnet.edu.au : Not Found
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from ftp.iinet.net.au : Not Found
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirror.optus.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirror.aarnet.edu.au : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from mirror.internode.on.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'networkmanager-0.8.2-6-i686.pkg.tar.xz' from ftp.iinet.net.au : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from extra
error: failed to commit transaction (File unavailable (e.g., file not found, no access))
Errors occurred, no packages were upgraded.
Offline