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.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Dependecy issue with Thingsboard-gateway package installer

i've recently been trying to install Thingsboard Gateway on a gateway running linux Debian 9 32bits, but the packages installer says "missing dependency: python3-paho-mqtt", i have python2.7 ...
0
votes
2answers
43 views

What cautions shall I take when installing from a deb file without safety guarantee?

Suppose that I found on a website without well-known reliability a deb file without guarantee that the software it installs does exactly what it is supposed to. So there is possibility that the ...
0
votes
1answer
25 views

is there a safe way to install .deb / .rpm via bash script?

I developed a java application which is packaged for many platfor (including .deb / .rpm). In my app, there is a functionality to auto-upgrade. For Linux platform, it manages, to check if new version ...
0
votes
1answer
33 views

online compiler [closed]

An open-source author didn't provide the binary file, but just the source code, for users to download and compile them self. Downloading and installing compilers is required and needs time to try and ...
2
votes
1answer
61 views

How to distribute deb package to be able to install updates from code

I've made a deb package which contains binaries of my software. Also I've made a repo and configured it so user can install updates using sudo apt-get update mypackage && sudo apt-get install ...
1
vote
0answers
25 views

How to create a local network Linux repository?

I have built a deb package with my program, and I have to distribute it somehow. I want the user to be able to install my program with one command (or maybe two): $ apt install. How should I do this?
0
votes
1answer
22 views

How to install deb packages which are stored in another manually created deb package?

I want to create my own deb package for my application that will be deployed on multiple devices that don't have an internet connection. Therefore I put the application dependency files (downloaded as ...
1
vote
1answer
46 views

Prevent .deb from installing PGP keys

Some .deb packages, as Google SW, for example, install PGP keys and add their own software repository during installation. Question: How can I prevent .deb packages from installing PGP keys and ...
1
vote
1answer
61 views

How to create a DEB postinst script that enables a systemd user service?

I try to create a DEB file that installs a systemd user service with a postinst script that enables this service after installation. This is my postinst script: #!/bin/bash set -e systemctl --user ...
0
votes
1answer
8 views

Debian: resource file for use in postinst

I am trying to build a Debian package which installs a database (the DBMS is a dependency, this package makes sure a certain database is present). I would like postinst to take care of initializing ...
0
votes
1answer
17 views

How to review changes made by a .patch with quilt in a Debian source package?

I've pulled the source package of luajit with apt source luajit from Debian sid. As the package was unpacked by the same command, I saw the next message: dpkg-source: info: applying 0002-Enable-...
1
vote
0answers
36 views

Do I need linux-update-symlinks to update /vmlinuz after installing a custom kernel?

Following the instruction I built and installed a custom kernel (and I will keep the old kernel as well) # apt-get install linux-source-4.19 $ tar xaf /usr/src/linux-source-4.19.tar.xz $ cd linux-...
0
votes
0answers
16 views

Why is lintian's --fail-on-warnings flag deprecated and what should I use instead?

If you run lintian --fail-on-warnings somepackage.deb you'll get a warning: warning: --fail-on-warnings is deprecated (of course this warning itself will not cause a failure) I want to call lintian ...
0
votes
0answers
19 views

Best way to test dependencies of my .deb package?

I have a project that builds an application, which I want to release as a .deb package, initially uploaded to a website, and perhaps later on a PPA. I'm not interested in adding it to any Linux ...
0
votes
0answers
35 views

Stuck on unpacking python3-blinker

Just installed kali nethunter on my android device, and apt-get upgrade stuck at "preparing to unpack python3-blinker_1.4+dfsg1-0.3_all.deb". I've tried to apt purge python3-blinker and apt remove ...
2
votes
2answers
104 views

dpkg-query to show installed packages only and not “rc”

I am using: dpkg-query -W -f='${package}\t${version}\t${architecture}\n' to list installed packages but it also shows packages marked for removal i.e. with status rc. How do I get only installed ...
1
vote
1answer
45 views

