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
1answer
58 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 ...
2
votes
0answers
43 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 ...
1
vote
0answers
51 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....
4
votes
2answers
214 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 ...
7
votes
1answer
2k 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 | ...
4
votes
1answer
2k 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 ...
0
votes
1answer
194 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 ...
0
votes
1answer
866 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 ...
0
votes
0answers
58 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"...
1
vote
1answer
142 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....
9
votes
2answers
14k 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 ...
1
vote
2answers
6k 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 ...
0
votes
2answers
660 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 ...
1
vote
0answers
93 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 ...
0
votes
1answer
108 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 ...
0
votes
2answers
188 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 ...
0
votes
1answer
880 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/...
3
votes
2answers
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 ...
1
vote
1answer
556 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 ...
3
votes
1answer
785 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/...
1
vote
2answers
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 ...
3
votes
2answers
410 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 ...
2
votes
0answers
108 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 ...
35
votes
1answer
19k 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 ...
0
votes
2answers
381 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", ...
8
votes
2answers
368 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: ...
5
votes
1answer
219 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 ...
1
vote
0answers
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 ...
6
votes
1answer
3k 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
39
votes
6answers
116k 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?
5
votes
2answers
5k 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)?
3
votes
1answer
520 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. ...
4
votes
2answers
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-...
4
votes
2answers
645 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 ...
4
votes
1answer
186 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. ...