Patches PPA not pinned [$10]
Bug #1348419 reported by
Cody Garver
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary OS |
Fix Released
|
High
|
piratelv OLD ACC |
Bug Description
Newer, unpatched packages offer to overwrite patched versions
I observed this with base-files
Changed in elementaryos: | |
status: | New → Confirmed |
summary: |
- Patches PPA not pinned + Patches PPA not pinned [$10] |
tags: | added: bounty |
Changed in elementaryos: | |
status: | Confirmed → In Progress |
assignee: | nobody → David Lechner (dlech) |
Changed in elementaryos: | |
assignee: | David Lechner (dlech) → nobody |
status: | In Progress → Confirmed |
To post a comment you must log in.
I have a preliminary patch in my branch. <http:// bazaar. launchpad. net/~dlech/ elementaryos/ elementaryos/ revision/ 111>
According to <http:// live.debian. net/manual/ 2.x/html/ live-manual. en.html# 436>...
>APT pinning can be configured either for build time, or else for run time. For the former, create config/ chroot_ apt/preferences . For the latter, create config/ chroot_ local-includes/ etc/apt/ preferences.
I have made the patch address both cases since you were not clear on exactly what you needed.
Here is a diff of the files in tmp/$ARCH/ cache/packages. chroot so you can see that it is working:
--- /home/david/ tmp/original. txt tmp/after. txt data-server- common_ 3.10.4- 0ubuntu1. 1_all.deb ctags_1% 3a5.9~svn201103 10-7_amd64. deb 3a5.14- 2ubuntu3. 1_amd64. deb 3.12.1- 0ubuntu1~ trusty1_ amd64.deb 3.10.2. 1-0ubuntu4. 1+elementary2~ ubuntu14. 04.1_amd64. deb 2.11.0- 0ubuntu4. 1_amd64. deb config_ 2.11.0- 0ubuntu4. 1_all.deb capture- it-elementary_ 0.1-0+6~ ubuntu0. 3.1_all. deb g_2.40. 0-1_amd64. deb g-common_ 2.40.0- 1_all.deb g-services_ 2.40.0- 1_amd64. deb accessibility- themes_ 3.12.0- 0ubuntu1~ trusty1_ all.deb accessibility- themes_ 3.10.0- 1ubuntu2+ elementary3~ ubuntu0. 3.1_all. deb bluetooth_ 3.8.2.1- 0ubuntu4_ amd64.deb calculator_ 1%3a3.10. 2-0ubuntu1. 1_amd64. deb control- center_ 1%3a3.6. 3-0ubuntu56. 1_amd64. deb user-share_ 3.0.4-0ubuntu1_ amd64.deb video-effects_ 0.4.1-0ubuntu1_ all.deb 1.4.16- 1ubuntu2. 1_amd64. deb base-common_ 1.24.0- 1ubuntu3_ all.deb base-runtime_ 1.24.0- 1ubuntu3_ amd64.deb common_ 2.6.2-2. 1ubuntu1_ amd64.deb 0.18.0- 1_amd64. deb 4.16-1ubuntu2. 1_amd64. deb base_1. 22.2-5_ amd64.deb keyring0_ 3.8.0-2_ amd64.deb keyring- common_ 3.8.0-2_ all.deb menu-3- 0_3.10. 1-0ubuntu2_ amd64.deb base1.24_ 1.24.0- 1ubuntu3_ amd64.deb 2.12.23- 12ubuntu2. 1_amd64. deb openssl27_ 2.12.23- 12ubuntu2. 1_amd64. deb 1.0-0b_ 3.10.3- 0ubuntu1_ amd64.deb 1.0-2ubuntu1_ amd64.deb 2.0.9~rc5- 1ubuntu2_ amd64.deb 1.0.1-1_ amd64.deb 4.8.2-19ubuntu1 _amd64. deb 1.3.1-1ubuntu1_ amd64.deb 0.4.3-2build1_ amd64.deb 1.3+dfsg- 4.7ubuntu1_ amd64.deb 5ubuntu20. 3_amd64. deb 2.1.3-1_ amd64.deb 34~rc-0ubuntu2_ all.deb 8.1-2_amd64. deb upgrades_ 0.82.1ubuntu2_ all.deb control- center_ 14.04.3+ 14.04.20140604- 0ubuntu1_ amd64.deb control- center- signon_ 0.1.7~+ 14.04.20140211. 2-0ubuntu4_ amd64.deb
+++ /home/david/
@@ -114,7 +114,7 @@
evolution-
exuberant-
file_1%
-file-roller_
+file-roller_
fontconfig_
fontconfig-
fonts-
@@ -209,7 +209,7 @@
glib-networkin
glib-networkin
glib-networkin
-gnome-
+gnome-
gnome-
gnome-
gnome-
@@ -233,9 +233,6 @@
gnome-
gnome-
gnupg_
-gnustep-
-gnustep-
-gnustep-
gparted_
gpgv_1.
groff-
@@ -518,7 +515,6 @@
libgnome-
libgnome-
libgnome-
-libgnustep-
libgnutls26_
libgnutls-
libgoa-
@@ -675,7 +671,6 @@
libntdb1_
libnuma1_
liboauth0_
-libobjc4_
libogg0_
libopencc1_
libopenjpeg2_
@@ -1248,7 +1243,6 @@
udev_204-
udisks2_
ufw_0.
-unar_1.
unattended-
unity-
unity-