Questions tagged [pinning]

Pinning is an advanced package management technique that allows you to remain on a stable release while grabbing packages from a more recent version.

Filter by
Sorted by
Tagged with
0 votes
0 answers
197 views

Higher priority package is not selected

I'm using Ubuntu 20.04 LTS. I'm trying to get the mpv package from the https://non-gnu.uvt.nl/ repository to be chosen over that of the Launchpad ppa:mc3man/mpv-tests PPA repository, so far I did this ...
SebMa's user avatar
  • 2,271
2 votes
0 answers
15 views

Blacklist specific version of package [duplicate]

I've just upgraded to a version of Ubuntu that's forcing a Snap of Firefox on me. This doesn't work for me, I don't want it. I've found an alterative source for the package (mozillateam's PPA still ...
Oli's user avatar
  • 293k
5 votes
2 answers
1k views

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 ...
Tom J Nowell's user avatar
0 votes
1 answer
1k views

Ubuntu 20.10 Pin-Priority does nothing re: apt-cache policy

I have several Pin-Priority files set in /etc/apt/preferences.d/ but their settings do not reflect in apt-cache policy Example: avery@ChubbyChipmunk:/etc/apt/preferences.d$ ls -la total 23 drwxr-xr-x ...
Avery Freeman's user avatar
3 votes
0 answers
362 views

Apt pinning based by url

I want to have in avaiable sources two repos: https://qgis.org/ubuntu https://qgis.org/ubuntugis Is there way to pin first one with priority 600 ans second one with 450? Maybe I can add some option ...
user19291's user avatar
  • 181
1 vote
0 answers
59 views

How to apt pin a future package from next version of ubuntu? [duplicate]

