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
0 answers
10 views

create Debian package without bin dir

deb package with structure (project (bin(source)) DEBIAN(control)) can be created But want to create deb package without bin directory instead there multiple directories and source file inside project,...
user avatar
  • 101
0 votes
0 answers
24 views

One tool for creating deb- and rpm-packages

I am looking for a simple tool for creating deb- and rpm-packages. Found fpm and gradle. Are there any other similar tools? P.S.: In the package (deb or rpm) i need to put 5 configuration files (...
user avatar
9 votes
2 answers
909 views

What does a tilde (~) mean at the end of a dependency requirement in a deb file or in apt?

I'm curious to understand how ~ is processed in a dependency by Apt or how it's defined for deb files (I'm not sure exactly where the syntax is defined). I ran into it with respect to dependencies of ...
user avatar
0 votes
1 answer
35 views

"apt install <name>.deb" not correctly installing Nvidia driver in the deb package

EDIT solution: The problem was that I thought the package installs the driver but it was not the case (more about it in the accepted answer). When installing Nvidia driver I suggest going with .run ...
user avatar
  • 103
0 votes
1 answer
79 views

Conversion of Debian "source package" for use on GitHub

Perhaps a dumb question, but I am new at this - so please bear with me. Here is a brief description of the situation: I recently learned of a significant, long-standing bug in dhcpcd - the default ...
user avatar
  • 2,196
-1 votes
1 answer
31 views

How to know the destination directory before installing a package? [duplicate]

I want to install a large multi GiB package, (mostly just a load of optional data used by another package.) but I need to know what directories it will use before installing so that I can mount ...
user avatar
  • 190
0 votes
1 answer
25 views

Restrict which packages are installable from a repository

I have my official Debian repos (say repo1). Now I add a repo of the supplier from package X (repo2). Package X is not in the official Debian repos. Of course, repo 2 can have some overlapping ...
user avatar
  • 409
1 vote
3 answers
417 views

how to get the deb package full path in the pre-install script

I have built a deb package with the pre-install script . I want to auto bakup the deb package after installed. So I want to get the full path of the package in the pre/post-install script. are there ...
user avatar
1 vote
1 answer
63 views

Which tool to build a RPM inside a chroot?

I'm using pbuilder to build my binary package for Debian. pbuilder creates a chroot environment, installs all the packages declared as required for the build, and then builds the binary .deb packages ...
user avatar
0 votes
1 answer
27 views

run .deb package created by fpm

I created a .deb package with fpm. The package is very simple as it simply runs a docker-compose over this docker-compose.yml file. The package is composed of 3 files: . ├── diagnosticator ├── ...
user avatar
  • 265
0 votes
2 answers
160 views

Does reinstalling package also reinstall dependencies?

If package A depends on package B, if I reinstall package B, what would happen to A? Will it be forever removed? Will it be removed, and then reinstalled? Will it simply be ignored by the package ...
user avatar
  • 4,427
0 votes
1 answer
24 views

Accidentally deleted the apt.deb file after SSHing into my EC2 instance

Accidentally deleted the /ec2-user/apt.deb file. This is after SSHing into my EC2 instance with username ec2-user with the following command: ssh -i <pem file path> ec2-user@ec2-54-176-4-151.us-...
user avatar
0 votes
0 answers
16 views

apt source clang-format and it doesn't download source

Scenario: I have an old ubuntu xenial and I want to create last clang-format(13) package on xenial. But I have some incompatiable version of debhelper of jammy and xenial. Do you have any solutoion?
user avatar
  • 10.2k
0 votes
0 answers
54 views

.deb packages from internet V/S Snapccraft V/S Flathub

I am currently using Pop!_OS 21.10. I want to install MS Teams and there are 3 options for me: 1 - On the website of MS Teams they provide a .deb package that can be installed. 2 - Using Flathub 3 - ...
user avatar
0 votes
1 answer
28 views

What is the "Unused" field in a Debian package control file? Is it official?

Package: a package name Version: FROM GIT Section: base Priority: optional Architecture: armhf Depends: "some deps" Unused: "some packages names" Provides: lp304-base-installer ...
user avatar
  • 11
0 votes
2 answers
77 views

Is it more safe to manual install a .deb file then installing from test (apt, Debian'ish)

I want to keep my debian system as "stable" as possible, but I need the package virt-top which only exist in test repository I see two options: Adding test to the repository-file and ...
user avatar
  • 550
0 votes
0 answers
35 views

rpm package - Converting from .deb package or build new rpm

I have a software that I need to ship. Right now I ship it through a .deb and a .run file but I want to drop the .run file replacing with a .rpm file. The way I want to to create the rpm package is ...
user avatar
1 vote
3 answers
106 views

How to add fsck at boot like a regular service?

I remember that certain distros, used to run fsck at boot after x boots, in a regular way. How can be added to the boot process the fsck service to be deployed in rpm distro/Fedora,RHEL,Oracle,Suse? ...
user avatar
  • 119
0 votes
0 answers
36 views

How do I install local cuda deb on ubuntu?

I'm on Ubuntu 18.04.5 LTS and tring to install cuda 11.2. I downloaded the deb first wget https://developer.download.nvidia.com/compute/cuda/11.2.0/local_installers/cuda-repo-ubuntu1804-11-2-local_11....
user avatar
  • 165
2 votes
1 answer
390 views

building Debian package fails after even a minor change to code

I am able to build Debian package make using following procedure: apt-get source make cd make-* dpkg-buildpackage --build=binary --no-sign But as soon as I make any change to the code, even changing ...
user avatar
1 vote
1 answer
64 views

Remove all traces of D-Bus when running Mousepad in Debian

I am trying to rebuild Debian package mousepad without D-Bus on Debian 10. First, I try building the package without any change. apt-get source mousepad cd mousepad-0.4.1 dpkg-buildpackage --build=...
user avatar
1 vote
1 answer
242 views

Conditional dependencies in `debian/control` file

I'm packaging the software, which depends on a particular version of a library shipped in the official Debian distribution. The software also has a bundled sources of the library. Is there any way to ...
user avatar
  • 125
1 vote
2 answers
167 views

How to injecting user-defined fields in Debian binary package control files

It's possible to add user-defined fields in the debian/control file using the XBS- method, as defined in the Debian Policy Manual, and those will be injected into the binary .deb and source packages. ...
user avatar
  • 111
2 votes
1 answer
102 views

Step by step instructions to abandon a Debian package and no longer be its maintainer

I am marked as the Debian maintainer of a package. I no longer wish to be the maintainer of this project. I thought I had gone through the process of abandoning the package, but it looks like I haven'...
user avatar
  • 3,556
1 vote
2 answers
40 views

Regarding .deb file linking with github

So, I have successfully made a .deb file of my ROS package using bloom The question is how can I integrate it with GitHub? So that I can update my package in one place and the user can directly update ...
user avatar
2 votes
1 answer
715 views

Build debian package using stdeb

I have been trying to build .deb packages for Debian from Python modules. After going through Debian's LibraryStyleGuide for Python, Pybuild and An Overview of Packaging for Python, I decided I am ...
user avatar
1 vote
1 answer
435 views

deb version is "git tag+git commit hash" = apt downloading the wrong version from my apt repo

I made a script that compiles a program (box86), packages it into a debian package every week, and uploads it to my apt repo (hosted on github). for the version of each package I use the git tag (0.2....
user avatar
2 votes
1 answer
36 views

Transitioning ownership of a file between two deb packages

Package a.deb currently provides a file /etc/file.conf, we'd like to update this package so it no longer provides this file and instead it would be provided by package b.deb. dpkg: error processing ...
user avatar
  • 23
4 votes
2 answers
2k views

How can I check if there is a signature associated with a deb package?

In rpm-based systems, we can easily see if there is a signature associated with an rpm file: rpm -qpi <rpm-file.rpm> | grep -i signature For .deb files, we can see the package information but ...
user avatar
0 votes
1 answer
32 views

information about .deb installation, many errors

I want to install a tar.gz file downloaded from here. I tried but I got an error. I open the terminal in the folder and I'm trying to install. Here is a screenshot of the file manager, showing part ...
user avatar
  • 75
0 votes
1 answer
122 views

How to hold package from updating with postinst script in DEB

I compiled and packaged QEMU for my Raspberry Pi, but apt thinks that by installing it I'm "downgrading" from 1.3.1 (latest available in the repos) to 5.2.50 (my deb). so now every time I ...
user avatar
1 vote
1 answer
114 views

problem after installation app

I've tried to install torguard vpn app, deb files and it did not work. So now everytimes I want to install something or uninstall, I have that kind of error: (here, I install wine but, still, torguard ...
user avatar
  • 75
1 vote
0 answers
25 views

Building and uploading a debian package. Is a .deb already what I need?

I use Jetbrains Compose for Desktop which builds desktop applications for multi platform. I therefore built one distribution as .deb package. I'd like to upload this program now so people can download ...
user avatar
  • 456
1 vote
1 answer
47 views

Which is the last Debian release to not support .deb?

Can someone tell me which Debian release (and Ubuntu release) is the last one to not support deb packages or first release to support deb packages. I am not even sure if there are any releases like ...
user avatar
2 votes
1 answer
1k views

How can I publish a deb package?

I don't know much about packaging and it took me a a week to create a working deb for my software. Now I need a way for people to install it and I don't want to just create a download link for the deb....
user avatar
0 votes
0 answers
192 views

Get around ~10GB maximum archive size

I am trying to package a Linux software into a DEB archive so it can easily be installed on Debian / Ubuntu. Unfortunately the full software is about 13 GB in size, and whenever I try to create a ...
user avatar
0 votes
1 answer
46 views

Getting error while installing MkvToolNix old version on Debian Buster

I was trying to install an older version of MkvtoolNix (version 19) on Debian Buster, and it gives me the error below in GDebi . I also tried sudo dpkg -i and it also gave some dependency errors, ...
user avatar
0 votes
1 answer
226 views

Any way to retrieve build info for apt/dpkg installed packages?

I've had this .deb package that I built with, I think, checkinstall, directly from its git source; and it got a version like libmypackage1_0.10.7-1_armhf.deb. Then after a some months, I did a git ...
user avatar
  • 360
1 vote
0 answers
86 views

Debian packages for continuous deployment

I would like to use Debian packages to deploy software (a web application) to a Debian-based server. For reasons beyond the scope of this question we cannot use Docker (or a PaaS such as Heroku) to ...
user avatar
1 vote
0 answers
23 views

Permission of installed electron application

I created an electron application that has a sqlite database with it. After creating a .deb installer and installing it into my raspberry pi, i'm getting some permission errors, the application is ...
user avatar
2 votes
3 answers
249 views

Is it possible to remotely clone a running/live OS?

I have an active OpenVPN/OpenSSH connection to a remote server. Is it possible to clone the remote OS, save it to a local file (e.g., with dd) and run it locally in VirtualBox or something similar?
user avatar
0 votes
2 answers
237 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 ...
user avatar
  • 90.7k
0 votes
1 answer
443 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 ...
user avatar
  • 173
0 votes
1 answer
83 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 ...
user avatar
  • 1
2 votes
1 answer
376 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 ...
user avatar
6 votes
1 answer
6k views

Can you install Ubuntu or Debian packages in Alpine?

I want to ask if it is possible to install Ubuntu or Debian packages in Alpine? I know Alpine uses musl while Debian uses glibc. Still I would like to know if it is possible without too much work. I ...
user avatar
  • 63
0 votes
1 answer
400 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 ...
user avatar
  • 27
1 vote
1 answer
91 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 ...
user avatar
  • 586
5 votes
1 answer
4k 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 ...
user avatar
  • 153
0 votes
1 answer
145 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 ...
user avatar

1
2 3 4 5