Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Dotdeb Repo Installer
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Dotdeb Repo Installer

MunMun Member
edited April 2014 in General

I spent a hour or two building a quick script that will install the dotdeb repo on your debian based server and choose the proper version, as well as install the gpg key for dotdeb.

You can execute this script on your server with the following code:

wget http://cdn.content-network.net/Mun/apps/dotdeb/dotdeb.sh -O - | bash

You can see a text based version of the script here: http://cdn.content-network.net/Mun/apps/dotdeb/dotdeb.txt

Not sure what dotdeb is, then check it out here: http://www.dotdeb.org/

Mun

question:
  1. Useful?11 votes
    1. Yes
      18.18%
    2. No
      81.82%

Comments

  • ZigaraZigara Member
    edited April 2014

    Anyone using this script, I highly suggest using an officially maintained mirror that is near your location (this script uses Mun's unofficial mirror by default).

    You can change the mirror at the top of the script to one of the mirrors here http://www.dotdeb.org/mirrors/

    Also, note to Mun;
    Why not have the script create a /etc/apt/sources.list.d/dotdeb.list instead of writing your primary sources.list? It would make it much easier to remove/add the repo again.

    Thanked by 1manacit
  • Honestly, a script to accomplish what can be done in less than a minute via copy-and-paste from the instructions? You must be having a slow night :)

  • MunMun Member

    It is official?

    Most places suggest using the /etc/apt/sources.list file anyways.

    @sleddog it is simple yes, but 50% of the time I have to edit this little bit and that little bit and remember which version of debian I am running so it just made sense to whip this up.

    Mun

  • ZigaraZigara Member
    edited April 2014

    Quite interesting.

    I certainly hope you have the funding and time to keep this mirror fully updated and functional for many many years to come, since your mirror will be on any machine that runs this.

    I'm certain a provider like Leaseweb and etc are here for the long run, but I'm not so sure about you.

    As for the "most places suggest", that is nice. The sources.list.d feature is there for situations just like this. In fact, Ubuntu's entire PPA system relies on it. This is not some undocumented feature, check the man page; http://linux.die.net/man/5/sources.list

  • Cleaned this up to use /etc/sources.list.d/dotdeb.list instead, and allow someone to select a mirror:

    https://gist.github.com/nickvanw/11238938

    Nice script though!

    Thanked by 2Zigara alexvolk
  • @manacit said:
    Cleaned this up to use /etc/sources.list.d/dotdeb.list instead, and allow someone to select a mirror:

    https://gist.github.com/nickvanw/11238938

    Nice script though!

    Much better!

  • MunMun Member

    @Zigara said:
    Quite interesting.

    I certainly hope you have the funding and time to keep this mirror fully updated and functional for many many years to come, since your mirror will be on any machine that runs this.

    I'm certain a provider like Leaseweb and etc are here for the long run, but I'm not so sure about you.

    As for the "most places suggest", that is nice. The sources.list.d feature is there for situations just like this. In fact, Ubuntu's entire PPA system relies on it. This is not some undocumented feature, check the man page; http://linux.die.net/man/5/sources.list

    http://cdn.content-network.net/Mun/apps/dotdeb/dotdeb_dd.txt changed two lines.

    Thanked by 1Zigara
Sign In or Register to comment.