You are not logged in.

#1 2008-07-14 01:54:07

colinzhengj
Member
From: Cambridge, MA
Registered: 2007-03-20
Posts: 23
Website

Planning to leave Arch and looking for a distro..(Update: came back..)

Hi all,

I've been a loyal arch user for 1.5 years.  Much as I've been pampered with Arch's ways to KISS, I do not appreciate certain aspect of Arch --- non-maintainability.

The problem comes from the fact that major versions of shared library are not independent packages. Naturally then newer versions overwrite the older ones by pacman.

Reason why I consider it a serious problem:
** I have a number of my own packages. I can't afford rebuilding one and each, every time a shared library used gets a new major version **

This is what makes me leave.

By definition, different major versions of shared libraries (.so) may be very much unrelated pieces of software (i.e. incompatible library interface), and to my belief, should be kept as independent packages.  That is: gpm 2.0 should not replace gpm 1.0, or all custom packages using gpm 1.0 must be rebuilt.

We've already seen the package libstdc++5 in almost every distro...

There has to be a way for different major versions of shared library to coexist.  If a recent Program X needs gpm 2.0, yet all my own packages were dynamically linked against gpm 1.0, it will be a nightmare --- either rebuild all, or you can't install Program X.

So I'd like to ask your opinions --- do you know of any distro, where each major version of a shared library is kept (in the repository) as a package on its own?  That's the only way to minimize maintanence effort on the part of the user.

-----------------

