You are not logged in.

#226 2010-04-12 16:49:18

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: Clyde - A better libalpm/makepkg wrapper

After using Clyde for quite a time, I noticed the following:

Clyde automatically also installs the recommended packages of a package, or its dependencies.  E.g. when entering
"clyde -S firefox" (you previously have to remove firefox, if you have it installed) it will offer you to download 38 packages, amongst others many gnome-libraries (gnome-vfs, etc.). This is due to xulrunner, which is a firefox dep, recommending libgnomeui.

With pacman it only offers me to install 6 packages, the bare minimum, which imho should be the default in clyde too.
I couldn't find an option in clyde.conf and neither in clyde itself, so I though I should post this here :-)

Thanks!

Offline

#227 2010-04-12 17:07:50

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

I do not know what you are talking about.

[kiwi@lappy:~]$ s clyde -S firefox                                                      (04-12 12:06)
warning: firefox-3.6.3-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): firefox-3.6.3-1 [0.75 MB]  

Total Download Size:    0.00 MB
Total Installed Size:   3.55 MB

==> Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                  [############################################] 100%
(1/1) upgrading firefox                            [############################################] 100%
[kiwi@lappy:~]$ s clyde -S firefox                                                      (04-12 12:06)
warning: firefox-3.6.3-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): firefox-3.6.3-1 [0.75 MB]  

Total Download Size:    0.00 MB
Total Installed Size:   3.55 MB

==> Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                  [############################################] 100%
(1/1) upgrading firefox                            [############################################] 100%
[kiwi@lappy:~]$

Offline

#228 2010-04-12 17:30:36

btouellette
Member
Registered: 2010-03-05
Posts: 23

Re: Clyde - A better libalpm/makepkg wrapper

pano wrote:

After using Clyde for quite a time, I noticed the following:

Clyde automatically also installs the recommended packages of a package, or its dependencies.  E.g. when entering
"clyde -S firefox" (you previously have to remove firefox, if you have it installed) it will offer you to download 38 packages, amongst others many gnome-libraries (gnome-vfs, etc.). This is due to xulrunner, which is a firefox dep, recommending libgnomeui.

With pacman it only offers me to install 6 packages, the bare minimum, which imho should be the default in clyde too.
I couldn't find an option in clyde.conf and neither in clyde itself, so I though I should post this here :-)

Thanks!

Clyde hasn't ever done this to me. Just tested it by installing yaourt and the optional deps are left alone. In fact I don't even know how to make clyde/pacman install opt depends automatically if that is possible.

Offline

#229 2010-04-12 18:20:10

riivo
Member
Registered: 2008-08-25
Posts: 112

Re: Clyde - A better libalpm/makepkg wrapper

I can confirm pano's problem. Since I try to run a rather minimal system, I don't have many packages installed. Starting to sync firefox with clyde or pacman gives different results

~ > sudo clyde -S firefox
resolving dependencies...
looking for inter-conflicts...

Targets (43): mime-types-1.0-2  xulrunner-1.9.2.3-1  firefox-3.6.3-1  libgnomeui-2.24.3-1  autoconf2.13-2.13-1  
             libbonoboui-2.24.3-1  libgnome-keyring-2.30.0-1  libgnomecanvas-2.30.1-1  libgnome-2.30.0-1  
             gnome-keyring-2.30.0-1  libart-lgpl-2.3.21-1  gnome-vfs-2.24.3-2  libbonobo-2.24.3-1  gvfs-1.6.0-1  fam-2.7.0-14  
             hal-0.5.14-2  gnome-mime-data-2.18.0-4  libsoup-gnome-2.30.0-1  libcdio-0.82-1  libgphoto2-2.4.8-1  
             gnome-disk-utility-2.30.1-1  rpcbind-0.2.0-1  hal-info-0.20091130-1  eject-2.1.5-4  dmidecode-2.10-1  
             usbutils-0.87-1  pm-utils-1.3.0-1  consolekit-0.4.1-2  libproxy-0.2.3-1  libcddb-1.3.2-1  libunique-1.1.6-2  
             udisks-1.0.1-1  libtirpc-0.2.1-1  procps-3.2.8-1  vbetool-1.1-1  libatasmart-0.17-1  gtk-doc-1.14-1  
             libgssglue-0.1-2  libx86-1.1-2  docbook-xsl-1.75.2-1  gnome-doc-utils-0.20.0-1  docbook-xml-4.5-4  
             rarian-0.8.1-1  

Total Download Size:    13.79 MB
Total Installed Size:   156.53 MB

==> Proceed with installation? [Y/n] n
~ > sudo pacman -S firefox
resolving dependencies...
looking for inter-conflicts...

Targets (3): mime-types-1.0-2  xulrunner-1.9.2.3-1  firefox-3.6.3-1  

Total Download Size:    13.79 MB
Total Installed Size:   65.85 MB

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

Yet clyde won't actually download or install the extra packages if I continue. It just shows them as targets. There's the same bug with installing e.g. conky.

Last edited by riivo (2010-04-12 18:24:00)

Offline

#230 2010-04-12 18:30:32

goran'agar
Member
From: Nothern Italy
Registered: 2009-05-19
Posts: 171

Re: Clyde - A better libalpm/makepkg wrapper

Maybe it's the same bug I encountered when trying the new xorg18 repository. Clyde requested the install of hal and hal-info (ugh!). I downloaded the new xorg-server binary which i installed (with clyde) without problems.


Sony Vaio VPCM13M1E  - Arch Linux - LXDE

Offline

#231 2010-04-12 18:48:35

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

I can reproduce it with conky, which means I can actually test it and hopefully figure it out. Thanks.

Offline

#232 2010-04-12 23:38:59

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Clyde - A better libalpm/makepkg wrapper

Hey Kiwi, is clyde -G working for you? I remember it used to work a couple of weeks back but doesn't anymore somehow... can't give you exact dates because I don't know myself sorry.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#233 2010-04-13 02:55:29

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

-G works here.

I think I have fixed the extra targets thing so am about to commit/push....

It is not really a huge change though it is a fairly sensitive piece of code, demonicmaniac and I have tested it and it worked, but it is something that might not have problems show up right away if they exist, due to how many situations there are.

Offline

#234 2010-04-13 05:35:40

riivo
Member
Registered: 2008-08-25
Posts: 112

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

I think I have fixed the extra targets thing so am about to commit/push....

It is not really a huge change though it is a fairly sensitive piece of code, demonicmaniac and I have tested it and it worked, but it is something that might not have problems show up right away if they exist, due to how many situations there are.

Confirm fixed. Great work.

Offline

#235 2010-04-13 06:07:18

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

-G works here.

$ clyde -Gv samba ; ls
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   : samba 

Just an example package. Packages from the AUR seem to work (I think I had an issue with one previously causing me to post the above message, but can't remember what package that was), but packages which are in the repos don't.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#236 2010-04-13 07:50:23

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

evr wrote:

@Sertse see the post by Andrwe below for bash-completion

Andrwe wrote:

Hi,

I've ported the bash-completion for pacman to clyde.
Here is the file, just save it as clyde in /etc/bash_completion.d/ and relogin.
..

(see original post) -> http://bbs.archlinux.org/viewtopic.php? … 03#p726403

following this, I noticed that typing "clyde -U [TAB]" didn't autocomplete if the file we were going to install was an .tar.xz file (the lastes directives encourage using this new compression instead of the .tar.gz one for making packages). So I modified the bash_completion in order to consider also the .tar.xz extension

http://pastebin.com/6cMdkQtr

lines 327 && 343

I also suggest (if not already made) to add this in the clyde-git PKGBUILD, since it is very useful

Last edited by Berseker (2010-04-13 07:51:45)

Offline

#237 2010-04-13 07:55:38

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Clyde - A better libalpm/makepkg wrapper

Well, even pacman doesn't autocomplete for .tar.xz yet AFAICS smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#238 2010-04-13 08:11:32

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

ngoonee wrote:

Well, even pacman doesn't autocomplete for .tar.xz yet AFAICS smile

well I suppose we are a step forward now wink

Offline

#239 2010-04-13 09:43:30

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

Samba is not an AUR package, it is in extra. Therefore -G does not do anything to it. There is an open issue on github that it should not fail silently, I will probably change that behavior so it at least gives a warning.

Someone sent a ZSH completion pull request to me on github, but I have not looked at it yet. I am not sure if I should include these with clyde-git or if I should have separate packages.

Offline

#240 2010-04-13 09:52:33

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

Samba is not an AUR package, it is in extra. Therefore -G does not do anything to it. There is an open issue on github that it should not fail silently, I will probably change that behavior so it at least gives a warning.

maybe it could get the ABS version instead?


ᶘ ᵒᴥᵒᶅ

Offline

#241 2010-04-13 13:44:08

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Clyde - A better libalpm/makepkg wrapper

litemotiv wrote:
Kiwi wrote:

Samba is not an AUR package, it is in extra. Therefore -G does not do anything to it. There is an open issue on github that it should not fail silently, I will probably change that behavior so it at least gives a warning.

maybe it could get the ABS version instead?

Please don't, abs is up to a week+ outdate at times.

SVN-checking would be ideal. Of course, that's more coding, more work for Kiwi, and more bugs. Just seems to me that if clyde is trying to make it possible to treat the AUR and the repos almost identically, this is one more area in which they can be treated identically.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#242 2010-04-13 20:37:03

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: Clyde - A better libalpm/makepkg wrapper

Getting the svn PKGBUILD for -G (if package not on AUR) would be ideal in my opinion. I have a small bash script I use for getting pkgbuilds and searching repos/aur, and it is the only part of my packagemanagement clyde has not replaced...

Perhaps it should be a second flag to -G, but I am not convinced that makes more sense...

Offline

#243 2010-04-13 21:49:25

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

ABS support is planned to be implemented eventually...I just do not know when or to what extent exactly.

I have not had as much time to work on Clyde recently as it is the last few weeks of the semester and I have been super busy with school as well as being ill with cold the past few days. This makes it a lot harder to spend as much time as I would like to on it. The plus side is that soon it will be summer and I can spend a ton more time working on projects, theoretically, it depends on if I take classes at the community college or how much I work if I get a job....

Offline

#244 2010-04-13 22:56:22

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Clyde - A better libalpm/makepkg wrapper

alterecco wrote:

Getting the svn PKGBUILD for -G (if package not on AUR) would be ideal in my opinion. I have a small bash script I use for getting pkgbuilds and searching repos/aur, and it is the only part of my packagemanagement clyde has not replaced...

Perhaps it should be a second flag to -G, but I am not convinced that makes more sense...

I currently use pbget, which does much the same thing. Would like clyde to be able to do it though. Enjoy your studies Kiwi, it sucks when they're done for good.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#245 2010-04-14 16:09:16

franz1789
Member
Registered: 2008-04-22
Posts: 56

Re: Clyde - A better libalpm/makepkg wrapper

I got a question:
sometimes I have pkg in unofficial repo named like the pkgbuild on aur, how can I force to install the aur one and not the repos one? in yaourt it was

yaourt -S aur/pkgname

how can I do it with clyde? is there a way or is it a feature still to be added?
Thanks for the great work, clyde it's a must-have in my arch big_smile

Offline

#246 2010-04-14 16:12:16

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

Still to be added.

To get around it for the time being you could temporarily disable the unofficial repo and install from AUR.

Offline

#247 2010-04-14 20:38:16

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

ABS support is planned to be implemented eventually...I just do not know when or to what extent exactly.

Doing a 'svn co svn://svn.archlinux.org/packages/[pkgname]/repos/[reponame]-[arch]/' for core and extra packages and a 'svn co svn://svn.archlinux.org/community/[pkgname]/repos/[reponame]-[arch]/' for community packages might work, alternatively you could download the files from wsvn

Offline

#248 2010-04-14 23:12:01

bond
Member
From: Melbourne, Australia
Registered: 2009-05-05
Posts: 62

Re: Clyde - A better libalpm/makepkg wrapper

Just a quick question, is aur interaction still needing finishing, or is one of my deps stuffed?

sudo clyde -Ss chromium
extra/chromium 5.0.342.9-1 [installed]
    The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more
    stable browser.
community/chromium-bsu 0.9.14-1
    A fast paced top scrolling shooter
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:405: in function </usr/share/lua/5.1/clydelib/sync.lua:309>
    (tail call): ?
    /usr/share/lua/5.1/clydelib/sync.lua:1619: in function </usr/share/lua/5.1/clydelib/sync.lua:1618>
    (tail call): ?
    /usr/bin/clyde:1018: in function </usr/bin/clyde:929>
    (tail call): ?
    [C]: ?

Offline

#249 2010-04-15 03:35:03

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

*sigh* shit.

That makes two people who have that problem, and I have spent hours trying to figure it out to no avail.

Afaict the problem is you are getting a corrupted (or not compressed at all, those are what -3 error code means) gzip stream from the AUR site and there is nothing wrong with the Clyde code, but somewhere along the tubes or at the AUR site it is becoming an invalid stream. I even stripped the code down to the most basic of test cases to eliminate possibilities of something being wrong elsewhere, and the other person having the issue still had the problem. There is almost no way he should based on the code, it is pretty solid....

I do not know if the problem is your connection or what, are you behind a proxy or anything like that?

Offline

#250 2010-04-15 03:54:59

bond
Member
From: Melbourne, Australia
Registered: 2009-05-05
Posts: 62

Re: Clyde - A better libalpm/makepkg wrapper

yeah, this is on my work machine, which  is behind a transparent proxy (which cache's stuff aswell)

I just ssh'd to my home pc, added clyde and it searched the aur fine from there. (however the home pc, hasn't had its packages sync'd/updated in over a month)

anything you want me to try, I'm happy to help smile

Last edited by bond (2010-04-15 03:55:54)

Offline

Board footer

Powered by FluxBB