View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002001||Kali Linux||[All Projects] General Bug||public||2015-01-03 17:15||2015-02-05 13:49|
|Target Version||Fixed in Version||1.1.0|
|Summary||0002001: lsb_release is returning a codename of "n/a"|
|Description||This 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 Reproduce||1. issue the command "lsb_release -c -s" at the bash prompt.|
2. Observer that the response is "n/a"
|Additional Information||This 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.
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_DESCRIPTION="Ubuntu 14.04.1 LTS"
I might suggest something along the lines of
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...)
base-files 1.1.0 will provide /etc/lsb-release as suggested.
|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|