Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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
1answer
34 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
65 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
43 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
14 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
21 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
30 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
24 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
26 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
26 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 ...
4
votes
1answer
58 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
186 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 ...
2
votes
1answer
189 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
14 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
349 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
76 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
252 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
41 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
224 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
426 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
48 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
46 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
308 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
109 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 ...
1
vote
2answers
388 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 ...
0
votes
0answers
37 views

Installing apt and deb on minimum system

I have a motioneye raspbian image installed on raspberry pi. It is so minimal that it doesn't even have apt-get and deb. I can't install anything , I guess nothing will compile also there. There are ...
3
votes
3answers
181 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
635 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
564 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
144 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
3k 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
35 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
404 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 ...
8
votes
2answers
722 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 ...
1
vote
1answer
428 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
55 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
583 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
83 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 ...
3
votes
1answer
6k views

How to generate the `Release` file on a local package repository?

Context With local package repository, I refer to a set of software and configurations on a server which allows to store a software and any client to install this software by normal apt-get command (...
0
votes
0answers
394 views

Debian apturl alternative

Is there a Debian alternative to Ubuntu's apturl? Basically, it enables apt:// style URL compatibility with web browsers, for installing .deb packages via the APT protocol: (i.e. firefox apt:adobe-...
0
votes
1answer
258 views

gdebi: Prevent reinstalling the same version of a package?

Is there a way to prevent gdebi (on the command line) from reinstalling the same version of a .deb file that is already installed? For example, if I do $ gdebi -n example.deb Reading package lists... ...
1
vote
1answer
2k views

Can I install software in OpenSUSE using .deb files? If possible, how?

I just installed OpenSUSE and set everything up. But I am wondering if OpenSUSE use .deb files to install. If it's possible, how can I do? Can I just use alien?
-2
votes
1answer
387 views

apt-get 'deb' is not known in /etc/apt/sources.list

I get following error trying to excute apt-get update 'deb' is not known in /etc/apt/sources.list My sources.list deb http://deb.debian.org/debian/ stable main contrib deb-src http://deb.debian....
0
votes
1answer
300 views

Proper way to encrypt a .deb package

I want to be able to send my customer "firmware" updates to machines already sold to them. They aren't networked devices so it needs to be something done manually. Those hooks for getting the files ...
7
votes
3answers
2k views

List top level manually installed packages without their dependencies

There are many ways to show packages installed manually using apt, such as: apt-mark showmanual But sometimes that output is too much. For example if the user manually installed package foo: apt-...
1
vote
0answers
62 views

How to create a deb package containing multiple projects?

I would like to know the recommended path for creating a *.deb package (a C++ program), that depends on other C++ programs created by myself to be already installed on the system. Is creating a ...
0
votes
1answer
434 views

dpkg-deb build ignores/misinterprets a changelog

I'm building a .deb package using: dpkg-deb --build package The directory "package" contains another directory called DEBIAN that has the changelog, but the resulting package doesn't have the ...
6
votes
2answers
1k views

Can installing an unknown deb package using sudo dpkg be harmful?

Let’s say I install a package using dpkg: sudo dpkg -i package-name.deb then without running the package binaries I just remove it: sudo dpkg -r package-name Is there anything harmful that can ...
16
votes
3answers
4k views

Equivalents to '.msi' and to 'setup.exe' files in Debian or Ubuntu?

This answer explains .msi and setup.exe files for installing an application on Windows. Are there equivalents to .msi and to setup.exe files in Debian or Ubuntu? Do .deb package files correspond to ....
0
votes
3answers
268 views

How do binary installation files handle dependency?

In Ubuntu repository, when an application or library depend on some others, installing via apt-get will automatically download and install the dependencies first. Does this way install from binary ...