Questions tagged [apt]

APT is short for Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt commands should use this tag.

Filter by
Sorted by
Tagged with
0 votes
1 answer
111 views

Is it safe to install a deb file over a ppa maintained package [closed]

I have an application on my system that has always been updated via ppa. I want to get updates faster than the PPA will allow and so I want to start using the deb file the package maintainer provides....
1 vote
1 answer
2k views

Using Unattended-Upgrades to update security packages without user interaction

Using unattended-upgrades to install security packages. Which runs daily. However I've noticed for the last week or so that security packages haven't been installed. After some investigation I found ...
3 votes
1 answer
1k views

libexpat1-dev and libgtk2.0-dev (No package 'gtk+-2.0' found)

I am trying to install lablgtk via the following: opam install lablgtk It gives me following error: ┌─ The following actions failed │ λ build lablgtk 2.18.11 └─ ╶─ No changes have been performed <...
2 votes
0 answers
711 views

update-mime-database is the bottle neck of apt intall now, any workaround?

for ex. sudo apt install gthumb will spend a small time doing everything else. When it calls update-mime-database /usr/share/mime it spends more than 10 minutes!!! I wonder if I could install ...
0 votes
1 answer
790 views

Multiple warnings and errors when refreshing applications in snap

I have a problem with Ubuntu 20.04. For some reason, I can't update software from GUI. The error refers to the snap. I started from following commands (I was not sure when apt update should be ...
0 votes
1 answer
654 views

How to update additional packages?

After login, I get: 3 software packages can be updated 0 of these updates are security updates. To see these additional updates run: apt list --upgradable New release '20.04.1 LTS' available. Run 'do-...
-2 votes
1 answer
458 views

can't install PPA's in UBUNTU 20.04 [duplicate]

I've been trying to install ppa's for a while and I'm a little desperate; -; , because I need to do a job and I can’t install it at all (ah, hi this and my first post aki hhihi, I just made an equi ...
2 votes
0 answers
25 views

Installing libpci-dev library in Ubuntu 18.04.5 LTS (Bionic Beaver) [duplicate]

I am trying to install libpci-dev library in Ubuntu 18.04.5 LTS since I am working on Linux driver stuff that communicates with a board over PCIe. However, using apt-get command I get the following ...
4 votes
2 answers
4k views

20.04 virtualbox-guest-dkms: Error! Bad return status for module build on kernel: 5.8.0-36-generic (x86_64) [duplicate]

How to fix this? /var/crash/virtualbox-guest-dkms.0.crash contains: ProblemType: Package DKMSBuildLog: DKMS make.log for virtualbox-guest-6.1.10 for kernel 5.8.0-36-generic (x86_64) Sun 10 Jan 11:53:...
0 votes
0 answers
11 views

i cant install libmagickcore-dev,libmagickwand-dev in ubuntu 20.04 [duplicate]

I tried to install them buy sudo apt-get install libmagickcore-dev libmagickwand-dev it gives Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0 votes
0 answers
98 views

Cannot remove update [duplicate]

I recently attempted to install a required update which was needed by software I installed on PlayOnLinux, however the update never installed. The system would infinitely hang up on the install and I ...
1 vote
0 answers
102 views

Difficulties installing zoom_amd64.deb on a Dell XPS 9750 with Ubuntu 20.04 LTS [duplicate]

I've updated my Dell XPS 9750 with a fresh install of Ubunty 20.04 LTS (I had to resize the partitions as the Windows 10 partition needed more disc space). Upon finishing the installation and ...
0 votes
1 answer
3k views

How to get apt-cacher-ng to download AND cache packages from Apt HTTPS repositories?

Typically Apt packages are served over bare HTTP and the downloaded contents are verified with GPG signatures. This makes it easy for apt-cacher-ng to proxy the HTTP connections and add the downloaded ...
0 votes
0 answers
85 views

'q-text-as-data: command not found' error in a Bash script?

I am a Linux novice, and I am currently trying to run a Bash Shell Script (see the very bottom) that manipulates files (code snippets) using the Windows 10 Linux Subsystem, but the script keeps ...
0 votes
1 answer
102 views

Blacklisting a package (grub-pc) and leave recommendations unresolved

I use PXE-boot on a system, and hence do not require any local bootloaders like grub. When uninstalling grub-pc it complains that the kernel image recommends it, something like linux-image-5.4.0-60-...
2 votes
1 answer
1k views

Can't install pepperflashplugin-nonfree package

Recently I encountered a problem every time I try to install a new package on my Ubuntu 18.04 computer. The installer is always stuck at Setting up pepperflashplugin-nonfree (1.8.3+nmu1ubuntu1) ... I ...
0 votes
2 answers
270 views

