Questions tagged as ['package-management']

Questions about the management of software packages, in particular the APT and dpkg systems.
Score: 0
Drew75 avatar
Ran dist-upgrade, now packages held back
in flag

---UPDATE

Unfortunately, there was not much to be done with this issue. There is no 'easy fix'. I ended up reinstalling ubuntu. A bit radical, but it worked.

---END UPDATE

I messed up my packages in ubuntu 22.04 when trying to install ffmpeg5 to use alvr, following this guide - https://launchpad.net/~savoury1/+archive/ubuntu/ffmpeg5. One of the steps is dist-upgrade, which happened to delete ubunt ...

Score: 0
Renan Alexandre Berton avatar
Problem with installation of OpenVPN on Ubuntu
ae flag

I'm trying to install openVPN on Ubuntu, but I'm facing difficulties.

  • I confirm that the system is up to date: apt update && apt upgrade
  • Install the necessary packages: apt install ca-certificates wget net-tools gnupg
  • I add the local repository for installation: wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | sudo apt-key add -
  • Run the following command: echo "deb http://a ...
Score: 0
Wolfsbane2k avatar
How to apt-offline Linux Generic and Headers for 20.04.4 LTS
ng flag

Afternoon.

I'm trying to manage a set of servers that have no net connection. I've been using Apt-offline to do so, and it's generally been good, but it appears that I've been hitting a problem since the release of 20.04.05 LTS.

I'm trying to create a document so that I can formalise the process for another volunteer to manage and this is blocking that without adding a bodge.

The apt-offline get/instal ...

Score: 0
Hussain avatar
Failed to import pool rpool. manually import the pool and exit
mm flag

I have partitioned my computer after installing Ubuntu. And I restarted my pc, and then I face this problem.

Failed to import pool rpool 
Manually import the pool and exit.

Kindly help me to solve this problem.

Score: 0
Remove a list of manually marked packages skipping those on which a package outside of this list depends
US flag

I've a file called installs.txt which is a list of package names one-per-line. I would like to remove as many of those packages as possible without removing any package that's not mentioned in that file.

If I do,

apt remove `cat installs.txt`

APT tells me that a bunch of other packages will be removed as well since they depend on some of the packages requested for removal.

apt autoremove will not

Score: 0
Agustin Yornet avatar
How can I fix this "sudo apt-get -f install" error?
mr flag

I am new to Ubuntu.

I was trying to correct broken dependencies. When running sudo apt-get -f install, I get the following output:

Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  linux-headers-5.15.0-52 linux-headers-5.15.0-52-gene ...
Score: 0
clyde avatar
Installing virtualbox from .deb gives error: faulty packages are in "keep as is" mode
ro flag

I would like to install virtualbox to use genymotion. I downloaded the .deb package. I get this error when I run the command sudo apt install ./virtualbox.

The following packages contain unmet dependencies:
 virtualbox-7.0: Dependency: libc6 (>= 2.34) but 2.27-3ubuntu1.6 will have to be installed
                  Dependency: libgcc-s1 (>= 3.0) but it is not installable
                  Depends: li ...
Score: -1
bradly avatar
I have never been able to install software in Ubuntu from an extracted tar.gz file. no matter what I try. is this a sick joke or is there a solution?
mn flag

So far none of the answers from other threads work. Ive been an experienced Linux user for many years, except for this one major issue, which is why it feels like a bad joke on me. I have probably downloaded hundreds of tar.gz files, and none have ever included a config or install file and I always get the "no such file or directory" response. I'm starting to think you guys are all messing with me. Is t ...

Score: 3
davemenc avatar
apt-get install postgresql-client says I'm upto date but I'm not
bg flag

I'm running Ubuntu 18.04 on an AWS box. I have postgresql 10.22. We just update the rds and, apparently, 10.22 is not compatible with pg server version 14. So I want to upgrade. I ran $ sudo apt-get update $ sudo apt-get install postgresql-client-14 response: E: Unable to locate package postgresql-client-14

I ran $ sudo apt-get install postgresql-client Response: postgresql-client is already the  ...

Score: 0
pi. avatar
Upgrade attempt shows The package system is broken on Ubuntu 22.04
in flag
pi.

I'm having a similar issue to what was reported at:

The package system is broken on Ubuntu 22.04

the error does not state a specific package but the following

enter image description here

Following the guidance from there, I tried the initial suggestion but got stuck when I ran

sudo apt -f install

I get the following

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dep ...
Score: 0
no iam avatar
Cannot run sudo apt update
us flag

