LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-30-2014, 11:45 PM   #1
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Rep: Reputation: 3
What did I just do? Ubuntu repository in Debian


Debian Wheezy seems to recognize this command, but when I go to my sourcest.list, nothing is added. And if I update apt and then start synaptic, synaptic does not show the latest Wine versions available.

I'd kind of like to back this out since it achieved nothing, but I really have no idea what it actually did. Any clues?

Code:
rootishprompt:/etc/apt# add-apt-repository ppa:ubuntu-wine/ppa
You are about to add the following PPA to your system:
 Welcome to the Wine Team PPA.  Here you can get the latest available Wine betas for every supported version of Ubuntu.  This PPA is managed by Scott Ritchie and Maarten Lankhorst.
 More info: https://launchpad.net/~ubuntu-wine/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.3rDOGZzqml --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 883E8688397576B6C509DF495A9A06AEF9CB8DB0
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: key F9CB8DB0: "Launchpad PPA for Ubuntu Wine Team" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
rootishprompt:/etc/apt#
 
Old 01-31-2014, 12:35 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That command doesn't change your sources.list, it creates additional files in /etc/apt/sources.list.d/. Having said that, Ubuntu and Debian are not compatible, you really shouldn't use Ubuntu repositories in Debian. You may run into serious problems doing that and as the old saying goes: if it breaks you may keep the pieces.
 
Old 01-31-2014, 12:47 AM   #3
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by TobiSGD View Post
That command doesn't change your sources.list, it creates additional files in /etc/apt/sources.list.d/. Having said that, Ubuntu and Debian are not compatible, you really shouldn't use Ubuntu repositories in Debian. You may run into serious problems doing that and as the old saying goes: if it breaks you may keep the pieces.
Ok that's where it went... I just delete those two files ? (ubuntu-wine-ppa-wheezy.list ubuntu-wine-ppa-wheezy.list.save)?

Thanks.
 
Old 01-31-2014, 02:55 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Yes, just delete them and run
Code:
apt-get update
afterwards.
 
1 members found this post helpful.
Old 01-31-2014, 10:21 AM   #5
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,106
Blog Entries: 2

Rep: Reputation: 258Reputation: 258Reputation: 258
Once in a while I'll install a package from Ubuntu, but only if the dependencies can be satisfied through Debian's repository.
 
Old 01-31-2014, 10:33 AM   #6
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by replica9000 View Post
Once in a while I'll install a package from Ubuntu, but only if the dependencies can be satisfied through Debian's repository.
They're obviously compatible in the sense that Ubuntu is one of the several dev tracks stemming from Debian, but I am about to put Sid on a separate drive and install all my experimental stuff there, including the latest WINE. This is where I got screwed up, as I thought perhaps I could get the bleeding edge version of WINE from the Ubuntu repository. It was not available on the Debian stable or testing repos. Synaptic didn't seem to see a difference though, and before I experimented with it much further I got the above answer to my question and sort of abandoned this route for using the latest WINE.

I may or may not experiment again with trying Ubuntu related repositories, but for what I am doing now it is unnecessary.

Thanks for all the help folks! I think I'm done with this one. I guess feel free to add tidbits though in case someone else is searching the web for similar issues...?

Last edited by ShaneRoach; 01-31-2014 at 10:34 AM.
 
Old 01-31-2014, 11:43 AM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,106
Blog Entries: 2

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by ShaneRoach View Post
They're obviously compatible in the sense that Ubuntu is one of the several dev tracks stemming from Debian, but I am about to put Sid on a separate drive and install all my experimental stuff there, including the latest WINE. This is where I got screwed up, as I thought perhaps I could get the bleeding edge version of WINE from the Ubuntu repository. It was not available on the Debian stable or testing repos. Synaptic didn't seem to see a difference though, and before I experimented with it much further I got the above answer to my question and sort of abandoned this route for using the latest WINE.

I may or may not experiment again with trying Ubuntu related repositories, but for what I am doing now it is unnecessary.

Thanks for all the help folks! I think I'm done with this one. I guess feel free to add tidbits though in case someone else is searching the web for similar issues...?
Ubuntu, at least the non-LTS versions, run about the same as Sid. Some packages will be slightly ahead or behind. Even if it's the same version, the dependencies and defaults could be different, causing conflicts.
 
Old 01-31-2014, 04:00 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by ShaneRoach View Post
They're obviously compatible in the sense that Ubuntu is one of the several dev tracks stemming from Debian, but I am about to put Sid on a separate drive and install all my experimental stuff there, including the latest WINE. This is where I got screwed up, as I thought perhaps I could get the bleeding edge version of WINE from the Ubuntu repository. It was not available on the Debian stable or testing repos. Synaptic didn't seem to see a difference though, and before I experimented with it much further I got the above answer to my question and sort of abandoned this route for using the latest WINE.

I may or may not experiment again with trying Ubuntu related repositories, but for what I am doing now it is unnecessary.

Thanks for all the help folks! I think I'm done with this one. I guess feel free to add tidbits though in case someone else is searching the web for similar issues...?
This sounds good. It is, unfortunately not true.

Canonical has some grand plan for Ubuntu that includes changes in where certain files are placed in the file system.

When you take a look at .deb packages you will find that they all include an install script. That install script is responcible for making sure that all the parts go to the correct places and that the needed dependencies are pulled in.