Problem with update-alternatives: Trop de niveaux de liens symboliques

I was intstalling some stuff in the computer: sudo apt install gettext intltool python3-gi python3-cairo python3-distutils python3-dbus python3-xdg libglib2.0-dev libglib2.0-bin gir1.2-gtk-3.0 gtk-...
0 votes
2 answers
375 views

How do I install Scribus stable release?

Scribus installation guide for Ubuntu says that «the packages from the Debian and Ubuntu repositories are the standard way to obtain Scribus» and the download page says that the current stable version ...
1 vote
2 answers
2k views

'utf-8' codec can't decode byte 0xed when running sudo update-command-not-found

As the question above, when I try to run sudo update-command-not-found, I get this error Traceback (most recent call last): File "/usr/sbin/update-command-not-found", line 26, in <module> ...
1 vote
2 answers
252 views

Cannot build on launchpad

I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64. Here is the link: https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages Here is the ...
0 votes
0 answers
25 views

I seem to have lost my apt-key after a reinstall [duplicate]

I keep getting this message when running an update: The repository '[http://ppa.launchpad.net/landscape/19.10/ubuntu Release][1]' does not have a Release file Updating from such a repository can't be ...
1 vote
2 answers
3k views

Unable to apt install armhf packages with unmet dependencies [duplicate]

I am trying to setup an multi arch environment to cross compile armhf board. The steps I followed is quite simple. Install ubuntu-18.04.1-desktop-amd64 on VirtualBox. sudo dpkg --add-architecture ...
0 votes
0 answers
24 views

sudo apt-get upgrade turned RPI4 off

I just ran: sudo apt-get upgrade On my RPI4 and it turned off. The green activity light is blinking. Does anyone know what is up? Also: I saw that it was stuck for quite a while on updating a package ...
1 vote
1 answer
1k views

Remove package installed with dpkg and dependencies

I have several versions of libseccomp2: $ apt list -a libseccomp2 Listing... Done libseccomp2/now 2.5.1-1 armhf [installed,local] libseccomp2/buster-backports 2.4.4-1~bpo10+1 armhf libseccomp2/bionic-...
9 votes
3 answers
17k views

DPKG error while installation bcmwl-kernel-source on ubuntu 16.04

I was purging bcmwl-kernel-source, but during the process Iinterrupted it by mistake. Now when I am trying to install it again using sudo apt-get install bcmwl-kernel-source I get the following error ...
1 vote
2 answers
422 views

apt update Error. Every Reboot first two times. This is normal?

OS : Linux kaushal 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Every Day when my pc boots up and write the first command apt update I got the ...
0 votes
1 answer
1k views

Release Files not Found for Eoan security and eoan updates while on focal [duplicate]

So whenever I run sudo apt update I get the following output: Hit:1 http://archive.canonical.com/ubuntu eoan InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease ...
12 votes
2 answers
38k views

apt-key is deprecated

i want to remove a repository but every time i get the error "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))." ive tried updating apt-key and ...
0 votes
1 answer
65 views

Are dependencies installed when I install an app from Ubuntu Software?

This is just a question I have: When I install an app from Ubuntu Software, it will have certain dependencies- are those installed along with the app? Also, if I download an rpm for another program ...
0 votes
1 answer
289 views

20.04 to 20.10 Upgrade made apt autoremove want to delete everything!

I recently upgraded my install of Ubuntu Studio from 20.04 to 20.10 I know it has been recommended to reinstall this particular upgrade, however, as I wanted to keep Xfce (rather than switching to KDE)...
0 votes
2 answers
2k views

Cannot run a VirtualBox image on Ubuntu 18.04.4 LTS due to "Kernel driver not installed (rc=-1908)" not installed error

I am aware that there are multiple versions of this question here. So I am going to try and provide a comprehensive detail of the issue I am facing and what I tried so far. Problem Whenever I try to ...
2 votes
1 answer
3k views

Bashdb in Ubuntu 20.04

I cannot find bashdb in Ubuntu (MATE) 20.04 repos, i.e apt returns nothing when searching for 'bashdb'. I'd rather avoid installing it from source. Do you know why it was not added to the repos?
1 vote
0 answers
27 views

Unable to install, update, or upgrade any packages on ubuntu 20.04 aws ec2 instance [duplicate]

I am trying to install net-tools using sudo apt install net-tools but I get Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ...
0 votes
1 answer
877 views

Cannot purge old kernels due to "unmet dependencies."

