You are not logged in.
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.
Offline
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
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
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
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
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
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
Why is new packer config file in home directory?
Isn't proper place XDG_CONFIG_DIR ?
Offline
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
Offline
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
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
It's seem that packer is not actively developed recently.
Offline
It's seem that packer is not actively developed recently.
Why do you say that? The last commit was one month ago.
Offline
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
If it aint broke, don't fix it
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
Anyone knows why is this happening?
I've been using 'packer -Syu --auronly' for ages and I have no problems.
Offline
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.
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
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
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
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
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
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/packerDoes 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
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
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.
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
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