Questions tagged as ['package-management']

Questions about the management of software packages, in particular the APT and dpkg systems.
Score: 2
Can we get debug packages in Launchpad?
ph flag

I see some project offering their ...-dbgsym.deb packages on launchpad (see ALSA).

My projects, however, do not seem to generate those packages.

When I create packages on my machine, I do see those packages.

Could it be that it is turned off in my project?

Could there be an issue where the compiled version is pure release and thus the libraries anyway do not include any symbols and as a result not dbgs ...

Score: 1
ShlomiRex avatar
Where can I find the source code for Alt+Tab behaviour on Ubuntu 21? What package is that?
tf flag

I want to edit and customize the Alt+Tab behaviour. (i.e. viewing the open apps). I only need a direction - which package is that? Thanks!

Score: 0
David avatar
Upgrade Crashes (Hirsute Hippo 21.04)
cn flag

After the installation of ubuntu 21.04 (Hirsute Hippo)

cat /etc/lsb-release

It crashes when I try to upgrade

dpkg: unrecoverable fatal error, aborting: unable to open directory '/var/lib/dpkg/updates/': Operation not permitted E: Sub-process /usr/bin/dpkg returned an error code (2)
Score: 0
HyperNight avatar
Can't install kwin-common when trying to install KDE Plasma
br flag

I cannot install kwin-common when trying to install KDE Plasma. I've tried sudo apt update and other Google answers, such as dpkg -a --configure, apt upgrade, but none of them worked.

Score: 0
El Señor Gato avatar
Problems updating Kubuntu 20.04.02 Focal Fossa - Many error messages
lb flag

I have a problem updating my system. For some reason error messages are being displayed in Spanish even though I don't use it.

This is the error message what I got in terminal

E: El repositorio «cdrom://Kubuntu LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto  ...
Score: 0
How to view which packages /files where updated last and when, is there a list online?
cz flag

I'm running Ubuntu 20.04 and I'm trying to find out which packages and files where updated/changed last and when on a machine, also is there a list online that says which packages are the latest for an LTS and what was changed?

I know about

cat /var/log/dpkg.log | grep "\ install\ "

and it gives me

