Skip to content

Excess slash in sed command (after ubuntu before percent) #3

Description

@lanmaster

RUN sed -e s%http://archive.ubuntu.com/ubuntu/%mirror://mirrors.ubuntu.com/mirrors.txt% -i /etc/apt/sources.list

do nothing.
But this can make changes in sources.list:
RUN sed -e s%http://archive.ubuntu.com/ubuntu%mirror://mirrors.ubuntu.com/mirrors.txt% -i /etc/apt/sources.list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions