caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Boom <hendrik@topoi.pooq.com>
To: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] opam corrupted my sources.list.
Date: Sun, 18 Dec 2016 11:38:39 -0500	[thread overview]
Message-ID: <20161218163839.GC12794@topoi.pooq.com> (raw)
In-Reply-To: <CAPFanBEUzi0HbEQO_UZpMt-X1CezYm7GJ8-YRZYtJm0Rt_2fqA@mail.gmail.com>

On Sat, Dec 17, 2016 at 11:42:08PM -0500, Gabriel Scherer wrote:
> This is not related to opam.

It would surprise me if it were.  In fact, it did surprise me to think it did.

> It is a repository of Debian-style
> packages visibly intended for Ubuntu users, authored by Anil
> Madhavapeddy who hosted then on opensuse repositories. My guess is
> that you enabled this repository manually to get 4.02.1 OCaml packages
> at a time where they were not yet packaged in your official Debian
> repository.

I have never created a file in /etc/apt/sources.list.d myself.
The only file near there I have edited is /etc/apt/sources.list itself.

Then some other action must have done this on my behalf, apparntly not opam.
I installed opam from the proper devuan repository.

So I have to conclude that I just do not know why the corruption happened.

Too bad.

Wild speculation:  Could Debian have just taken over the packages in 
that repository on opensuse, and then devuan got it from Debian?  That 
would be surprising, but it is at least plausible.

-- hendrik

> 
> The best way to setup an OCaml *development environment* today is to
> install opam (either through your distribution package manager, as a
> binary, or from sources built from a distribution-packaged OCaml
> version), and then install ocaml-$version switches in opam. (For
> end-user packages written in OCaml, distribution packages are still
> very important.)
> 
> On Sat, Dec 17, 2016 at 10:01 PM, Hendrik Boom <hendrik@topoi.pooq.com> wrote:
> > Well, technically, it was the directory /etc/apt/sources.list.d that
> > got an unwanted file:
> >
> > opam.list
> >
> > and I'm guessing that it was opam from the name of that file.
> >
> > It contained the line:
> >
> > deb http://download.opensuse.org/repositories/home:/ocaml/Debian_7.0/ /
> >
> > This caused havoc with my system because I am *not* running Debian or
> > suse, but devuan, a Debian derivative, and I am now stuck with
> > aptitude tring to install a *huge* collection of unwanted and
> > inconsistent packages because the dependencies in my system are
> > different from those in the openuse repository.
> >
> > I am still unable to use aptitude to do routine upgrades.
> >
> > Why does opam do this?  And, is it indeed opam?
> >
> > Perhaps devuan needs to do something special with ocaml-related
> > packages, but until I know what's happening and why it's hard to know
> > where to start.
> >
> > -- hendrik
> >
> >
> > --
> > Caml-list mailing list.  Subscription management and archives:
> > https://sympa.inria.fr/sympa/arc/caml-list
> > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> > Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

  reply	other threads:[~2016-12-18 16:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18  3:01 Hendrik Boom
2016-12-18  4:42 ` Gabriel Scherer
2016-12-18 16:38   ` Hendrik Boom [this message]
2016-12-18 17:04 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161218163839.GC12794@topoi.pooq.com \
    --to=hendrik@topoi.pooq.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).