You are not logged in.

#501 2010-10-27 18:08:31

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Clyde - A better libalpm/makepkg wrapper

Thanks for the quick fix! Works great again.

Scott

Offline

#502 2010-10-28 07:08:53

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#503 2010-11-07 10:23:01

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: Clyde - A better libalpm/makepkg wrapper

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

#504 2010-11-07 16:31:56

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Clyde - A better libalpm/makepkg wrapper

@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

#505 2010-11-07 16:54:43

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: Clyde - A better libalpm/makepkg wrapper

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

#506 2010-11-07 22:42:06

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#507 2010-11-07 23:55:47

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: Clyde - A better libalpm/makepkg wrapper

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

#508 2010-11-08 00:39:12

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#509 2010-11-08 00:42:01

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#510 2010-11-08 07:42:21

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: Clyde - A better libalpm/makepkg wrapper

I believe starting over is better indeed.

Offline

#511 2010-11-14 18:48:30

xheyther
Member
Registered: 2009-10-18
Posts: 40

Re: Clyde - A better libalpm/makepkg wrapper

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 sad

Offline

#512 2010-11-18 20:02:38

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

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

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!

xheyther wrote:

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

#513 2010-11-20 11:26:17

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: Clyde - A better libalpm/makepkg wrapper

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

#514 2010-11-20 11:40:42

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

Re: Clyde - A better libalpm/makepkg wrapper

Search some more...  it is well covered on the forums.

Offline

#515 2010-11-20 13:59:39

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

Re: Clyde - A better libalpm/makepkg wrapper

Offline

#516 2010-11-21 01:57:26

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#517 2010-11-21 18:13:39

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#518 2010-11-21 20:24:00

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#519 2010-11-22 20:31:30

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: Clyde - A better libalpm/makepkg wrapper

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

#520 2010-11-23 18:05:31

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

Re: Clyde - A better libalpm/makepkg wrapper

Sure I added a feature request for you at clyde's issues list on github:

https://github.com/Kiwi/clyde/issues#issue/83

Offline

#521 2010-11-23 21:55:57

VCoolio
Member
From: Netherlands
Registered: 2010-01-05
Posts: 120

Re: Clyde - A better libalpm/makepkg wrapper

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

#522 2010-11-23 23:17:55

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

Re: Clyde - A better libalpm/makepkg wrapper

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

#523 2010-11-24 17:38:23

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Clyde - A better libalpm/makepkg wrapper

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

#524 2010-11-24 17:48:50

VCoolio
Member
From: Netherlands
Registered: 2010-01-05
Posts: 120

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

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

#525 2010-11-25 16:43:22

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

Re: Clyde - A better libalpm/makepkg wrapper

@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

Board footer

Powered by FluxBB