Stupid apt-get!

Doug dmcgarrett at optonline.net
Mon Nov 10 19:41:22 UTC 2014


On 11/10/2014 02:29 PM, William Scott Lockwood III wrote:
> On Mon, Nov 10, 2014 at 1:24 PM, Robert Heller <heller at deepsoft.com <mailto:heller at deepsoft.com>> wrote:
>
>     Ok, I upgraded lightdm from source, but when I do a regular 'apt-get upgrade',
>     it wants to downgrade lightdm.  The new lightdm I installed actually works the
>     way I want it to, so how do a tell apt-get to leave it alone!
>
>
> This is why you don't do source installs.
>
> I'd download the current source package from the repository. I'd then unpack it, and use it as the basis to roll your own .deb package for the current lightdm. Or, see if someone has already done that in development, like perhaps Debian Sid. Once that's done, install it with dpkg. Debianizing a package isn't trivial, but it's a valuable skill. Once you know how to do that, rolling your own packages isn't all that hard, and it prevents you from screwing up the package management on the system.
>
> Or, if you really want to just roll your own packages and not have to worry about package management (because you'll do all the dependency tracking yourself somehow) then perhaps look at Slackware or Gentoo.
>
>

I won't say this was a 'wise guy' answer, but if you go to Google with the question, you find

http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package



More information about the ubuntu-users mailing list