Public bug reported:

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)

** Affects: gdebi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667311

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/1667311/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to