Patches PPA not pinned [$10]

Bug #1348419 reported by Cody Garver
20
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

Tags: bounty
harris (harrismrubin)
Changed in elementaryos:
status: New → Confirmed
harris (harrismrubin)
summary: - Patches PPA not pinned
+ Patches PPA not pinned [$10]
Cody Garver (codygarver)
tags: added: bounty
Revision history for this message
David Lechner (dlech) wrote :

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
+++ /home/david/tmp/after.txt
@@ -114,7 +114,7 @@
 evolution-data-server-common_3.10.4-0ubuntu1.1_all.deb
 exuberant-ctags_1%3a5.9~svn20110310-7_amd64.deb
 file_1%3a5.14-2ubuntu3.1_amd64.deb
-file-roller_3.12.1-0ubuntu1~trusty1_amd64.deb
+file-roller_3.10.2.1-0ubuntu4.1+elementary2~ubuntu14.04.1_amd64.deb
 fontconfig_2.11.0-0ubuntu4.1_amd64.deb
 fontconfig-config_2.11.0-0ubuntu4.1_all.deb
 fonts-capture-it-elementary_0.1-0+6~ubuntu0.3.1_all.deb
@@ -209,7 +209,7 @@
 glib-networking_2.40.0-1_amd64.deb
 glib-networking-common_2.40.0-1_all.deb
 glib-networking-services_2.40.0-1_amd64.deb
-gnome-accessibility-themes_3.12.0-0ubuntu1~trusty1_all.deb
+gnome-accessibility-themes_3.10.0-1ubuntu2+elementary3~ubuntu0.3.1_all.deb
 gnome-bluetooth_3.8.2.1-0ubuntu4_amd64.deb
 gnome-calculator_1%3a3.10.2-0ubuntu1.1_amd64.deb
 gnome-control-center_1%3a3.6.3-0ubuntu56.1_amd64.deb
@@ -233,9 +233,6 @@
 gnome-user-share_3.0.4-0ubuntu1_amd64.deb
 gnome-video-effects_0.4.1-0ubuntu1_all.deb
 gnupg_1.4.16-1ubuntu2.1_amd64.deb
-gnustep-base-common_1.24.0-1ubuntu3_all.deb
-gnustep-base-runtime_1.24.0-1ubuntu3_amd64.deb
-gnustep-common_2.6.2-2.1ubuntu1_amd64.deb
 gparted_0.18.0-1_amd64.deb
 gpgv_1.4.16-1ubuntu2.1_amd64.deb
 groff-base_1.22.2-5_amd64.deb
@@ -518,7 +515,6 @@
 libgnome-keyring0_3.8.0-2_amd64.deb
 libgnome-keyring-common_3.8.0-2_all.deb
 libgnome-menu-3-0_3.10.1-0ubuntu2_amd64.deb
-libgnustep-base1.24_1.24.0-1ubuntu3_amd64.deb
 libgnutls26_2.12.23-12ubuntu2.1_amd64.deb
 libgnutls-openssl27_2.12.23-12ubuntu2.1_amd64.deb
 libgoa-1.0-0b_3.10.3-0ubuntu1_amd64.deb
@@ -675,7 +671,6 @@
 libntdb1_1.0-2ubuntu1_amd64.deb
 libnuma1_2.0.9~rc5-1ubuntu2_amd64.deb
 liboauth0_1.0.1-1_amd64.deb
-libobjc4_4.8.2-19ubuntu1_amd64.deb
 libogg0_1.3.1-1ubuntu1_amd64.deb
 libopencc1_0.4.3-2build1_amd64.deb
 libopenjpeg2_1.3+dfsg-4.7ubuntu1_amd64.deb
@@ -1248,7 +1243,6 @@
 udev_204-5ubuntu20.3_amd64.deb
 udisks2_2.1.3-1_amd64.deb
 ufw_0.34~rc-0ubuntu2_all.deb
-unar_1.8.1-2_amd64.deb
 unattended-upgrades_0.82.1ubuntu2_all.deb
 unity-control-center_14.04.3+14.04.20140604-0ubuntu1_amd64.deb
 unity-control-center-signon_0.1.7~+14.04.20140211.2-0ubuntu4_amd64.deb

Revision history for this message
Cody Garver (codygarver) wrote : Re: [Bug 1348419] Re: Patches PPA not pinned [$10]
Download full text (3.4 KiB)

We already have a pinned apt preference it's just not getting pulled into
the OS for some reason
lp:~elementary-os/elementaryos/os-patches-overlay-enabler

On Wed, Aug 6, 2014 at 12:17 AM, David Lechner <email address hidden> wrote:

