You are not logged in.
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
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
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
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
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
I can reproduce it with conky, which means I can actually test it and hopefully figure it out. Thanks.
Offline
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.
Online
-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
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
-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.
Online
@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
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
Well, even pacman doesn't autocomplete for .tar.xz yet AFAICS
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.
Online
Well, even pacman doesn't autocomplete for .tar.xz yet AFAICS
well I suppose we are a step forward now
Offline
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
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
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.
Online
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
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
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.
Online
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
Offline
Still to be added.
To get around it for the time being you could temporarily disable the unofficial repo and install from AUR.
Offline
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
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
*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
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
Last edited by bond (2010-04-15 03:55:54)
Offline