Deb build-dependencies in custom locations

I have a debian package with npm build dependency, e.g, the control file contains the line: Build-Depends: debhelper (>= 11), npm Building this package works fine if I have installed nodejs using ...
0
votes
0answers
26 views

Copying DEB file and install - Error

I build a deb file for Apache2 from its source, also I was able to install and run successfully in the machine which I used to compile. But when I copy(SCP) that deb file to another machine and ...
0
votes
0answers
47 views

Can an “apt upgrade” automatically install a dependent package that replaces an installed package?

Our team has gotten off into a dark corner of how apt updates work, and we could use some help finding our way out. The context here is a set of deployments from a local repository. We have a package,...
0
votes
0answers
25 views

Manually adding dependencies to debian/control file

I'm trying to building an .deb installer for my Linux app. I have it working, except for my app calls to ffmpeg and xjadeo via the command line (but is not linked to them), so when my app is installed,...
0
votes
1answer
277 views

How To Install Apps Without Sudo or Admin Privileges

I want to install a Game Client thing called Steam (here). It downloads a .deb package but needs root or admin password to install. I need a way to install and get Steam working without admin or root ...
0
votes
1answer
438 views

how to resume download in wget for google takeout data

I have 13 GB gmail data based on a discussion here https://superuser.com/questions/1502126/13-66-gb-out-of-15-gb-used-in-gmail-delete-emails-that-consumed-space I decided to download all emails in ...
2
votes
1answer
101 views

How to automate deb package with binary?

I have following issue: I have access only to binary file. From a binary file I am trying to make a full automated .deb package. I packaged it and works except the service file. I created service ...
0
votes
1answer
35 views

Setting file capabilities in deb package fails

So, there is my piece of software, that has to be distributed via deb-packages, it contains a small custom server. That server requires ability to listen on a priviledged port, because explaining to a ...
1
vote
1answer
311 views

Why dh_auto_install and dh_install are not using same directory?

I try to build a single package from source using dpkg-buildpackage. At some point dh_auto_install is invoked and run make install DESTDIR=/somewhere/debian/package-name Then dh_install is invoked ...
0
votes
1answer
14 views

Can reportbug print only the list of bugs?

I have been trying to get a list of bugs (with url and title) of installed packages, but I don't know if reportbug can shows the list bugs only. This is my failed script: for package in $(dpkg-query ...
1
vote
1answer
34 views

Set minimal JRE version to deb package dependency

I want to bundle Java application into a .deb package. Inside it is a jar launched with a java -jar $path/app.jar script. I need to specify in the package dependencies that it will require JRE >= 11. ...
4
votes
1answer
65 views

In Debian, is there a list of packages with dead parent project?

I have been looking (in https://db.debian.org/machines.cgi) for a service or list of Debian packages without upstream (parent project). Because I think there are a lot of deb packages which are alive ...
1
vote
2answers
131 views

Using dpkg for package info

I'm trying to use dpkg tool to list which packages are installed on my machine. Using the -l option it reports "un" for some packages which means unknown, "not-installed". Does "not-installed" flag ...
0
votes
0answers
194 views

How to install a downloaded .deb file on Anaconda Environment

I am working on a system without superuser privileges (sudo doesn't work, apt doesn't work) and I'm trying to install certain packages, specifically: sudo apt install build-essential uuid-dev libffi-...
0
votes
1answer
42 views

apt install package that depends on other package, but alternate is installed

I am trying to install subuser, but it depends on docker.io. subuser : Depends: docker.io but it is not going to be installed However I have docker-ce installed. I created a deb package using equiv-...
2
votes
0answers
1k 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
39 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
55 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
510 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 │   ...
1
vote
1answer
515 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
30 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
84 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 ...
4
votes
1answer
2k 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
52 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 /...
1
vote
1answer
770 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
80 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
34 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
551 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
1k 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
304 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 ...
-1
votes
1answer
291 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
41 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
246 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
60 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 ...

1
2 3 4 5