You are not logged in.
Package group oder provider package as dependency
If i try to install fcron, i get this:
% packer -S fcron Dependency `smtp-server' of `fcron' does not exist.
Then I...
% packer -S smtp-server Package `smtp-server' does not exist.
Search for it...
% packer -Ss smtp-server extra/courier-mta 0.62.1-4 [5.58 MB] IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig extra/exim 4.69-2 [0.45 MB] A Message Transfer Agent extra/postfix 2.6.5-3 [3.35 MB] Secure, fast, easy to administer drop in replacement for Sendmail (MTA) community/esmtp 1.2-1 [0.02 MB] An easy smtp forwarder
If i install esmtp and then fcron it works.
Is this a bug of packer, or is the PKGBUILD of fcron wrong/bad?JJ
This is a problem I had considered a while ago, but never managed to get around to trying to fix. I guess makepkg has it fixed so I can figure out what it is doing. Basically the issue is that it is depending on something that doesn't exist but is in many packages provides=(). So yeah.
Last edited by bruenig (2010-01-29 20:13:55)
Offline
JayJay wrote:Package group oder provider package as dependency
If i try to install fcron, i get this:
% packer -S fcron Dependency `smtp-server' of `fcron' does not exist.
Then I...
% packer -S smtp-server Package `smtp-server' does not exist.
Search for it...
% packer -Ss smtp-server extra/courier-mta 0.62.1-4 [5.58 MB] IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig extra/exim 4.69-2 [0.45 MB] A Message Transfer Agent extra/postfix 2.6.5-3 [3.35 MB] Secure, fast, easy to administer drop in replacement for Sendmail (MTA) community/esmtp 1.2-1 [0.02 MB] An easy smtp forwarder
If i install esmtp and then fcron it works.
Is this a bug of packer, or is the PKGBUILD of fcron wrong/bad?JJ
This is a problem I had considered a while ago, but never managed to get around to trying to fix. I guess makepkg has it fixed so I can figure out what it is doing. Basically the issue is that it is depending on something that doesn't exist but is in many packages provides=(). So yeah.
aurget fails for this too. i /think/ i've fixed it with this but i'm not sure.
558 if pacman -Sqs ^$dep$ &>/dev/null; then
559 warn "$dep required by $name. this may be installed via pacman."
basically pacman -Sqs ^$dep$ will only return true if pacman has exactly it or something providing exactly it in the repo. before, i was doing -Sqs $dep | grep -Fqx $dep, which matches nothing in the case of a provides package.
//github/
Offline
Following brisbin's advice, I believe I have fixed the problem. packer -S packer and see.
Also, I added Make Depends info in packer -Si for aur packages.
Offline
Thanks for this tool. I'm so happy I can finally dump yaourt. I'm telling everyone I know about this.
Offline
hmmm... fast and works well so far. I might like this one. I just miss being able to see in searches what is installed and what is not. Also seeing # of votes in AUR is helpful for picking which aur packages to try out first.
Nai haryuvalyë melwa rë
Offline
Thanks for packer, I'm successfully using it over two weeks.
I found a ?bug. While using the -G option, if package.tar.gz exists, then the downloaded file's name gets an incrementing number postfix, but the original file will be extracted.
wget "http://aur.archlinux.org/packages/$pack … age.tar.gz" -O "$package.tar.gz" did solve this at line 571.
Offline
Thanks for packer, I'm successfully using it over two weeks.
I found a ?bug. While using the -G option, if package.tar.gz exists, then the downloaded file's name gets an incrementing number postfix, but the original file will be extracted.
wget "http://aur.archlinux.org/packages/$pack … age.tar.gz" -O "$package.tar.gz" did solve this at line 571.
Change pushed. packer -S packer to get new.
Offline
Is it possible to have packer remove the build dependencies used in building AUR's after the program is installed? This is one feature that I find handy in Bauerbill.
Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.
Offline
I just miss being able to see in searches what is installed and what is not. Also seeing # of votes in AUR is helpful for picking which aur packages to try out first.
These. Otherwise GREAT work
Offline
I use this over yaourt. It's perfect.
Offline
MajorTom, what do you want the quiet output to look like. When I do pacman -Ssq the only thing it shows is the package name, is this it?
Offline
Yes, that's all I need.
Offline
I added --quiet so that I could utilize the option for both interactive mode and the normal -Ss mode. I don't know. I kind of feel like very few people will ever use --quiet, but whatever I guess. It doesn't slow anything down and actually makes sure not to set description arrays and version arrays when the flag is used (thus making it truly faster as it should be).
Offline
Is it possible to have packer remove the build dependencies used in building AUR's after the program is installed? This is one feature that I find handy in Bauerbill.
this would be great feature if implemented
Acer Aspire V5-573P Antergos KDE
Offline
I added --quiet so that I could utilize the option for both interactive mode and the normal -Ss mode. I don't know. I kind of feel like very few people will ever use --quiet, but whatever I guess. It doesn't slow anything down and actually makes sure not to set description arrays and version arrays when the flag is used (thus making it truly faster as it should be).
I appreciate it.
Since I'm so used to one letter arguments, I've tried adding the following:
# Argument parsing
[[ $1 ]] || usage
packageargs=()
while [[ $1 ]]; do
case "$1" in
'-S') option=install ;;
'-Ss') option=search ;;
'-Ssq'|'-Sqs') option=search ; quiet='1' ;; # <===== ** here **
It works nicely and I didn't notice any speed issues. Is this not acceptable for any reason?
Offline
bruenig wrote:I added --quiet so that I could utilize the option for both interactive mode and the normal -Ss mode. I don't know. I kind of feel like very few people will ever use --quiet, but whatever I guess. It doesn't slow anything down and actually makes sure not to set description arrays and version arrays when the flag is used (thus making it truly faster as it should be).
I appreciate it.
Since I'm so used to one letter arguments, I've tried adding the following:# Argument parsing [[ $1 ]] || usage packageargs=() while [[ $1 ]]; do case "$1" in '-S') option=install ;; '-Ss') option=search ;; '-Ssq'|'-Sqs') option=search ; quiet='1' ;; # <===== ** here **
It works nicely and I didn't notice any speed issues. Is this not acceptable for any reason?
ok
Offline
Splendid!
Offline
Hi.
I would like to make a feature request. When searching packages it would be nice to show a flag whether if its installed or not. yaourt does that. Please consider this if it is not a performance nightmare.
Thanks
Jithin
Offline
Hi.
I would like to make a feature request. When searching packages it would be nice to show a flag whether if its installed or not. yaourt does that. Please consider this if it is not a performance nightmare.
This has been requested many times in this thread, and it is a performance nightmare.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Great job! packer rocks.
thanks for sharing
o.O
Offline
This was brought up by <Vithon> on packer's AUR page:
Only one suggestion, I'd like a config file (/etc/packer.conf or $HOME/.config/packer/packer.conf or whatever) so you could specify options (i.e., skipping the "Edit PKGBUILD?" by always saying "no").
(...)
I know that, but I don't want to skip the "Proceed with Installation?" dialog.
I actually think it's a good idea to split package installation confirmation and PKGBUILD editing prompts.
Feel free to criticize if I overlooked something but here's my quick hack to address that:
--- packer 2010-01-31 15:49:19.000000000 -0500
+++ packer-mod 2010-02-01 22:17:29.000000000 -0500
@@ -49,6 +49,7 @@
echo ' --quiet - only output package name for searches'
echo ' --ignore - takes a comma-separated list of packages to ignore'
echo ' --noconfirm - do not prompt for confirmation'
+ echo ' --noedit - do not edit PKGBUILD'
echo ' --auronly - only do actions for aur'
echo ' --devel - update devel packages during -Su'
echo ' --skipinteg - when using makepkg, do not check md5s'
@@ -274,7 +275,7 @@
# Allow user to edit PKGBUILD
if [[ -f PKGBUILD ]]; then
- if ! [[ $noconfirm ]]; then
+ if ! [[ $noedit ]]; then
echo -n "Edit $1 PKGBUILD with \$EDITOR? [Y/n] "
read -n 1 answer
echo
@@ -292,7 +293,7 @@
unset install
. PKGBUILD
if [[ $install ]]; then
- if ! [[ $noconfirm ]]; then
+ if ! [[ $noedit ]]; then
echo -n "Edit $install with \$EDITOR? [Y/n] "
read -n 1 answer
echo
@@ -470,6 +471,7 @@
'--quiet') quiet='1' ;;
'--ignore') ignorearg="$2" ; PACOPTS+=("--ignore" "$2") ; shift ;;
'--noconfirm') noconfirm='1' PACOPTS+=("--noconfirm");;
+ '--noedit') noedit='1';;
'--auronly') auronly='1' ;;
'--devel') devel='1' ;;
'--skipinteg') MAKEPKGOPTS="--skipinteg" ;;
Offline
There is one thing that I will still use yaourt for. Before installing, Yaourt echos out all the package comments. It is still faster to check yaourt then it is to fire up a web browser. It is easy enough to extract the messages, but involves fragile and messy regex. Not fun. Maybe just the last few, which are newer than the package?
Offline
Tried it, love it ! Had no idea that AUR can be so fast !! Thanks to bruenig for the great work !!!
That's only me, but I usually EITHER want to install new stuff OR check if I already got something,
so pacman -Q packagename is getting the job done for me, checking if something is installed
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
(Mitch Ratcliffe)
Offline
Tried it, love it ! Had no idea that AUR can be so fast !! Thanks to bruenig for the great work !!!
That's only me, but I usually EITHER want to install new stuff OR check if I already got something,
so pacman -Q packagename is getting the job done for me, checking if something is installed
Try pacman -Qm.
You may also want to take a look at aurcheck.
Offline
Added --noedit and also changed color of edit message.
Offline