LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-12-2020, 09:05 PM   #1
TheJooomes
Member
 
Registered: May 2019
Location: Minnesota USA
Distribution: Fedora Workstation
Posts: 45

Rep: Reputation: Disabled
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.
 
Old 02-12-2020, 09:21 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,037

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
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.
 
Old 02-12-2020, 09:47 PM   #3
TheJooomes
Member
 
Registered: May 2019
Location: Minnesota USA
Distribution: Fedora Workstation
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/signal-xenial.list" jameswilson0609 Linux - Newbie 3 05-29-2019 01:04 PM
apt-get; E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list tomorrow Linux - Newbie 9 05-21-2009 09:42 AM
E:Type 'deb' is not known on line 39..... SurfCHimp Linux - Software 4 04-02-2007 05:24 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration