Questions tagged [deb]

deb is the extension of the Debian software package format and the most often used name for such binary packages.

Debian packages are standard Unix ar archives that include two tar archives optionally compressed with gzip (zlib), Bzip2, lzma, or xz (lzma2): one archive holds the control information and another contains the program data.

The accepted program for handling these packages is dpkg, most commonly via other programs such as apt/aptitude, the Ubuntu Software Center, Synaptic or Gdebi.

Debian packages can be converted into other packages and vice versa using alien, and created from source code using CheckInstall or Debian Package Maker.

Some core Debian packages are available as udebs (“micro debs”), and are typically used only for bootstrapping a Debian installation. Although these files use the udeb filename extension, they adhere to the same structure specification as ordinary deb files. However, unlike their deb counterparts, udeb packages contain only essential functional files. In particular, documentation files are normally omitted. udeb packages are not installable on a standard Debian system.

Reference from Wikipedia.

49 questions
3
votes
1 answer

Creating custom DEB packages of common programs

I have an increasing number of servers running Debian or Ubuntu with customized versions of Apache, PHP, etc. I thought I might be able to save time by creating my own APT source and putting already-compiled copies of these packages that all my…
yakatz
  • 1,213
  • 3
  • 12
  • 33
3
votes
1 answer

View changelog of all packages to be upgraded before upgrading

When using synaptic on my Ubuntu desktop computer i can review all changelog of all the packages to be upgraded, and unselect a package for upgrade if I want. On my desktop I usually install everything, but I like to at least review what the changes…
2
votes
1 answer

apt - update local package

Some months ago I had to install gitlab-ce on a server with Ubuntu 16.04, no access to the public internet, so I downloaded the package from the Ubuntu repository on an other machine and then uploaded to the server and manually installed: dpkg -i…
Brutus
  • 121
  • 3
2
votes
1 answer

apt: list required dependencies for deb package without installing it

For a build tool I'm writing (for which I'd like to implement a sort of dependency-caching system) I'd like to know what the missing dependencies for a .deb package are, without resorting to installing it (possibly) and reading apt-get output, i.e.:…
2
votes
1 answer

Backporting tomcat7 for Debian squeeze

I am creating .deb installation packages for our software, which has a dependency on tomcat7. Unfortunately, this package is not present in Debian squeeze, which ships only with the package tomcat6. The upcoming release of Debian 7 (Wheezy) ships…
Jeroen Ooms
  • 2,187
  • 7
  • 32
  • 51
2
votes
1 answer

persist debian package on Ubuntu

I have an Ubuntu server that I recompiled libcurl for sftp support. The problem is when the server is rebooted or updated I have to reinstall the curl package. I am not clear how to persist this package, like set an ignore with apt? or something? To…
jmm
  • 23
  • 2
2
votes
1 answer

Installing deb packages from a mounted CD

I have mounted the Ubuntu server edition 10.10 on my server under a directory media/servercd. I would like to install some services from this (it is an ISO). I edited the sources.list file to say: deb file:/media/servercd maverick main restricted…
Dan
  • 31
  • 2
2
votes
0 answers

Is there a Debian Repository with OpenJ9 based Java releases?

Does anyone know if there are any Debian (11 Bullseye) repositories providing the latest and greatest Java builds based on OpenJ9 or did someone perhaps write some scripts for automatically updating it from IBM's website? AdoptOpenJDK as of Java 17…
Chaeska
  • 21
  • 2
1
vote
1 answer

Ubuntu's `dpkg` ignores `Replaces` field of a package

I'm building a newer replacement for a package, libgpg-error. Ubuntu also has a libgpg-error0, which is depended upon by system packages (such as systemd). My package provides everything libgpg-error0 does, therefore I list the following: Package:…
smaslennikov
  • 196
  • 6
1
vote
1 answer

How dpkg check config files when upgrading packages

I'm building .deb packages for my internal tools. And would like to find a right way how to deal with configuration files on upgrade. Currently when I install package-0.2.deb over package-0.1.deb, using apt install ./package-0.2.deb it replaces my…
1
vote
1 answer

Installing Debian package tools (dpkg-buildpackage) on Amazon Linux?

I am setting up a web server which packages and hosts different installers for client applications on Windows, Mac OS X, and Linux. I am using EC2 so I went with Amazon Linux for my base image. I have the repackaging working fine for creating…
ashgromnies
  • 131
  • 1
  • 7
1
vote
2 answers

Will debian update packages that I've personally build from their official sources?

Hi and happy new year to you all.. Recently I've built nginx deb package v1.4.4 from debian backport source that of course I've added to the apt sources.list and things went great. My question: Will debian update packages that I've personally built…
Dr.SMS
  • 61
  • 8
1
vote
0 answers

dev/test/prod package update workflow for debian/ubuntu

I'm doing more ubuntu server work now (as opposed to RHEL), and I'm not certain how the debian/ubuntu communities handle managing package updates through a dev/test/(staging)/prod environment. The workflow I would like is: apt-get upgrade the test…
JimB
  • 1,924
  • 12
  • 15
1
vote
2 answers

OpenSSH 5.9p1 on Ubuntu 11.10

I want to build a deb package with the latest version of openssh from source. Then I want to install it on my machine. I am running: Linux Ubuntu-1110-oneiric-64-minimal 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64…
Wojtek B.
  • 161
  • 1
  • 7
1
vote
2 answers

Automatic storing package before installing it on .deb based system?

The reason I am asking this question is I am concerned about simple rollback (I already read how to find out what packages were installed). So I would like to set global (per entire system) option, that forces system to store each package before…
greenoldman
  • 313
  • 2
  • 5
  • 14