LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2015, 02:30 PM   #1
wingman358
Member
 
Registered: Mar 2008
Location: Northeast US
Distribution: Mint, Ubuntu, Backtrack
Posts: 77

Rep: Reputation: 16
Can't Remove apt Repository on Mint 17


Hi all,

I can't seem to remove a repository from apt that I added earlier today:

Code:
~ $ sudo add-apt-repository -r ppa:moorkai/cinnamon 

Usage: add-apt-repository [options] repository

add-apt-repository: error: no such option: -r
~ $ sudo add-apt-repository --remove ppa:moorkai/cinnamon 

Usage: add-apt-repository [options] repository

add-apt-repository: error: no such option: --remove
I'm on Mint 17 x64.
 
Old 06-28-2015, 02:41 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Just remove it manually:
Code:
# rm /etc/apt/sources.list.d/<name of repository>
It will probably be called "moorkai.list" or something (I don't use Mint)...

EDIT: Actually, it may be added directly to /etc/apt/sources.list -- look for these lines and comment them out (put a "#" symbol, without the quotation marks, at the start of the line):
Code:
deb http://ppa.launchpad.net/moorkai/cinnamon/ubuntu utopic main 
deb-src http://ppa.launchpad.net/moorkai/cinnamon/ubuntu utopic main
Make sure you use `apt-get update` after changing your sources.

Last edited by Head_on_a_Stick; 06-28-2015 at 02:46 PM.
 
Old 06-28-2015, 02:59 PM   #3
wingman358
Member
 
Registered: Mar 2008
Location: Northeast US
Distribution: Mint, Ubuntu, Backtrack
Posts: 77

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Head_on_a_Stick View Post
Just remove it manually:
Code:
# rm /etc/apt/sources.list.d/<name of repository>
It will probably be called "moorkai.list" or something (I don't use Mint)...
Perfect! That did it. Thanks!
 
Old 06-28-2015, 03:04 PM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Excellent!

You're welcome
 
  


Reply



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
[SOLVED] Difference between add-apt-repository and apt-add-repository Kenny_Strawn Ubuntu 3 12-22-2010 07:50 PM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
Custom apt-repository for sid apt-get upgrades Cyberman Debian 1 02-20-2009 12:21 PM
LXer: Apt-get remove SUSE; apt-get install Etch LXer Syndicated Linux News 0 05-26-2007 07:46 PM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:34 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
Open Source Consulting | Domain Registration