(Note: I understand I may need additional packages that have dependencies, and can work that out on my own, do not worry that I am asking about a single package). I have Ubuntu Mate Disco Dingo (19....
allebone's user avatar
  • 136
4 votes
2 answers
491 views

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 ...
smammy's user avatar
  • 179
9 votes
1 answer
3k views

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 <<EOF | ...
N0rbert's user avatar
  • 99.7k
7 votes
1 answer
5k views

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 ...
nosklo's user avatar
  • 383
0 votes
1 answer
365 views

How to pin video player top of another app? [closed]

I am searching for a video player like "PotPlayer" in windows where i can pin the video player on top of another app, that means i can watch tutorial and code them on IDE at the same time. Is there a ...
Santho07's user avatar
0 votes
1 answer
956 views

Pinning in Ubuntu 16.04

I am trying to do Pinning in my Ubuntu 16.04. I am following this guide https://help.ubuntu.com/community/PinningHowto But I cannot find /etc/apt/apt.conf.d/01ubuntu file. Do I have to make it ...
Nidhi Gupta's user avatar
0 votes
0 answers
59 views

Afraid to upgrade

I need to know how I can avoid the Nvidia driver update. Last time I updated I fell victim to the Login Loop Lunacy. I had to do a complete reinstall of Ubuntu to get control back of my MacBook Pro 17"...
Juan Leon's user avatar
2 votes
1 answer
193 views

If I install a self-compiled package using dpkg, will it get clobbered by unattended-upgrades?

I've compiled and installed my own build of nginx in order to add a module that doesn't come with the built-in version. Roughly, I'm doing: apt-get build-dep nginx apt-get source nginx cd nginx-1.6....
cha's user avatar
  • 2,053
10 votes
2 answers
17k views

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 ...
giorgio's user avatar
  • 189
1 vote
2 answers
8k views

Pin Apps to Desktop layout

Noobie, Using Ubuntu v. 15.04---Three part question: I am trying to pin an app or program to the desktop workspace, rather than clogging the "launcher" sidebar. In fact, the Launcher sidebar is so ...
Doc's user avatar
  • 11
0 votes
2 answers
806 views

can't seem to install custom libvirt

I just can't seem to install a custom version of libvirt on Ubuntu Server 14.04. I'm using this PPA and I used the method of manually pasting in the following lines to the bottom of my sources.list ...
Daniel's user avatar
  • 3
1 vote
0 answers
105 views

Why can't I match using package name in /etc/apt/preferences?

I'm trying to pin some packages from the google chrome repo. I can't figure out why I can't pin packages by name. When I run apt-cache policy google-chrome-beta I observe that the first of the ...
jdoe's user avatar
  • 11
0 votes
1 answer
114 views

Cannot disable kernel updates on 12.04

I have Ubuntu 12.04 LTS. Update manager will try to update the kernel version, unfortunately this causes issues with certain applications/drivers I use. Each time I have to manually deselect the ...
SmalekTF's user avatar
0 votes
2 answers
198 views

Install only bash from trusty on old distributions (to be save from Shellshock vulnerability)

Is there a way to just install only bash from the latest distribution on an old mashine? I once did pinning to a certain version of a package, but that was bevcause I didn't want to update that ...
rubo77's user avatar
  • 32.4k
0 votes
1 answer
900 views

apt-get update; install apache2: works on 1 VM, fails on another, with the same mirror config: [Not candidate version]

Setup I have 3 VMs, each running 12.04: VM0: hosts a debmirror-built, partial ubuntu repository. VM1 & VM2 want to use that to install packages. I've renamed /etc/apt/sources.list -> /etc/...
m01's user avatar
  • 141
3 votes
2 answers
3k views

Apt Upgrade AND Downgrade all packages to Current Release

I recently upgraded from Ubuntu 12.04 to 14.04. While using 12.04, I installed several packages via PPA's. Now that I've upgraded to 14.04, I've discovered that some of the PPA packages from 12.04 are ...
Sepero's user avatar
  • 4,557
1 vote
1 answer
1k views

Is there a way to restrict the packages installable from a repository?

I want to restrict the packages installable from a repo, eg restrict some packages to the main Ubuntu repos, even if they are available from launchpad or some other third party repos, something like ...
vfclists's user avatar
  • 1,849
4 votes
1 answer
1k views

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/...
Brandon - Free Palestine's user avatar
1 vote
2 answers
2k views

How do I pin the lowlatency kernels so apt doesn't update with a newer generic kernel?

I'm on Kubuntu 12.04 with lts-raring HWE stack. I'm running kernel 3.8.0.30.18 low latency. A recent update replaced my low latency kernel with a slightly newer (3.8.0.31) generic kernel. I wish to ...
MountainX's user avatar
  • 5,809
3 votes
2 answers
613 views

How do I prevent apt-get from upgrading packages built from source with apt pinning? [duplicate]

I have a package installed (xcp-xapi) which is prone to a bug. The fix is very simple (only a couple of lines in the code) so what I do is the following: apt-get source xcp-xapi Then I find the ...
Vangelis Tasoulas's user avatar
2 votes
0 answers
126 views

pinning a :i386 package

I have gcc-4.7 installed from the ubuntu-toolchain-r ppa. Since gcc-4.8 was recently added to that ppa, I've run into a problem. Acroread wants libstdc++6:i386, but I can't figure out how to pin that ...
pknettle's user avatar
44 votes
1 answer
25k views

Install packages from newer release without building (apt pinning)

I need these packages with the latest upstream version backported for ubuntu/natty libccid_1.4.5-0ubuntu1_amd64.deb libpcsclite1_1.8.1-0ubuntu1_amd64.deb libpcsclite-dev_1.8.1-0ubuntu1_amd64.deb ...
Janning's user avatar
  • 1,885
0 votes
2 answers
565 views

Disable updating of ethernet driver

I discovered that the latest driver for my computers ethernet-adapter did not work. I fixed this by downloading an earlier driver, which worked perfectly. However every time I run "apt-get upgrade", ...
thomasvakili's user avatar
8 votes
2 answers
420 views

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: ...
ændrük's user avatar
  • 76.6k
5 votes
1 answer
227 views

System Center icon doesn't show when pinned to launcher [closed]

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 ...
Anand Ramanathan's user avatar
1 vote
0 answers
200 views

How to properly pin Chrome/ium apps in their own "application" in Unity? [duplicate]

Possible Duplicate: How do I put a web application on the Launcher? What I mean is, how can I pin a Chrome/ium application and keep it to itself? I want to click on the application and have it ...
John's user avatar
  • 1,367
10 votes
1 answer
5k views

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
user avatar
42 votes
6 answers
139k views

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?
Ton van den Heuvel's user avatar
5 votes
2 answers
6k views

How to hold a package back from being upgraded? [duplicate]

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's user avatar
  • 2,133
3 votes
1 answer
543 views

How to track Firefox beta via a PPA, but not Thunderbird daily builds etc?

I would like to install the beta of Firefox 4 in lucid or maverick. I know I can install the ubuntu-mozilla-daily PPA (ppa:ubuntu-mozilla-daily/ppa) and have easy apt-get access to firefox-4.0. ...
cha's user avatar
  • 2,053
4 votes
2 answers
9k views

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-...
asparagino's user avatar
4 votes
2 answers
716 views

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 ...
Ton Plomp's user avatar
  • 181
4 votes
1 answer
213 views

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. ...
txwikinger's user avatar
  • 28.4k