Skip to main content

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

[Kali]: Package gtk-sharp2 is not installed

I'm trying to install a screen monitor application on my kali machine, since it's a Debian-based distribution I have to go with the option to download the .deb package file, while installing the app ...
ALLAOUA Okba's user avatar
0 votes
1 answer
26 views

creating deb packages - is there an standard way to setup a suffix to the final deb packages?

I am learning how to create deb packages for a small project of mine. I have been able to create the deb package for the binary. So far so good. After the process is finished I can see this: $ dpkg -c ...
eftshift0's user avatar
  • 605
1 vote
1 answer
50 views

How to set up deb question priority with an apt flag?

We have the nice tool dpkg-reconfigure to re-ask install configuration questions of a single package. For example, by dpkg-reconfigure -plow something I can re-configure the package something, i.e. re-...
peterh's user avatar
  • 9,838
0 votes
1 answer
30 views

dpkg -i my-kernel_5.10.9-2lEIW6BD_arm64.deb fails with "unable to make backup link of './boot/Image' before installing new version: Operation not..."

I've made my own kernel package for a custom iMX8M board, which passes lintian without warnings or errors. The top three layers of the package tree are: /tmp/my-kernel_5.10.9-2lEIW6BD_arm64 |-- DEBIAN ...
fadedbee's user avatar
  • 971
7 votes
1 answer
1k views

Debian unstable repository and *t64 packages

Why is Debian renaming some unstable packages from orig_name to orig_namet64? Some other questions: Where can I find the Official Policy for Debian Unstable? Where can I find out what is going on ...
PersianGulf's user avatar
0 votes
0 answers
19 views

Build Debian Kernel Package from particular commit with modified configuration

So far I figured how to build the kernel (I think) from the fork from particular commit as Raspbian OS .deb package. It's more less: Clone the fork, switch to commit I want Populate debian content ...
Michał F's user avatar
  • 291
0 votes
0 answers
53 views

Encrypt .deb content

I have a .deb package that I want to install in my customers devices. Currently I have these packages in a private repository that can only be accessed with a private key. But I also want to prevent ...
Frixer's user avatar
  • 51
1 vote
1 answer
47 views

Package installation failure and rollback options

I'm trying to understand how the creation of packages (rpm, deb, dpkg) work and what the architecture supports and doesn't. Right now I struggle figuring out what happens when the installation or ...
jrs's user avatar
  • 113
0 votes
0 answers
51 views

dpkg pip-installs wheels as 'root' user

I've created a DEB package containing a bunch of Python wheels which the postinst script pip installs. The problem is that because the DEB file apparently has to be run as sudo, e.g. dpkg -i acme-...
Olumide's user avatar
  • 177
-4 votes
1 answer
79 views

Why build a .deb package vs simply including files? [closed]

I'm confused as to why you would create a .deb package vs simply putting your program in a folder + additional files and writing an install script. What are the value of packages?
FourierFlux's user avatar
0 votes
0 answers
70 views

Why are games launched with .deb package Steam not hardware accelerated?

I just distro hopped from Fedora to Tuxedo OS, and I’m encountering a problem I remember having on some other Ubuntu based distributions. Steam games do not have hardware acceleration when launched ...
TheLabCat's user avatar
  • 113
3 votes
1 answer
620 views

Circular dependency issues

Do some .deb binary files need each other to be installed and removed? If so, how do you get around this? What I observed was that I wanted to install Kodi on an offline PC, but I got stuck with ...
1toneboy's user avatar
  • 441
0 votes
1 answer
349 views

How to install SAGA GIS 9.3.0?

I need to install SAGA GIS for some interpolations. Sadly, sudo apt-get install saga will only install version 7.3.0, but I need version 9, preferably 9.3.0. The SourceForge repo doesn't contain Linux ...
Pixelcode's user avatar
  • 131
1 vote
1 answer
1k views

Failed to fetch https://packages.openvpn.net/.../dists/lunar/InRelease 403 Forbidden

I'm running Ubuntu 23.10 on a I9 cpu + Nvidia Geforce RTX 2080 ti and the driver 545 right now. I would like to install the OpenVPN 3 client on my Ubuntu,but I'm not able to install the repository : ...
Marietto's user avatar
  • 549
0 votes
0 answers
138 views

Installing the deb package using apt install

If the previous version of the deb package is not installed, then the installation via apt install is correct. But if the previous version of the deb package is installed on the system, an error ...
Олег Иванов's user avatar
0 votes
1 answer
202 views

For Google Cloud's debian repository, which distribution corresponds to Debian Testing (currently, Trixie)?

