Adding add-apt-repository *USE WITH CAUTION*

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Adding add-apt-repository *USE WITH CAUTION*

Postby lizzibet on Sun Dec 26, 2010 7:31 am

download python-software-properties_0.75.4_all.deb from ubuntu repos and you can use launchpad to add rpos with the add-apt-repository command to add a ppa in automated fashion.

Sometimes you will need to edit the source file in etc/apt/sources.list.d directory

i use ubuntu-tweak to access these files and edit them easily

i did this to add things like bisigi themes (and others)

edit it to look like this:

# Bisigi
deb http://ppa.launchpad.net/bisigi/ppa/ubuntu lucid main

If you do do this with other repositories you could damage your system so be careful. Even after you edit some repos, not all packages will install/upgrade.

i also tend to copy everything over to the sources.list file in /etc/apt and delete the origional from /etc/apt/sources.list.d directory.. keeps thing neat and ubuntu-tweak does all this very easy from its source editory.


here's a snapshot of my sources.list file which you could just copy.

deb http://packages.linuxmint.com/ debian main upstream import backport romeo
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free

# Chrome
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/deb/ stable non-free main

# Thumbnailer
deb http://ppa.launchpad.net/deb-thumbnaile ... ppa/ubuntu lucid main

# Opera
deb http://deb.opera.com/opera/ lenny non-free

# PlayonLinux
deb http://deb.playonlinux.com/ lucid main

# Skype
# deb http://download.skype.com/linux/repos/debian/ stable non-free

# get keys
# deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu maverick main

# Remastersys Squeeze
deb http://www.geekconnection.org/remastersys/repository debian/

# Swiftfox
deb http://getswiftfox.com/builds/debian unstable non-free

# Bisigi
deb http://ppa.launchpad.net/bisigi/ppa/ubuntu lucid main

# Super OS
# deb http://hacktolive.org/repo/lucid lucid main restricted multiverse universe partner

# Boxee
deb http://apt.boxee.tv/ lucid main

# Get Deb Apps
# deb http://archive.getdeb.net/ubuntu lucid-getdeb apps

you'll notice i have some things commented out with a #, like get deb repo.. i installed boookwrite, xvst, homebank the commented out the line afterwards so it doesn't try to upgrade packages that would break my system.

same with super os.. a few files i wanted, installed and commented out..

under # Get keys is a repo that has a file called launchpad-getkeys that you could use if you copied my source list into yours.

uncomment the repo line by deleting the # in front of it.
sudo apt-get update
sudo apt-get install launchpad-getkeys
sudo launchpad-getkeys

this will add all the missing keys from any uncommented line (#)

i recommend comment that repo back by adding the # to the front of the repo source so you don't upgrade files that would break your system

*Use with caution*

Also, python-software-properties_0.75.4_all.deb will break synaptic in that you will not be able to access the repositories through synaptic through it's menu.

when you made all the changes you wanted and want to restore the repository access in synaptic, simple uninstall software-properties-gtk and python-software-properties-gtk and then reinstall them. the reason for this is the python is 0.75 and software is .6 and once they are both uninstalled and reinstalled, they will both be .6 versions and synaptic repo acces from the menu in it is restored. However, add-apt-repository command will now not work again. It's just how it is....

*USE CAUTION* and good luck...
lizzibet
Level 2
Level 2
 
Posts: 87
Joined: Mon Mar 08, 2010 7:50 am

Linux Mint is funded by ads and donations.
 

Re: Adding add-apt-repository *USE WITH CAUTION*

Postby rivenathos on Sun Dec 26, 2010 8:06 am

I am glad you made note for people to *USE WITH CAUTION* since mixing Debian and Ubuntu sources can sometimes lead to disastrous situations. I hope you have excellent results with your mix. However, now that you have taken your first steps into Debian with LMDE, it may be a good time to start focusing on the "Debian-way" versus the "Ubuntu-way" of doing things. It is always fun to experiment, and I look forward to hearing about how things go with you.
Debian 7 with GNOME 64-bit
User avatar
rivenathos
Level 6
Level 6
 
Posts: 1066
Joined: Wed May 06, 2009 7:32 am
Location: USA

Re: Adding add-apt-repository *USE WITH CAUTION*

Postby lizzibet on Sun Dec 26, 2010 8:18 am

Well, if debian had the files i wanted, it would be easier to just install them from debian. The only other option is to build all the things i want from source. I don't mind building from source but when installing a new distro and wanting it all up and working right away, building from source can be a lengthy process. If you have an idea of how to do things to install these things WITHOUT ubuntu handicaps, I'm all ears!
Last edited by lizzibet on Sun Dec 26, 2010 8:22 am, edited 1 time in total.
lizzibet
Level 2
Level 2
 
Posts: 87
Joined: Mon Mar 08, 2010 7:50 am

Re: Adding add-apt-repository *USE WITH CAUTION*

Postby lizzibet on Sun Dec 26, 2010 8:21 am

The only thing that isn't working is winff as i mentioned before in another post but i am using sinthgunt which does basicly the same thing. the advantage to winff is i get to chose the output directory sinthgunt creates the converted file in the source directory with the exact same name but with the new extension added on the end.
lizzibet
Level 2
Level 2
 
Posts: 87
Joined: Mon Mar 08, 2010 7:50 am

Re: Adding add-apt-repository *USE WITH CAUTION*

Postby jeffreyC on Mon Dec 27, 2010 9:43 pm

The first place I would look for apps i can't find in Debian itself is:

http://sites.google.com/site/mydebiansourceslist/

using apps made for Debian is usually safer.
Get Dropbox and an extra 250 mb http://db.tt/wAizqw0
jeffreyC
Level 4
Level 4
 
Posts: 318
Joined: Mon Jun 07, 2010 9:34 pm

Re: Adding add-apt-repository *USE WITH CAUTION*

Postby lizzibet on Mon Dec 27, 2010 11:55 pm

sweet! Thanks! :-*
lizzibet
Level 2
Level 2
 
Posts: 87
Joined: Mon Mar 08, 2010 7:50 am

Re: Adding add-apt-repository *USE WITH CAUTION*

Postby spsf64 on Tue Jan 11, 2011 7:51 am

jeffreyC wrote:The first place I would look for apps i can't find in Debian itself is:

http://sites.google.com/site/mydebiansourceslist/

using apps made for Debian is usually safer.


Thanks for this!
Sergio
User avatar
spsf64
Level 1
Level 1
 
Posts: 28
Joined: Thu Jan 01, 2009 10:15 am
Location: Sao Paulo, Brazil

Linux Mint is funded by ads and donations.
 

Return to Other Topics

Who is online

Users browsing this forum: No registered users and 2 guests