Hi,
Good old strace to the rescure....
strace lsb_release -c -s
open("/etc/lsb-release", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=105, ...}) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=105, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff39b553000 read(3, "DISTRIB_ID=LinuxMint\nDISTRIB_REL"..., 8192) = 105 read(3, "", 4096) = 0 read(3, "", 8192) = 0 close(3) = 0 munmap(0x7ff39b553000, 4096) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff39b553000 write(1, "lucid\n", 6lucid ) = 6
cat /etc/lsb-release
DISTRIB_ID=LinuxMint DISTRIB_RELEASE=9 DISTRIB_CODENAME=Isadora DISTRIB_DESCRIPTION="Linux Mint 9 Isadora"
Changed DISTRIB_CODENAME=Isadora to DISTRIB_CODENAME=lucid
DISTRIB_ID=LinuxMint DISTRIB_RELEASE=9 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Linux Mint 9 Isadora"
lsb_release -c -s lucid
mythbuntu-repo installs thereafter
Hi,
Good old strace to the rescure....
strace lsb_release -c -s
open("/ etc/lsb- release" , O_RDONLY) = 3 S_IFREG| 0644, st_size=105, ...}) = 0 S_IFREG| 0644, st_size=105, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7ff39b553000 ID=LinuxMint\ nDISTRIB_ REL"... , 8192) = 105 0x7ff39b553000, 4096) = 0 S_IFCHR| 0620, st_rdev= makedev( 136, 2), ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7ff39b553000
fstat(3, {st_mode=
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(3, "DISTRIB_
read(3, "", 4096) = 0
read(3, "", 8192) = 0
close(3) = 0
munmap(
fstat(1, {st_mode=
mmap(NULL, 4096, PROT_READ|
write(1, "lucid\n", 6lucid
) = 6
cat /etc/lsb-release
DISTRIB_ ID=LinuxMint CODENAME= Isadora DESCRIPTION= "Linux Mint 9 Isadora"
DISTRIB_RELEASE=9
DISTRIB_
DISTRIB_
Changed DISTRIB_ CODENAME= Isadora to DISTRIB_ CODENAME= lucid
DISTRIB_ ID=LinuxMint CODENAME= lucid DESCRIPTION= "Linux Mint 9 Isadora"
DISTRIB_RELEASE=9
DISTRIB_
DISTRIB_
lsb_release -c -s
lucid
mythbuntu-repo installs thereafter