I cannot update my Ubuntu everything is broken and Err:8 has lnk but i removed http: from it as it was not letting me post it.

Ign:1 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal InRelease
Err:2 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new  ...
Score: 0
MoonMoon avatar
Could not install LLVM11 in Dockerfile
cf flag

Here Is my Dockerfile

FROM nvidia/cuda:10.2-devel-ubuntu18.04
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV PATH /opt/conda/bin:$PATH

#ENV DEBIAN_FRONTEND noninteractive 
ENV TZ=Asia/Shanghai
env http_proxy "h/ttp://59.69.112.40:808"
env https_proxy "h/ttp://59.69.112.40:808"
env ftp_proxy "h/ttp://59.69.112.40:808"
ADD sources.list /etc/apt
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo ...
Score: 0
Marko Cindrić avatar
Miniconda3 failure with lsb_release
cn flag

I have been installing Miniconda3-latest-Linux-x86_64.sh to my PC. But every time I get an error like this while installing it. Does anyone had similar issues with.

Thanks for help.

Traceback (most recent call last):
  File "site-packages/conda/exceptions.py", line 1079, in __call__
  File "site-packages/conda/cli/main.py", line 84, in _main
  File "site-packages/conda/cli/conda_argparse.py", line 83, ...
Score: 0
Lariv avatar
Missing package fips-initramfs
lt flag

On Ubuntu Focal (20.04 LTS) I am attempting apt-get install of a short list of specific FIPS certified modules - including the package fips-initramfs - from a properly authenticated account on https://private-ppa.launchpad.net/ubuntu-advantage/fips/ubuntu and https://private-ppa.launchpad.net/ubuntu-advantage/fips-updates/ubuntu. The command results, however, errors with "Package fips-initramfs is not a ...

Score: 1
Eliza Romanski avatar
Installing packages of R in UBUNTU
ir flag

i have an R script that looks like this:

