SEARCH

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

You are not logged in.

#26 2010-10-08 16:33:28

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,466
Website

Re: Synaptic, Software Sources and Video

wuy wrote:

Debian Squeeze does not have a file named /etc/lsb_release

So it doesn't! That's very interesting - so why should any Debian Squeeze package even think of looking at /etc/lsb_release?

(There is however a package called lsb-release, which installs a file /usr/bin/lsb_release .)

Last edited by johnraff (2010-10-08 16:41:43)


John
--------------------
( a boring Japan blog , and idle twitterings )

Offline

Help fund CrunchBang, donate to the project!

#27 2010-10-08 16:35:14

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,904

Re: Synaptic, Software Sources and Video

wuy wrote:

Debian Squeeze does not have a file named /etc/lsb_release

Not even if a user installs the lsb-release package?


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#28 2010-10-08 16:47:13

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,466
Website

Re: Synaptic, Software Sources and Video

^no. You can search for some file in Debian here.


John
--------------------
( a boring Japan blog , and idle twitterings )

Offline

#29 2010-10-08 16:56:27

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,904

Re: Synaptic, Software Sources and Video

If Debian doesn't use /etc/lsb_release, then Im curious why its presence would affect software-properties-gtk and update-manager?

If the file isn't used, then why doesn't the program ignore it?


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#30 2010-10-08 17:19:59

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,466
Website

Re: Synaptic, Software Sources and Video

^my thoughts exactly.


John
--------------------
( a boring Japan blog , and idle twitterings )

Offline

#31 2010-10-08 18:13:40

wuy
#! Member
Registered: 2009-02-05
Posts: 76

Re: Synaptic, Software Sources and Video

Now we're entering definitively the terrain of speculation..
But software-properties-gtk is a Debian/Ubuntu app. Maybe Ubuntu uses /etc/lsb_release ?

Offline

#32 2010-10-08 18:16:11

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,017

Re: Synaptic, Software Sources and Video

http://packages.debian.org/squeeze/lsb-release

I guess that, since the LSB Release refers to the Debian base, any /etc/lsb_release should report the parent Debian base and not the derived OS name?


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#33 2010-10-08 19:59:08

wuy
#! Member
Registered: 2009-02-05
Posts: 76

Re: Synaptic, Software Sources and Video

Maybe the app looks for the Ubuntu versions in /etc/lsb_release and gives an error if it finds something else.
Anyway, corenominal, Clem from Mint and others will have to deal with this if they want to keep software sources in their setup.

Offline

#34 2010-10-09 03:24:42

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,466
Website

Re: Synaptic, Software Sources and Video

http://packages.debian.org/squeeze/all/ … e/filelist
...no /etc/lsb-release in there.

It's not in any Ubuntu file search either.
My #! 9.04 has no such file, but the command 'lsb_release -a' returns the information.

Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444678

(Other stuff:
http://linuxmafia.com/faq/Admin/release-files.html
http://www.computerbob.com/guests/how_t … _linux.php)

Anyway, corenominal, Clem from Mint and others will have to deal with this if they want to keep software sources in their setup.

Indeed.

btw The file is /etc/lsb-release not /etc/lsb_release. 'lsb_release' is the command associated with the package lsb-release. roll

Last edited by johnraff (2010-10-09 16:43:59)


John
--------------------
( a boring Japan blog , and idle twitterings )

Offline

#35 2010-10-09 16:56:12

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,466
Website

Re: Synaptic, Software Sources and Video

My guess is that the apps which crash when the Crunchbang /etc/lsb-release file is present are not looking at that file directly but reading the output of 'lsb_release', which in turn is checking for the presence of that file.

(/etc/lsb-release renamed)

john@computer:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux testing (squeeze)
Release:    testing
Codename:    squeeze

(/etc/lsb-release present)

john@computer:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    CrunchBang
Description:    CrunchBang 10 statler
Release:    10
Codename:    statler

John
--------------------
( a boring Japan blog , and idle twitterings )

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.

Debian Logo