2021-08-03 11:30:12 install libjcat1:amd64 <none> 0.1.3-2~ubuntu20.04.1
2021-08-03 11:30:18 inst ...
Score: 0
Hannah Schmidt avatar
E: Sub-process /usr/bin/dpkg returned an error code (1) won't leave me alone :'(
sz flag

so... i've spent the past 7 hours of my life trying to update my pc, i fell into an abyss of confusing jargon i don't understand. i've tried everything i can handle trying without being put in a hospital and soon being interviewed for a netflix documentary on how i went insane and my story.

basically.... I try to run 'sudo apt --fix-broken install' as that is what the terminal tells me to do ever ...

Score: 2
Shubham Deshmukh avatar
Is shim a redundant package that is never used, compared to shim-signed?
jp flag

I did sudo apt-get autoremove --purge to free up some space, however it also removed the latest shim package that got updated just today.

shim (15.4-0ubuntu7)

also updated today was

shim-signed (15.4-0ubuntu7)

but shim-signed was NOT removed.

If autoremove removes older versions no longer required, however I believe shim is an essential element for secure boot process, or is it not? Please help me ...

Score: 0
Michur55 avatar
Getting dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
jp flag

While trying to use apt-get install, I'm getting this error dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.


When I'm trying to fix it and use dpkg --configure -a, system is freezing on this message


Score: 0
Rad avatar
Broken apt sources list?
fo flag

I am trying to do boot-repair using try Ubuntu from live disc. I need to do apt commands, however I keep getting:

Media change: please insert the disc labeled
 'Ubuntu 21.04 _Hirsute Hippo_ - Release amd64 (20210420)'
in the drive '/cdrom/' and press [Enter]

I have seen a solution about removing cdrom entries from /etc/apt/sources.list, so I did. Now my lists are only 4 active entries, none is cdro ...

Score: 0
Cant access Ubuntu One on 20.04
br flag

Just installed 20.04 on my laptop. I can login and view my desktop but it refuses to let me access Ubuntu One. Can anyone help me please?

Score: 0
Iberico avatar
how to uninstall packages built from source and remove them entirely?
cn flag

I have built a lib, Open3D, from source and installed it. Afterwards, i ran make uninstall for the library and deleted the entire file directory which i cloned from git, i still have existing files from Open3D from /usr/local/lib directory. This is frustrating. How do i completely remove all these files? I don't face such problems if the package i require can be installed from apt.

This is what i ...

Score: 0
“Unable to locate package” after a crash installing other package with apt-get
ua flag

After a crash installing java with apt-get, I was trying to install maven, but apt wasn't finding:

> sudo apt-get install maven
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package maven

Already tried everything described here: "Unable to locate package" while trying to install packages with APT

But nothing helped, I found a solutio ...

Score: 2
Ali Javan avatar
Can I add Focal Fossa dist apt repository to Hirsute Hippo
us flag

Not all packages are available in Hirsute Hippo dist so I want apt to install unavailable packages in Hirsute Hippo dist from Focal Fossa apt main repository. Is this possible?

Score: 3
Manuel Jordan avatar
Why did "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem" appear?
kz flag

For Ubuntu Desktop 18:04 for update I use:

  • sudo apt update
  • sudo apt upgrade

But suddenly for the latter now arises:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem

So executing that command I got:

sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-generic-hwe-18.04:
 linux-generic-hwe-18.04 depends on linux-headers-generi ...
Score: 0
WebLab - group avatar
Can't install anything after installing dde on ubuntu 20.04
gb flag
user@host:~$ sudo apt install iverilog 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
iverilog is already the newest version (10.3-1build1).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up deepin-any ...
Score: 0
dinaradenis avatar
Error When Update To Hirsute Hippo
eg flag

I Want To Update My System From Focal Fossa ( LTS ) To Hirsute Hippo ( Normal ), But I Found Some Error :

root@localhost:~# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1268 kB]
Fetched 1269 kB in 0s (0 B/s)
authenticate 'hirsute.tar.gz' against 'hirsute.tar.gz.gpg'
extracting 'hirsute.tar.gz'

Reading cache
lspci: /sys/bus/pci/device ...
Score: 0
Larry Hunsicker avatar
Is the latest version of rstan 2.26.2 avaiable for Ubuntu 20.04 LT?
th flag

Is the latest version of rstan (2.26.2) available yet on Ubuntu 20.04 LT? If not yet, is there an estimate of when it will be available?

Score: 1
elakhdar_ayoub avatar
missing packages error in wine installation
it flag

i'm trying to install wine the latest version using the following command

sudo apt install --install-recommends winehq-stable

but i faced some missing packages issues, so i tried to fix it through the command:

sudo apt install --install-recommends --fix-missing winehq-stable

even with that still unable to get the missed packages and i keep getting this error:

    Unable to correct missing packa ...
Score: 0
TheMeaningfulEngineer avatar
Install a specific version of an older package by adding an old mirror
cn flag

I'm attempting to install a specific version of gcc to Ubuntu 18.04.

By default the version of Ubuntu at the time of this writing is 18.04.5. Installing it with sudo apt-get install gcc-7 results in the following:

user@server:~$ gcc-7 -v
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
user@server:~$ sudo apt-cache policy gcc-7
  Installed: 7.5.0-3ubuntu1~18.04
  Candidate: 7.5.0-3ubuntu1~18.04
Score: 2
Cornelius Roemer avatar
How to install package xorg-server
cn flag

I'm following this recipe to build xf86-input-libinput from source with a patch applied.

The command ./configure --prefix=/usr gives me an error that I haven't been able to resolve:

checking for xorg-server >= 1.10 xproto inputproto >= 2.2... no
configure: error: Package requirements (xorg-server >= 1.10 xproto inputproto >= 2.2) were not met:

No package 'xorg-server' found

Consider ad ...
Score: 3
HippoMan avatar
apt forgot about more than 1,000 packages, and I'm unable to reinstall
us flag

I'm running 20.04.2 LTS (Focal Fossa)

I hadn't run aptitude for a couple days. It always worked fine, but when I tried it now, it started giving me the "e Examine" dialog each time I run it. When I type "e", it goes into a 10-20 minute run with the following showing at the top of the page:

open: aaa; closed: bbb; defer: ccc; conflict: ddd

Where 'aaa', 'bbb', 'ccc', 'ddd' are increasing numeric val ...

Score: 1
apt update error: Conflicting values set for option ALLOW_INSECURE regarding source <set> <unset>
ng flag

As subject, today when I tried to apt update, my ubuntu server throw error message that

E: Conflicting values set for option ALLOW_INSECURE regarding source <set> <unset> 
E: The list of sources could not be read. 

How to detect what make this problem and how to fix it?

Score: 0
apt and dpkg error
cn flag

I am trying to install anydesk using apt-get and dpkg using .deb file but the system is showing the following error.

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
mdqmlab@ubuntu-desktop:~$ anydesk
anydesk: error while loading shared libraries: libgtkglext- ...
Score: 0
run_the_race avatar
Python snap package: -> install_requires vs snap package yaml file -> pacakges
ke flag

Following this tutorial on how to make a snap package out of python code, it says one must have a has a install_requires field which list all the package it requires.

Now the snap package yaml file asks for the exact same information under the packages attribute, even though it specifies it requires the file.

This does not seem very DRY, which makes me think there is somethin ...

Score: 0
sunil avatar
unable to install anydesk in ubuntu 20.04 LTS
uz flag

please suggest command to install anydesk in ubuntu 20.04 LTS

Score: 0
Cant install , update or remove without getting this problem!
sz flag

I have had this problem for about a week, i cant install , autoremove, or update without the problem showing up, since i tryed to update the kernel and it stays the same , i assume the problem comes from the kernel.

E: Sub-process /usr/bin/dpkg returned an error code (1)

Example of autoremove:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The follo ...
Score: 1
Qwark avatar
Unmet dependencies upon installing libvirt* and virt-manager after distribution upgrade
cn flag

I have been doing an upgrade from Ubuntu 18 to 20.04, then 20.10. Now, I need to install virt-manager, which I'm sure has a package supported on Ubuntu 20.10. When I try to install it using sudo apt-get install virt-manager, I get unmet dependencies problems stating that packages cannot be installed.

The following information may help to resolve the situation:

The following packages have unmet depende ...
Score: 4
ADMI avatar
Can't Install Gnome-Control-Center on Ubuntu
ve flag

I installed xfce4 on my ubuntu today i removed it and installed Gnome back, but after that i had issues where my setting was not able to open i searched about it and found that gnome-control-center was missing from my computer and i then tried to install it and got this error

$ sudo apt-get install gnome-control-center
Reading package lists... Done
Building dependency tree       
Reading state information ...
Score: 1
Simon Sirak avatar
Interrupted apt, now cannot use Ubuntu 18.04 LTS
nz flag

I am running dual boot Windows 10 and Ubuntu 18.04 LTS with NVIDIA GPU:s and stupidly forced my computer to shut down during an Ubuntu apt installation, as I mistook it for a crash (screen turned black followed by a terminal) without looking too much into it. Since this, I have not been able to use as the system freezes entirely when reaching the login screen (I am already using nomodeset). Booting into ...