Consistent terminology: "Locked" vs "Pinned"

Bug #17092 reported by Corey Burger
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

The filter uses pinned, but the menu item uses Locked. Both have issues:
Pinned: What is pinned?
Locked: Does this mean I can't use the program?

Tags: string-fix
Revision history for this message
towsonu2003 (towsonu2003) wrote :

I think the menu item might be better off using "pinned" as this is how apt-get documentation on the web refers to this. Inconsistency might confuse a newbie?

Changed in synaptic:
status: Unconfirmed → Confirmed
Michael Vogt (mvo)
Changed in synaptic (Ubuntu):
assignee: Michael Vogt (mvo) → nobody
Changed in synaptic (Ubuntu):
status: Confirmed → Triaged
tags: added: string-fix
Revision history for this message
Robert Roth (evfool) wrote :

Is this still an issue? I do not see a Locked menu item, nor can I find the string Locked as a menuitem in the code. Could anyone please give some more details on where to look for the inconsistent strings?

Robert Roth (evfool)
Changed in synaptic (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Daniel Hartwig (wigs) wrote :

Still found in synaptic/0.75.13.

The menu item is “Package/Lock Version”. Activating this will lock a package to it's current version using APT “pinning” (see apt_preferences(5), although that is really an implementation detail).

The status filter, “Pinned”, selects only packages that are pinned in synaptic's private preferences file (that is, those packages which have been “Locked” in the menu). This does not pick up any other packages subject to APT pinning, and this filter should at least be renamed to “Locked” to match the menu item, rather than the underlying mechanism.

However, apt and other frontends use the term “hold” for “keep package at current version”. Better is for synaptic to use /var/lib/dpkg/status holds instead of private APT pinning. See bug #42178. Both items should then be changed to say “hold”.

Changed in synaptic (Ubuntu):
status: Incomplete → Confirmed
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.