gdebi also tries to use debian/control file as debian archive

Bug #1667311 reported by Fabian Niepelt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

we are using gdebi to install the build dependencies of packages we are building for internal use.
Parsing the debian/control file and installing the listed dependencies works fine. However, gdebi also tries to use the control file as a debian archive resulting in an error and non-zero exit status:

root@fabian-ubuntu-vm:/home/fabian/UbuntuPackages# LANG=C gdebi foobar/debian/control
Reading package lists... Done
Building dependency tree
Reading state information... Done
Requires the installation of the following packages: apache2

Install Build-Dependencies for source package 'foobar' that builds

Do you want to install the software package? [y/N]:y
[Build Dependencies being successfully installed here]
dpkg-deb: error: 'foobar/debian/control' is not a debian format archive
dpkg: error processing archive foobar/debian/control (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 foobar/debian/control
root@fabian-ubuntu-vm:/home/fabian/UbuntuPackages# echo $?
1

Greetings,
Fabian

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gdebi-core 0.9.5.7ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Thu Feb 23 15:08:40 2017
InstallationDate: Installed on 2017-02-23 (0 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gdebi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fabian Niepelt (fniepelt) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.