My virtualbox VM (Ubuntu 16.04) is running out of disk space. Found there are old kernels. I've reached a standstill, because I cannot delete them due to unmet dependencies. Even if I try to --ignore-...
0 votes
1 answer
350 views

Installing Apache Mod_Evasive without installing Postfix

On Ubuntu 18 I'd like to install Apache Mod_Evasive but without installing Postfix. In fact, I'm using msmtp as a simple way of connecting to a remote smtp server to send out mail, so I don't need a ...
2 votes
1 answer
1k views

Can I install and use two versions of a program?

Say I have an application and it has two versions, 1.0 and 1.1. 1.0 has much more features while 1.1 has a new design and better optimization. Is there anyway I can have both versions, 1.1 and 1.0 and ...
1 vote
0 answers
198 views

Why am I getting an error every time I install something using apt-get install?

Every time I install something I get the message: Errors were encountered while processing: linux-image-5.8.0-36-generic E: Sub-process /usr/bin/dpkg returned an error code (1) Besides for this error ...
0 votes
2 answers
1k views

Need help with removing Opera browser [duplicate]

I tried to install opera from .deb file downloaded from their website. But it got stuck at 55%. So I closed the window. Then i discovered that it got installed and opened nicely. But after i couldn't ...
0 votes
0 answers
21 views

Should I auto run update un ubuntu [duplicate]

a new weeks ago, I had to re-install my system because my OS was out up date. I think I did not take system update seriously and end up loose some of my config. I am asking myself few questions. ...
1 vote
2 answers
560 views

Ubuntu does not start after 5.8.0.28 generic kernel update

I'm using Ubuntu with the following: linux-image-5.8.0-28-generic linux-modules-5.8.0-28-generic linux-modules-nvidia-455-5.8.0-28-generic After linux-modules-nvidia-455-generic-hwe-20.04-edge ...
0 votes
0 answers
2k views

Nginx after update doesn't work anymore on ubuntu 18.04.1

After the nginx update the other day I can't start it any more. Even if I reinstall it through apt-get purge nginx-full -y && apt-get autoremove -y && apt-get install nginx-full it ...
0 votes
1 answer
938 views

Error When Trying to Upgrade [duplicate]

I am getting this error when running sudo apt-get upgrade: Fetched 322 MB in 1min 57s (2,741 kB/s) Extracting templates from packages: 100%rade Preconfiguring ...
3 votes
4 answers
2k views

How do I fix the error "package is in a very bad inconsistent state"?

Recently I tried to install the package mysql-server-8.0 on my computer, using Ubuntu 20.04. I had some issues and decided to completely un- and reinstall mysql again. So, if I try to uninstall it ...
50 votes
8 answers
169k views

`Gtk-WARNING **: Locale not supported by C library. ` when starting apps from the commandline

I didn't get an answer but I wasn't doing anything and this is an interesting topic. In Ubuntu 12.04, when opening a file in gedit or if I am working on the command line in dpkg, I get returned the ...
0 votes
0 answers
20 views

How do I upgrade from a rather old (17.04) version of Ubuntu to the current version? [duplicate]

I have had a old partition of Ubuntu running 17.04 that I haven't booted to in ages. I finally booted back into it the other day and wanted to know how do I upgrade? The software updater doesn't work ...
1 vote
1 answer
121 views

Software Updater update failed [duplicate]

When I'm trying to update all packages in my environment, using GUI or from terminal by : sudo apt-get update I get : It simple says : ... Err:19 http://ppa.launchpad.net/beineri/opt-qt-5.11.1-...
1 vote
1 answer
204 views

apt-get upgrade not possible [duplicate]

I'm using VERSION="20.04.1 LTS (Focal Fossa)" With the command sudo apt-get upgrade I get this output: Reading package lists... Done Building dependency tree Reading state information... ...
0 votes
1 answer
4k views

Unable to install new packages due to missing kernel header

I am using Ubuntu 20.04 LTS and I am unable to install packages from apt or apt-get. Whenever I try to install a package, the process terminates with the following error E: The package linux-headers-5....
1 vote
3 answers
7k views

install package from ubuntu dvd [duplicate]

I want to install some package from ubunu 14.04 LTS dvd. Below is what I did. Could anyone please point out what was missing? root@ubuntu:~# mount ~/ubuntu-14.04-desktop-amd64.iso /tmpmt -o loop root@...
1 vote
1 answer
436 views

version `SAMBA_UTIL_0.0.1' not found on Kubuntu 20.10

My samba libraries appear to be missing, even though I know that everything is up to date. I'm running Kubuntu 20.10. Here is the terminal output: priz@prizmatic:~$ sudo apt install samba-libs -y ...

1
108 109
110
111 112
351