On Debian Testing (currently called Trixie), I would like to install the google-cloud-cli and google-cloud-sdk-gke-gcloud-auth-plugin packages that Google Cloud offers through its debian (package ...
yheilanop's user avatar
1 vote
1 answer
82 views

With what shared objects are the debug symbols in a debug deb package assocciated with?

I am trying to find debug symbols that are associated with various shared objects shipped under the Ubuntu 22.04 distro. For example, let's consider the amd64 deb package: libssl3 (version 3.0.2-...
Harsh's user avatar
  • 151
0 votes
0 answers
68 views

Error 404 appears when running apt-get update. Debian [duplicate]

When I run the docker-compose build command, the Dockerfile does not build and I get the following error: [app 2/21] RUN apt-get update && apt-get install -y zlib1g-dev libzip-dev libonig-dev ...
BloodyCayman's user avatar
2 votes
2 answers
538 views

why this package is not proposed to me to remove?

As I understand it, if a package is auto-installed and has no other packages depending on it, the system should offer to remove it. why doesn't this happen in this case? :~$ sudo apt list --installed |...
Alessandro Scarozza's user avatar
0 votes
1 answer
225 views

Common practice for config files

I'm making a file manager system for managing my projects. My package is named filesystem. I need a config file that stores the path to the root of my file system. I think I need to create a file /etc/...
Simon Van den Bossche's user avatar
1 vote
1 answer
123 views

How do you define a dynamic default value in a Debian package template?

I have a package where I want the administrator to enter a list of interface names. I'd like that list to have a default. Only each system has a different list (eth0, enp0s3, eno1, to list a few). ...
Alexis Wilke's user avatar
  • 2,929
0 votes
2 answers
276 views

What Debian packages are there that depend on a service while building?

I have an issue trying to build a package which depends on several other packages, some of which include a service. Said service tries to start in the postinst script and as a result fails the build ...
Alexis Wilke's user avatar
  • 2,929
0 votes
1 answer
89 views

Find correct license when several binaries share the same copyright file

I'm trying to automatically obtain a list of licenses of installed packages in my Debian distribution. I'm doing so by scanning the copyright files in /usr/share/doc/as explained in the answers to ...
fa__'s user avatar
  • 151
0 votes
2 answers
360 views

Installing .deb package twice calls postrm

I am toubleshooting a basic .deb package built from the include script below, specifically its operation if it is installed twice via dpkg -i <package-name>. I found that the postrm script is ...
I'm Root James's user avatar
1 vote
1 answer
421 views

Cannot stat file while copying script from deb package to /usr/local/bin in postinst

I have a script (nginx-sb-setup.sh) inside of my deb package in usr/local/bin directory. During postinst, I want to copy this usr/local/bin/nginx-sb-setup.sh which is inside of my deb package to /usr/...
Hasan's user avatar
  • 121
0 votes
1 answer
51 views

Manually installing steam on Debian 10

After downloading the .DEB package from the steam website and extracting the files, I get a pop up when clicking the launcher that says "The desktop file steam.desktop is in an insecure location ...
Epic Guppy's user avatar
2 votes
1 answer
570 views

dh_install cannot find files - tried in debian/buildtmp, but files exist in debian/buildtmpusr?

I'm trying to build https://github.com/wallix/redemption on Ubuntu 20.04. The compilation actually succeeded, and then I realized they have a python script that would create a .deb file, tools/...
sdbbs's user avatar
  • 480
-1 votes
1 answer
617 views

Debian kernel version and its package version mismatch

I'm trying to install the latest available kernel from bullseye-backports: ceremcem@erik3:~$ sudo apt install -t bullseye-backports linux-image-amd64 btrfs-progs linux-headers-amd64 Reading package ...
ceremcem's user avatar
  • 2,361
2 votes
0 answers
556 views

How to log the output of deb install scripts?

Running apt-get install package logs the terminal output to /var/log/apt/term.log and the summary info about installed packages to /var/log/apt/history.log. But I need to log what the package's ...
Alexander Pavlov's user avatar
0 votes
2 answers
204 views

How to limit sudo for user only for rpm/deb

Is there anyway to limit sudo for user, in order to only for invocation of rpm/deb to install packages?
Rus Zzzeta's user avatar
1 vote
1 answer
2k views

Installing a deb file build with checkinstall on Ubuntu into a docker container based on Debian

I have compiled a C++ software on my Ubuntu 22.04 laptop, and used checkinstall to install it. This build the corresponding .deb file and that's nice. But now I want to install that .deb file into a ...
s.k's user avatar
  • 471
3 votes
2 answers
185 views

How are binary packages isolated from host system?

How are binary packages (rpm, deb, etc) created for binutils, gcc and other packages that link to different libs depending on what exists on the host system? In the LFS project, to isolate the new ...
C. Lang's user avatar
  • 133
0 votes
1 answer
108 views

Is it possible to always have the latest version of the deb package of vs code installed?

I want to install the latest version of vs code in Pop OS. The apt repository doesn't offer the latest version and I don't prefer flatpaks/snaps so installing the deb package of vs-code from the ...
Archit's user avatar
  • 1
2 votes
0 answers
116 views

Best practice for including custom .deb in Debian preseed

I have a bootable Debian 11 USB drive, and I'm writing a preseed configuration file to be loading at installation time. I've written a custom app.deb (not the actual name), and my goal is to have it ...
Ethan Hill's user avatar
1 vote
1 answer
96 views

Debian - check which versions of a package were previously installed

Let's take NGINX as an example. I've installed NGINX and after a year it has received several security updates (through unattended-upgrades) and another system operator ran apt-get upgrade a couple of ...
manifestor's user avatar
  • 2,483
1 vote
1 answer
410 views

Debian shared library setup

I have a Debian package for a shared library. Lets assume the lib is called threadx. And I have the version 0.0.1 installed. So this package contains: /lib/i386-linux-gnu/libthreadx.so.0.0.1 /lib/i386-...
Sir l33tname's user avatar
1 vote
0 answers
119 views

apt-get is asking for an older .deb file from a local repo even after putting a newer version

I have a local repository setup on the server (server1) hosted by Nginx. It has few .deb packages and a bash script on another local server (server 2) uses the repo to install packages. I had to ...
Cruise5's user avatar
  • 526
-2 votes
1 answer
757 views

Is there any way to add all apt repository of Debian based Linux distros on your Debian system?

Let's take example of Ubuntu and Kali Linux, both are based on Debian Linux. but many packages in Kali's apt sources are not available in Ubuntu's apt sources. But if we add Kali's sources and GPG-...
Pradeep Jhuriya's user avatar
1 vote
1 answer
191 views

Decode package and directory structure to URL from `/etc/apt/sources.list.d/` repo file

I'm not an apt user, but I'm in a scenario, where I need to grab a .deb package off of a repo. I'm not a user of a deb-based distro, so I can't easily install a deb repo for what I need it. This would ...
polemon's user avatar
  • 11.6k
1 vote
1 answer
259 views

Is a reboot required when installing a .deb package off-repo in Parrot OS?

I have just downloaded the .deb package for slack-desktop from the official site, however, when looking for it in the menu it didn't show up in the menu. Then I rebooted the PC and searched for the ...
jefazo92's user avatar
1 vote
0 answers
129 views

Creating rpm/deb packages for different configurations of my app which will replace each other

TL;DR I want to ship my application in two configurations: basic package and full package with additional modules. How do i do that? I have two packages for my application for CentOS: app.rpm which is ...
tbsd's user avatar
  • 11
3 votes
0 answers
2k views

How to verify deb package signature?

I download a deb package from GitHub, specifically gcm-linux_amd64.2.0.785.deb How can I tell if the package is signed and how can I verify the signature? I tried some dpkg commands. These seem to ...
Colonel Panic's user avatar
1 vote
1 answer
208 views

dpkg-genbuildinfo: error: badly formed line in files list file, line 1

I am trying to debianize a collection of shell scripts. The build itself is quite simple, as there are no binaries to build – every file that will be installed on the target system is already present ...
user149408's user avatar
  • 1,333
1 vote
1 answer
543 views

What are the steps to get printing working during Bullseye install?

On Debian Buster, during the install process, I simply chose "Print server" from the short list of items to install (I believe in a component called the "tasksel"), and when I ...
Village's user avatar
  • 3,717
0 votes
0 answers
2k views

Error installing a dependency .deb package: depends on python (>= 2.7~); however: Package python is not installed

I am trying to install PyRenamer.deb in Xubuntu 22.04: https://launchpad.net/pyrenamer Pyrenamer is written in Python2, and has several .deb package dependencies, which I have downloaded and collected....
Michael Jenkins's user avatar
0 votes
1 answer
43 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,...
a learner's user avatar
  • 101
10 votes
2 answers
2k 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 ...
Philip Couling's user avatar
0 votes
1 answer
867 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 ...
eXPRESS's user avatar
  • 103
0 votes
1 answer
179 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 ...
Seamus's user avatar
  • 3,087
-1 votes
1 answer
603 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 ...
Max Power's user avatar
  • 264

1
2 3 4 5 6