39
votes
How can I remove outdated installed versions of Homebrew packages?
Just for the records, you can clean the outdated versions of the packages that you are about to upgrade using the --cleanup flag:
brew upgrade --cleanup <package_name>
23
votes
Accepted
What is the servicing stack and how does it work?
1. What is servicing and what does the servicing stack do?
Servicing is the name of configuring Windows updates or Windows features (installing, removing updates/features). This can be done when ...
21
votes
Accepted
Getting this error when trying to use flatpak, “No remote refs found similar to ‘flathub’”
Are you trying to install flatpaks using the --user flag? If so, you need to also use that flag to add the repo:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub....
20
votes
How can I install GNU Parallel alongside Moreutils on Ubuntu/Debian?
For Ubuntu v17.04 ("Zesty Zapus") and Debian v9 ("Stretch"), (2017 or newer), or distros based upon those versions, please read Bryan Larsen's answer first, which should be sufficient.
For versions ...
15
votes
Accepted
Arch Linux: 'whatprovides' equivalent option for pacman
pacman -F file_name for Pacman v5.2.1 - libalpm v12.0.1
14
votes
Find outdated/updatable pip packages
Thing is, I never upgrade all packages. I upgrade only what I need, because projects may break.
Because there was no easy way to upgrade package by package and update the requirements.txt file, I ...
14
votes
How to install a specific package version in Alpine?
The syntax for pinning alpine packages with apk is apk add packageName=x.y.z.
(To set a minimum version, use apk add packageName>x.y.z)
Example:
FROM alpine:3.3
RUN apk update && apk ...
12
votes
Find outdated/updatable pip packages
Simple output:
pip list --outdated
See also docs on pip list --outdated option.
Pretty output:
pip install pip-check
pip-check
11
votes
How can I fix the error "The value 'stable' is invalid for APT::Default-Release"?
I get the same error with apt, so it's unrelated to synaptic. However, this config exists:
# grep -ri stable /etc
/etc/apt.conf.d/99myDefaultRelease:APT::Default-Release "stable";
So changing that ...
10
votes
Pacman doesn't download anything - Always 404
Use mirror reflector
sudo pacman -S reflector
Install it and type:
sudo reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist
10
votes
How can I install GNU Parallel alongside Moreutils on Ubuntu/Debian?
This conflict is solved in Ubuntu 17.04 and Debian Stretch.
If you install parallel & moreutils you get the GNU parallel as /usr/bin/parallel and moreutil's parallel as /usr/bin/parallel.moreutils....
10
votes
Accepted
Where do packages installed with DNF get stored?
DNF stores downloaded packages and metadata in /var/cache/dnf, in various per-repository subdirectories.
By default, after a successful installation, the packages are removed. You can change this ...
10
votes
Accepted
MSYS2 and "At least one valid and enabled repository required for this action to succeed."
The maintenancetool.exe is IMO undeniably a flat out a broken monstrosity that the msys2 DEV team (apparently 4 people in the entire WORLD) listed here on the MSYS2 Github repo:
should have yanked ...
9
votes
Is there a way to download individual .apk packages from Alpine repos?
For example for curl, try
apk update
apk fetch curl
apk add ./curl-7.61.1-r1.apk
9
votes
Is there a way to download individual .apk packages from Alpine repos?
Here is a mirror list of servers, where you can download from:
http://dl-cdn.alpinelinux.org/alpine/MIRRORS.txt
Packages can be downloaded from e.g.:
http://dl-cdn.alpinelinux.org/alpine/latest-...
8
votes
Get Source for Arch Linux Package?
Install the Arch Build Source Management Tool (i.e. the asp command, formerly abs).
sudo pacman -S asp
Download the PKGBUILD
asp export <package_name>
Download the PKGBUILD source files
...
7
votes
Arch Linux: 'whatprovides' equivalent option for pacman
You can also use pacman -Fy file_name, as suggested in this Unix & Linux Stack answer.
7
votes
How to install a single package from Debian sid?
One easy way to do this is to set preferences so that the system uses stable for most packages but falls back to testing or unstable for missing packages.
Here are the steps:
Add this to /etc/apt/...
7
votes
What is the difference between Recommended and Suggested packages (Ubuntu)
Though it is a very old question, I want to write an answer here because once I searched the same question and reached here via google.
From man deb-control or https://linux.die.net/man/5/deb-control, ...
7
votes
How can I undo or rollback an "apt-get upgrade" command on Ubuntu?
I also had to undo an package upgrade today on a couple of Debian servers.
I successfully reverted the packages to the last version by using aptitude, whereas the following awk command was very ...
7
votes
How to install a specific package version in Alpine?
Vlad Frolov already gave the answer. I am writing the docker solution. I was trying to add some package from the v3.8 repository.
Browse the old archive http://dl-cdn.alpinelinux.org/alpine/ and get
...
6
votes
Is there a way to list all Chocolatey packages that have no dependencies?
The following Powershell "one-liner" will display all dependencies for each package installed on your system
cd C:\ProgramData\chocolatey\lib
Get-ChildItem C:\ProgramData\chocolatey\lib -...
6
votes
Accepted
A workaround which lets you use `mk-build-deps` (and fakeroot) on the Windows Linux Subsystem on Windows 10
The problem is that the System V IPC version of fakeroot doesn't work properly on this version of Windows.
The solution is to run the command:
sudo update-alternatives --set fakeroot /usr/bin/...
6
votes
Is there a built-in package management system in Windows?
Yes, Windows 10 PowerShell has PackageManagement. For python, I believe you need to install chocolatey as a package provider first.
Here is how I was able to install python using PackageManagement.
...
5
votes
Pacman doesn't download anything - Always 404
For the record, if you are not an ARM user, you may have a 32 bit Arch Linux, but the i686 support ended.
$ pacman -Syu --debug
If you see i686 in the repo URLs, then you should switch to Arch Linux ...
5
votes
Accepted
How to copy all installed libraries to another Linux machine?
Managing a packages like rpm and libraries is very important in all the distribution of Linux. There are two ways to copy the packages from one System to another.
You can create File of current list ...
5
votes
Accepted
Ubuntu 18.04 to 20.04 - Unresolved issue occured while calculating upgrade
I had a very similar problem. main.log was identical, the problems listed in apt.log were different.
In my case the culprint seemd to be Qt4 together with Python. I solved my issue by removing these ...
5
votes
Ubuntu 18.04 to 20.04 - Unresolved issue occured while calculating upgrade
As before you upgrade Ubuntu, you have to remove unnecessary and corrupted packages. I have resolved issue by following commands:
apt list --upgradable
sudo apt autoremove
sudo do-release-upgrade -d -...
5
votes
Accepted
How to remove/uninstall corrupted winget package?
Summary: winget thought Python.Python.3 was still installed because of a regedit key sticking around, hence why winget list python reports it being installed. The uninstaller was a remnant from a ...
4
votes
How to modify a deb package?
If you download sources from official site, than there should be package itself available via apt. So you cat just download ready package, modify it and pack again:
apt-get download your_package
dpkg ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
package-management × 516linux × 175
ubuntu × 115
debian × 100
packages × 43
installation × 41
apt × 40
yum × 34
aptitude × 32
apt-get × 28
python × 25
macos × 23
fedora × 23
arch-linux × 23
windows × 19
dpkg × 19
rpm × 17
centos × 15
chocolatey × 14
redhat-enterprise-linux × 13
ubuntu-10.04 × 12
homebrew × 12
pip × 12
windows-10 × 11
updates × 11