You are not logged in.
Yaourt has this problem only with kernel26viper.
fixed in next release
Offline
I was using pacman+aurbuild... but yaout is soooo mutch better!!!
Magnific work!
Gnu/Linux User on Arch(x86_64)
Offline
is there a problem if I use it without sudo?
Gnu/Linux User on Arch(x86_64)
Offline
is there a problem if I use it without sudo?
No, it's just less easy
Just run yaourt as a user without sudo, the root password will be prompt only when it is necessary.
Offline
The_ouroboros wrote:is there a problem if I use it without sudo?
No, it's just less easy
Just run yaourt as a user without sudo, the root password will be prompt only when it is necessary.
k!
I hate sudo...
Gnu/Linux User on Arch(x86_64)
Offline
any update on this wain?
Offline
any update on this wain?
The new release is ready. I just finalize the man page.
Offline
Hi,
Im tryin to compile the latest yaourt 0.8.2 using this PKGBUILD:
# Author: wain <wain.at.archlinux.fr>
pkgname=yaourt
pkgver=0.8.2
pkgrel=1
pkgdesc="A Pacman frontend with more features like AUR support"
url="http://www.archlinux.fr/yaourt-en/"
license="GPL"
arch=(i686 x86_64)
depends=('lynx' 'wget' 'diffutils' 'pacman>=3.0.0')
install=yaourt.install
source=(http://archiwain.free.fr/os/i686/$pkgname/$pkgname-$pkgver.src.tar.gz)
backup=('etc/yaourtc')
build() {
cd $startdir/src/$pkgname
gzip yaourt.8
install -d $startdir/pkg/usr/man/man8/
install -m 644 yaourt.8.gz $startdir/pkg/usr/man/man8/
gzip yaourtrc.5
install -d $startdir/pkg/usr/man/man5/
install -m 644 yaourtrc.5.gz $startdir/pkg/usr/man/man5/
install -d $startdir/pkg/etc/
install -m 644 yaourtrc $startdir/pkg/etc/
install -d $startdir/pkg/usr/bin/
install -m 755 $pkgname $startdir/pkg/usr/bin/
install -m 755 pacdiffviewer $startdir/pkg/usr/bin/
}
md5sums=('ee936cefc14ff1e86743b808a1691350')
however I get this weird error:
[rhandulle@Don-DiZzLe yaourt]$ sudo makepkg
Password:
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
is not available for the 'i686' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('i686').
[rhandulle@Don-DiZzLe yaourt]$
I don't see nothing wrong with the PKGBUILD.
Offline
I don't know where is exactly the problem, but makepkg should never be run neither as root nor with sudo.
Just run makepkg as unprivilegied user or add the [archlinuxfr] in pacman.conf:
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
Offline
Yay u were right, i did makepkg without sudo and it compiled just fine now.
Offline
... never be run neither as root nor with sudo ...
Can you tell me why this ? Cannot find any info in the wiki.
I dont like sudo, so i am used to use makepkg as root, its handy with the -si switch...only the yaourt warning is annoying
Offline
wain wrote:... never be run neither as root nor with sudo ...
Can you tell me why this ? Cannot find any info in the wiki.
I dont like sudo, so i am used to use makepkg as root, its handy with the -si switch...only the yaourt warning is annoying
-S, --usesudo
Use sudo to perform all operations that require pacman. This is
useful for --install, --rmdeps, and --syncdeps. If you are
building packages as a non-root user as recommended, this option
should be used if using any option that calls pacman.
Because a lot of AUR Unsupported packages are not marked as SAFE, and runing makepkg against a buggy PKGBUILD as root can break your system.
More info here: http://bbs.archlinux.org/viewtopic.php?id=917
Offline
Thanks for the link wain, now i understand
This one i really like:
don't do anything as root, what you could do as user
Offline
Hi, Im getting this invalid number error:
[rhandulle@Don-DiZzLe yaourt]$ yaourt -Cd
Please wait...
==> Some directories in /var/lib/pacman/ are no more used and should be removed:
kdemod-testing
==> Do you want to delete these directories ? [y/N]
==> ----------------------------------------------
==>/usr/bin/yaourt: line 1654: read: e: invalid number
==> Some repositories in pacman.conf are no more used and can be removed:
kdemod unstable
Offline
Hi, Im getting this invalid number error:
[rhandulle@Don-DiZzLe yaourt]$ yaourt -Cd Please wait... ==> Some directories in /var/lib/pacman/ are no more used and should be removed: kdemod-testing ==> Do you want to delete these directories ? [y/N] ==> ---------------------------------------------- ==>/usr/bin/yaourt: line 1654: read: e: invalid number ==> Some repositories in pacman.conf are no more used and can be removed: kdemod unstable
sorry, this will be fixed asap. Just run "rm -r /var/lib/pacman/kdemod-testing/" now to clean your pacman database
Offline
No problem, just pointing it out, so u'll make it even better nex time.
Offline
Yikes!
I would like to point out to everyone that deleting directories inside /var/lib/pacman means deleting part of your database and should be done with caution. If the wrong directory is deleted your database could become corrupt. For example, NEVER delete /var/lib/pacman/local, it is the database of packages currently installed on your system and without it you may as well reinstall.
Wain: perhaps a mandatory backup of /var/lib/pacman should be preformed before prompting a user if they would like to remove directories inside it?
Offline
Wain: perhaps a mandatory backup of /var/lib/pacman should be preformed before prompting a user if they would like to remove directories inside it?
yaourt just delete unused directories. This is safe and can improve a little pacman speed by reducing fragmentation and database size.
Adding an option to backup /var/lib/pacman/local ? why not . But others directories are recreated each time you use -Sy, so backup is useless for them.
You can use this to backup the pacman database:
tar -cvjf "pacman-`date +%Y-%M-%d_%Hh%Mm`.tar.bz2" /var/lib/pacman/local
Offline
But others directories are recreated each time you use -Sy, so backup is useless for them.
Right. I don't doubt your logic because you are correct. Its the chance of code error that I was mostly referring to. Best to take precautions when playing in the vicinity of fire -that all. Anyways a backup option would be good form
Offline
version 0.8.3 (07/20/07)
o new option -G to get PKGBUILD: yaourt -G <packagename>
o new option --backup to save pacman database
o ability to check built package with namcap before installing
o removed depends to lynx
o bug fixed in yaourt -Cd (reported by Don-DiZzLe)
o bug fixed in yaourt -Su when exporting to repositorynew option PacmanBin in yaourtrc (to use pacman-color instead of pacman) (reported by cucullus)
Offline
Hi, yaourt looks very cool. Too bad I have no more packages to install to play more with yaourt
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Hey wain! Love the application and I can't wait until yaourt becomes 'modularized'
I have a feature request - I use GUI terminal emulators (such as ROXTerm or rxvt) and after running yaourt the title is set to 'xterm' instead of how it was before hand. There is an escape code to get the current but I'm not if that is supported in all the emulators. Maybe another option could be set in yaourtrc to set the terminal title to something other than $TERM? A quick-fix is just to set $TERM in .bashrc but I keep seeing security notices around that say not to do that.
P.S. Could you also add searching in $HOME for .yaourtrc ? I'd like to have it seperate from /etc
Offline
Thank you zenix and Dieter@be
Hey wain! Love the application and I can't wait until yaourt becomes 'modularized'
I have a feature request - I use GUI terminal emulators (such as ROXTerm or rxvt) and after running yaourt the title is set to 'xterm' instead of how it was before hand. There is an escape code to get the current but I'm not if that is supported in all the emulators. Maybe another option could be set in yaourtrc to set the terminal title to something other than $TERM? A quick-fix is just to set $TERM in .bashrc but I keep seeing security notices around that say not to do that.
P.S. Could you also add searching in $HOME for .yaourtrc ? I'd like to have it seperate from /etc
yaourt already load $HOME/.yaourtc if it exists
I know that title can cause problem... the reason is I don't know how to easily restore the previous title of the window (before yaourt's launch). I've added this code in my .bashrc:
case $TERM in
rxvt*|xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
esac
do you have an idea on how to reinit the title ?
Offline
Thank you zenix and Dieter@be
zenix wrote:Hey wain! Love the application and I can't wait until yaourt becomes 'modularized'
I have a feature request - I use GUI terminal emulators (such as ROXTerm or rxvt) and after running yaourt the title is set to 'xterm' instead of how it was before hand. There is an escape code to get the current but I'm not if that is supported in all the emulators. Maybe another option could be set in yaourtrc to set the terminal title to something other than $TERM? A quick-fix is just to set $TERM in .bashrc but I keep seeing security notices around that say not to do that.
P.S. Could you also add searching in $HOME for .yaourtrc ? I'd like to have it seperate from /etc
yaourt already load $HOME/.yaourtc if it exists
I know that title can cause problem... the reason is I don't know how to easily restore the previous title of the window (before yaourt's launch). I've added this code in my .bashrc:
case $TERM in rxvt*|xterm*) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' ;; esac
do you have an idea on how to reinit the title ?
I know the tittle is stored in MRXVTABTITLE for me, so I just modified yaourt to store that, then modify the the title, and change it back again.
Offline
Thanks for the reply, wain
yaourt already load $HOME/.yaourtc if it exists
Ah, great! Nice to see that you can read minds, too
do you have an idea on how to reinit the title ?
I know the tittle is stored in MRXVTABTITLE for me, so I just modified yaourt to store that, then modify the the title, and change it back again.
A couple of pages after a few searches online found:
http://lists.fifi.org/doc/xterm/xterm.f … how2_title
http://www.giccs.georgetown.edu/~ric/howto/Xterm-Title/ (I couldn't load it but doesn't produce a 404 error)
I do have 1 problem with yaourt trying to set the window title. I sometimes switch to virtual consoles (Ctrl+Alt+F1-F6) and when I run yaourt it tries to set the 'title' but it just causes "linux;" and the ASCII beep to output. This is quite annoying, especially when I run yaourt in Xterm whenever I have X running and it doesn't appear which is why I propose
case $TERM in
linux)
# do not set title
;;
esac
As an addition to yaourt (will edit post with more information on where to add it and possbily a patch attached) that way yaourt users running it within a virtual terminal won't have their 'title' set. This case statement does include the fact that screen may be running. If that is the case, the echo should go on bechttp://www.giccs.georgetown.edu/~ric/howto/Xterm-Title/uase $TERM is set to 'screen' not 'linux'
Also, wain, have you thought of redoing yaourt as a C/C++ application? You can use libalp (I think that is what it is) then! Also, it'll be a bit faster, but harder to code, I guess. Anyways, it's just a suggestion.
Edit
Found out how to get the title after reading fifi.org (see links above)!
Uses the WM_NAME property of a terminal as well as it's window id ($WINDOWID). ROXTerm doesn't seem to set this but the majority of VTE-based terminal emulators seem to do so. A one-liner is provided at the fifi.org link.
Last edited by zenix (2007-08-07 01:26:10)
Offline