View Issue Details

IDProjectCategoryView StatusLast Update
0002001Kali Linux[All Projects] General Bugpublic2015-02-05 13:49
Reporterstonemirror Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0.9 
Target VersionFixed in Version1.1.0 
Summary0002001: lsb_release is returning a codename of "n/a"
DescriptionThis was reported a few releases ago prior to version 1.0.8 as issue 1505, where it was reported as fixed. See https://bugs.kali.org/view.php?id=1505
Steps To Reproduce1. issue the command "lsb_release -c -s" at the bash prompt.
2. Observer that the response is "n/a"
Additional InformationThis keeps, for example, the nodejs pack from installing, since the test for a known distribution fails. I've put together a (silly) workaround for the issue, see http://www.acme-dot.com/stupid-problems-deserve-stupid-solutions/

This command should report something that will have the effect of identifying the distro as being "wheezy" for this purpose, probably. Best solution is to contact the nodejs team and work out getting Kali listed as a supported alternate package with some "official" values in there, in the same way that Linux Mint is.

Activities

stonemirror

2015-01-03 20:35

reporter   ~0002935

Last edited: 2015-01-03 20:40

View 3 revisions

Looking over Ubuntu 14.04 and Debian "wheezy", it would seem that the best way to resolve the problem — if not the most immediately expedient — is to create a new file at /etc/lsb-release, containing something modeled along the following (from Ubuntu "Trusty Tahr"):

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

I might suggest something along the lines of

DISTRIB_ID=Kali
DISTRIB_RELEASE=1.0.9a
DISTRIB_CODENAME=ninthgate
DISTRIB_DESCRIPTION="Kali Linux 1.0.9a"

Great movie. The next release could be "tenlittleindians" or "tenthingsIhateaboutyou". We could have a contest. :D

We might then want to contact, for instance, the NodeJS team and ask them to update their setup script with the appropriate code name and add Kali to their "Supported Distros" on https://github.com/joyent/node/wiki/installing-node.js-via-package-manager (assuming anyone other than me thought that was appropriate...)

rhertzog

2015-02-05 13:49

administrator   ~0002996

base-files 1.1.0 will provide /etc/lsb-release as suggested.

Thank you!

Issue History

Date Modified Username Field Change
2015-01-03 17:15 stonemirror New Issue
2015-01-03 20:35 stonemirror Note Added: 0002935
2015-01-03 20:39 stonemirror Note Edited: 0002935 View Revisions
2015-01-03 20:40 stonemirror Note Edited: 0002935 View Revisions
2015-02-05 13:49 rhertzog Note Added: 0002996
2015-02-05 13:49 rhertzog Status new => resolved
2015-02-05 13:49 rhertzog Fixed in Version => 1.1.0
2015-02-05 13:49 rhertzog Resolution open => fixed
2015-02-05 13:49 rhertzog Assigned To => rhertzog