You are not logged in.

#651 2012-04-20 21:56:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

deficite wrote:

I know I'm coming into this post really late, and I don't feel like reading through 26 pages to make sure this hasn't been brought up already, but I think it's a bit insensitive to be flinging mud at yaourt devs. Saying their tool is poorly written in the title of your post?

As you can read in the first post in this thread, he already edited it (2 years ago). IIRC, the original title was even harsher.

Why yaourt sucks / sucked.

Offline

#652 2012-06-13 15:11:30

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Anybody have any tricks for automatically moving the .xz packages to pacman cache after packer-ing?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#653 2012-06-13 20:46:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

alphaniner wrote:

Anybody have any tricks for automatically moving the .xz packages to pacman cache after packer-ing?

Do you mean something like

sudo find /tmp/ -name "*pkg.tar*" -exec mv '{}' /var/cache/pacman/pkg/ \;

Calling it

packer <options> && <the line above>

seems to work.

Offline

#654 2012-06-13 21:14:52

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

I'm going to make a function along those lines if there isn't a better solution.

I was hoping someone would say "Just use this undocumented flag" or "That's coming in the next version" or something.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#655 2012-06-14 08:52:43

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

You might want to have a look at meric, a recent packer forks that seems to handle this feature. Some other similar helpers do it (such as pacaur, but there are others). Packer does not seems to be developed very actively anymore.

Last edited by Spyhawk (2012-06-14 09:07:18)

Offline

#656 2012-07-19 15:14:00

bruno321
Member
Registered: 2010-03-05
Posts: 89

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

I have qbittorrent 2.9.5 installed. It is now in version 2.9.11 in AUR. But I'm not able to update it (and perhaps the same thing is happening with some other packages) with packer:

