Opened 8 years ago

Closed 8 years ago

#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 (5)

comment:1 in reply to: ↑ description Changed 8 years ago by bruno

  • Status changed from new to assigned

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 Changed 8 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 8 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

comment:4 Changed 8 years ago by bruno

Could you give me a hint on whether this trick really fixes the problem and allowed you to progress with sid ? TIA.

comment:5 Changed 8 years ago by joachim

  • Resolution set to fixed
  • Status changed from assigned to closed

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.