How to "put some 'source' URIs in your sources.list"?
Uncomment the deb-src
lines in /etc/apt/sources.list
:
sudo sed -i 's/# deb-src/deb-src/' /etc/apt/sources.list
sudo apt update
Related videos on Youtube
DaDi
lder="BY DAY: Alt-Rock Ninja Cowgirl at Veridian Dynamics.BY NIGHT: I write code and code rights for dadi.ml, an awesome non-profit that will totally take your money at that link. My kids are cuter than yours.FOR FUN: C+ Jokes, Segway Roller Derby, NYT Sat. Crosswords (in Sharpie!), Ostrich Grooming."If you see scary things, look for the helpers-you'll always see people helping."-Fred Rogers
Updated on September 18, 2022Comments
-
DaDi over 1 year
machine: Toshiba MK1646GSX, intel atom [email protected], 2048Mb. 32bit.
OS: LINUX LITE 3.8
i was trying to install the PIDGIN dependencies:
~> sudo apt-get build-dep pidgin
and then i got this instead of installing the
build-dep
:Reading package lists... Done E: You must put some 'source' URIs in your sources.list
so i searched and i found sources say that i should
rm -rf the sources.list
, and thenapt-get update
and the list will create itself. the results were not good and like what i expected, the list didn't create itself. after that i made a new list with the same content, i tried to make sure about every line and does it owndeb-src
. all lines are correct. but the Error still exits when i try to install thebuild-dep
. what to do?
sources.list copied from the justpaste link:
###### Ubuntu Main Repos deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse ###### Ubuntu Update Repos deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse ###### Ubuntu Partner Repos deb http://archive.canonical.com/ xenial partner # deb-src http://archive.canonical.com/ xenial partner
-
Freddy over 4 yearsHave you tried running
sudo apt-get update
beforesudo apt-get build-dep pidgin
? -
schrodingerscatcuriosity over 4 yearsHow does your
sources.list
look like? -
DaDi over 4 years@Freddy yes i did, i said that already in the text.
-
DaDi over 4 years@guillermochamorro justpaste.it/33tq1
-
schrodingerscatcuriosity over 4 yearsUncomment
# deb-src...
-
Alessio over 4 yearsplease don't link to external sites for short text fragments. paste them into your question (and format as code). i've fixed that for you this time.
-
-
Martian2020 over 2 yearsIMO
apt update
requirement should be included in the error message, not everybody knows internals that well to see it is necessary after sources file editing.