Questions tagged [deb]

Deb is the binary package format used by Debian, Ubuntu, Linux Mint, … Use this tag for questions about building or inspecting deb packages.

1
vote
0answers
24 views

unable to connect to debian repos

I have been getting the following from the last couple of days - $ sudo apt update Hit:1 https://packages.riot.im/debian buster InRelease ...
2
votes
1answer
15 views

Using debi from devscripts?

I'm slightly confused on what exactly debi does. I was building OLA, and I found this post: Error when building .debs for BBB with newest OLA 0.9.7... – Google Groups where I had seen: cd ola-0.9.7 ...
0
votes
1answer
33 views

Why do I have a `/root/.rpmdb` folder on a Debian-based distro?

I just noticed my Devuan ASCII machine has a /root/.rpmdb folder. Why would it have been created, seeing how I use apt DEB files, not RPMs? And - how safe is it to delete it?
3
votes
2answers
57 views

Making a Simple Deb Package NixOS Compatible (Mathematica's wolframscript) [duplicate]

Consider this simple debian package: wolframscript.deb (to inspect you'll have to click the download link for Linux). After unpacking, it has the following file structure: ├── opt │   └── Wolfram │   ...
0
votes
1answer
40 views

Packaging CMake components for Debian

I have a single upstream source package using cmake and I'd like to package it as two binary debian packages. $ tree proj proj/ ├── app1.c ├── app2.c └── CMakeLists.txt Upstream's CMakeLists.txt was ...
-2
votes
1answer
24 views

Find package (OS distribution) manager for automation [closed]

I want to automate some installation process. For that, I need to know whether it is a DEB or RPM distribution, Im able to find some scripts for find the OS distribution. I need to write a script to ...
0
votes
1answer
54 views

Configure APT repositories using DEB package

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script. Now I want to upgrade ...
2
votes
1answer
44 views

What difference between dpkg-buildpackage and debuild?

What difference between dpkg-buildpackage and debuild? What is better to use to build deb packages?
0
votes
0answers
44 views

Can we create Arch Linux packages from Debian packages securely? [duplicate]

I have made a very simple terminal game: https://github.com/Souravgoswami/t-hangman I have also created the Deb file. We surely can move the source code to /usr/bin/ directory and the word file to /...
0
votes
0answers
21 views

Why is checkinstall freezing when I try to run “make install” for Ruby 2.5.5?

I'm compiling Ruby 2.5.5 with jemalloc in a Docker container, and I'm trying to build a deb package with the checkinstall tool. Here is the Dockerfile and build script I'm using. Steps to reproduce: ...
1
vote
1answer
103 views

“apt install ./file.deb” vs “apt install /path/to/file.deb”

I was looking to install a .deb file and found an answer here: How to install a deb file, by dpkg -i or by apt? I just want to know the difference between using: sudo apt install ./name.deb and ...
0
votes
1answer
18 views

How install .deb file generated by building custom kernel onto virtual machine?

I have build a custom kernel and now I want to run this custom kernel on the virtual machine. What is the way to do so? I can see that it looks for .iso file. However, the generated file is .deb ...
0
votes
1answer
23 views

Is it possible to configure a .deb package, so it only installs on 32-bit operating systems, and not on 64-bit operating systems?

I have developed a Java 8 application. I have packaged it for Linux systems, self-containing the Java runtime, so users don't have to deal with Java installation. I have made a package with the 32-...
1
vote
1answer
77 views

apt update always overrides old config file

I am building and distributing my code as a deb package (built with cmake, packaged with CpackDeb) to a Ubuntucore-based 16.04 LTS. The package installs a config file among else. I can't get apt/apt-...
0
votes
1answer
236 views

Installing .deb (Brackets.Release.1.13.64-bit.deb) package in arch Linux

The latest release of Brackets (v1.13) is not available in the AUR. So I downloaded the official .deb package from the official site. Now how do I go about installing it ? Do I have to write a ...
2
votes
0answers
59 views

Is there a way to package npm dependencies into a .deb package for offline deployment?

I've created a very simple debian .deb package that deploys my node-red project to the correct directory structure on a target machine. I also have a number of python/debian dependencies, which I've ...
0
votes
0answers
17 views

Python using deb em package and not pip empy

So I’m running ROS melodic and while running catkin_make I get an error in package conflict. Long story short, I want to use pip‘s empy package instead of em package, but the em package is loaded from ...
0
votes
0answers
31 views

Creating .deb from github repository

Currently, to build the github repo, it requires making a python environment with specified dependencies, with gcc and g++ installed. The project is written in python and cython. I want to make a .deb ...
-1
votes
1answer
70 views

Converting .rpm to .deb using alien

I am trying to convert .rpm to .deb using alien command: sudo alien <name of package>.rpm But it's just create a directory that has the same name but never get .deb to install it There is no ...
0
votes
0answers
25 views

IPIP tunnel speed decreases if idle

I've set up an IPIP tunnel on 2 deb9 hosts for public IP routing and it kinda works. I can reach both ends, but if I let it idle for a bit, the speed decreases. After a while I can't even reach it ...
0
votes
1answer
46 views

Installing deb to a different directory

Is there any possible way to install steam from a .deb file to a folder on an external usb hard drive? I have tried something like "--root=" but I can't get it to work.
0
votes
1answer
27 views

Debian packaging - config files get overwritten on update

I found that in the packaging of ralph ng there seems to be an issue with Debian packaging. The desired behaviour would be that on first install a Debian menu prompt appears, to configure some ...
5
votes
1answer
99 views

creating a .deb package and autorun it

I'm using a Raspberry Pi 2 Model B running the latest Raspbian Stretch Lite 2018-11-13. I built a program that communicates with a LoRa chip (SX1276) using SPI, gets some data from a temperature ...
0
votes
1answer
316 views

alien conversion from deb to rpm on fedora 27

I find myself unable to convert a .deb package to .rpm to install it on fedora. I am not able to download the equivalent rpm file, so conversion is my only way out. I get this error after using the ...
3
votes
1answer
444 views

How to set an environment variable during package installation

I am working on a legacy cross-platform project packaged to both DEB and RPM formats. Once the Linux package is installed, an environment variable holding the path to the installation folder is ...
1
vote
1answer
15 views

How are upstream changelogs pulled and shared in Debian?

I know that in Debian you have a watch file which diffs the pristine version of a package with a release upstream (using regexp) and telling if there is a new package release. How are changelogs done. ...
0
votes
1answer
625 views

gdebi I click install package and it does nothing, just closes

Using Elementary OS 5 Juno. I have tried to install discord earlier and had the same problem, I download the .deb that supposedly should simply open the gdebi package installer, and it does, then I ...
0
votes
2answers
97 views

Can't install openntpd: “unable to find a suitable fs in /proc/mounts, is it mounted?” “pre-installation script returned error exit status 1”

I'm trying to install openntpd (sudo apt-get install openntpd) and I'm getting: Preparing to unpack .../openntpd_1%3a6.0p1-2_amd64.deb ... Warning: unable to find a suitable fs in /proc/mounts, is it ...
12
votes
2answers
1k views

Is it safe to rename .deb file named by the standards?

The established structure of the .deb file name is package_version_architecture.deb. According to this paragraph: Some packages don't follow the name structure package_version_architecture.deb. ...
1
vote
1answer
352 views

libreadline dependency related Error while installing an app, “seedsync”

I was trying to install Seedsync. I followed the instructions on their github Download the deb package from the latest release Install the deb package: sudo dpkg -i <deb file> ...
-1
votes
2answers
45 views

Problem with deb package, need previous dependecy

I have a weird issue, on fresh Debian install (9.5) i downloaded a .deb package and tried install but... the system tell me that i need a dependency, but a previous version of a package that i have ...
1
vote
1answer
289 views

Override version of dependency package set by shlibs:Depends in deb

I'm building a Debian package that depends on libmysqlcppconn7v5. I'm building it on Ubuntu which has libmysqlcppconn7v5 1.1.9, however it is intended to be installed on Debian which has ...
-2
votes
2answers
569 views

Chroot : no such file or directory [closed]

I know it has been asked before but they do not solve my problem. I have already binded the /dev and /proc, copied the qemu-arm-static to /usr/bin. But chroot fails at executing any command. It was ...
2
votes
1answer
53 views

manual pages of built .deb install on Debian but not Ubuntu

I am testing out the build of a .deb package on different distributions using test-kitchen. The built .deb file installs the command to /usr/bin fine on both Debian and Ubuntu. My problem is that the ...
2
votes
1answer
47 views

Finding recursive and non-recursive depends of a package in Debian

I was reading How to get ALL kinds of reverse package dependencies: reverse-depends pendant for non-Ubuntu distributions and tried the same to get info. on couple of packages in Debian but didn't ...
1
vote
1answer
367 views

DEB: multi-package, ignore installation of some files during packages building

I've overridden dh_auto_install: target in debian/rule file. Now, all my built components installed in debian/tmp. I prepared package.install for every package of my set but I have this issue: ...
1
vote
0answers
141 views

How include deb package into Tails source file? [closed]

How include deb package into Tails source file? I'm needed have application after installing Tails, but install application in persistent it does not suit me. I need that any deb package be installed ...
2
votes
2answers
523 views

What is the diffference between the prefix and destdir params for dh_auto_install?

I want to make my own debian package and I want to install it in /opt/A/B/C. When overwriting dh_auto_install the documentation shows that you can use params --destdir= and -- prefix=. If I want to ...
3
votes
3answers
197 views

.deb package: cannot upload to Bintray when package is build using Ubuntu 18.04

so I am trying to upload my package that I compiles and build on a machine running 18.04 to Bintray. It doesn't work. I get a message like this: Unable to upload files: Could not extract metadata ...
2
votes
1answer
908 views

How to temporarily disable and permanently disable repos in Debian based systems?

I know how to do it on Red Hat based systems. yum –disablerepo=* --enablerepo=epel update The above command will temporarily disable all repos and enable epel and update only epel packages. yum ...
-2
votes
2answers
615 views

How to uninstall packages and revert to the original provided by the distribution?

I'm running Debian oldstable (Jessie 8) and I'm interested in installing some .deb packages for testing purposes from testing (Buster 10). I'll be downloading the .deb files directly from packages....
0
votes
1answer
173 views

How can I compare the pristine configuration files with the contents of /etc?

Being tasked to put several machines under configuration management I was wondering how I could go about comparing the configuration files from all installed packages with the contents of /etc and any ...
2
votes
1answer
4k views

dpkg: error processing archive

I get the following error when running the command: $ sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoclean -y && sudo apt-...
1
vote
1answer
37 views

prevent apt* from downloading behind my back

I am on Debian Sid and I've found that an apt-upgrade didn't download all the 87 packages that were to be installed but just one, that was not in the debian's repositories (namely http://dl.google.com/...
1
vote
2answers
457 views

Check what package provides a debian dependency [duplicate]

There are some such packages that are not actually available from the repository, but are instead "Provides" provided by other packages. For example, packages may depend on libc-dev, but (at least in ...
7
votes
2answers
761 views

How may I obtain information on a specific Debian package (.deb) file? [duplicate]

Some days ago I downloaded a .deb file that does not have a descriptive name and I want to know which version it is before executing dpkg -i. I do not know if the same package also comes in a ...
2
votes
1answer
517 views

Opening a Debian package file without `dpkg` [duplicate]

I need to open a Debian deb package file in MacOS High Sierra to compare a binary with one that I have installed in Linux. Actually the package is mssql-server_14.0.3008.27-1_amd64.deb The file ...
0
votes
1answer
65 views

TeXLive light version installed from a deb file

In this answer, it is explained how a light version of TeXLive can be installed with the --no-install-recommends option, like this: sudo apt-get install --no-install-recommends texlive-latex-extra ...
3
votes
2answers
713 views

dh_install not finding files that clearly exist

Running debuild -us -uc to build a package I'm working on, dh_install complains about missing files. Running it on it's own, it prints the same error messages: $ dh_install /home/felix/work/my_app/...
4
votes
1answer
91 views

What is the recommended way to maintain local patches to debian packages?

I have a few local patches to customize some packages in my system, so every time one of these packages is upgraded, I have to manually run apt source to fetch the sources, apply the patches, build ...