Pinning is an advanced package management technique that allows you to remain on a stable release while grabbing packages from a more recent version.
Questions tagged [pinning]
40 questions
45
votes
1 answer
Install packages from newer release without building (apt pinning)
I need these packages with the latest upstream version backported for…
Janning
- 1,967
42
votes
6 answers
How to only install updates from a specific repository?
How do I limit the updates that are installed to those from a specific set of repositories? Is this at all possible?
10
votes
2 answers
How to remove systemd from Ubuntu 16.04 and prevent its usage
I was able to enable upstart and disable systemd with commands that follows, but I was not able to prevent its auto re-installation
when invoking apt-get install lxde (I am used to a serious server configuration without complex gui or without gui at…
giorgio
- 189
10
votes
1 answer
How do I add a repository, but only for a specific package/version and its dependencies?
I would like to use the Natty Narwhal repository for puppet packages, but I don’t want to upgrade my whole server. Is that possible ?
My current solution is to fetch the .deb packages by hand
cslavoie
10
votes
1 answer
What is more reliable - apt-mark or APT-pin (/etc/apt/preferences.d/pin) for version locking?
Usually on my Ubuntu 16.04 LTS, I lock package versions with APT-pin functionality.
For example if I want to pin meld to version 1.5.3-1ubuntu1 I create the following pin-file:
cat <
N0rbert
- 103,263
8
votes
2 answers
How do I include a comma in an Apt pin definition?
I'd like to create an Apt preference file with a pin definition that matches packages originating from Google, Inc..
The following definition doesn't seem to be doing anything:
Package: *
Pin: release o=Google, Inc.
Pin-priority: 900
I suspect that…
ændrük
- 78,496
7
votes
1 answer
Pin kernel version
I have ubuntu 16.04;
Installed kernel linux-image-4.13.0-31 update, but I didn't like it, so I decided I want to keep using 4.13.0-26 for now. How can I prevent the update from affecting the kernel version?
nosklo
- 383
5
votes
1 answer
System Center icon doesn't show when pinned to launcher
On Natty Narwhal, I dragged System Center to the launcher. Instead of an icon, I get a blank square on the launcher. Clicking on it does launch the system center, though. This issue does not happen with other apps I pinned to the launcher.
5
votes
2 answers
How to hold a package back from being upgraded?
Possible Duplicate:
How to forbid a specific package to be updated?
I don't want my kernel or grub updated until I do it manually. Is this possible in Ubuntu (10.04, I suppose)?
MarkovCh1
- 2,143
5
votes
2 answers
Pinning a specific PPA from Launchpad
I'm attempting to raise the priority of packages from the Ondrej PHP PPA from 500 to 1000.
I attempted this:
Package: *
Pin: o=LP-PPA-ondrej-php,a=bionic,n=bionic,c=main,b=amd64
Pin-Priority: 1001
But apt did not understand the Pin…
Tom J Nowell
- 233
4
votes
2 answers
How to prevent package removal upon upgrade to new Ubuntu version?
I have upgraded to Ubuntu 10.10 from 10.04, but the upgrade removed some of my packages that I had manually installed. These package (Dekiwiki from Mindtouch amongst others) are not supported by Canonical.
The removal of this packages resulted in…
Ton Plomp
- 181
4
votes
1 answer
Apt pinning is pinning all sources
I've installed a PPA, ondrej/php5, so I can install PHP 5.5 on a Ubuntu 12.04 server. However, I want to install Apache 2.2, and the above PPA provides Apache 2.4.
I created the file /etc/apt/preferences.d/apache2:
Package: *apache*
Pin: release…
4
votes
1 answer
How can I make sure that pinning with apt-get is compatible with virtual packages?
In order to allow php5.2 being used on lucid, I created a ppa (ppa:txwikinger/php5.2) and build several php5.2 packages there. In order to prefer those packages I have given instructions to pin them. However, the packages php5-mcrypt and php5-imap…
txwikinger
- 29,406
4
votes
2 answers
How do I pin a particular MySQL version to avoid unnecessary upgrades?
I'm running a MySQL server, and want to keep it up to date with regular apt-upgrades. I don't want this to cause MySQL to upgrade unless I'm doing it during scheduled downtime! How do I alter my apt-preferences so that this won't happen?
I've tried…
asparagino
- 161
4
votes
2 answers
Is it possible to pin source packages? If so, how?
Given this /etc/apt/sources.list file:
deb http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse
deb …
smammy
- 179