SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

debian packages release number is not properly calculated #152

Closed tpokorra closed 8 years ago

tpokorra commented 8 years ago

https://github.com/SolidCharity/LightBuildServer/blob/master/lib/BuildHelperDebian.py#L177

eg lxc-scripts for Ubuntu

tpokorra commented 8 years ago

problem: trusty vs 14.04:

repopath /var/lib/lightbuildserver/repos/tpokorra/lbs/ubuntu/14.04/ but the resulting packages are stored in trusty.

https://github.com/SolidCharity/LightBuildServer/blob/master/lib/DockerContainer.py#L69 for docker the release is changed from trusty to 14.04

I have added a symbolic link in /var/lib/lightbuildserver/repos/tpokorra/lbs/ubuntu

tpokorra commented 8 years ago

section unknown causes problems? https://github.com/tpokorra/lbs-lbs/blob/master/lxc-scripts/debian/control#L2

tpokorra commented 8 years ago

there has been some mixup with the package. probably caused by adding signing to the package, and now it is using reprepro to build the package. I needed to copy all packages

mv amd64/binary/lxc-scripts_0.1.0-* pool/main/l/lxc-scripts/
tpokorra commented 8 years ago

there has been an error on apt-get update:

W: Fehlschlag beim Holen von https://lbs.solidcharity.com/repos/tpokorra/lbs/ubuntu/trusty/dists/trusty/InRelease  Erwarteter Eintrag »main/binary-i386/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei).

E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.

Solution:

# shows x86_64
uname -a
dpkg --print-foreign-architectures
dpkg --remove-architecture i386
apt-get clean all
apt-get update