If you get lucky and install one of Ubuntus packages in Debian where Ubuntu has changed where the package components go in the file system you will break your system. There is no "may break your system". You will break your system.

The same is true with installing Debian packages in Ubuntu.

Yes Ubuntu is based on Debian testing for LTS releases and Sid for all other releases. They are all converted from Debian packages to Ubuntu packages, most importantly the install script.

As an example using a different distro, LMDE (Linux Mint Debian Edition) says on its site that LMDE is fully compatible with Debian repos. It also says that it is not compatible with LM (Linux Mint - based on Ubuntu) repos. One thing they do not say is that it is pretty touchy if you attempt to use LMDE packages in Debian testing (LMDE is based on testing).

That is the case because LMDE uses a "snap shot" of the Debian testing repo where all the packages are, in theory, stable. This puts LMDE actually several months behind the Debian testing repo. If you take one of these old packages from LMDE and attempt to put them in Debian testing you are likely to have trouble as downgrading is trickier than upgrading a package.

This is why you can change your LMDE repos to Debian testing and simply upgrade to Debian testing. Going the other way doesn't work smoothly at all.

People really should do a bit of study on how the APT system actually works before willy nilly slapping in packages from other distros. If you look through any forum, including this one, you will find no end of problems that are due to this very mistake.

If you really feel you need a package from some other distro you are much more likely to be happy with the result if you get the source code package and compile it.
 
Old 01-31-2014, 05:20 PM   #9
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Thanks Widget. I think I understand now. Obviously I didn't know that, and you just saved me some heartache trying to play with it in the future. =)
 
Old 02-02-2014, 04:55 PM   #10
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
Is there a reason no one is recommending playonlinux here. It allows you to easily update to the latest wine version + gives you a foolproof way to configure wine. There is no downside that I am aware of. You don't need sid to have the latest wine.
 
Old 02-03-2014, 12:52 PM   #11
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Tadaen View Post
Is there a reason no one is recommending playonlinux here. It allows you to easily update to the latest wine version + gives you a foolproof way to configure wine. There is no downside that I am aware of. You don't need sid to have the latest wine.

I think it maybe is just the direction the conversation turned. Even after looking at playonlinux I still want to upgrade to Sid for a plethora of reasons. I do thank you though. I had not heard of it, and now I want to use it on a separate Wheezy partition to get feel for how it compares.
 
Old 02-04-2014, 03:11 AM   #12
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
No insult intended, honestly, but if you just learned not to add Buntu PPAs to the system, I doubt you are ready for Sid. I strongly recommend using Stable, until you are more familiar with the inner workings of Debian.
 
Old 02-04-2014, 08:56 PM   #13
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Randicus Draco Albus View Post
No insult intended, honestly, but if you just learned not to add Buntu PPAs to the system, I doubt you are ready for Sid. I strongly recommend using Stable, until you are more familiar with the inner workings of Debian.
No thanks.

Had you read through the thread I think you would note I intend to have a Wheezy partition as well. I've used stable for years now and it is constantly woefully behind when using the web. Just one example - XBMC doesn't work without backports. At all.

The other option really is Ubuntu itself, and I will probably put that on a separate partition as well.

I don't know what it is people think is going to happen to you if you use unstable without first learning...? What, from Wheezy exactly? The very reason for looking for weird work arounds like this is because Wheezy is not adequate to a lot of the stuff people want to do with their computers.

Anyhow... Not offended, but I find the comment unhelpful and a little bemusing. I've been able to hunt down drivers for my NVidia, look up the solution for my wireless usb internet connection, and find a workaround for my Logitech devices not working properly. I think I'll manage...
 
Old 02-04-2014, 10:17 PM   #14
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
You may also, however, like to look at some other distros.

Mageia 4 is just out. This is a very up to date but, in my experience, stable distro.

Package management is quite different but you can do just about everything by using the Mageia Control Center. This is a decendant of Mandrake. Mandrake was built to be the first "user friendly" Linux distro. Did a pretty good job of it. The Mandrake Control Center was quite advanced. The newer versions are great.

The idea was that the user should never have to use the CLI unless they wanted too. And there is little need to for that matter.

Pretty sure XBMC would run fine on it. Don't use it myself so couldn't say for sure.

I don't have a problem with someone giving Sid a shot. You have a stable install to fall back on. Be sure that you install the package "apt-listbugs". Don't install buggy packages. apt-listbugs will tell you of any package you are installing or upgrading having KNOWN bugs. You may, of coarse, be lucky enough to discover a new bug. If so, report it.

There is a guy on another forum that has XBMC stand alone working under Sid I am pretty sure. He seems to like running it that way.
 
1 members found this post helpful.
  


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
Ubuntu Ultimate Edition repository for Debian Arcane Debian 16 12-16-2018 04:34 AM
LXer: Debian/Ubuntu: Making a Package Repository on Your LAN LXer Syndicated Linux News 0 03-30-2012 10:41 PM
Local Ubuntu/Debian repository with self-made packages Lexus45 Ubuntu 4 01-20-2012 01:19 AM
setting up a git repository on my debian/ubuntu server? sneakyimp Linux - Software 2 05-30-2011 01:44 PM
LXer: aptoncd - Take your Debian / Ubuntu repository with you LXer Syndicated Linux News 0 12-28-2007 05:30 PM

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

All times are GMT -5. The time now is 11:41 AM.

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