I get following error trying to excute apt-get update

'deb' is not known in /etc/apt/sources.list

My sources.list

deb http://deb.debian.org/debian/ stable main contrib
deb-src http://deb.debian.org/debian/ stable main contrib

deb http://deb.debian.org/debian/ stable-updates main contrib
deb-src http://deb.debian.org/debian/ stable-updates main contrib

deb http://deb.debian.org/debian-security stable/updates main
deb-src http://deb.debian.org/debian-security stable/updates main

deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main

I looked in various forums but couldn't find a solution for it. It's not a typo.

The output of

hex -C /etc/apt/sources.list

doesn't show anything suspicious. Am I missing some configuration for apt?

I use tiny Core Linux 8.0 and installed apt via rpm

  • I'm assuming this is a new install of Stretch, right? Resist the urge to post for help without providing a single bit of meaningful data about the system, how old it is, if it's been upgraded from previous steble, etc? How do you expect anyone to help you? – Lizardx Sep 10 '17 at 20:25
  • I use tiny core and want to use apt – user1612540 Sep 10 '17 at 20:27
  • Then update your post and provide the data that people need to help you!! Don't expect people to be psychic, to be able to intuit by feel what you actually are running. Provide the basics required, what is the hardware, cpu type, exact version of gnu/linux running it, etc. – Lizardx Sep 10 '17 at 20:28
  • You're confusing concepts here, you got tinycore to have a tiny install image, not to run apt packages. I wish I had more downvotes to give, but 1 is all I get. – Lizardx Sep 10 '17 at 20:33
  • Why i am confusing concepts ? Some people maybe need more recent Software then provided from tc mirrors. dCore is the Same apporach . If you feel happy to downvote a question you not have added some useful answer.. go ahead... – user1612540 Sep 10 '17 at 20:36

Since you’re using dCore, you should use the SCE Tools to install software, not apt directly. The SCE Tools know how to retrieve packages from the appropriate Debian release, and how to convert them to the package format used in dCore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.