SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-11 23:33:06

mictian
Member
Registered: 2014-08-15
Posts: 11

[SOLVED] Error installing from PPA

Hi Team,

First of all, BL RC1 is really AWESOME! I dont know what is missing to be 1.0.

Going to my my problem, the thing is that each time I try to install a package from a PPA, (for example)

sudo add-apt-repository ppa:nilarimogard/webupd8

I get the following error:

aptsources.distro.NoDistroTemplateException: Error: could not find distribution template for BunsenLabs/Hydrogen

This same error happens to me installing other software like Node.js from here:
https://github.com/nodesource/distribut … /setup_4.x

I dont want to sound disrespectful at all, but is there any way to un-override this and just return Debian/Jessie ?

Thanks in advance.

Last edited by mictian (2015-09-14 22:53:47)

Offline

Be excellent to each other!

#2 2015-09-11 23:37:21

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED] Error installing from PPA

Ubuntu PPAs are fundamentally incompatible with Debian distributions such as BunsenLabs.

Please read this: https://wiki.debian.org/DontBreakDebian … nkenDebian

And maybe this as well: http://forums.debian.net/viewtopic.php?f=20&t=114130

If you want to use software from PPAs, follow this simple guide:
https://wiki.debian.org/CreatePackageFromPPA

Offline

#3 2015-09-11 23:42:08

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: [SOLVED] Error installing from PPA

Ahh and the lsb_release issue strikes again. The issue is caused by BL reporting itself as "BunsenLabs" and not "Debian", and node has no case for handling this.

Uninstall the bunsen-os-release package. This will return the system identification to the Debian Jessie defaults. After uninstalling, check the output of lsb_release -a, it should say Jessie, and the node installation procedure shouldn't fail anymore.
--
Ninja'ed by the internet police, but this should solve the issue anyway :>


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#4 2015-09-12 02:38:32

mictian
Member
Registered: 2014-08-15
Posts: 11

Re: [SOLVED] Error installing from PPA

Thank you both guys!

As usual, great answers.
I will follow the link of Head_on_a_Stick https://wiki.debian.org/CreatePackageFromPPA and the instruction of twoion. If I have any problem I let you know.

Offline

#5 2015-09-12 08:13:12

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: [SOLVED] Error installing from PPA

twoion wrote:

Ahh and the lsb_release issue strikes again. The issue is caused by BL reporting itself as "BunsenLabs" and not "Debian", and node has no case for handling this.

Uninstall the bunsen-os-release package. This will return the system identification to the Debian Jessie defaults. After uninstalling, check the output of lsb_release -a, it should say Jessie, and the node installation procedure shouldn't fail anymore.
--
Ninja'ed by the internet police, but this should solve the issue anyway :>

Good info to know.  Thank you.  wink


Linux User #586672
Come and Die -- Kyle Idleman

Offline

#6 2015-09-12 08:26:14

monostereo
Member
Registered: 2014-05-07
Posts: 43

Re: [SOLVED] Error installing from PPA

Mod Edit:
Using the method below will risk the stability and reliability of your BunsenLabs system.

-- HoaS

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

this is how i add some ppa from ubuntu repo:

[today i added new version of smtube with mplayer not smplayer [btw new version only works on debian. default version no]]

first i go to this address: smtube ppa
the green text: Technical details about this PPA is very important! open and than i choose version of ubuntu [trusty 14.04]

the both link than i paste in

/etc/apt/sources.list

like this:

##temporary
deb http://ppa.launchpad.net/rvm/smplayer/ubuntu trusty main 
#deb-src http://ppa.launchpad.net/rvm/smplayer/ubuntu trusty main 

than i must to add singing key:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A58BCAE3

what i do next is update and install only smtube. when installation is finished what i do next is delete key and list from 'sources.list'

first i delete singing key:

this is the link how to find and delete key: link

than, i delete those two lines from 'sources.list' and update

i hope this help if you want to experiment. i have two bl installed on the hdd and i am ok with experimenting.

Offline

#7 2015-09-12 09:09:38

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: [SOLVED] Error installing from PPA

Just to point out what comes up with bl-welcome at first run:

bl-welcome script wrote:

While FOSS is primarily about freedom and choice, certain choices are
known to carry an increased risk of breaking things in BunsenLabs.

