Ticket #71 (closed defect: fixed)
Debian Squeeze - Unable to find debian version
| Reported by: | joachim | Owned by: | bruno |
|---|---|---|---|
| Priority: | major | Milestone: | 0.10.1 |
| Component: | pb | Version: | 0.10.1 |
| Keywords: | Cc: |
Description
On Debian Squeeze (upcoming stable), pb reports:
Unable to find debian version in /etc/debian_version Please report to the maintainer bruno_at_project-builder.org
Change History
comment:1 in reply to: ↑ description Changed 3 years ago by bruno
- Status changed from new to assigned
comment:2 Changed 3 years ago by joachim
/etc/debian_version: squeeze/sid
I understand! Squeeze does not have a version number, because it is not released yet and the unstable version is "numbered" sid. But it will be greate, if pb can handle this, because packages, which should go into debian must be build against sid and many debian people use sid as desktop.
comment:3 Changed 3 years ago by bruno
This is in your hands in fact ;-)
You need to adapt your /etc/pb/pb.conf in order to change:
osrelexpr debian = (\d+\.\d+)
into:
osrelexpr debian = (\d+\.\d+|sid)
(or something similar which will match your version string.
You may also need to add
oscodename debian-sid = sid

Replying to joachim:
Could you provide the content of /etc/debian_version please ? Is there another file which contains the debian version info ? (outside lsb_release)