Questions tagged [package-management]
Package management is the process of installing, upgrading, configuring, and removing software packages for a computer's operating system in a consistent manner.
123
questions with no upvoted or accepted answers
9
votes
0
answers
3k
views
How can I exclude a port from macports upgrade outdated?
I want to update all my outdated ports, but as libgcc-devel takes upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run
$ sudo port ...
4
votes
0
answers
2k
views
Why does dnf uninstall python-pip want to uninstall Fedora?
Having trouble installing packages with pip (wow. so unexpect. much surprise) and upon trying to toss it entirely and start over (no, dnf reinstall was not sufficient) I found that dnf seemed to think ...
3
votes
0
answers
2k
views
PowerShell - Cannot uninstall the Microsoft.HEIFImageExtension on several Win10 systems
I have a PowerShell command line to uninstall the HEIF image extension component provided by default on Win10/Win11 OS. This command is the following:
get-appxpackage Microsoft.HEIFImageExtension -...
3
votes
0
answers
640
views
Remove package from winget package list without uninstalling
Synopsis: I used Winget to install an application that had an auto
updater, such as Discord. The issue here is that if the Discord app
upgrades itself,the Winget will be unable to detect the change in
...
3
votes
2
answers
926
views
Uninstall pip dependency with a hyphen at the start of it's name
I accidentally globally installed a package called -igalixir with pip3. When I try to uninstall it with pip3 uninstall -igalixir it interprets -igalixir as a command line option. I have tried ...
3
votes
0
answers
989
views
Create APK package from existing files
I have a bunch of files in several directories and would like to create an APK package out of them and publish it in a private repository. For dpkg-deb + apt-ftparchive on Debian/Ubuntu or for ...
3
votes
0
answers
776
views
Why apt would not downgrade a package
I have some package that I want to manually downgrade. If I run apt-cache policy, I see the needed version:
$ apt-cache policy foo-package | head
foo-package:
Installed: 0.21.0-0
Candidate: 0.21....
3
votes
0
answers
67
views
Is it possible to change the installation directory using OneGet?
I'm trying to install an app, for example Firefox using:
Install-Package -Name Firefox -Source chocolatey
But by default it installs on C:\Program Files. I would like instead make it install on D:\...
3
votes
1
answer
762
views
Why does the installation of a 32-bit package remove 64-bit packages?
It's not clear to me why the installation of a 32-bit package would necessitate the removal of a 64-bit package.
For example, if I try to install the 32-bit development package of libcurl with:
sudo ...
3
votes
1
answer
413
views
Ubuntu 10.04.4 LTS - Reverting an updated package - how?
I have Ubuntu 10.04.4 LTS and an automated security update updated apache2 from 2.2.14-5ubuntu8.7 to 2.2.14-5ubuntu8.8, how can I revert back to 8.7?
ls /var/cache/apt/archives shows that there is ...
2
votes
1
answer
659
views
What is this pip config output?
I have to install and configure Python 3.8.10 on a Windows 7 machine and I'm getting this output for pip config -v list:
C:\Users\Username>pip config -v list
For variant 'global', will try loading '...
2
votes
0
answers
5k
views
AttributeError: 'version_info' object has no attribute '__version__' when trying to load Yolo Model Weights
I have been referred to this platform from Stack Overflow for this question.
I am trying to follow the How to Build Object Detection APIs Using TensorFlow and Flask video (on YouTube).
I cloned the ...
2
votes
0
answers
3k
views
How to specify winget installation folder
I would like to use winget, on Windows 10, as a packet manager, it seems to work pretty well. However I have encountered a big inconvenience: I seem to be not able to specify the location of the ...
2
votes
1
answer
256
views
Do I need to code sign my executables to add my application to WinGet?
The WinGet spec lists the Minimal singleton YAML file example (which I will display below as of 6/17/2021) shows a SignatureSha256 value, which I think signifies that the executables must be signed... ...
2
votes
0
answers
271
views
Poetry add <package> returns AttributeError
I am trying to create a Python package using poetry. I haven't been able to replicate the steps described in
documentation. When I try to add a dependancy, e.g.
poetry add pendulum
I get
jan@jan-XPS-...