News for hackers. Stuff that matters.
Re:Why AUR is part of the Arch Linux Success by LeafStorm on Tuesday November 01, 2011 @09:16AM (#3181818)
And the AUR is largely possible because of pacman. Debian and RPM packages are very complex, and take a lot of effort to build, so even if there was a large collection of package source files available, downloading and building them is not an especially efficient solution for getting fresh software.

Whereas pacman packages are simple enough that an arbitrary package can be built using a single (admittedly quite large) shell script from another single source file.

Re:Why AUR is part of the Arch Linux Success by ch0wn on Tuesday November 01, 2011 @09:37AM (#3181898)
This is a very important point. The learning curve for building Arch packages with pacman is ridiculously low compared with RPM or Debian packages.

My biggest grief back when I used Arch was the missing support for signed packages. Has there been any work in that direction in the meantime?

Re:Why AUR is part of the Arch Linux Success by 286c8cb04bda on Tuesday November 01, 2011 @09:43AM (#3181933)
There's been significant progress in that direction. Package signing[1] is the major new feature in pacman 4[2].

[1] https://wiki.archlinux.org/index.php/Package_signing

[2] http://projects.archlinux.org/pacman.git/tree/NEWS

Re:Why AUR is part of the Arch Linux Success by wazoox on Tuesday November 01, 2011 @10:02AM (#3182030)
How is it difficult to build a Debian package? I often make quick'n'dirty debian packages by hand.

In a directory (let's say /tmp/PKG) put all your files in the proper tree (/tmp/PKG/usr/local/bin, etc); then create a DEBIAN folder (/tmp/PKG/DEBIAN) with a control file in it. The control file structure is quite straightforward.

You can add preinst, postinst, prerm and postrm scripts as needed (in whatever language you fancy, sh, perl, etc) too. And that's about it, dpkg -b /tmp/PKG mypackage.deb.

Re:Why AUR is part of the Arch Linux Success by foomanchu on Tuesday November 01, 2011 @10:42AM (#3182227)
Try backporting a package that depends on packages whose versions are older in the target release. It is a real nightmare and the packages themselves already exist. This is the most common use case I encounter that it much better handled by Arch.
Re:Why AUR is part of the Arch Linux Success by Nic0 on Tuesday November 01, 2011 @09:50AM (#3181973)
Re:Why AUR is part of the Arch Linux Success by spystath on Tuesday November 01, 2011 @09:51AM (#3181982)
AFAIK, The next version of pacman will support package signing. I suppose signed packages should begin to appear in the repositories as soon as pacman 4.0 is out.
Re:Why AUR is part of the Arch Linux Success by adestefan on Tuesday November 01, 2011 @10:54AM (#3182298)
It's already in -testing.
Re:Why AUR is part of the Arch Linux Success by gilgad13 on Tuesday November 01, 2011 @09:45AM (#3181942)
Yes, they just added it.

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

Its been a bit of a headache for me, but that's mostly because I can't just blindly `pacman -Syu` through the update.

Re:Why AUR is part of the Arch Linux Success by bcl on Tuesday November 01, 2011 @10:16AM (#3182106)
Small correction, rpm can be complex, but a basic package is really easy. A few lines of package.spec file an a tarball of the package source. rpmbuild or mock handle all the grunt work of building the actual package and making a repo is as simple as running createrepo.
Re:Why AUR is part of the Arch Linux Success by foomanchu on Tuesday November 01, 2011 @09:40AM (#3181919)
How robust is Arch? I am tempted to move from Ubuntu for the packaging system but I had bad experiences with Gentoo several years ago which makes me place a high value on keeping a working system without much maintenance or troubleshooting.
Re:Why AUR is part of the Arch Linux Success by bitwize on Tuesday November 01, 2011 @01:12PM (#3183039)
The core (i.e., non-AUR stuff) is pretty tock-solid. I switched from Gentoo to Arch a while ago, and the ease with which Arch can be managed is phenomenal.

I want an OS that:

* works

* stays the way I left it

* won't do things behind my back

* has a lot of packages for stuff that don't need to be built from source

Arch qualifies, Ubuntu doesn't qualify, Gentoo doesn't, Windows doesn't, and Mac OS X doesn't. If you're a user like me, Arch is for you.

Re:Why AUR is part of the Arch Linux Success by Nick_C on Saturday November 05, 2011 @05:42AM (#3199388)
For those reading this to pick up info, Slackware qualifies for all four points (depending on how big you mean for a lot), as does any of the BSDs.
Re:Why AUR is part of the Arch Linux Success by foobarqux on Tuesday November 01, 2011 @08:17PM (#3184778)
How many times has an upgrade broken something?
Re:Why AUR is part of the Arch Linux Success by dfc on Tuesday November 01, 2011 @10:02PM (#3185047)
Debian:

`apt-get install apt-listchanges apt-listbugs etckeeper`

Done.

Re:Why AUR is part of the Arch Linux Success by Nic0 on Tuesday November 01, 2011 @10:04AM (#3182044)
Arch became stable. The package manager Pacman is mature. The advantage with Arch it's that you don't have to compile every packages from the sources, as Gentoo does, so it's faster, and easier to maintain. Arch absolutely worth a try. Only package from AUR needed to be compile, but it's for more specific package. For example, kernel, xorg, Gnome and so on are available with pacman as binary.
Re:Why AUR is part of the Arch Linux Success by foobarqux on Tuesday November 01, 2011 @08:16PM (#3184774)
The question is not whether the package manager itself is stable but what degree of quality assurance is present in the packages themselves and in interdependencies between packages. I was always afraid to run "emerge world" because of how often it would break my system.
Re:Why AUR is part of the Arch Linux Success by hapless on Tuesday November 01, 2011 @02:17PM (#3183345)
AUR is part of the problem that Debian Linux seeks to solve. AUR gets you 32,000 packages with uncertain quality and provenance. It's about two steps from downloading a zip file of binaries off the internet.

Debian has 29,000 packages that conform to a set of policies, with careful change control and vetted, active maintainers for each one.

Re:Why AUR is part of the Arch Linux Success by beej71 on Tuesday November 01, 2011 @02:25PM (#3183389)
The two methods are certainly not mutually exclusive, and reflect the differing needs of the user bases. We could just as easily say Debian is part of the problem that AUR seeks to solve, but "problem" is a bit of a loaded word.
Re:Why AUR is part of the Arch Linux Success by hollerith on Tuesday November 01, 2011 @07:57PM (#3184720)
I ran Debian for years and respect it. The reason I switched to Arch Linux is the complexity of the Debian system coupled with the assumption made by most Debian writers and maintainers that learning great gobs of stuff about Debian is a good use of my time.

What would be ideal is a distro that combines Arch Linux's ethic of keeping small the amount of stuff a guy has to learn to make a change to the system with Debian's loving craftsmanship.

I still have fond memories of how much saner the default configuration of Lynx was on Debian Potato and Woody than on other distros (including Arch Linux) and how well integrated Lynx was with the rest of the system.

Re:Why AUR is part of the Arch Linux Success by dfc on Tuesday November 01, 2011 @09:57PM (#3185034)
I hope you do not interpret this as a troll but what did you find too confusing about debian? I have been a debian user for 14ish years now so my viewpoint is a little biased.

As far as "learning about debian" goes what distro specific stuff did you have to learn that you have not needed to bother with in Arch? Whenever I have flirted with other distros there is always a little learning curve at first; gentoo/emerge, *bsd/ports, redhat/rpm, etc.

Re:Why AUR is part of the Arch Linux Success by hollerith on Tuesday November 01, 2011 @11:11PM (#3185213)
There might be an inaccuracy in my recollection because I have not been using Debian since 2006.

The shell scripts that run when the OS boots (in /etc/init.d/ and /etc/rc* IIRC) are a lot more numerous on Debian than on Arch -- or so I seem to recall. So for example I remember that trying to increase my boot speed by identifying and disabling unneeded services was an exercise in frustration. I configured my Arch Linux to boot to the text-mode console, and if I wanted to start X and Gnome, I used startx. I probably never tried to do the same thing in Debian, but am left with the distinct impression that it would have been harder. (Why would I want to do that? As a procrastination-reduction measure: when I wanted to focus on work, I would quit Gnome and X. On my slow machine, it would take a good 30 seconds or more for Gnome to restart, and the thing about procrastination -- at least for me -- is that if I can arrange it so that the decision to procrastinate is not immediately rewarding, then the temptation to procrastinate becomes weaker. I realize most people do not need their Linux install to help them fight procrastination, but this is an example of my tailoring my install to my particular needs, so I think it is relevant to whether Debian or Arch is easier to customize.)

When you build something from source on Arch, it takes very little additional effort to arrange it so that Pacman can install it and the arch build system can rebuild it from source. And if you make the effort, it becomes easy at a later date to look up what you did to get the software to compile, so the (again, mild) additional effort ends up saving you time in the long run when you need to rebuild stuff you built years ago. And since pacman installed every file in my /usr and my /bin, if I ever needed to know where a file in /usr or /bin came from, pacman was able to tell me even if I had compiled the software from source. I know that all this is doable on Debian, but doing it on Arch is very very easy. So I liked building stuff from source on Arch better.

Re:Why AUR is part of the Arch Linux Success by alexis-d on Tuesday November 01, 2011 @09:01AM (#3181757)
It's more than a part, it's a huge part. It's really easy to use, and you can find everything in it!
Re:Why AUR is part of the Arch Linux Success by Palomides on Tuesday November 01, 2011 @11:12AM (#3182407)
semi-related question to the arch users: are you running arch on production systems, or personal systems (or both)?
Re:Why AUR is part of the Arch Linux Success by nakkiel on Tuesday November 01, 2011 @03:43PM (#3183824)
I personally don't but I know a high-profile web-developper who does.

Now, how often do you guys actually perform upgrades on a production box (security aside)?

I go by this rule: If it ain't broke, don't fix it.

It should be noted that a lot of the important stuff is now off-loaded to language-specific package management. Python libraries are a good example with virtualenv and your-sensible-python-package-installer, the actual distro repository doesn't matter that much anymore.

Re:Why AUR is part of the Arch Linux Success by beej71 on Tuesday November 01, 2011 @02:27PM (#3183401)
Personal. I love Arch, but lack of a separate channel for security updates pushes me toward other production systems. (Not saying it can't be done--don't want to start that argument.)
Re:Why AUR is part of the Arch Linux Success by loungin on Tuesday November 01, 2011 @12:00PM (#3182667)
Both. I absolutely love it.
Re:Why AUR is part of the Arch Linux Success by vially on Tuesday November 01, 2011 @11:23AM (#3182466)
I'm running it on both (personal and aws).
Re:Why AUR is part of the Arch Linux Success by gorm on Tuesday November 01, 2011 @04:24PM (#3183974)
How are things going regarding signing of packages to prevent man-in-the-middle attacks? Looking forward to give arch a closer try, but this is still a big showstopper because I would like to sync while I'm on e.g. an open airport network without the man-in-the-middle security hole.
Re:Why AUR is part of the Arch Linux Success by dfc on Tuesday November 01, 2011 @10:04PM (#3185056)
I'm a debian user so I do not know a lot about PPA but I'm atleast aware of ubuntu' ppa. What's the difference? (Other than signed packages;)
Re:Why AUR is part of the Arch Linux Success by parshap on Tuesday November 01, 2011 @08:53AM (#3181733)
> For example, if I try Node.js, I do not want the version of last year, but the latest.

http://aur.archlinux.org/packages.php?O=0&K=nodejs&d...

That is not a very impressive list.

Re:Why AUR is part of the Arch Linux Success by dho on Tuesday November 01, 2011 @10:38AM (#3182208)
The latest stable version of Node.js is available in the official Community repo: http://www.archlinux.org/packages/?q=nodejs
Re:Why AUR is part of the Arch Linux Success by adestefan on Tuesday November 01, 2011 @09:03AM (#3181769)
I'm not a node person, but isn't that exactly what you want? There's node and npm. You install those two and then get everything else via npm.
Re:Why AUR is part of the Arch Linux Success by parshap on Tuesday November 01, 2011 @09:10AM (#3181793)
The package name (nodejs-git 20110613-1) confused me. I assumed it was a snapshot from 2011-06-13, but after looking at the PKGBUILD file I see that it is cloning the github repo. My mistake.
Re:Why AUR is part of the Arch Linux Success by copper on Tuesday November 01, 2011 @09:18AM (#3181821)
fwiw, aur packages with the -(cvs|hg|git|svn) suffix usually track the development, while the date actually refers to when the build was last updated. Installing the package will actually give you today's date as the version tag. I can see why the confusion happens, though :)
Re:Why AUR is part of the Arch Linux Success by mcrittenden on Tuesday November 01, 2011 @09:32AM (#3181873)
As a new Arch user, this is really useful info. I too was confused by this and I've been avoiding packages with names like these.
Re:Why AUR is part of the Arch Linux Success by copper on Tuesday November 01, 2011 @10:40AM (#3182216)
Hm, as a general rule, I'd actually suggest continuing to avoid such packages in general, unless you know that they're what you need: you need to track whether there's been a source code update, whether someone broke the upstream build, whether your current versions of other packages depend on it

(example: x264-git, pretty much requires that you also install libav-git/mplayer-git, and then of course blender doesn't work, and so on. It can become quite messy at times.)

Re:Why AUR is part of the Arch Linux Success by Nic0 on Tuesday November 01, 2011 @09:02AM (#3181761)
Node.js have a packet manager (npm), so I guess not so much developers bothers to make a PKGBUILD for a module.
Re:Why AUR is part of the Arch Linux Success by gtaylor on Tuesday November 01, 2011 @09:01AM (#3181760)
Definitely love some AUR!
Re:Why AUR is part of the Arch Linux Success by xxiao on Tuesday November 01, 2011 @09:47AM (#3181963)
packaging is the easy part, how do they maintain all the dependencies among packages? will that be scalable? otherwise it will be a mess quickly.
Re:Why AUR is part of the Arch Linux Success by freyrs3 on Tuesday November 01, 2011 @02:34PM (#3183437)
It's worked pretty well for the last three years. Arch Linux will never reach the same scale that Ubuntu or Debian will simply because of its barrier to entry, so I imagine it should work fine for the immediate future.
Re:Why AUR is part of the Arch Linux Success by nakkiel on Tuesday November 01, 2011 @03:56PM (#3183877)
> "barrier to entry"

Seriously? Arch is KISS. There's no magic involved so I don't see how it's more difficult to use it than Debian.

Re:Why AUR is part of the Arch Linux Success by aw3c2 on Tuesday November 01, 2011 @02:47PM (#3183499)
What do you mean by scale?
Re:Why AUR is part of the Arch Linux Success by sixtofour on Tuesday November 01, 2011 @02:12PM (#3183324)
(bump) Would be great to hear an answer to this.