I do realize that no major distro does this --- Debian for e.g. alleviates the problem of maintenance (on user's part) with a stable repository.  To me this is a much compromised, partial solution.

Last edited by colinzhengj (2009-09-03 02:42:43)

Offline

#2 2008-07-14 03:30:56

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

I have faunos in my computer (4GB ram) and run a discless  live USB flash system.

Part of the system is a raid0 array of Compact Flash devices in SATA adapters with two 8GB CF cards.

I load the CF cards with pacman --cachedir data.  With every upgrade by  -Syuw.. I add the new packages to the cachedir raid0 as new items..the older versions remain in place.  Thus, the flash device addresses new cells and overwrites do not occur.  I can then install to ram any of the desired packages and use same for the session in use.
If desired, the package can be "saved" upon reboot.  If an older package is needed for a given package for your select program, the desired packages can be grouped in a folder for installing as a special program by pacman.

This may be helpful in your situation since the older versions can be retained for your special purposes without affecting the normal upgrade process which in my situation is at my discretion from the cachedir during every session.

This procedure does not utilize /var/cache/pacman/pkg, hence, the size of the USB FLASH boot device is not affected by retaining downloaded tar gz packages with ....Syuw...(to permit retaining older versions).

The raid0 combo with SATA adapters has a read speed in hdparm of 84 MB/sec, thus access to install from cache is enhanced.

I find it works well for pacman and other items as well, not an exclusive pacman cache or "repo".


My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....

Offline

#3 2008-07-14 04:13:13

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

There is nothing stopping you having old libraries installed on your system.  Just get the old package build and adjust it so it does not conflict with the current version.

I don't know of any distro that keeps old versions of libraries lying around.  It seems to me you want a non-rolling distro so that you only have to deal with updates very irregularly.

Offline

#4 2008-07-14 04:30:21

colinzhengj
Member
From: Cambridge, MA
Registered: 2007-03-20
Posts: 23
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

lilsirecho wrote:

I have faunos in my computer (4GB ram) and run a discless  live USB flash system.

Part of the system is a raid0 array of Compact Flash devices in SATA adapters with two 8GB CF cards.

I load the CF cards with pacman --cachedir data.  With every upgrade by  -Syuw.. I add the new packages to the cachedir raid0 as new items..the older versions remain in place.  Thus, the flash device addresses new cells and overwrites do not occur.  I can then install to ram any of the desired packages and use same for the session in use.
If desired, the package can be "saved" upon reboot.  If an older package is needed for a given package for your select program, the desired packages can be grouped in a folder for installing as a special program by pacman.

This may be helpful in your situation since the older versions can be retained for your special purposes without affecting the normal upgrade process which in my situation is at my discretion from the cachedir during every session.

This procedure does not utilize /var/cache/pacman/pkg, hence, the size of the USB FLASH boot device is not affected by retaining downloaded tar gz packages with ....Syuw...(to permit retaining older versions).

The raid0 combo with SATA adapters has a read speed in hdparm of 84 MB/sec, thus access to install from cache is enhanced.

I find it works well for pacman and other items as well, not an exclusive pacman cache or "repo".

Thanks for the suggestion.  Although the old versions are retained, they can't coexist as packages parallel to the new version, if I interpreted your lines correctly.

Offline

#5 2008-07-14 04:38:22

colinzhengj
Member
From: Cambridge, MA
Registered: 2007-03-20
Posts: 23
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

That's what I've been doing.
I've packaged the older versions (needed by one custom package or another) of shared library ABC, into ABC1, ABC2 ... so that pacman lets them coexist.
But one gets tired maintaining *his* own ever-growing directed acyclic network of packages.
In the extreme it is similar to having, side by side, an LFS with the user's own package management, and an up-to-date Arch.

Allan wrote:

There is nothing stopping you having old libraries installed on your system.  Just get the old package build and adjust it so it does not conflict with the current version.

I don't know of any distro that keeps old versions of libraries lying around.  It seems to me you want a non-rolling distro so that you only have to deal with updates very irregularly.

Last edited by colinzhengj (2008-07-14 04:42:23)

Offline

#6 2008-07-14 08:07:32

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Looks like you could just write a script to rebuild all of these packages automatically. You would still need to wait for the programs to build, but it would save a lot of effort otherwise.

Offline

#7 2008-07-14 09:32:31

JGC
Developer
Registered: 2003-12-03
Posts: 1,658

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Allan wrote:

There is nothing stopping you having old libraries installed on your system.  Just get the old package build and adjust it so it does not conflict with the current version.

I don't know of any distro that keeps old versions of libraries lying around.  It seems to me you want a non-rolling distro so that you only have to deal with updates very irregularly.

Debian keeps old ones around, but they have split lib/dev packages also, which makes these things easier to implement. What debian does is keeping the old package and renaming the new package. When no package in the distribution uses the old package for a while, it gets dropped from the distribution.

Offline

#8 2008-07-14 11:44:19

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Mh...mabybe Gobolinux or NixOS will do what you want.

Offline

#9 2008-07-14 12:07:45

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Gentoo has a revdep-rebuild and with new portage has a preserved-rebuild,
It do exactly what you want.

Offline

#10 2008-07-14 15:18:05

catwell
Member
From: Bretagne, France
Registered: 2008-02-20
Posts: 207
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Isn't HoldPkg what you want ?

Offline

#11 2008-07-14 16:34:38

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,528

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

catwell wrote:

Isn't HoldPkg what you want ?

You are confusing HoldPkg with IgnorePkg


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#12 2008-07-14 17:05:15

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 960
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

HoldPkg is sort of a cautionary; confirmation before removal eg. updates.

Nope..he still wants updates. I see it as counter-rolling so yeah, there are needs the Arch design cannot satisfy. You're keeping custom packages, it's your issue, you're bound to rebuild them and spare time for the maintenance headaches. Since you want to refrain from rebuilds, best bet would be Debian smile


I need real, proper pen and paper for this.

Offline

#13 2008-07-14 19:41:22

catwell
Member
From: Bretagne, France
Registered: 2008-02-20
Posts: 207
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Mr.Elendig wrote:
catwell wrote:

Isn't HoldPkg what you want ?

You are confusing HoldPkg with IgnorePkg

Indeed.

Offline

#14 2008-07-21 18:14:52

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

I'm sure this is a stupid question, but couldn't a static compilation fix the problem for the original poster?

Offline

#15 2008-07-22 04:26:45

colinzhengj
Member
From: Cambridge, MA
Registered: 2007-03-20
Posts: 23
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

To Agent69: That defeats the purpose of dynamic linkage doesn't it? Multiple copies of the same binary in memory and disk isn't too economical.


preserved-rebuild seems to solve the problem of DLL hell, but unfortunately gentoo's complex, automated /etc structure must turn me away...

Following wuischke's suggestion, I tried NixOS and GoboLinux. With GoboLinux it is perfectly possible to have multiple versions of libraries and even programs (you make a "current" symlink to change to a particular program version).  However I could hardly appreciate the rest of the system, where the directory layout differs from the typical layout to an unnecessary degree (they even have a kernel module to accomplish the new layout).  NixOS appears to have to few packages and with too small a community.

There are a couple other package managers that would also solve the problem e.g. GNU stow and ZeroInstall. But none of them has a central, community mantained repository.

Last edited by colinzhengj (2008-07-22 04:30:18)

Offline

#16 2008-07-22 04:42:03

colinzhengj
Member
From: Cambridge, MA
Registered: 2007-03-20
Posts: 23
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

By the way I'm now using CRUX.
Another reason I leave Arch is that the package quality is as good no longer.
*Why the hell* must Vim depend on Ruby and Python??? (http://www.archlinux.org/packages/5786/)
Arch no longer KISSes as it KISSed before.  Of course it may be the right direction to go to attract a larger crowd, by not KISSing as it did before, and at the cost of losing those who liked the degree to which it KISSed.

In CRUX the problem of DLL hell remains. The ports repository is smaller, but whatever in there are well maintained.  Also it is possible to install Arch's binary packages in CRUX.

Last edited by colinzhengj (2008-07-22 04:50:08)

Offline

#17 2008-07-22 06:00:05

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

colinzhengj wrote:

By the way I'm now using CRUX.
Another reason I leave Arch is that the package quality is as good no longer.
*Why the hell* must Vim depend on Ruby and Python??? (http://www.archlinux.org/packages/5786/)
Arch no longer KISSes as it KISSed before.  Of course it may be the right direction to go to attract a larger crowd, by not KISSing as it did before, and at the cost of losing those who liked the degree to which it KISSed.

In CRUX the problem of DLL hell remains. The ports repository is smaller, but whatever in there are well maintained.  Also it is possible to install Arch's binary packages in CRUX.

Even though i cant judge you for going with CRUX, as i respect it very much AFAIK CRUX only provides a very basic (tiny indeed) version of vim. It would be equivalent to the Archlinux vi package, which BTW is even less tiny than CRUX's vim.
As for the rest, they have been discussed in the past many times. People make choices and their choices should be respected.
Good luck.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#18 2008-07-22 06:32:46

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 960
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

To understand "why the hell", you'd need to understand packaging. There's a reason why an x package needs to depend on y, even if you could omit y during build-time. Binary packages are usually built as all-in-one, so it's only ethical that the package speaks the truth and demands for y because it was built with a specific feature of it or has a file that references it. However, in this case, Vim by default (read: vanilla) may require/recommend them as can be seen by a source-based distro's buildscript: http://gentoo-portage.com/app-editors/vim

http://www.builderau.com.au/program/pyt … 181,00.htm

If they're optional but have to be opted in during compilation - and they're useful and possibly warranted by the majority, they have to be included. Lighter distributions like CRUX do not have this responsibility, their users can recompile if they need another feature or two as long as there's no significant demand.

http://www.linuxfromscratch.org/blfs/vi … s/vim.html

But yes, CRUX is a good choice, at least for your requirements.

Last edited by schivmeister (2008-07-22 06:36:49)


I need real, proper pen and paper for this.

Offline

#19 2008-07-27 17:29:54

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Has CRUX solved your problem? I know you said that you didn't want a point release distro like Debian Stable, but what's the reason? It seems the rolling release system introduces way more headaches for you than it's worth.

By the way, 你的英文很好。你学英文学了多久?

Offline

#20 2009-09-03 03:19:47

jcolinzheng
Member
From: Cambridge, MA
Registered: 2008-08-06
Posts: 50
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Just want to say that I have come back.  After over one year of CRUX.  CRUX does not solve the problem, and its inconveniences have grown to an intolerable degree as my usage pattern changed (matured, hopefully) over time.

But this time, I have set up some automated procedure to tackle DLL hell, ie to re-install (by renaming) the library package that got removed due to upgrading to a higher major version.  The renaming makes it necessary to change the dependancy info of the existing application (those I want to keep without rebuilding) that must still rely on the older version of the library; fortunately this can be done without rebuilding.

To me a point release system such as Debian solves the DLL hell problem only partially.  There are times when the required version of some library even predates the version in Debian Stable.

No distro really stores the full history (ie major versions) of each library.  In CRUX it's just a bit easier to build one's own package of the early version missing from the repo.  I think I moved to CRUX mostly because of other reasons.  Such as less cutting edge but more fulgal, minimalist packages.  Anyway, I will not look back at CRUX any more.

Last edited by jcolinzheng (2009-09-03 03:42:27)

Offline

#21 2009-09-03 03:42:33

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 4,705
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

They always come back.. Welcome back wink

Offline

#22 2009-09-03 14:09:37

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Welcome back.

Have you tried using GoboLinux? Apparently it does what you want: it keeps older versions of libraries (and packages). If I were to go with a source-based distro, I'd probably go with it.


(lambda ())

Offline

#23 2009-09-03 14:46:30

jcolinzheng
Member
From: Cambridge, MA
Registered: 2008-08-06
Posts: 50
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Thanks guys.  I have tried GoboLinux (see reply #15).
A distro allowing parallel major versions of libraries (like GoboLinux and NixOS) with sane directory layout (unlike GoboLinux), combined with a rolling-release binary repository, would be ideal.  Unfortunately no such combination exists today.

Offline

#24 2009-09-03 17:14:13

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,818

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Jcolinzheng: mind asking why do you have two nicks?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#25 2009-09-03 19:40:58

jcolinzheng
Member
From: Cambridge, MA
Registered: 2008-08-06
Posts: 50
Website

Re: Planning to leave Arch and looking for a distro..(Update: came back..)

Hi B, becase I forgot my password to the other account a year ago...I have managed to remember it now, though smile

Offline

Board footer

Powered by FluxBB