New answers tagged package-management
0
votes
Ubuntu 22.04 apt-upgrade fail (libperl5.34, perl5, perl-base_5.34.0 dpkg error)
can you check if the disk still has some free space?
$ df | egrep '^/'| grep -v loop
"Input/output error" sounds like a disk/space problem.
Kinds Regards
maniac__
0
votes
[Jammy]: puppet-agent has no installation candidate despite following instructions
puppet6-release-jammy.deb does not contain puppet-agent but requires it.
So download and install puppet-agent from where you got puppet6-release-jammy.deb The package is ONLY avaliable for 23.04 and ...
0
votes
Unable to install edge on ubuntu 22.04
Paste this code on a terminal:
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/...
0
votes
I'm getting the message: "The following security updates require Ubuntu Pro with 'esm-apps' enabled" when updating Ubuntu 22.04
These have not helped me (they do not persist):
moving/removing /etc/apt/apt.conf.d/20apt-esm-hook.conf
changing the token in the /etc/apt/apt.conf.d/20apt-esm-hook.conf file from true to false
I ...
0
votes
OpenCV compiles correctly but fails during .deb packaging
Best information I got was from the opencv documentation tutorial linux install and tutorial config reference
I ended up using these steps to build a .deb package:
# Install basic tools
sudo apt ...
0
votes
How to install the libxcb-cursor.so.0 library?
Maybe I was just downloading the wrong feather wallet file:
nicholas@mordor:~/Downloads/monero$
nicholas@mordor:~/Downloads/monero$ wget https://featherwallet.org/files/releases/linux-appimage/...
0
votes
'held on to broken packages' - Steam
Sadly, the ecosystem of sta*ckexchange network is infamous for being unfriendly towards some segment of people and I apologize for all of us. Now, of course there's always a possibility that trial &...
1
vote
how to install "/Downloads/code_1.78.2-1683731010_amd64.deb" file getting this error
The command that you ran has wrong syntax. You are already in the home directory so You can directly access Downloads from there;
So its not
sudo apt install ./home/birjendra/Downloads/code_1.78.2-...
0
votes
How to have Google Chrome Canary on Ubuntu?
Use the puppeteer/browsers package:
npx @puppeteer/browsers@latest install chrome@canary
npx comes from https://npmjs.com/ (NodeJS).
0
votes
add-apt-repository command is suddenly very slow
my problem was ip6tables input policy set to DROP without allowing local traffic. these need to be there:
ip6tables -A INPUT -i lo -j ACCEPT
ip6tables -A INPUT -m conntrack --ctstate RELATED,...
3
votes
Accepted
"ttf-mscorefonts-installer" Dependency Question
Some answers are readily available in the changelog. Others you can find by browsing the patches, which are documented.
Generally, Ubuntu patches are created in response to bugs. The patches are ...
0
votes
How to remove disabled (unused) snap packages with a single line of command?
Building on @casper.dcl answer because I'm running ubuntu 20.04
snap list --all | awk '$6~"disabled"{print $1" --revision "$3}'
builds the correct list to pipe into xargs
$ ddf -m
...
1
vote
How to remove kernel updates from upgrade stream?
Sure it can. Easily.
However, there's a big drawback: No more automatic security patches. When you roll your own kernel, mitigating CVE's is now on your shoulders. If that's okay with you, then ...
0
votes
Getting an error every time I install something with apt
Dou you need xtrx-dkms package? xtrx kernel module needs to be built for all kernels that you have installed. If you do not need it remove it with apt remove xtrx-dkms. Then you should be able to use ...
0
votes
Unable to install edge on ubuntu 22.04
I could install the package today just opening the folder with the GUI file browser and clicking on it -so that the package manager opens. The installation was successful.
(My only interest in ...
3
votes
Accepted
Brave browser has a user interface problem
At least on several of the machines we tested, the problem can be bypassed by removing each affected user's GPUCache:
~/.config/BraveSoftware/Brave-Browser/Default/GPUCache$
I.E.:
~/.config/...
0
votes
Accepted
Is it possible to install SQL Server on Ubuntu 22.04?
Ubuntu 22.04 is not currently supported https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes-2022?view=sql-server-ver16
But you could install it as a docker container. Check ...
0
votes
How to get pythonpath to work for the python module in openmodelica Buildings running Ubuntu 20
I just figured out that I forgot to add an extra parenthesis to my if statements, so it works now (which is weird since I tested it on jupyter before):
def peak_shaving(dblInp):
[net_load, SOC] = ...
1
vote
Accepted
Installing, maintaining and updating multiple Ubuntu installations
I seem to have a knack for asking questions that elicit very little response... 😔
I have, however, solved the problem for my purposes and would like to document the basic solution here.
What I was ...
0
votes
cant sudo apt update due to a connection failure
From the first line, the error indicates a mirror that is down or unavailable. Generally, this means that some repositories activated don’t exist anymore, at least on the mirror we are using. This ...
1
vote
Accepted
How can I stop apt from installing snap packages?
Besides setting files in /etc/apt, you can run apt-mark to prevent anything requiring snapd from installing, just after purge snapd:
$ sudo apt-mark hold snapd
For example, installing firefox in ...
0
votes
Accepted
How to install whatweb on ubuntu?
I was able to get WhatWeb working on ubuntu. Here are the steps that I followed:
Step1: Open a terminal: Press Ctrl + Alt + T to open a new terminal window or search for "Terminal" in the ...
1
vote
because i can't install python3.10-minimal in ubuntu 22.04 lts
I was having the same issue and the solution was to change the way I was running docker in my computer as apparently there is a bug in how docker got installed in Ubuntu 22.04 using snap that ...
0
votes
Accepted
apt issue - not able to run any apt command
The issue was with the contents in sources.list and sources.list.d. Deleted everything and then used the default sources.list from here:
https://gist.githubusercontent.com/ishad0w/...
1
vote
Accepted
"Please install all available updates for your release before upgrading." when trying to update from 20.04 to 23.04 due to broken package
Looks like you have a PPA or external repo for lutris.
The clue is lutris/now where now isn't a standard Ubuntu repository section. You can confirm this with apt-cache policy lutris and paste the ...
0
votes
Giving error python3-pip
I just encountered the same issue as yours. it was resolved by first running:
sudo apt update --fix-missing
then:
sudo apt-get install python3-pip
0
votes
Accepted
libXdamage.so.1: cannot open shared object file: No such file or directory
Your program needs the 32 bit version of libxdamage (from all the other 32 bit libraries in your ldd output), and cannot use the 64 bit version which is already installed. Install the 32 bit version ...
0
votes
Install a program with apt-offline
Adding to @TheOdd's great answer, I also needed to install apt-offline itself offline. To do this for example on Ubuntu 20.04, I found the packages I needed:
https://packages.ubuntu.com/kinetic/apt-...
0
votes
How to fix Python3.10 error on Ubuntu 22.04
Before you try this make a backup of your important data and make a propper install media for jammy!
mkdir $HOME/backup/
Then we move sources.list's from foreign packages sources in this folder.
sudo ...
1
vote
How to fix Python3.10 error on Ubuntu 22.04
One method: Back up your data, then clean-install Ubuntu 22.04.
"i've tried everything i could come across online" is too vague to understand what you might have done, and a reinstall will ...
0
votes
system cannot find alternative python3 versions on ubuntu 20.04
Simple .sh script will solve the problem
i=0 ; for p in /usr/bin/python*.* ; do
update-alternatives --install /usr/bin/python python $p $((5 + i))
i=$((i+1))
done
Then
update-alternatives --config ...
2
votes
How do I install an older kernel in jammy and later Ubuntu?
Older kernel packages are kept on https://launchpad.net. This is the official version control system and build library for Ubuntu.
Launchpad is not a source that apt knows how to use. You must ...
0
votes
Try to install a package without any other action
The correct way to solve this problem is to remove packages.matrix.org from your software sources in /etc/apt/, run sudo apt update, and uninstall the Matrix software so that you will be able to ...
0
votes
Accepted
cmake: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory
Not sure if it will help, but according to Ubuntu package search the package libidn11 is not included into 22.04LTS version, instead there is a libidn12. So, I am afraid, that you can not compile qt-...
1
vote
Accepted
where is the actual index file apt uses to update the package list?
The actual index URLs are listed in your apt update output.
Here's an example from 23.04:
$ sudo apt update
[sudo] password for the_admin:
Hit:1 http://us.archive.ubuntu.com/ubuntu lunar InRelease
...
0
votes
Error message E: Conflicting values set for option Signed-By regarding source
sudo apt policy | grep winehq
ls /usr/share/keyrings | grep winehq
sudo rm /usr/share/keyrings/winehq-archive-keyring.gpg
ls /etc/apt/sources.list.d | grep winehq
sudo rm /etc/apt/sources.list.d/...
0
votes
How to list manually installed packages?
Compiled from the awesome answers by others in this thread and additional info from the internet I assembled a command that fis my needs and perfectly replicates my apt history:
ls /var/log/apt/...
2
votes
How do I install a non-standard Package Manager on Ubuntu?
On Ubuntu applications installed by the system are located at /usr/bin.
Ubuntu has two default package managers: apt and snap. And they're both located inside /usr/bin:
$ which apt
/usr/bin/apt
$ ...
1
vote
About the usage of Python-apt
problem solved, if you encounter the same issue, you can try this out:
and remember to check the 'rootdir' should contains your sources.list
with open('/home/BinDiff/etc/apt/sources.list', 'w') as f:
...
Top 50 recent answers are included
Related Tags
package-management × 10276apt × 5404
dpkg × 1728
dependencies × 1271
updates × 1084
upgrade × 967
software-installation × 935
python × 463
ppa × 403
16.04 × 391
14.04 × 365
18.04 × 358
20.04 × 339
repository × 335
command-line × 329
software-center × 306
kernel × 265
update-manager × 238
12.04 × 237
installation × 237
deb × 221
uninstall × 218
server × 206
wine × 190
compiling × 146