Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:: [': 0.04; 'subject:Python': 0.06; 'lesser': 0.07; 'mentioned,': 0.07; 'postgresql': 0.07; 'versions,': 0.07; 'expense': 0.09; 'postgres': 0.09; 'sucks': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'libraries.': 0.16; 'subject: \n ': 0.16; 'throw': 0.16; "ubuntu's": 0.16; 'yum,': 0.16; 'index': 0.16; 'wrote:': 0.18; 'library': 0.18; 'else,': 0.19; 'solution.': 0.20; 'subject:] ': 0.20; '(in': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'basis,': 0.24; 'library,': 0.24; 'tend': 0.24; 'versions': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'certain': 0.27; 'header:In-Reply- To:1': 0.27; 'idea': 0.28; 'michael': 0.29; 'have,': 0.30; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'run': 0.32; 'packaging': 0.33; 'core': 0.34; 'subject:the': 0.34; 'problem': 0.35; "can't": 0.35; 'problem.': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'version': 0.36; 'application': 0.37; 'sometimes': 0.38; 'system,': 0.38; 'manager': 0.38; 'issue': 0.38; 'pm,': 0.38; 'recent': 0.39; 'system.': 0.39; 'how': 0.40; 'even': 0.60; 'solve': 0.60; 'managers': 0.61; 'new': 0.61; 'matter': 0.61; 'simply': 0.61; 'grab': 0.64; 'great': 0.65; 'managing': 0.66; 'latest': 0.67; 'between': 0.67; 'jobs': 0.68; 'mar': 0.68; 'revealed': 0.68; 'long-term': 0.74; '100%': 0.77; '2015': 0.84; 'easier,': 0.84; 'everything,': 0.84; 'inherent': 0.84; 'short,': 0.84; 'stability': 0.84; 'hardest': 0.91; 'thing,': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=JGIlYwm5oZlLe/6OpKf0otyFDBx8YaHjJTlEU+CdzMw=; b=SNpRMKVKeFZmDdk7Zv+euCRx1Km1JLmFmgLdkLxiFiIOpiFSKuNRBZR3phI9arOwGl LqxeXp0yGDYS2LkqlWfbpoknzfYek8esOdh6cooWnU529wmao3kvVc372It6xv0SO7ky GA6e0to9v7/jgxGc9mspuxAjGYYNKG5is+M63lRxqW9JFYMYRGOgdBzjMMuS3mXv75hq AZRxl4Mv0KB2JvuXzy08eCeYKIlCs7EnTNfFH+7rrXiA4MoR+N5jMI0P3PYabppA1vQq prlbcNQQVdS3ZzRXWByZN1ZJMVcYVOujtyGE9BRKMaoJlI0fLz+4XU61simS/ZlBLjGN UplA== MIME-Version: 1.0 X-Received: by 10.107.134.219 with SMTP id q88mr70358734ioi.27.1426557438213; Mon, 16 Mar 2015 18:57:18 -0700 (PDT) In-Reply-To: <55078762.6050809@gmail.com> References: <20150316025301.GA94576@cskk.homeip.net> <873855tts4.fsf@jester.gateway.sonic.net> <55068cb0$0$12923$c3e8da3$5496439d@news.astraweb.com> <8761a1gxhq.fsf@jester.gateway.sonic.net> <550710DD.3030405@gmail.com> <55078762.6050809@gmail.com> Date: Tue, 17 Mar 2015 12:57:18 +1100 Subject: Re: [OT] Weaknesses of distro package managers - was Re: Python 2 to 3 conversion - embrace the pain From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1426557440 news.xs4all.nl 2899 [2001:888:2000:d::a6]:53005 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87590 On Tue, Mar 17, 2015 at 12:46 PM, Michael Torrie wrote: > But after 20 years, the package manager idea certain has revealed many > shortcomings (in short, it sucks in many ways). Package managers work > great for setting up the core distro, and also if the packages you need > are in the repos. Distros like RHEL and Debian tend to have long-term > stability at the expense of not having recent versions of programs and > libraries. > AIUI, your main beef with the packaging system is, as you rightly note, an inherent conflict between stability and currency. Very true. RHEL especially, Debian to a somewhat lesser extent, and every OS that has a curated package system, will run into that problem. But the solution isn't necessarily to throw out the packaging system. All you need is to expand it. I don't know how you do it with yum, but with apt, you simply add something to /etc/apt/sources.list (or the .d directory), grab your index files, and install. That's how I install PostgreSQL on Debian Wheezy; the Debian repos ship Postgres 9.1, but by simply adding the apt.postgresql.org repo, I can grab 9.4 using the exact same system. Ubuntu's PPA system achieves the same thing, as mentioned, but even without PPAs, you can still have multiple repositories. The hardest part is managing library versions, and that's always going to be a problem. Sometimes the latest version of an application demands a newer version of a library than you have, and if you upgrade that library, you might need to upgrade a whole lot else, too, so you may as well upgrade everything and call it a new version of the distro. The versioning problem is just as much an issue no matter how you try to cope with it. Package managers can't magically solve everything, but they can make a lot of jobs easier, so on that basis, I say they're beneficial. We don't need a 100% solution to be able to make use of a 90% solution. ChrisA