Adding add-apt-repository *USE WITH CAUTION*

Archived topics about LMDE 1 and LMDE 2
Locked
lizzibet

Adding add-apt-repository *USE WITH CAUTION*

Post by lizzibet »

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.removed/ubuntu lucid-removed 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...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
rivenathos
Level 6
Level 6
Posts: 1070
Joined: Wed May 06, 2009 7:32 am
Location: USA

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

Post by rivenathos »

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.
Current hardware: a Dell OptiPlex 3010 desktop, a Dell Inspiron 531 desktop, and a Dell Inspiron 1545 laptop.
Current OS: LMDE 3
lizzibet

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

Post by lizzibet »

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

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

Post by lizzibet »

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.
jeffreyC

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

Post by jeffreyC »

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.
lizzibet

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

Post by lizzibet »

sweet! Thanks! :-*
User avatar
spsf64
Level 1
Level 1
Posts: 29
Joined: Thu Jan 01, 2009 10:15 am
Location: Florida

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

Post by spsf64 »

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
Locked

Return to “LMDE Archive”