LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   APT-RPM, adding debian repo, "E: Type 'deb' is not known" (https://www.linuxquestions.org/questions/fedora-35/apt-rpm-adding-debian-repo-e-type-deb-is-not-known-4175669487/)

TheJooomes 02-12-2020 08:05 PM

APT-RPM, adding debian repo, "E: Type 'deb' is not known"
 
I discovered apt-rpm is a thing, and though it might be useful/fun. The first thing I thought I should do is give it a repository to use, I decided on the debian sid repo. I couldn't find any documentation on how to add a repository, so I figured I'd just add it to the sources.list file and hope it works. It didn't work. Running "sudo apt-get update" gave me the issue below.

Here's some stuff:

Output of "sudo apt-get update"
Code:

[james@localhost ~]$ sudo apt-get update
[sudo] password for james:
E: Type 'deb' is not known in on line 3 in source list /etc/apt/sources.list

My /etc/apt/sources.list
Code:

# Add any local / 3rd party repositories here..

deb http://ftp.debian.org/debian/ sid main contrib non-free

I've concluded apt doesn't know how to handle "deb" in sources.list. The repo line becomes coloured text in nano when "deb" is present in front of it. All the threads across many forums I looked at are about debian and debian based distros, nothing about apt-rpm. They all say to remove the offending line, but that obviously leaves me with nothing.

So am I not seeing an obvious solution to a simple problem, like usual for me?

ps. I'm on Fedora 31 if that's important.

evo2 02-12-2020 08:21 PM

Hi,

I think you missunderstand what apt-rpm is supposed to do. How did you install it? Did you read the documentaiont that came with it?

Evo2.

TheJooomes 02-12-2020 08:47 PM

Quote:

Originally Posted by evo2 (Post 6089340)
Hi,

I think you missunderstand what apt-rpm is supposed to do. How did you install it? Did you read the documentaiont that came with it?

Evo2.

Yeah... gotta stop speed reading documentation, lol. Thanks, lesson learned.


All times are GMT -5. The time now is 12:31 AM.