How to create working .deb files out of it?

If none of the more specific forums is the right place to ask

How to create working .deb files out of it?

Postby pawRoot » 2017-02-25 01:34

Not sure if this should be in here or Programming section, anyway I've installed Infinality
by following this guide:

After building it, you get 2 files


But then it's impossible to install them using Gdebi (GUI version), because these 2 files depend on each other from what i understand, I was only able to install them by using:

# Install all the .deb files
cd ../
sudo dpkg -i \
freetype-infinality/*.deb \

Now the question, how can i get installer/package (.deb) out of it that will not require terminal usage?
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: How to create working .deb files out of it?

Postby milomak » 2017-03-04 11:44

see here

iirc you can edit the rules file for what dependencies should be looked for. (edit - the control file as steve points out below)

might be helpful if you paste here what the actual gdebi output is as well.
Last edited by milomak on 2017-03-05 05:44, edited 1 time in total.
iMac - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
Posts: 1639
Joined: 2009-06-09 22:20

Re: How to create working .deb files out of it?

Postby stevepusser » 2017-03-04 21:47

As far as I know, dependencies are set in the debian/control file, most of them are added automatically by dh_shlibs replacing "shlibs:Depends" by querying the finished binaries of packages like this one, but this circular one is probably added manually.. You could also set up some complicated system where dependencies are also generated by some code in the rules file interacting with some test files, but that gets beyond me quickly.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
Posts: 8228
Joined: 2009-10-06 05:53

Re: How to create working .deb files out of it?

Postby Dai_trying » 2017-03-05 10:02

I use Q4OS a lot and one of the things it has available is the ability to create custom installers (these are q4os specific) but when it creates them it also creates a single .deb file which I use for installing to my plain debian systems. It is not perfect and might not be worth installing another os (although you can do it in Virtualbox) but it is one possible solution.
This Q4OS forum post has a little information that may help.
Posts: 191
Joined: 2016-01-07 12:25

Return to General Questions

Who is online

Users browsing this forum: 4D696B65, marcetm and 7 guests