Two of the riskier things are:
* adding Ubuntu PPAs or unknown/untrusted repos to your
   /etc/apt/sources.list or /etc/apt/sources.list.d
* installing a package that wants a newer version of libc6

More information on some of the riskier things, the above included,
can be found here:
https://wiki.debian.org/DontBreakDebian

(Right click the above link and choose "Open Link" to visit the page.)

Please type "I understand" to continue with this script.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#8 2015-09-12 09:55:49

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED] Error installing from PPA

Just to add to damo's point...

monostereo wrote:

[today i added new version of smtube with mplayer not smplayer [btw new version only works on debian. default version no]]

first i go to this address: smtube ppa
the green text: Technical details about this PPA is very important! open and than i choose version of ubuntu [trusty 14.04]

the both link than i paste in

/etc/apt/sources.list

like this:

##temporary
deb http://ppa.launchpad.net/rvm/smplayer/ubuntu trusty main 
#deb-src http://ppa.launchpad.net/rvm/smplayer/ubuntu trusty main 

than i must to add singing key:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A58BCAE3

what i do next is update and install only smtube. when installation is finished what i do next is delete key and list from 'sources.list'

first i delete singing key:

this is the link how to find and delete key: link

than, i delete those two lines from 'sources.list' and update

This is a really bad idea -- if the package has incompatible library dependencies then they may be drawn in from that repository and damage your system.

I say again, please read this:
https://wiki.debian.org/DontBreakDebian … nkenDebian

If you want to use software from Ubuntu PPAs in BunsenLabs, follow this guide:

https://wiki.debian.org/CreatePackageFromPPA

This is the only method that will maintain the stability and reliability of your BunsenLabs system.

Offline

#9 2015-09-12 12:08:08

monostereo
Member
Registered: 2014-05-07
Posts: 43

Re: [SOLVED] Error installing from PPA

yes, you two are totally right! i remember when i installed something from sid [crunchbang] to wheezy and because of that, system has crashed.  :8 now i am really satified with jessie, because, jessie has, i can say more newest packages than wheezy  [gimp 2.8.14. etc.]

btw, thanks again for the links, the second link is very similar with method i do, but without "building"

Offline

#10 2015-09-12 12:14:19

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED] Error installing from PPA

monostereo wrote:

the second link is very similar with method i do, but without "building"

The "build" bit is the important step -- compiling the packages in the Debian environment with the Debian libraries and dependencies is what makes it "safe" wink

Offline

#11 2015-09-12 12:22:10

monostereo
Member
Registered: 2014-05-07
Posts: 43

Re: [SOLVED] Error installing from PPA

ok O:)

thanks!

Offline

#12 2015-09-13 13:11:17

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: [SOLVED] Error installing from PPA

monostereo wrote:

yes, you two are totally right!

would you consider to redact your howto, then (just edit the post)?
the history of crunchbang forums is full of cases where people did it anyway (use ppas), broke their systems, and subsequently flooded the forums with cries for help.

Last edited by ohnonot (2015-09-13 13:11:59)

Offline

#13 2015-09-13 14:36:51

monostereo
Member
Registered: 2014-05-07
Posts: 43

Re: [SOLVED] Error installing from PPA

what do you mean by editing my post? delete where i talk about how to do from ubuntu ppa to debian?

Offline

#14 2015-09-13 14:46:37

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: [SOLVED] Error installing from PPA

Offline

#15 2015-09-13 14:56:53

monostereo
Member
Registered: 2014-05-07
Posts: 43

Re: [SOLVED] Error installing from PPA

ok thanks i understand now - reduce, but how? how you mean? everything there + mod edit is clear.

Offline

#16 2015-09-13 17:11:19

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Error installing from PPA

monostereo wrote:

everything there + mod edit is clear.

Agreed, plus it's half way down the page of a thread whose title is "Error installing from PPA".  tongue I think we're good.


bunsenlabs     8)     forum mod squad

Offline

#17 2015-09-14 22:53:58

mictian
Member
Registered: 2014-08-15
Posts: 11

Re: [SOLVED] Error installing from PPA

Based on all comments I agree with hhh and also as I was able to solve the problem with the link (this) posted by Head_on_a_Stick.
I update this thread as SOLVED.

Thanks all.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo