Debian/Ubuntu APT repository changes

In the upcoming release of Ubuntu 18.04 APT repositories without signed “Release” files aren’t supported out of the box anymore. I’ve therefore changed my Debian & Ubuntu APT repositories to a new layout that includes proper “Release” files. This also means that you have to update your APT repository definition.

Here’s what such a change would look like:

Before:

deb https://mkvtoolnix.download/ubuntu/artful/ ./
deb-src https://mkvtoolnix.download/ubuntu/artful/ ./

After:

deb https://mkvtoolnix.download/ubuntu/ artful main
deb-src https://mkvtoolnix.download/ubuntu/ artful main

Head over to the downloads page where you can copy & pate the appropriate entries from.

9 thoughts on “Debian/Ubuntu APT repository changes

  1. fiorenzo

    i. i’ve updated sources.list in my debian jessie, but apt update give me error in your new repository. can you help me please?

    1. The Administrator

      Copy & paste both the error and what how your sources.list looks like, and maybe I can.

      1. fiorenzo

        W: Failed to fetch https://mkvtoolnix.download/debian/dists/jessie/Release Unle to find expected entry ‘main//source/Sources’ in Release file (Wrong sourcelist entry or malformed file)

        W: Some index files failed to download. They have been ignored, or old ones us instead.

        this is the error when apt-get update

        deb https://mkvtoolnix.download/debian/ jessie main/
        deb-src https://mkvtoolnix.download/debian/ jessie main/

        this is the sources.list part regarding mkvtoolnix
        until version 22.0 all ok. now can’t update.
        Thank you for your help.

        1. fiorenzo

          OMG!!! all ok…. a / that change life!!!…. thanks for your patience..

  2. Jonathan

    On Xenial, with `/etc/apt/sources.list.d/mkvtoolnix.download.list` containing the following:
    deb https://mkvtoolnix.download/ubuntu/ xenial main
    deb-src https://mkvtoolnix.download/ubuntu/ xenial main

    and running `apt-get update`, I get the following error message:
    W: The repository ‘https://mkvtoolnix.download/ubuntu xenial Release’ does not have a Release file.
    N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: Failed to fetch https://mkvtoolnix.download/ubuntu/dists/xenial/main/binary-amd64/Packages Received HTTP code 403 from proxy after CONNECT

    What’s the cause of this issue?

  3. Don

    Okay – had an extra file in /etc/apt/sources.list.d/ with old style source list. Removed that now problem solved

Comments are closed.