> 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
> +++ /home/david/tmp/after.txt
> @@ -114,7 +114,7 @@
> evolution-data-server-common_3.10.4-0ubuntu1.1_all.deb
> exuberant-ctags_1%3a5.9~svn20110310-7_amd64.deb
> file_1%3a5.14-2ubuntu3.1_amd64.deb
> -file-roller_3.12.1-0ubuntu1~trusty1_amd64.deb
> +file-roller_3.10.2.1-0ubuntu4.1+elementary2~ubuntu14.04.1_amd64.deb
> fontconfig_2.11.0-0ubuntu4.1_amd64.deb
> fontconfig-config_2.11.0-0ubuntu4.1_all.deb
> fonts-capture-it-elementary_0.1-0+6~ubuntu0.3.1_all.deb
> @@ -209,7 +209,7 @@
> glib-networking_2.40.0-1_amd64.deb
> glib-networking-common_2.40.0-1_all.deb
> glib-networking-services_2.40.0-1_amd64.deb
> -gnome-accessibility-themes_3.12.0-0ubuntu1~trusty1_all.deb
> +gnome-accessibility-themes_3.10.0-1ubuntu2+elementary3~ubuntu0.3.1_all.deb
> gnome-bluetooth_3.8.2.1-0ubuntu4_amd64.deb
> gnome-calculator_1%3a3.10.2-0ubuntu1.1_amd64.deb
> gnome-control-center_1%3a3.6.3-0ubuntu56.1_amd64.deb
> @@ -233,9 +233,6 @@
> gnome-user-share_3.0.4-0ubuntu1_amd64.deb
> gnome-video-effects_0.4.1-0ubuntu1_all.deb
> gnupg_1.4.16-1ubuntu2.1_amd64.deb
> -gnustep-base-common_1.24.0-1ubuntu3_all.deb
> -gnustep-base-runtime_1.24.0-1ubuntu3_amd64.deb
> -gnustep-common_2.6.2-2.1ubuntu1_amd64.deb
> gparted_0.18.0-1_amd64.deb
> gpgv_1.4.16-1ubuntu2.1_amd64.deb
> groff-base_1.22.2-5_amd64.deb
> @@ -518,7 +515,6 @@
> libgnome-keyring0_3.8.0-2_amd64.deb
> libgnome-keyring-common_3.8.0-2_all.deb
> libgnome-menu-3-0_3.10.1-0ubuntu2_amd64.deb
> -libgnustep-base1.24_1.24.0-1ubuntu3_amd64.deb
> libgnutls26_2.12.23-12ubuntu2.1_amd64.deb
> libgnutls-openssl27_2.12.23-12ubuntu2.1_amd64.deb
> libgoa-1.0-0b_3.10.3-0ubuntu1_amd64.deb
> @@ -675,7 +671,6 @@
> libntdb1_1.0-2ubuntu1_amd64.deb
> libnuma1_2.0.9~rc5-1ubuntu2_amd64.deb
> liboauth0_1.0.1-1_amd64.deb
> -libobjc4_4.8.2-19ubuntu1_amd64.deb
> libogg0_1.3.1-1ubuntu1_amd64.deb
> libopencc1_0.4.3-2build1_amd64.deb
> libopenjpeg2_1.3+dfsg-4.7ubuntu1_amd64.deb
> @@ -1248,7 +1243,6 @@
> udev_204-5ubuntu20.3_amd64.deb
> udisks2_2.1.3-1_amd64.deb
> ufw_0.34~rc-0ubuntu2_all.deb
> -unar_1.8.1-2_amd64.deb
> unattended-upgrades_0.82.1ubuntu2_all.deb
> unity-control-center_14.04.3+14.04.20140604-0ubuntu1_amd64.deb
> unity-control-center-signon_0.1.7~+14.04.20140211.2-0ubuntu4_amd64.deb
>
> --
> You received this bug notifica...

Read more...

Revision history for this message
David Lechner (dlech) wrote :

I should have know better and asked for clarification before I did something. :-)

However, you may still find this useful. It appears that creating the iso image has the same problems with not always getting the packages from elementary os patches ppa when there is a newer upstream version.

Changed in elementaryos:
status: Confirmed → In Progress
assignee: nobody → David Lechner (dlech)
Revision history for this message
David Lechner (dlech) wrote :

I don't think you want to assign this to me. I seem to have fixed the wrong problem. Althought if you could explain more precicly what you are trying to accomplish, as in what should be telling the installer to include the os-patches-overlay-enabled package, I would be willing to look into some more.

Changed in elementaryos:
assignee: David Lechner (dlech) → nobody
status: In Progress → Confirmed
Revision history for this message
Cody Garver (codygarver) wrote :

This was actually fixed by a combination of me and shnatsel but we opted to forward the cash on to piratelv as thanks for an unrelated favor

Changed in elementaryos:
assignee: nobody → piratelv (piratelv)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.