Questions tagged [dpkg]

dpkg is the package format used by Debian, Ubuntu and other popular GNU/Linux distributions as well as the tools used to work with dpkg packages.

169 questions
0
votes
1 answer

Finding documentation for /etc/**/*.dpkg-*

During upgrades, files with these extensions appear in /etc and its subdirectories. I gather that *.dpkg-dist contains the file that was distributed with the currently-installed version of a package, and *.dpkg-new contains the version from the…
intuited
  • 405
  • 1
  • 5
  • 12
0
votes
1 answer

`dpkg -l` to only show installed packages?

On Debian/Ubuntu, dpkg can show me packages, include the version and what's installed (e.g. dpkg -l postgresql\*). But that shows all packages that it knows about, whether installed or not. Is it possible to make dpkg only show me the installed…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
0
votes
2 answers

Stuck on "update-initramfs: Generating /boot/initrd.img-5.4.0-92-generic"

I have a problem with uninstalling packages on my server(20.04 LTS). When I run apt remove metricbeat receive this message: root@elk:/home/elk# apt remove metricbeat Reading package lists... Done Building dependency tree Reading state…
0
votes
1 answer

Cannot execute dpkg command in kube-proxy container

I'm currently trying to get a list of all installed debian packages (dpkg) on the k8s.gcr.io/kube-proxy:v1.23.2 container. First I tried to execute dpkg -l in the running container as a part of my kubernetes cluster but got the following…
Daigo
  • 278
  • 1
  • 17
0
votes
0 answers

Can't upgrade or install programs (Unmet dependencies Error(1)) Ubuntu 20.04.3 LTS

As I see my problem is similar to this one libc6 dependency mismatch in Debian 9.12 stretch. Please,advice a solution for my distribution sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state…
Rodion
  • 1
0
votes
1 answer

Locally and durably remove some files of a Debian package

Context: On Debian, when hardening PHP I disabled and deleted a few unused PHP modules: for example, for wddx I…
Seb35
  • 250
  • 2
  • 6
0
votes
0 answers

Install a package from a .deb file with apt, but do not downgrade

On Ubuntu 18.04, I can install a .deb file with apt install ./filename.deb (or dpkg -i filename.deb && apt-get install -f). If there is version of this package installed, I get this warning: ... The following packages will be DOWNGRADED: …
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
0
votes
1 answer

Ubuntu 18.04 to 20.04 : Broken Update

I upgraded from 18.04 to 20.04 using : do-release-upgrade After downloading all the packages it asked me if I wanted to keep my version of an existing config file. Trying to exit out of the file, I used Ctrl + C, which caused the entire update…
brugia
  • 103
  • 2
0
votes
1 answer

sa-compile update error with rule compilation

I have an install of Ubuntu 18.04.5 and I'm trying to update the sa-compile (version 3.4.2) package because I have a file server set up on it which uses spamassassin (version 3.4.2). Every time I try to proceed with the update, though, it gives the…
Ertain
  • 1
  • 2
0
votes
1 answer

apt: list packages with the repositories they are coming from

I've found dpkg-query --showformat="\${Package}\t\${Version}\n" --show \* but it can't show the repo can it? Probably that info is only known to apt. But which apt command to use? I'd preferably like to have a list like "zypper packages" gives,…
Marki
  • 2,795
  • 3
  • 27
  • 45
0
votes
1 answer

Debian package set keep old conffile - not over apt globally

I want to update a own debian-package on different servers. I would like to keep the old conf file, if it exists and not to say always no if prompt is asking what I want to do : The default action is to keep your current version. *** bash.bashrc…
Alhevi
  • 1
0
votes
1 answer

Ubuntu: install only a signed verified deb package

What the final goal is: Install a given package securely for a series of servers. We have servers running on different cloud data centers. We install our app on them as deb file. Currently we upload the updates as deb files via an ansible…
transient_loop
  • 459
  • 1
  • 4
  • 11
0
votes
1 answer

debconf-set-selection for openssh-server "disable root login" prompt

I'm trying to set up a non-interactive upgrade (Wheezy to Jessie). I get a prompt to disable root login over ssh, and I want to answer "no". Can I preseed that using debconf-set-selection? How can I find out what the conf selection is called? I…
jmilloy
  • 193
  • 1
  • 3
  • 11
0
votes
3 answers

How to remove old kernel on Ubuntu operating system

I am wondering how can I do remove old kernel from Ubuntu operating system. Please refer image screenshot taken. Please advice. Many thanks. list of linux kernel
-1
votes
1 answer

What is the dpkg equivalent of "rpm -i"?

I have a package installed on an Ubuntu machine, and I need to list the metadata of that installed package to determine where it came from. On a Redhat based machine, "rpm -i [packagename]" will give me the information I need. What is the equivalent…
Graham Leggett
  • 208
  • 2
  • 10
1 2 3
11
12