Packages installed by apt-build are not recognized by apt-get/aptitude/synatpic

Bug #48783 reported by Kurt Kraut
6
Affects Status Importance Assigned to Milestone
apt-build (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: apt-build

When a program is successfully compiled and instales by apt-build (what is a bit hard and rare), all other update tools (apt-get/aptitude/synaptic) do not recognize the installed program.

So, after an update of sources.list, these tools prompts for an update in the program. If the user accepts this update, the compiled package will be replaced by the pre-compiled .deb package.

So, when a package is installed with apt-build, it should be left untouched or not messed up by other .DEB tools. These tools should not consider a compiled program with apt-build as an out dated package. This problem is making apt-build programs unmanagable.

Revision history for this message
Boriel (jrguez) wrote :

It is not exactly a bug.

Edit (or create) the file /etc/apt/preferences and add these lines:
   Package: *
   Pin: release o=apt-build
   Pin-Priority: 990

and save it. This should fix it.

Changed in apt-build:
importance: Untriaged → Wishlist
Revision history for this message
William Grant (wgrant) wrote :

The solution given by Boriel is the correct one. There's no other way, really... It has to be done manually.

Changed in apt-build:
status: Unconfirmed → Confirmed
Revision history for this message
William Grant (wgrant) wrote :

Oops, wrong button.

Changed in apt-build:
status: Confirmed → Rejected
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.