Thread overview
is the ubuntu sourceforge repository safe?
Jul 22, 2017
Ali
Jul 23, 2017
Michael
Jul 24, 2017
Russel Winder
Jul 26, 2017
Ali
Jul 27, 2017
Russel Winder
Aug 01, 2017
Michael
May 09, 2018
Jonathan M. Wilbur
July 22, 2017
I know that sourceforge doesnt have the best security track record
Is it safe thought to use the dmd ubuntu repository hosted there

[code]
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
wget -qO - https://dlang.org/d-keyring.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install dmd-bin
[/code]
July 23, 2017
On Saturday, 22 July 2017 at 00:21:45 UTC, Ali wrote:
> I know that sourceforge doesnt have the best security track record
> Is it safe thought to use the dmd ubuntu repository hosted there
>
> [code]
> sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
> wget -qO - https://dlang.org/d-keyring.gpg | sudo apt-key add -
> sudo apt-get update && sudo apt-get install dmd-bin
> [/code]

I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on release.
July 24, 2017
On Sun, 2017-07-23 at 18:23 +0000, Michael via Digitalmars-d wrote:
> On Saturday, 22 July 2017 at 00:21:45 UTC, Ali wrote:
> > I know that sourceforge doesnt have the best security track
> > record
> > Is it safe thought to use the dmd ubuntu repository hosted there
> > 
> > [code]
> > sudo wget
> > http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list
> > -O /etc/apt/sources.list.d/d-apt.list
> > wget -qO - https://dlang.org/d-keyring.gpg | sudo apt-key add -
> > sudo apt-get update && sudo apt-get install dmd-bin
> > [/code]
> 
> I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on release.

If we are talking about D-Apt here  http://d-apt.sourceforge.net/  it seems to be working fine for me on Debian Sid.  2.075 just installed this morning.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

July 26, 2017
On Monday, 24 July 2017 at 11:02:55 UTC, Russel Winder wrote:
> On Sun, 2017-07-23 at 18:23 +0000, Michael via Digitalmars-d wrote:
>> 
>> I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on release.
>
> If we are talking about D-Apt here  http://d-apt.sourceforge.net/  it seems to be working fine for me on Debian Sid.  2.075 just installed this morning.

I think it would be better to have a PPA that is hosted on launchpad
July 27, 2017
On Wed, 2017-07-26 at 19:16 +0000, Ali via Digitalmars-d wrote:
> On Monday, 24 July 2017 at 11:02:55 UTC, Russel Winder wrote:
> > On Sun, 2017-07-23 at 18:23 +0000, Michael via Digitalmars-d wrote:
> > > 
> > > I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on release.
> > 
> > If we are talking about D-Apt here http://d-apt.sourceforge.net/  it seems to be working fine for me on Debian Sid.  2.075 just installed this morning.
> 
> I think it would be better to have a PPA that is hosted on launchpad

Launchpad is not a place Debian and Mint folk think of going is it? Ubuntu yes, but not others.

I think D-Apt should be hosted at dlang.org.

Along with a Fedora repository.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

August 01, 2017
On Monday, 24 July 2017 at 11:02:55 UTC, Russel Winder wrote:
> On Sun, 2017-07-23 at 18:23 +0000, Michael via Digitalmars-d wrote:
>> 
>> I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on release.
>
> If we are talking about D-Apt here  http://d-apt.sourceforge.net/  it seems to be working fine for me on Debian Sid.  2.075 just installed this morning.

I stopped using it a while ago as it was constantly causing me problems with being unable to check for new package updates. It was right when sourceforge was issuing security warnings and I couldn't be bothered to try and deal with it.
May 09, 2018
On Tuesday, 1 August 2017 at 10:01:17 UTC, Michael wrote:
> On Monday, 24 July 2017 at 11:02:55 UTC, Russel Winder wrote:
>> On Sun, 2017-07-23 at 18:23 +0000, Michael via Digitalmars-d wrote:
>>> 
>>> I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on release.
>>
>> If we are talking about D-Apt here  http://d-apt.sourceforge.net/  it seems to be working fine for me on Debian Sid.  2.075 just installed this morning.
>
> I stopped using it a while ago as it was constantly causing me problems with being unable to check for new package updates. It was right when sourceforge was issuing security warnings and I couldn't be bothered to try and deal with it.

Just following up on this, because I had the same problem:

1. Use wget or curl to download the .deb right from the archive

wget http://downloads.dlang.org/releases/2018/dmd_2.080.0-0_i386.deb

2. Try to install it with dpkg

dpkg -i dmd_2.080.0-0_i386.deb

### If you experience errors, add the following steps. If not, skip them.

3. Update your cache

sudo apt-get update

4. Download the dependencies, if you need to. In my case, I needed libc6-dev and gcc, which you *would normally* install like so:

sudo apt-get install libc6-dev gcc

But I had errors when trying to do that, which were resolved by running:

sudo apt --fix-broken install

###

5. Finally, run `dmd --version` to test that it works!