195 votes
Accepted

How to install a specific package version in Alpine?

You can set "sticky" versions like this: # Both are equal apk add packagename=1.2.3-suffix apk add 'packagename<1.2.3-suffix' That will upgrade packages only until the specified version. ...
kaiser's user avatar
  • 2,140
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>
bergercookie's user avatar
32 votes

How to install a specific package version in Alpine?

Currently, there is no way to install arbitrary older versions of a package from official repositories in Alpine Linux. The best thing you can achieve is using repositories of the earlier releases: # ...
Vlad Frolov's user avatar
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 ...
magicandre1981's user avatar
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 ...
agc's user avatar
  • 626
15 votes
Accepted

Arch Linux: 'whatprovides' equivalent option for pacman

pacman -F file_name for Pacman v5.2.1 - libalpm v12.0.1
meridius's user avatar
  • 367
15 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....
superdog's user avatar
  • 166
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 ...
Simion Agavriloaei's user avatar
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 upgrade ...
cowlinator's user avatar
10 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 ...
math's user avatar
  • 251
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
seeker arch's user avatar
10 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
Pikamander2's user avatar
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....
Bryan Larsen's user avatar
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 ...
Collin Chaffin's user avatar
9 votes

How can I undo or rollback an "apt-get upgrade" command on Ubuntu?

I had to do this today on my Debian system. First, I identified the time range when the offending upgrade happened, and retrieved the log entries giving the old and new version numbers of the upgraded ...
aecolley's user avatar
  • 402
9 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 ...
mattdm's user avatar
  • 2,871
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
Harald Nordgren's user avatar
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-...
c72578's user avatar
  • 151
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 ...
Drew Chapin's user avatar
  • 6,040
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 ...
Andreas Kohlbecker's user avatar
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 ...
maruf571's user avatar
  • 171
6 votes

Arch Linux: 'whatprovides' equivalent option for pacman

You can also use pacman -Fy file_name, as suggested in this Unix & Linux Stack answer.
VasyaNovikov's user avatar
  • 3,496
6 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/...
Gunar Gessner's user avatar
6 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, ...
Kai's user avatar
  • 161
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/...
unforgettableidSupportsMonica's user avatar
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. ...
MC10's user avatar
  • 9,889
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 ...
SZIEBERTH Ádám's user avatar
5 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 -...
K. Shu's user avatar
  • 51
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 ...
Santosh Garole's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible