Questions tagged as ['deb']

Questions about the Debian packaging format with the extension '.deb'. Packages for Ubuntu are provided in this format.
Score: 1
Lucas Krupinski avatar
Can I make my own .deb's that modify files created by other .debs?
us flag

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  ...

Score: 7
Someone avatar
What is a post-installation script for a package?
my flag

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.

Score: 4
Apt install using Software Center hangs. How do I kill it?
ph flag

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?

Score: 0
Py-ser avatar
Teams version on Ubuntu Software Manager
tr flag

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?

Score: 0
DUHHZ avatar
' "deb' file is not known
tm flag

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 ...

Score: 0
Volodymyr Boiko avatar
ubuntu keeps overriding a package installed with dpkg
cn flag

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 ...

Score: 1
gaussian avatar
Attempt to build gtk+3.0 from source fails
br flag

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 ...
Score: 0
nickcheung avatar
How to install other dependent packages through apt during the installation of the deb package
ao flag

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?

Score: 0
Cannot install ettercap-text-only
ua flag

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 ...
Score: 13
N0rbert avatar
Is it possible to avoid Firefox as Snap installation and keep deb-version on Ubuntu 21.10 flavor?
zw flag

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

update-manager is going to remove deb-package of Firefox

This is not acceptable for me, I want to use normal deb-packag ...

Score: 0
diEcho avatar
How to update vs code without removing the previous version using .deb package in ubuntu 20.04
in flag

I have download latest version of VS code 1.61 and when I click on .deb file, ubuntu ask to remove previous version of vs code and my fear is that will it remove my workspace and all settings if I delete the previously installed vs code.

ubuntu softwares asking to remove vscode

Ubuntu 20.04

someone can guide me please here

Score: 1
Werty980 avatar
Menu has both "Discord" and "Discord (Env)". Why 2 versions, and how do I remove the latter?
sa flag

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 ...
Score: 0
Dilshan Madulanka avatar
How to build a .deb package for the c++ gtk program
cl flag

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.

Score: 0
sivasdpi avatar
Microsoft Edge installer is provided as .rpm. How can I install it on Ubuntu?
ru flag

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

Score: 1
Fangzhen Song avatar
`bzr builddeb -- -us -uc` fails
cn flag

[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 ...
Score: 3
Paul Grinberg avatar
Multiple DEBs provide virtual package, which is listed as Depends
us flag

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  ...

Score: 0
user487583 avatar
How to install wasabi wallet on armhf architecture
bs flag

How to create and install wasabi wallet on armhf architecture?

Is it possible to create it from its GitHub repository. If so, How?

Score: 6
yaa__ avatar
How to install Cozy Audiobook Player in Ubuntu 20.04 without Flatpak
us flag

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.

Score: 1
Sadiq Nayeem avatar
ZSH is not showing current path's .deb files
no flag

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 ...

Score: 0
EmmaV avatar
Why does 'apt-get remove' leave configuration files in /etc?
tr flag

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  ...

Score: 0
shaunx333 avatar
How to list configuration file for a specific package on Ubuntu 20.04
jp flag

In CentOS, there is this command rpm -qc packagenameto 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 aptor dpkg ?

Score: 0
Can I co-sign a repo for maximum security? In other ways: only update with their signature + mine (auditing protonv pn)
us flag

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 ...

Score: -1
user3415939 avatar
installing deb file
nf flag

It just shows a circle and nothings happening for 10 mins +. What can i do to install this software?

See solution in comment below

Score: 0
AlexandruWorld avatar
Zoom won't launch on Ubuntu 20.04
aw flag

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 ...

Score: 2
nico_so avatar
Installing R and RStudio in Lubuntu 20.04
gs flag

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 ...
Score: 1
Pluto avatar
What other ways can you install deb files
nl flag

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 ...
Score: 2
stephanmg avatar
Should I prefer a .deb over a snap package of the same version if I'm concerned about security?
pl flag

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 ...

Score: 0
Hristos avatar
Can I compile a Delphi project to run on ubuntu?
co flag

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?