You are not logged in.
frigaut, I am pretty sure I fixed that...
You did. thank you.
Archer since 03/2009 - AUR packages
Offline
I am not sure.. Is this a bug I am seeing?
>>> packi chromium-browser-bin
/tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 45: msg: command not found
/tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 48: msg2: command not found
/tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 54: [: : integer expression expected
/tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 59: devel_update: command not found
Repository : aur
Name : chromium-browser-bin
Version : LATEST-18
URL : http://code.google.com/chromium/
Licenses : custom:BSD
Groups : None
Provides : chromium-browser
Depends On : alsa-lib desktop-file-utils ffmpeg gconf nss libjpeg6 libpng12 libxss
Make Depends :
Optional Deps : chromium-codecs-ffmpeg-nonfree-bin: for viewing HTML5/H.264 videos [AUR]
ttf-hannom-usong: Unicode Han and Nom (Chinese and Vietnamese) fonts [AUR]
otf-ipafont: Unicode Gothic/sans and Mincho/serif (Japanese) fonts [AUR]
ttf-indic-otf: Unicode collection various (Indian) language fonts [extra]
xdg-utils: for setting a default browser on desktop environments [extra]
Conflicts With : chromium-browser chromium-browser-svn chromium-os-bin google-chrome-dev
Replaces : chromium-browser chromium-browser-svn chromium-os-bin
Architecture : i686 x86_64
Description : The open-source project behind Google Chrome
Offline
Yeah, I saw that "msg" command not found too. I didn't think much of it, and didn't report it, as it is just to display a message to the console, but I saw it too.
Archer since 03/2009 - AUR packages
Offline
I am not sure.. Is this a bug I am seeing?
>>> packi chromium-browser-bin /tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 45: msg: command not found /tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 48: msg2: command not found /tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 54: [: : integer expression expected /tmp/packertmp-1001/chromium-browser-bin.PKGBUILD: line 59: devel_update: command not found Repository : aur Name : chromium-browser-bin Version : LATEST-18 URL : http://code.google.com/chromium/ Licenses : custom:BSD Groups : None Provides : chromium-browser Depends On : alsa-lib desktop-file-utils ffmpeg gconf nss libjpeg6 libpng12 libxss Make Depends : Optional Deps : chromium-codecs-ffmpeg-nonfree-bin: for viewing HTML5/H.264 videos [AUR] ttf-hannom-usong: Unicode Han and Nom (Chinese and Vietnamese) fonts [AUR] otf-ipafont: Unicode Gothic/sans and Mincho/serif (Japanese) fonts [AUR] ttf-indic-otf: Unicode collection various (Indian) language fonts [extra] xdg-utils: for setting a default browser on desktop environments [extra] Conflicts With : chromium-browser chromium-browser-svn chromium-os-bin google-chrome-dev Replaces : chromium-browser chromium-browser-svn chromium-os-bin Architecture : i686 x86_64 Description : The open-source project behind Google Chrome
the error is in the PKGBUILD itself (as the error message states); they're just printed when packer sources it.
a fix might be this though
. PKGBUILD 2>/dev/null
to just suppress any errors in the PKGBUILD. this chromium one's the only one i've seen with errors like this though.
//github/
Offline
@brisbin33: I found the same error in the compiz++ packages, e.g. http://aur.archlinux.org/packages/ccsm+ … +/PKGBUILD
It's also using "msg". I can guess what that command is doing :-) , but I can't find in what package it lives (if any)?
Archer since 03/2009 - AUR packages
Offline
@brisbin33: I found the same error in the compiz++ packages, e.g. http://aur.archlinux.org/packages/ccsm+ … +/PKGBUILD
It's also using "msg". I can guess what that command is doing :-) , but I can't find in what package it lives (if any)?
This is a function provided by makepkg. See /usr/bin/makepkg ~line 93.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
once you set all your alias commands... packer/diffpac is a perfect pac(ker)age!
little requests:
1) the only thing I prefer about yaourt is the colour output. I think its more pleasant;
e.g.
edit*
2) It might of already been mentioned but, when searching, the 'installed' info on packages from AUR is not displayed.
3) ability to just sync repo/aur i.e.: packer -Sy/--auronly, then if an update is available a 'packer -Qu' would show repo and aur available updates.
reason is, I cron pacman -Sy every hour and have a conky script to show available updates, but aur updates are never seen beacuse they are only every checked when there is a repo update (after a "-Su")
4) when packer is forced to exit (ctrl+c), packer keeps running and db.lck file is still there, (i believe bauerbill had a fix for this)
5) An Option at the end of a successful build to ask to move to the cache dir (out of '/tmp' and into '/var/cache/pacman/pkg'), also could be an extra build parameter i.e. --cacheit
Last edited by gav616 (2010-07-02 12:59:29)
Offline
I have found a rather annoying bug/feature.
When in a tty and installing with pakcer the screen goes on wait. I press the arrow up typically to see the screen but then a character has been entered that is not Y or n and packer exits. Obviously I can go in /tmp and find the package but this is still annoying. Could you make it that only N and n quit the script and anything else asks the question again? Apart from Y or y which installs obviously ;-)
Hope that makes sense.
Thanks
Offline
Packer used to work fine but now suddenly i get this error: packer:1: maximum nested function level reached
Offline
Hi, I have an error when trying to install midori-git
[acer@myhost ~]$ sudo packer -S midori-git
Password:
warning: midori-git-20100705-1 is up to date -- reinstalling
warning: midori-git is flagged out of date
Aur Targets (1): midori-git
Proceed with installation? [Y/n]
Edit midori-git PKGBUILD with $EDITOR? [Y/n] n
Edit midori.install with $EDITOR? [Y/n] n
==> Determining latest git revision...
-> Version found: 20100705
==> Making package: midori-git 20100705-1 (Mon Jul 5 10:46:01 EST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Connecting to the midori git repository...
fatal: Not a git repository (or any of the parent directories): .git
Aborting...
The build failed.
It works with yaourt and clyde, just not in packer. 64bit, if that matters.
Offline
Hi, I have an error when trying to install midori-git
[acer@myhost ~]$ sudo packer -S midori-git Password: warning: midori-git-20100705-1 is up to date -- reinstalling warning: midori-git is flagged out of date Aur Targets (1): midori-git Proceed with installation? [Y/n] Edit midori-git PKGBUILD with $EDITOR? [Y/n] n Edit midori.install with $EDITOR? [Y/n] n ==> Determining latest git revision... -> Version found: 20100705 ==> Making package: midori-git 20100705-1 (Mon Jul 5 10:46:01 EST 2010) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... ==> Extracting Sources... ==> Removing existing pkg/ directory... ==> Starting build()... ==> Connecting to the midori git repository... fatal: Not a git repository (or any of the parent directories): .git Aborting... The build failed.
It works with yaourt and clyde, just not in packer. 64bit, if that matters.
That doesn't look like a packer error, but rather a makepkg error! I've just tried it, at get a different build error, but that is because the midori-git package is out of date.
Offline
packer -Rs wesnoth
packer: Option `-Rs' is not valid.
Could you please enable this option? Pacman supports it, so you just need to pass it on.
Offline
You don't need operations like -R and -Q in packer. Instead, you can use this wrapper function I wrote (put it in .bashrc or .zshrc or whatever):
pacman() {
if [[ $1 = -h* || $1 = "--help" ]]; then
echo "pacman help:\n"
/usr/bin/pacman -h
echo "\n\npacker help:\n"
packer -h
elif [[ $1 = -V* || $1 = -Q* ]]; then
pacman-colour "$@"
elif [[ $1 = -Si* || $1 = -Ss* ]]; then
packer "$@"
elif [[ ( $1 != -Sy && $1 != -Sc* ) && ( $1 = -S* || $1 = -G* ) ]]; then
sudo packer "$@"
else
sudo pacman-color "$@"
fi
}
It will decide whether to use pacman or packer based on the arguments, and will use sudo if needed. Note that it uses pacman-color, just install it with packer, or if you don't want it, replace all the occurences of 'pacman-color' with '/usr/bin/pacman' (to avoid recursion).
It would be nice if someone good with regular expressions could write a nice case statement for that .
Last edited by mk12 (2010-07-12 17:35:10)
Offline
Cool! But I think clyde does a better job, even though clyde acts as a pacman replacement and packer acts as a wrapper between pacman and aurget(or other thing).
I'm also known as zmv on IRC.
Offline
packer -Rs wesnoth packer: Option `-Rs' is not valid.
Could you please enable this option? Pacman supports it, so you just need to pass it on.
I spend hours writing this companion script to provide just this kind of functionality: http://github.com/bruenig/pacwrap/blob/master/pacwrap
Beat you mk12!
Offline
I just add pacman-color to my visudo then add the commands to bashrc
## pacman stuff ##
# search
alias ps='/usr/bin/pacman-color -Ss'
alias psa='/usr/bin/packer --auronly'
# install
alias pi='sudo /usr/bin/pacman-color -S'
alias pia='/usr/bin/packer -S --auronly'
# remove
alias pr='sudo /usr/bin/pacman-color -R'
alias prf='sudo /usr/bin/pacman-color -Rd'
alias pra='sudo /usr/bin/pacman-color -Rcs'
# clean
alias pc='sudo /usr/bin/pacman-color -Sc'
alias pca='sudo /usr/bin/pacman-color -Scc'
# list
alias plo='/usr/bin/pacman-color -Qdt'
alias plr='/usr/bin/pacman-color -Qet'
alias pla='/usr/bin/pacman-color -Qm'
alias plu='/usr/bin/pacman-color -Qu'
# upgrade
alias pu='sudo /usr/bin/pacman-color -Su'
alias pua='/usr/bin/packer -Su --auronly'
# diffpac
alias dp='sudo /usr/bin/diffpac'
Last edited by gav616 (2010-07-14 14:11:18)
Offline
essence-of-foo wrote:packer -Rs wesnoth packer: Option `-Rs' is not valid.
Could you please enable this option? Pacman supports it, so you just need to pass it on.
I spend hours writing this companion script to provide just this kind of functionality: http://github.com/bruenig/pacwrap/blob/master/pacwrap
Beat you mk12!
That only took you a few hours? I didn't know about this amazing companion script before . I actually switched to Clyde, but I think now I will use packer again instead.
The only problem is with pacwrap -V for example it first prints "packer: Option '-V' is not valid.", the prints the pacman version info. Is there a way to not print the parsing error?
Last edited by mk12 (2010-07-16 04:13:26)
Offline
packer does not show [installed] for aur packages...
Offline
packer does not show [installed] for aur packages...
Nor does pacman for pacman repo packages....
Offline
bruenig wrote:essence-of-foo wrote:packer -Rs wesnoth packer: Option `-Rs' is not valid.
Could you please enable this option? Pacman supports it, so you just need to pass it on.
I spend hours writing this companion script to provide just this kind of functionality: http://github.com/bruenig/pacwrap/blob/master/pacwrap
Beat you mk12!
That only took you a few hours? I didn't know about this amazing companion script before . I actually switched to Clyde, but I think now I will use packer again instead.
The only problem is with pacwrap -V for example it first prints "packer: Option '-V' is not valid.", the prints the pacman version info. Is there a way to not print the parsing error?
Yeah I noticed that too but figured it was not something anyone would really care about. It is not like you are parsing that information after all.
Offline
jck wrote:packer does not show [installed] for aur packages...
Nor does pacman for pacman repo packages....
//blue/0/~/ pacman -Ss xmonad
community/xmonad 0.9.1-4 [installed]
A lightweight X11 tiled window manager written in Haskell
community/xmonad-contrib 0.9.1-3 [installed]
Add-ons for xmonad
needs moar 3.4
//github/
Offline
3.4 is bloat
Offline
I hacked two new features into packer that make it even more awesome (imho!):
* Sort AUR search results
* Always update AUR packages that have the version string "LATEST" (chromium-browser-bin is the one i care about, don't konw if there are others)
Sorting comes at the cost of speed, it adds 10-50% extra time to a search that includes AUR. (Note that this is still about 1/4th of the time clyde for example takes). So it's not for the speed purists.
If you want to have these extra features, get them here:
http://github.com/Nihathrael/packer
Enjoy
Unknown Horizons - Open source real-time strategy game with the comfy Anno 1602 feeling!
Offline
When invoking packer -Syu --devel --noconfirm I have to confirm every aur update.
That's not how it should work, right?
Offline
When invoking packer -Syu --devel --noconfirm I have to confirm every aur update.
That's not how it should work, right?
I fixed this in my version(http://github.com/Nihathrael/packer). I will send a patch to bruenig so he can merge it into the main line if he agrees with the behaviour.
Unknown Horizons - Open source real-time strategy game with the comfy Anno 1602 feeling!
Offline