Opened 13 years ago

Closed 13 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)

in reply to:  description comment:1 by Bruno Cornec, 13 years ago

Status: newassigned

Replying to joachim:

Unable to find debian version in /etc/debian_version Please report to the maintainer bruno_at_project-builder.org

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

comment:2 by Joachim Langenbach, 13 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 Bruno Cornec, 13 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 Bruno Cornec, 13 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 Joachim Langenbach, 13 years ago

Resolution: fixed
Status: assignedclosed

Yes it does, if the virtual machine image is named debian-sid-i386 instead of debian-6.0-i386.

Thanks for your help!

Note: See TracTickets for help on using tickets.