[Pkg-acpi-devel] Bug#499854: Bug#499854: closed by Michael Meskes

Michael Meskes meskes at debian.org
Wed Sep 24 10:12:23 UTC 2008


On Tue, Sep 23, 2008 at 12:18:05PM -0400, Joey Hess wrote:
> That's also a completly random way to do it, that'd going to fail in
> oddball situations. For example, what if someone puts Ubuntu sources
> entries in a Debian system temporarily?

If you have Ubuntu sources configured you might install Ubuntu packages which
makes the check work. After all there is but one reason for this, to make sure
an Ubuntu dir does not have an effect on a pure Debian system.

However, what I failed to see was that /etc/apt/sources.lst is not the only way
to configure apt sources, so yes, I need to change this.

> Is there something wrong with /etc/debian_version?

Yes:

michael at feivel:~$ cat /etc/debian_version
lenny/sid
michael at feivel:~$ cat /mounts/ubuntu/etc/debian_version
lenny/sid

There simply is no difference there. :-)

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes at jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!





More information about the Pkg-acpi-devel mailing list