Skip to content

Debian Alternatives System - anything similar on Arch?

Is there a Debian Alternatives equivalent on Arch, that lets you install and maintain multiple versions of the same source-built software and easily swap between versions/rollback with a command?

14 points26 comments
Open on Reddit
About this post
Posted
Archived
Score
14 · 100% up
Kind
Text
ID
2nl4ss

Author

12
posts
129
comments
0
media
View profile

30 comments

no, but there is one specifically for java, which makes me think that the idea isn’t as bad as other comments might suggest.

it’s a problem also for e.g. python packages providing a binary: they can be installed once for python2 and once for python3. but which should contain the binary without version suffix?

13 points

The only reason that archlinux-java exists is because Java 8 doesn't support the full Java EE feature set yet, so if you need Java EE you still need Java 7. This is important for, say, enterprise Java developers.

1 points

update-alternatives can be used to tell dpkg/apt about a package you installed manually, which is (AFAIK) impossible on arch

1 points

No - only because I never finished my patchset to implement this in pacman.

9 points

Count me as someone else interested in the feature, if you get a chance to finish your patchset.

2 points

Arch is rolling release, and things are guaranteed to work only if they are all the most recent version. This is why partial upgrades are not supported.

8 points

This is not an answer to OP's question, though. The goal would be installing conflicting packages (that provide the same virtual package).

9 points

Short answer: No.

Long answer: No, because if you have a that complicated set up (which you shouldn't), you ought to know how to set up alternatives or else the shit will blow up in your face anyway.

If you want to roll back after upgrades, consider backups/snapshots.

If you want to use multiple releases of a software in parallel, ask yourself really hard whether you really want to do that on the same system. Consider chroots/containers/VMs.

7 points

If you want to use multiple releases of a software in parallel, ask yourself really hard whether you really want to do that on the same system.

if you pick python2 and lua5.1 as examples, you’ll want that in both cases without any question.

out of practical concers of course; i’d love to ban python2 from my system if not half of everything depended on it still.

6 points

If something needs py2 or lua5.1 it should depend on and use them, otherwise they should use py3 and lua 5.2.

0 points

one possible solution is to build it yourself, and install to /usr/local, and then just set/unset PATH.

3 points

Shouldn't the philosophy be, "Let's give the users more options and tools so they can do what they want", rather than, "No because I don't like that idea"?

Its not like the idea takes away from anything that currently exists.

3 points
unknown author1 hidden

Deleted before we saved it.

1 points

#####

######

#### Rolling release:


In software development, a rolling release or rolling update development model refers to a continually developing software system; this is instead of a standard release development model which uses software versions that must be reinstalled over the previous version. Rolling software, instead, is continually [updated](https://en.wikipedia.org/wiki/Patch_(computing)), in contrast to standard release software which is upgraded between versions. Rolling release development models are one of many types of software release life cycles and, in terms of software development methodology in general, rolling release development models are less common than standard release development models in most mainstream software sectors, such as operating systems.


Interesting: [Foresight Linux](https://en.wikipedia.org/wiki/Foresight_Linux) | [KahelOS](https://en.wikipedia.org/wiki/KahelOS) | [Arch Linux](https://en.wikipedia.org/wiki/Arch_Linux) | [ArchBang](https://en.wikipedia.org/wiki/ArchBang)

Parent commenter can [toggle NSFW](/message/compose?to=autowikibot&subject=AutoWikibot NSFW toggle&message=%2Btoggle-nsfw+cmf8asi) or[](#or) [delete](/message/compose?to=autowikibot&subject=AutoWikibot Deletion&message=%2Bdelete+cmf8asi). Will also delete on comment score of -1 or less. | FAQs | [Mods](http://www.np.reddit.com/r/autowikibot/comments/1x013o/for_moderators_switches_commands_and_css/) | [Magic Words](http://www.np.reddit.com/r/autowikibot/comments/1ux484/ask_wikibot/)

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.