On Wed, Jun 3, 2009 at 2:30 AM, Boyd Stephen Smith Jr. <b...@iguanasuicide.net> wrote: > In <20090602162813.ga24...@fantomas.sk>, Matus UHLAR - fantomas wrote: >>I tried to locally recompile package "wwwoffle" because of some bugs in >> it. I have not changed the version hoping that the same version prevents >> apt from upgrading it. >> >>However apt runs "upgrade" while reinstalling the same version of package. >>Is there any way to tune this behaviour? >> >>I haven't changed the version so if any new version appeared in archive, I >>want to have it upgraded... > > Alter the version number, but use something really "small" so the next > version uploaded by a DD will trump yours. > > e.g. If the bugs are in a native package version 1.2.3, make your version > 1.2.3local1
but why the apt-upgrade reinstall the same version of a package? > > e.g. If the bugs are in a non-native package (I think wwwoffle is non- > native) version 1.2-2lenny1, make your version 1.2-2lenny1local1. > > (If you end up needing to add more changes, you can increment the number > following "local".) You can always test how the packaging system will sort > version numbers by using: > dpkg --compare-versions version_1 lt version_2; echo $? > (0 = true; 1 = false) > > Alternatively, you could probably do version-pinning via origin, but I'm not > sure about the specifics of that. > -- > Boyd Stephen Smith Jr. ,= ,-_-. =. > b...@iguanasuicide.net ((_/)o o(\_)) > ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' > http://iguanasuicide.net/ \_/ > > -- 不苦不樂正念正智 Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer) Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org