Questions tagged as ['deb']
For example, I'd like all the Ubuntu Desktops that I deploy to have some customization's to the settings found in /usr/share/glib-2.0/schemas/
, but if i edit those files, and then do apt update && apt upgrade
, apt overwrites the changes i made.
I'm thinking I should make a repository that installs after the gsettings-desktop-schemas
package. Such that my computers can pull down updates to ...
I've seen a lot of questions on Ask Ubuntu about errors like this:
foo post-installation script returned exit status 1
What is a post-installation script, exactly? Where are post-installation scripts located?
I came across this question that is somewhat related, but it discusses post-installation triggers rather than post-installation scripts.

I invoked an apt install
(of mysql-workbench
) by double clicking the downloaded .deb
file.
It hangs at the "preparing" stage and the "Cancel" button does nothing.
ps aux | grep apt
didn't find any process running.
What process name should I look for? How do I kill it?
If I go to the Ubuntu (20.04) software manager, I can find at least 3 versions for Teams: teams-for-linux, Microsoft-Teams-insiders, Microsoft-Teams-Preview.
What is the best or the correct version/way to install Teams on Ubuntu?
I am a new linux user, and installed Ubuntu 20.04.3 LTS ~3 days ago. (A.K.A, no clue what I'm doing) When I was trying to install WineHQ using the code 'sudo apt-get install wine', it showed the following error:
E: Type '“deb' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
I have tried to download multiple programs using sudo and they have all re ...
I compiled a custom gnu screen deb pkg and installed with dpkg -i, but after some time I noticed screens' version got back to one from ubuntu's repo. I tried to run apt-mark hold screen before overriding screen with my package, that did not work. Then I tried to do the same but first install my package and then run apt mark hold - did not work either. Also tried to purge the ubuntu's package and then in ...
I am trying to apply a patch to the gtk+3.0 on Ubuntu 21.10 and failing. But more importantly, even without applying the patches, I am unable to build the package.
Here are the steps:
apt-get source "gtk+3.0"
sudo apt-get build-dep "gtk+3.0"
cd gtk+3.0-3.24.40
dpkg-buildpackage -rfakeroot -b -us -uc
This fails with:
make check-local
make[6]: Entering directory '/home/gaussian/owninstalls/sway-ubunt ...
I try to make a deb installation package by myself, and this deb package needs to install some dependent packages, but when I execute the command "apt install" in the preinst script, I will report this error: error processing archive testDeb_1.0.0_i386.deb (--install):nd. It is held by process 28 (dpkg)
How can I install other dependent packages during the deb process?

When I tried to install ettercap-text-only : apt install ettercap-text-only
in my Ubuntu I got
Err:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 ettercap-common amd64 1:0.8.3-7
Connection failed [IP: 2001:67c:1360:8001::23 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/e/ettercap/ettercap-common_0.8.3-7_amd64.deb Connection failed [IP: 2001:67c:1360:8001::23 80]
E: Un ...
I have just installed fresh Ubuntu MATE 21.10 system.
Then I ran update-manager
manually to check and get some new updates.
It showed a surprise for me - it will remove Firefox deb-package as shown on below screenshot to replace it with Snap:
Details of updates
- Install or remove
- Duplicate packages to be removed
- Firefox Web Browser
This is not acceptable for me, I want to use normal deb-packag ...
I downloaded Discord from discord.com (chose a .deb
file), and installing ended up giving me both "Discord" and "Discord (Env)". Is there a way to get rid of "Discord (Env)"? Snap (which I suppose installs Discord when the .deb
is double clicked) only shows 1 "discord".
As requested by N0rbert:
dpkg - l | grep discord
returns:
ii discord 0.0.16
amd64 Chat fo ...
I created a c++ program using gtk and glade. I need to build a .deb package for this program. This program saves data to MySQL database and also it exports data to a excel file using libxlsxwriter library. Can anyone tell me how to do this.
For my work I need Edge browser. However, in the Microsoft web site they provide it as an .rpm
file. To install in Ubuntu it needs to be converted to a .deb
file.
I tried to convert it, but failed. Can anyone convert it and provide it?
Herewith I is the link of the .rpm
file:
https://www.microsoftedgeinsider.com/en-us/download?platform=linux-deb
[PS: What I really want to achieave here is learn how to package new software]
I was following the instruction in https://packaging.ubuntu.com/html/packaging-new-software.html#building-the-package.
When I executed bzr builddeb -- -us -uc
, these errors show:
❯ bzr builddeb -- -us -uc
Building using working tree
Building package in normal mode
Purging the build dir: /home/xxx/test/build-area/hello-2.10
Lo ...
I have my own APT repo which houses custom DEBs created/packaged by me. In this repo are a set of DEB packages which have the following in their control file
Package: my-foo-<type>
Architecture: any
Section: admin
Provides: my-foo
Conflicts: my-foo
where <type>
is one of several types (e.g. abc
, def
, etc). In other words, I have multiple actual packages which provide the same virtual ...
How to create and install wasabi wallet on armhf architecture?
Is it possible to create it from its GitHub repository. If so, How?
I want to create a .deb file for Cozy from its GitHub repository. How do I make it? I don't want to use the Flathub version.
I'm on Ubuntu 20.04.
I am trying to install clapper from the .deb file in my Ubuntu 20.04. Last night I installed and configured ZSH for the first time. I think I made some errors during config, as the following happens.
With apt / aptitude, shows no files found. but with dpkg, it installs the Debian file.
apt/aptitude shows following after pressing tab after "c". where current path has only 1 file. (NB - clapper_xyz.deb i ...
I can understand keeping configuration files in /home
, since these are custom files that have been created/edited by the user when running the corresponding program.
In contrast however, configuration files in /etc
must be created and edited as root, and given that most programs do not run as root, they must be created when their corresponding program is installed, and not be edited thereafter. This ...
In CentOS, there is this command rpm -qc packagename
to list all the configuration for a specific package.
[spiderman@MyFirstLinuxVM ~]$ rpm -qc sudo /etc/pam.d/sudo /etc/pam.d/sudo-i /etc/sudo-ldap.conf /etc/sudo.conf /etc/sudoers
Is there any similar command in Ubuntu using apt
or dpkg
?

According to https://protonvpn.com/support/official-linux-vpn-debian/, to install ProtonVPN on ubuntu, I should just download the .deb, which installs the protonvpn repo:
deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
then sudo apt update && sudo apt-get install protonvpn
The ProtonVPN app is a python one, and it's dist ...
It just shows a circle and nothings happening for 10 mins +. What can i do to install this software?
See solution in comment below
Yesterday I installed Zoom on my laptop and worked perfectly. Today, when I wanted to launch it again, it doesn't launch. I installed it using this command:
sudo apt install ./zoom_amd64.deb
and it was installed without errors. I tried reinstalling it and nothing. Here is a log file: https://drive.google.com/file/d/1Ri6oWeJJLdGPOVbWVQgCqOlFZaP4VmCM/view?usp=sharing
Can someone help?
UPDATE: I tried la ...
I wanted to install R with Rstudio to start learning, but I found many problems in the way, I'll explain as much as i can below.
So I went to the CRAN Project website https://cran.r-project.org/ and followed their instructions to install R on my laptop.
# update indices
apt update -qq
# install two helper packages we need
apt install --no-install-recommends software-properties-common dirmngr
# imp ...
A while ago I messed up my computer trying to fix something else (it's already figured out) and deleted some core files, which makes my computer unable to update and install via apt-get. I know that I was making an ignorant mistake with that action, I do not need reminding.
When I try to update here is the result:
pluto@pluto-Ubunu-Mate:~$ sudo apt-get update
[sudo] password for pluto:
Hit:1 http://u ...
Consider a package that is available as a .deb
from the publisher as well as a snap from some other (unverified) publisher. A good example for this would be Zoom. The version of the .deb
package on their website (Version 5.6.7 (22045.0607)) is exactly the same with the snap's version, however the publisher of the snap package is not verified (no green tick mark in the Publisher column).
Since I am pri ...
I need to compile a Delphi (pascal) project to run on Ubuntu. It has a GUI and it is supposed to communicate with an external device so I cannot use WINE to just execute the .exe file. Is there any way to create a .deb file out of the source code?