You are not logged in.

#226 2008-01-29 19:53:58

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: yaourt: pacman frontend

It would be nice if -Ss could be fixed again; currently it only searches AUR.


1000

Offline

#227 2008-01-29 20:01:44

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

byte wrote:

It would be nice if -Ss could be fixed again; currently it only searches AUR.

Just download last release  from

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

or

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

It works ! smile

Offline

#228 2008-01-30 03:19:02

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: yaourt: pacman frontend

0.8.9-1, right? Well, it doesn't. I ran pacman -Syy, I renamed my .yaourtrc (just in case) ... yaourt -Ss privoxy => nothing.
I run pacman-git from toofishes' repo, but I don't see how that should make a difference.


1000

Offline

#229 2008-01-30 10:36:51

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

byte wrote:

I run pacman-git from toofishes' repo, but I don't see how that should make a difference.

I don't know for pacman-git, but yaourt 0.8.9 is the right release for pacman 3.1.1

Maybe you have changed default path for pacman db (/var/lib/pacman/) ?

Offline

#230 2008-01-30 11:11:44

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: yaourt: pacman frontend

I have a non-default CacheDir, that is all.

But okay, normal pacman 3.1.1 package works.


1000

Offline

#231 2008-02-02 19:18:42

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: yaourt: pacman frontend

Typo in yaourtrc manpage (I think?):
Under the UpdateTerminalTitle section it says: "It's recommended to add something like this in yourt .bashrc"
Do you mean "your .bashrc"?
smile


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#232 2008-02-02 20:27:46

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

oh yes ! that's easy to fix :-) 
thanks !

Offline

#233 2008-02-04 11:19:04

mini
Member
Registered: 2006-12-18
Posts: 132

Re: yaourt: pacman frontend

I have used opera-snapshot from http://repo.archlinux.fr/i686/, but the last version - pkgver=1786 does not working well for me. Can I downgrade to  version 1772-1 from http://repo.archlinux.fr/i686/oldpackages/ using yaourt?

Offline

#234 2008-02-04 19:52:13

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

The rollback feature is on my todolist.
For now, just run "yaourt http://repo.archlinux.fr/i686/oldpackages/opera-snapshot-1772-1.pkg.tar.gz" to install the last week opera release.
note:  I have personally revert to 1772 too wink

Offline

#235 2008-02-05 21:23:27

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: yaourt: pacman frontend

hey wain!
turbo-upgrade today.
great work (as usual)!

vlad

Offline

#236 2008-02-07 02:17:56

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: yaourt: pacman frontend

hello wain,
the TmpDirectory entry in the ~/.yaourtrc is ignored. yaourt uses only /tmp.

vlad

Offline

#237 2008-02-07 18:50:44

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

DonVla wrote:

hello wain,
the TmpDirectory entry in the ~/.yaourtrc is ignored. yaourt uses only /tmp.

vlad

Sorry for this regression hmm
That will be fixed asap

Offline

#238 2008-02-07 19:00:35

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: yaourt: pacman frontend

no problem!
just wanted to mention...

Offline

#239 2008-02-11 10:14:06

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: yaourt: pacman frontend

wain wrote:

not "fast" as tupac with complex cache system (I find this useless)

Hi wain, tupac cache is intended to reduce latencies. thanks to tupac cache i made qupac (only prelimiar version), a pacman gui that implements "search as you type". From the begginning the idea of tupac was to help gui developers.
Also, it doesn't keep you waiting for a long time with a "please wait, reading packages" message and, since it updates cache automatically, it also avoids the "reload database" button you use to find in pacman guis.

Now you know which is the use for cache tongue

Offline

#240 2008-02-11 17:25:15

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

Maybe someone will make a gui for yaourt with "search as you type" :-D
For now, cache is not needed in yaourt. Thank's to pacman-cage, it's fast enough here 8-)

Offline

#241 2008-02-17 19:09:13

xchllataa
Member
Registered: 2008-01-24
Posts: 12

