Opened 14 years ago
Closed 14 years ago
#71 closed defect (fixed)
Debian Squeeze - Unable to find debian version
Reported by: | Joachim Langenbach | Owned by: | Bruno Cornec |
---|---|---|---|
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 (5)
comment:1 by , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
/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 by , 14 years ago
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
comment:4 by , 14 years ago
Could you give me a hint on whether this trick really fixes the problem and allowed you to progress with sid ? TIA.
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yes it does, if the virtual machine image is named debian-sid-i386 instead of debian-6.0-i386.
Thanks for your help!
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)