:: Synchronizing aur database...
 aur                                       103  103 [###################] 100%
:: Starting full aur upgrade...
 local database is up to date

but then

$ packer -S qbittorrent
warning: qbittorrent-2.9.5-1 is up to date -- reinstalling

Aur Targets    (1): qbittorrent

Am I doing something wrong?

EDIT: Well, I ignored the warning and it installed the latest version. But why the (false) warning? Why isn't it upgraded by doing 'packer -Syu' ? I looked up another AUR package and the same thing happens (there's an old version installed that is not upgraded when packer -Syu'ing).

EDIT: Ok, I manually updated packer and I think it will work. However, I'm getting another strange problem:

 $ packer -Syu --auronly
:: Synchronizing aur database...
 aur                                      102  102 [####################]100%
:: Starting full aur upgrade...

and it just hangs there.

EDIT: (Sorry to be annoying) well, it stood there for a GOOD while (left the computer for two hours, when I came back it was prompting me). It's now updating the old packages. It seems it was just an old packer version which I needed to update manually first. Sorry for the inconvenience, I'll leave the post just in case someone else has the same problem.

Last edited by bruno321 (2012-07-19 20:26:16)

Offline

#657 2012-07-19 22:01:04

mloskot
Member
From: London, United Kingdom
Registered: 2012-06-01
Posts: 86
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Hi,

First, thanks for the packer. It's a great little utility.

I updated the script and added configurable package cache.

Motivation:
* I like to keep builds of AUR packages in $HOME/aur
* Before packer, I used to update/install AUR packages manually.
* packer makes the whole process easier and faster.
* Configuration of locations in makepkg.conf affects more aspects than necessary for packer.
* But, I still want to keep the AUR builds.

The configuration is dead simple and sourced from /etc/packer.conf or ~/.packer.conf.
The script as well as the man page has bee updated
The feature is available from mloskot-options branch at my https://github.com/mloskot/packer/

Here is paste with PKGBUILD file for my forked version of packer: https://gist.github.com/3147316

I also submited pull request to the upstream: https://github.com/bruenig/packer/pull/72

IMPORTANT: This is very first release of the cache feature and I haven't tested all possible scenarios. Watch your Arch!

Last edited by mloskot (2012-07-19 22:40:45)


Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400  | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M

Offline

#658 2012-07-20 01:34:39

fschiff
Member
Registered: 2011-10-06
Posts: 71

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Why is new packer config file in home directory?
Isn't proper place XDG_CONFIG_DIR ?

Offline

#659 2012-07-20 08:36:51

mloskot
Member
From: London, United Kingdom
Registered: 2012-06-01
Posts: 86
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

fschiff wrote:

Why is new packer config file in home directory?
Isn't proper place XDG_CONFIG_DIR ?

I assume you refer to my enhancement and the ~/.packer.conf file. It simply was arbitrary choice, haven't thought about XDG_CONFIG_DIR. Patches welcome.
However, Matthew's not going to accept my pull request, so I think it's no longer a good idea to discuss my fork here - I don't want to hijack Matthew's thread.


Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400  | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M

Offline

#660 2012-07-26 23:08:06

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

I am having some problem with Packer. It seems to have been stuck in a loop. It will keep installing the same file until i kill it.

Offline

#661 2012-09-19 20:33:08

mloskot
Member
From: London, United Kingdom
Registered: 2012-06-01
Posts: 86
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

outerdark wrote:

The new Patch just adds more explicite globbing with version and release nr.
http://pastie.org/1707575


IMHO, it's a good fix and useful to avoid annoying duplicate target errors.
I have ported this patch to the current packer and submitted pull request to github.


Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400  | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M

Offline

#662 2012-10-11 21:45:44

johni
Member
Registered: 2012-02-03
Posts: 102

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

mloskot,

I found a nice unintended side effect of your packer.conf fork.   Because you just source in the packer.conf, I can add "noedit=1" to /etc/packer.conf, and it acts as if I put "--noedit" on the command line. 

I like it!

Offline

#663 2012-10-27 04:21:50

SuperBo
Member
Registered: 2012-02-20
Posts: 45

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

It's seem that packer is not actively developed recently.

Offline

#664 2012-10-27 18:58:20

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

SuperBo wrote:

It's seem that packer is not actively developed recently.

Why do you say that? The last commit was one month ago.

Offline

#665 2012-10-27 20:03:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

drcouzelis wrote:
SuperBo wrote:

It's seem that packer is not actively developed recently.

Why do you say that? The last commit was one month ago.

But there's not much going on apart from that. Maybe author believes it to be complete.

Offline

#666 2012-10-27 20:32:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

If it aint broke, don't fix it  smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#667 2012-11-14 14:26:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Anyone knows why is this happening?

I've been using 'packer -Syu --auronly' for ages and I have no problems.

Offline

#668 2012-11-14 15:13:42

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

karol wrote:

Anyone knows why is this happening?

I've been using 'packer -Syu --auronly' for ages and I have no problems.

That's very strange. I've been sort of ignoring that thread because I assumed it was some small problem that would be fixed quickly. It looks like I was very wrong. tongue

Unfortunately I don't know why that's happening. I have been using packer consistantly for many many months and have never seen an error message. Searching the AUR has been a little slower than usual, but I also have a crappy Internet connection.

For what it's worth, since packer is a "devel" package, every once in a while I'll reinstall it to get the latest code.

Offline

#669 2012-11-24 23:27:29

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

I recently set up ArchARM on my Pandaboard. I pretty much have everything set up and working to duplicate my x86 installs except for packer.  I have it installed , but can't use it. For example, to install or update pkgbrowser:

packer -S pkgbrowser

I get an error about pkgbrowser not being available for ARMv7. But I manually built and installed pkgbrowser and all is good, as are all the other AUR and regular repo packages I've installed.

I can manually download any PKGBUILD and compile it to an installable package on my ARM system using the following command:

makepkg -Acs

I use packer to automate updating and installing from the AUR on my x86 installs. However, using the packer -S <AURpackage> doesn't work with packer on ARM. Is there a way to duplicate the -A, --ignorearch in packer?

If not, would this be something you would consider for a feature request to facilitate ARM based systems?

Last edited by jeff story (2012-11-24 23:27:55)


Check out my website for info on the Arch Linux Installer

Offline

#670 2012-11-25 04:41:43

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

jeff story wrote:

I recently set up ArchARM on my Pandaboard. I pretty much have everything set up and working to duplicate my x86 installs except for packer.  I have it installed , but can't use it. For example, to install or update pkgbrowser:

packer -S pkgbrowser

I get an error about pkgbrowser not being available for ARMv7. But I manually built and installed pkgbrowser and all is good, as are all the other AUR and regular repo packages I've installed.

I can manually download any PKGBUILD and compile it to an installable package on my ARM system using the following command:

makepkg -Acs

I use packer to automate updating and installing from the AUR on my x86 installs. However, using the packer -S <AURpackage> doesn't work with packer on ARM. Is there a way to duplicate the -A, --ignorearch in packer?

If not, would this be something you would consider for a feature request to facilitate ARM based systems?

Arch itself not support the ARM but I think that a feature recuest for a 'packer -Sz package' that add the -A to 'makepkg' can by possible


Well, I suppose that this is somekind of signature, no?

Offline

#671 2012-11-27 23:18:27

mloskot
Member
From: London, United Kingdom
Registered: 2012-06-01
Posts: 86
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Folks,

It looks packer has new maintainer and the repository has moved to new location:
* Old URL  : https://github.com/bruenig/packer
* New URL: https://github.com/keenerd/packer


Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400  | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M

Offline

#672 2012-11-28 20:47:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

mloskot wrote:

Folks,

It looks packer has new maintainer and the repository has moved to new location:
* Old URL  : https://github.com/bruenig/packer
* New URL: https://github.com/keenerd/packer

Does that mean that the 'I know longer develop packer. The "official" packer is now here https://github.com/keenerd/packer' note I see on https://github.com/keenerd/packer is from the previous maintainer?
It's a bit confusing (and I don't mean the typo).

Offline

#673 2012-11-28 23:26:09

mloskot
Member
From: London, United Kingdom
Registered: 2012-06-01
Posts: 86
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

karol wrote:
mloskot wrote:

Folks,

It looks packer has new maintainer and the repository has moved to new location:
* Old URL  : https://github.com/bruenig/packer
* New URL: https://github.com/keenerd/packer

Does that mean that the 'I know longer develop packer. The "official" packer is now here https://github.com/keenerd/packer' note I see on https://github.com/keenerd/packer is from the previous maintainer?
It's a bit confusing (and I don't mean the typo).

I was confused too after I spotted it.
Who is maintainer and where is official repository are two orthogonal details. There can be official repository of a project without maintainer smile

Anyway, I asked for clarification https://github.com/keenerd/packer/issues/82


Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400  | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M

Offline

#674 2012-12-10 15:07:34

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 340
Website

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Having installed the new packer from https://github.com/keenerd/packer  i still get the gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
No PKGBUILD found in directory.     error ,  any pointers appreciated.
cheers.

Offline

#675 2013-01-10 12:51:36

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: packer - New bash aur+pacman wrapper (replaces poorly written yaourt)

Hi.
Does any of packer versions/forks support building OFFICAL packages from source? Like 'yaourt -b'?
And what's the most rescent fork I should use?

Last edited by Zucca (2013-01-10 13:00:45)


K.i.s.s. <3

Offline

Board footer

Powered by FluxBB