Re: yaourt: pacman frontend

There is a problem with yaourt -Sw command.

If I tries to download (not install) a package which conflicts with an already installed package, yaourt -Sw wants to remove this installed package.

$  yaourt -Qs notification-daemon
extra/notification-daemon 0.3.7-3
   Notification daemon for the desktop notifications framework

$  yaourt -Si notification-daemon-xfce
...
Provides       : notification-daemon  
Conflicts With : notification-daemon  
...

$  yaourt -Sw notification-daemon-xfce
resolving dependencies...
looking for inter-conflicts...
:: notification-daemon-xfce conflicts with notification-daemon. Remove notification-daemon? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: notification-daemon-xfce: conflicts with notification-daemon

'pacman -Sw' just downloads a package and saves it in cache.

Is it a bug?

Offline

#242 2008-02-18 08:41:57

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: yaourt: pacman frontend

Hi!

I have a question about the security system of yaourt. My french isn't that good, so I didn't get the information on the "official" sites.

In pacman, I have to use "sudo pacman -Syu" and type in my password. When I want to install a package from AUR and use "sudo yaourt -S <packagename>" I get the right information, that it is not recommended to build packages from AUR as root. So I retried it as normal user and could install that package.

After that, I tried a full system upgrade, but used "yaourt -Syu" as normal user and it worked. So, can a normal user install packages with yaourt? I've seen the information about sudoers after installing yaourt, but didn't know, what to do (I'm quite new to arch).

So, what I ask for is a short "Informations about sudo/security/sudoers and yaourt for dummys".

Thanks and best regards

Barghest

Offline

#243 2008-02-18 09:14:53

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

Hi Barghest,
As you know, it is not recommended to build packages from AUR Unsupported as root. I recommend to launch yaourt as user, so the build process is done "as user". To install the builded packages, yaourt just try to run pacman with sudo, or ask the root password.

pacman need to be run as root only for install/remove/upgrade. You can sometimes run pacman as user (pacman -Ss, pacman -Sg, pacman -Si, pacman -Qs etc..)
yaourt try to be more friendly:
- you run yaourt as user for all operations (yaourt -S package, yaourt -Su --aur, yaourt -Rcs, etc..)
- without sudo installed: yaourt ask you root password only when operation need it (install/remove package)
- with sudo installed and pacman allowed to be run without password: yaourt use sudo automatically when needed (install/remove package)
To allow your user to run pacman as root without password, just add this line in /etc/sudoers:

barghest ALL=NOPASSWD: /usr/bin/pacman

This method is safe as long as you are the only one to know the barghest's password wink

@xchllataa: -Sw will be fixed in next release

Offline

#244 2008-02-18 10:47:17

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: yaourt: pacman frontend

Hi Wain,

thanks for your quick and very helpfull answer!

BTW: Thanks for this great tool smile

Barghest

Offline

#245 2008-02-20 08:29:17

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: yaourt: pacman frontend

Hi I was trying to install emesene from AUR with the latest yaourt, just a question about some messages it displays before I proceed:

$ yaourt emesene
1 community/emesene r999-1 [installed]
    A pygtk MSN Messenger client
2 aur/emesene-svn 1015-1
    An OS independent MSN Messenger client writed in python and GTK
==>  Enter n° (separated by blanks, or a range) of packages to be installed
     Example:   '1 6 7 8 9'   or   '1 6-9'
==>   ----------------------------------------------
2
==> Resuming previous build

==> Downloading emesene-svn PKGBUILD from AUR...

==> Last 5 comments ordered by date (asc):

Comment by: pressh on 20080102 [20:39:32]
please make sure you use the correct license (take a look at the emesene package). Also don't create files from within the PKGBUILD. Create it yourselve and add to the source array.

Comment by: Firetux on 20080119 [17:13:44]
- Update to last version
- Fix PKGBUILD according to official one package

Comment by: dx on 20080209 [16:29:36]
Update to 1013 please! :D

Comment by: Firetux on 20080212 [20:41:01]
- Updated to last version (1015)

Comment by: xZaiN on 20080212 [21:07:50]
That was fast :P
just uploaded the rev1014 a couple of hours ago to my arch repository, guess i'll be updating once more today.

      First Submitted: Thu, 28 Dec 2006 19:12:15 +0000
      Last Updated: Tue, 12 Feb 2008 20:41:01 +0000
emesene-svn 1015-1 (Unsupported): An OS independent MSN Messenger client writed in python and GTK

==> emesene-svn dependencies:
 - python (already installed)
 - pygtk (already installed)
 - subversion (package found)
==>  Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
==>   ----------------------------------------------
==>n

==>  Continue the building of 'emesene-svn'? [Y/n]
==>   ----------------------------------------------
==>y



==> Building and installing package
[b]mkdir: cannot create directory `/var/abs': Permission denied[/b]
[b]==> WARNING: Unable to write in /var/abs/local/yaourtbuild/emesene-svn directory. Using /tmp directory[/b]
==> Determining latest svn revision...
/usr/bin/makepkg: line 1004: svn: command not found
==> Making package: emesene-svn 1015-1  (Wed Feb 20 19:11:15 EST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets: neon-0.27.2-1  apr-1.2.12-1  apr-util-1.2.12-1  subversion-1.4.5-2  

Total Download Size:    5.82 MB

Proceed with installation? [Y/n] n

Now i have allowed pacman to be run without password by editing the sudoers like you mentioned before so what does it mean by these messages? And is it alright to let yaourt use /tmp or should I do something else with abs?:

mkdir: cannot create directory `/var/abs': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/emesene-svn directory. Using /tmp directory

Last edited by ST.x (2008-02-20 08:31:39)

Offline

#246 2008-02-20 08:54:30

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

Hi smile

First, this error is not critical:

mkdir: cannot create directory `/var/abs': Permission denied

Yaourt try to save svn/cvs/git packages in /var/abs/local/yaourtbuild/ to be faster the next time.
You have to allow your user to write in the local directory in ABS-tree

# gpasswd -a stx abs
# chown -R stx.abs /var/abs/local/

But this is not the real problem, yaourt use automatically /tmp instead of abs tree.

To build this package, you have to install "subversion":

/usr/bin/makepkg: line 1004: svn: command not found

wink

Offline

#247 2008-02-20 10:55:27

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: yaourt: pacman frontend

wain wrote:

Hi smile

First, this error is not critical:

mkdir: cannot create directory `/var/abs': Permission denied

Yaourt try to save svn/cvs/git packages in /var/abs/local/yaourtbuild/ to be faster the next time.
You have to allow your user to write in the local directory in ABS-tree

# gpasswd -a stx abs
# chown -R stx.abs /var/abs/local/

But this is not the real problem, yaourt use automatically /tmp instead of abs tree.

To build this package, you have to install "subversion":

/usr/bin/makepkg: line 1004: svn: command not found

wink

okay, thanks for the fast reply. Also just in case is it really recommended that I install the ABS package like it says in the wiki if im just going to be using yaourt for installing stuff from aur.

Offline

#248 2008-02-20 11:31:48

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

No abs package is not requierd. You can mkdir -p /var/abs/local/ manually.
yaourt -G + yaourt -Sb replace replace favourably 'abs'.

Offline

#249 2008-02-20 12:21:22

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: yaourt: pacman frontend

wain wrote:

No abs package is not requierd. You can mkdir -p /var/abs/local/ manually.
yaourt -G + yaourt -Sb replace replace favourably 'abs'.

Okay i've done mkdir -p /var/abs/local/ do I still need to do:
gpasswd -a stx abs
chown -R stx.abs /var/abs/local/

Since there is no abs group because I didn't install abs or do I create the group manually as well and then add myself and do chown for the directory.

thanks

Offline

#250 2008-02-20 14:42:37

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

yes add the abs group manually and chown the local directory smile

Offline

Board footer

Powered by FluxBB