install.packages("R.utils")
library("R.utils")
install.packages("vcfR")
library("vcfR")
install.packages("stringr")
library("stringr")
install.packages("tidyverse")
library("tidyverse")
install.packages("dplyr")
library("dplyr")
gunzip("gnomad.exomes.r2.1.1.sites.21.vcf.bgz", "gnomad.exomes.r2.1.1.sites.21.vcf")
vc=read.vcfR("gnomad.exomes.r2.1.1.sites.21.v ...
Score: 0
tfstwbbnb avatar
Install transitional package or real package?
sa flag

When should installing transitional or "real" packages be preferred?

In my case, should I install fonts-ubuntu (real package) or ttf-ubuntu-font-family (transitional package)?

https://askubuntu.com/a/20378/771744 says what they are, and from my reading, says transitional packages should be installed.

https://askubuntu.com/a/1429070/771744 says "Transitional packages are a one-way trip.", which mea ...

Score: 1
Dalek avatar
Unable to locate package libgdk-pixbuf-xlib-2.0-0:i386
in flag

I am trying to install adobe acrobat reader on my ubuntu machine following this instruction. I did these steps

sudo dpkg --add-architecture i386
sudo apt update

I got this message:

Hit:14 http://oem.archive.canonical.com focal InRelease                        
Fetched 114 kB in 1s (169 kB/s)                           
Reading package lists... Done
Building dependency tree       
Reading state informati ...
Score: 0
no iam avatar
The package system is broken also python 3.10 error
us flag
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
 The following packages have unmet dependencies:

python3.10: Depends: python3.10-minimal (= 3.10.8-1+focal1) but 3.10.8-1+focal1 is installed
            Depends: libpython3 ...
Score: 1
Zipen avatar
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0: end of file after field name ' '
pn flag

I am getting this dpkg error when trying to launch a dpkg command:

dpkg: error: parsing file '/var/lib/dpkg/status' near line 0:
end of file after field name ''

When trying to update apt-get update i get this:

Hit:1 http://download.hiveos.farm/repo/binary  InRelease 
Hit:2 http://download2.hiveos.farm/repo/binary  InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit: ...
Score: 0
EMRE BİNNAZ avatar
Ubuntu can not open GUI after upgrade 20.04 -> to 22.04
gq flag

After I upgrade my ubuntu to 22.04 version, I can not open ubuntu desktop. I saw many questions which similar to my question in here and I tried too many solution way for the problem but I could not fix it.

When I run "startx" command, this screen opens:

Also I tried to install ubuntu-desktop. Here is the screenshot, when I run command.

Command output says some packages have unmet dependencies. The ...

Score: 5
Clint avatar
How to manually upgrade MariaDB 10.6.7 to 10.6.11
ie flag

I have had MariaDB installed on my server for a while now. I previously used sudo apt install mariadb-server to install.

I wish to upgrade this to 10.6.11 as this is the newest stable LTS version, but the Ubuntu distro only has 10.6.7 and won't allow me to upgrade using apt upgrade mariadb-server.

I have tried removing the server using apt remove mariadb-server, then adding the repo:

sudo add-apt-reposito ...
Score: 0
Quokka avatar
Why does apt allow removal of a package that is a dependency of another package?
in flag

On Ubuntu Server 22 minimal, I install xinit:

sudo apt install xinit

and in the process apt auto-installs several other packages.

Let's take libjavascriptcoregtk-4.0-18 as an example. It gets auto-installed when I run the command above.

But if I purge the dependency:

sudo apt purge libjavascriptcoregtk-4.0-18

apt allows me to do so.

Why?

Is xinit dependent on libjavascriptcoregtk-4.0-18 or not?

Score: 0
rgreen42 avatar
Install Build Essential Fails on Ubuntu 24.04 Fresh install due to libc6-dev dependencies
rs flag
sudo apt-get install --yes build-essential
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out on Incoming.
The following information may help to resolve the situation:

The follo ...
Score: 0
Nuwanthi Karunarathne avatar
Unable to locate package net-tools
jm flag

I wanted to install dhcp server. When I typed ifconfig it says,command not found but can be installed with sudo apt install net-tools. Then I did so. Results were

Reading package lists... Done
Building dependency tree...Done
Reading state information...Done
E: Unable to locate package net-tools

I updated cache. Then checked the repository in my ubuntu version whether it has or not that particul ...

Score: 0
Manuel Jordan avatar
How update a package that was installed through the dpkg command?
kz flag

About the dpkg command, for a first installation of a package is executed the following command:

sudo dpkg -i filename-v1.deb

Observe it is version 1. Until here I am ok.

But if is available a new release for the same package.

Question

  • How update the current installed package through the same dpkg command?

What is the specific option? Through the man dpkg I couldn't find an option such as -u or ...

Score: 0
Manuel Jordan avatar
Where is the unpacked content of a .deb file when using the "--unpack" option of dpkg?
kz flag

About the dpkg command, a few tutorials do mention of the --unpack option. According with jammy (1) dpkg.1 it indicates

--unpack package-file...
   Unpack the package, but don't configure it. If --recursive or -R option is specified,
   package-file must refer to a directory instead.

Well just how testing, from the MySQL APT Repository page it is possible to get the mysql-apt-config_0.8.24-1_all ...

Score: 0
Tom Bom avatar
Trying to update Node version: The following packages have unmet dependencies: mongodb-org
jo flag

This is my Dockerfile and it runs without problems:

FROM node:12 as build

# Install mongo in container for mongodump command
RUN wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key add -
RUN echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/5.0 main" | tee /etc/apt/sources.list.d/mongodb-org-5.0.list
RUN apt-get update
RUN apt-get install -y mongodb-org

But when I tr ...

Score: 0
Steven Lu avatar
adding PPA in a 18.04 docker image references "lunar"
cn flag

I have a need to install gcc-10 inside a very specific very old 18.04 docker image.

What happens is that the gcc-10 package is simply not found by apt.

When using the standard procedure involving add-apt-repository ppa:ubuntu-toolchain-r/test, the output in the offending docker build shows as:

#11 [builder  8/58] RUN add-apt-repository ppa:ubuntu-toolchain-r/test
#11 sha256:986838b1775ab762834c16c4e7b70e3 ...
Score: 0
Robert Pearson avatar
How do I report a bug when launchpad does not work?
sy flag

I found a bug in engrampa. When I tried to report it I got to https://bugs.launchpad.net/ubuntu/+source/engrampa/+filebug/d65ee956-654a-11ed-99a1-40a8f0305cb4.

After an hour, the bug data was still not processed.

I tried a second time. Same results.

This is what happens when children try to code.

P.S. The engrampa bug is that when I try to open a .txt file, it checks to see if a Pluma window is open. I ...

Score: 0
YngEzy B avatar
cache problem in ubuntu
bo flag

how can i solve this problem in ubuntu 22.04

Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3649 (apt) 
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3649 (apt) 
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3649 (apt) 
Waiting for cache lock: Could not get  ...