Error: 'multiverse' invalid + Error: 'universe' invalid
By Emma Johnson •
I have this Dockerfile:
FROM node:11
USER root
WORKDIR /tmp
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository multiverse
RUN add-apt-repository universeI am getting this error:
Error: 'multiverse' invalid
The command '/bin/sh -c add-apt-repository multiverse' returned a non-zero code: 1
How can I get this to work?
03 Answers
I apparently solved it by doing this:
RUN sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list
RUN sed -i "/^# deb.*universe/ s/^# //" /etc/apt/sources.listInstead of this:
RUN add-apt-repository multiverse
RUN add-apt-repository universe Thank you very much Alexander Mills, I had the same problem and I was able to solve it on my system (Q4OS 3.10.3) with:
sudo sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list
sudo sed -i "/^# deb.*universe/ s/^# //" /etc/apt/sources.list 0 But im still facing this problem😔
1More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"