Re: [arch-general] Updating AUR package with pacman

2012-07-20 Thread Karol Blazewicz
On Thu, Jul 19, 2012 at 6:44 PM, Thorsten Jolitz  wrote:
> Packer must be new somehow, did not hear about it before (only about
> yaourt).

The thread is 2.5 years old
https://bbs.archlinux.org/viewtopic.php?id=88115 and the wiki
https://wiki.archlinux.org/index.php/AUR_Helpers lists some other
helpers too.


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Jayesh Badwaik
On Thursday 19 Jul 2012 18:44:13 Thorsten Jolitz wrote:
> Jonathan Dlouhy  writes:
> 
> > On 07/19/2012 12:18 PM, Jayesh Badwaik wrote:
> >> On Thursday 19 Jul 2012 17:13:44 Thorsten Jolitz wrote:
> >>> Hi List,
> >>>
> >>> when I want to install a new version from an already installed AUR
> >>> package - do I have to remove the old version first, or do I simply
> >>> follow the same steps as if there would be no old version on my machine
> >>> and pacman takes care of everything?
> >>>
> >>>
> >> You can just install the new version. Pacman takes care of it. But
> >> even better would be to use something like packer/yaourt.
> >
> > packer -Syu --auronly
> 
> Packer must be new somehow, did not hear about it before (only about
> yaourt). So this would render my git-clone of the AUR repo superfluous,
> because it makes AUR packages as easily installable and updatable like
> packages form the official repos?
> 
> 
To answer your question - Yes. But you have to be careful. First do your normal 
system upgrade through pacman

pacman -Syu

and after that update AUR packages. Do not install normal packages through 
packer or yaourt, there have been some problems last time I was reading about 
it.

-- 
Jayesh Badwaik
stop html mail  | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Cheer Xiao
2012/7/20 Christian Hesse :
> Don deJuan  on Thu, 2012/07/19 09:53:
>> On 07/19/2012 09:52 AM, Christian Hesse wrote:
>> > Thorsten Jolitz  on Thu, 2012/07/19 18:44:
>> >> [...] So this would render my git-clone of the AUR repo superfluous,
>> >> [...]
>> >
>> > Oh, wait! Is AUR accessible via git? That would be really great!
>> >
>>
>>  From the wiki:
>>   Git Repo
>>
>> A Git Repo of the AUR is maintained by Thomas Dziedzic providing package
>> history among other things. It is updated at least once a day. To clone
>> the repository (several hundred MB):
>>
>> $ git clone git://pkgbuild.com/aur-mirror.git
>
> Nice!
>
> Though I would prefer a rsync interface. I do not need package history and
> would like to save the disk space...

There is also aur3[1]. It offers metadata (things you see on the
package pages of AUR website) in additional to PKGBUILDs. It doesn't
provide rsync access, but I found 18MB (PKGBUILD + metadata, it's
compressed) is acceptable.

aur3 also has a really neat JSON API, offering full regex searching.

1. http://aur3.org/


-- 
Regards,
Cheer Xiao


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread mike cloaked
On Thu, Jul 19, 2012 at 4:18 PM, Jelle van der Waa  wrote:
> On 19/07/12 17:13, Thorsten Jolitz wrote:
>>
>> Hi List,
>>
>> when I want to install a new version from an already installed AUR
>> package - do I have to remove the old version first, or do I simply
>> follow the same steps as if there would be no old version on my machine
>> and pacman takes care of everything?
>>
> Just build a new version of the AUR package and pacman will update it by
> installing the new package.
>

Yes after building from the AUR:
pacman -U path/to/package-compressed-xz-file

Interestingly I have tigervnc installed, that until recently used to
be in AUR - last night when I did pacman -Syu I found this package had
moved to community and obligingly updated to the new version without
me doing anything special - nice!

-- 
mike c


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Christian Hesse
Don deJuan  on Thu, 2012/07/19 09:53:
> On 07/19/2012 09:52 AM, Christian Hesse wrote:
> > Thorsten Jolitz  on Thu, 2012/07/19 18:44:
> >> [...] So this would render my git-clone of the AUR repo superfluous,
> >> [...]
> >
> > Oh, wait! Is AUR accessible via git? That would be really great!
> >
> 
>  From the wiki:
>   Git Repo
> 
> A Git Repo of the AUR is maintained by Thomas Dziedzic providing package 
> history among other things. It is updated at least once a day. To clone 
> the repository (several hundred MB):
> 
> $ git clone git://pkgbuild.com/aur-mirror.git

Nice!

Though I would prefer a rsync interface. I do not need package history and
would like to save the disk space...
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c && ./sig*/b/42*2-3)*42);}


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Don deJuan

On 07/19/2012 09:52 AM, Christian Hesse wrote:

Thorsten Jolitz  on Thu, 2012/07/19 18:44:

[...] So this would render my git-clone of the AUR repo superfluous, [...]


Oh, wait! Is AUR accessible via git? That would be really great!



From the wiki:
 Git Repo

A Git Repo of the AUR is maintained by Thomas Dziedzic providing package 
history among other things. It is updated at least once a day. To clone 
the repository (several hundred MB):


$ git clone git://pkgbuild.com/aur-mirror.git

https://wiki.archlinux.org/index.php/Arch_User_Repository

hth


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Christian Hesse
Thorsten Jolitz  on Thu, 2012/07/19 18:44:
> [...] So this would render my git-clone of the AUR repo superfluous, [...]

Oh, wait! Is AUR accessible via git? That would be really great!
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c && ./sig*/b/42*2-3)*42);}


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Thorsten Jolitz
Jonathan Dlouhy  writes:

> On 07/19/2012 12:18 PM, Jayesh Badwaik wrote:
>> On Thursday 19 Jul 2012 17:13:44 Thorsten Jolitz wrote:
>>> Hi List,
>>>
>>> when I want to install a new version from an already installed AUR
>>> package - do I have to remove the old version first, or do I simply
>>> follow the same steps as if there would be no old version on my machine
>>> and pacman takes care of everything?
>>>
>>>
>> You can just install the new version. Pacman takes care of it. But
>> even better would be to use something like packer/yaourt.
>
> packer -Syu --auronly

Packer must be new somehow, did not hear about it before (only about
yaourt). So this would render my git-clone of the AUR repo superfluous,
because it makes AUR packages as easily installable and updatable like
packages form the official repos?

-- 
cheers,
Thorsten



Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Jonathan Dlouhy

On 07/19/2012 12:18 PM, Jayesh Badwaik wrote:

On Thursday 19 Jul 2012 17:13:44 Thorsten Jolitz wrote:

Hi List,

when I want to install a new version from an already installed AUR
package - do I have to remove the old version first, or do I simply
follow the same steps as if there would be no old version on my machine
and pacman takes care of everything?



You can just install the new version. Pacman takes care of it. But even better 
would be to use something like packer/yaourt.


packer -Syu --auronly


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Jayesh Badwaik
On Thursday 19 Jul 2012 17:13:44 Thorsten Jolitz wrote:
> 
> Hi List, 
> 
> when I want to install a new version from an already installed AUR
> package - do I have to remove the old version first, or do I simply
> follow the same steps as if there would be no old version on my machine
> and pacman takes care of everything?
> 
> 

You can just install the new version. Pacman takes care of it. But even better 
would be to use something like packer/yaourt. 
-- 
Jayesh Badwaik
stop html mail  | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html


Re: [arch-general] Updating AUR package with pacman

2012-07-19 Thread Jelle van der Waa
On 19/07/12 17:13, Thorsten Jolitz wrote:
> 
> Hi List, 
> 
> when I want to install a new version from an already installed AUR
> package - do I have to remove the old version first, or do I simply
> follow the same steps as if there would be no old version on my machine
> and pacman takes care of everything?
> 
Just build a new version of the AUR package and pacman will update it by
installing the new package.


-- 
Jelle van der Waa



signature.asc
Description: OpenPGP digital signature