Professional Web Applications Themes

how to tell apt-get upgrade to not upgrade a package? - Ubuntu

I've got a patched version of 'slrn' that I made a .deb package for. Since I've done that, apt-get upgrade overwrites it. How do I stop that? -- Troy Piggins ,-o o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org `-o uptime: 15:39:51 up 17 days,8:35,2 users,load average:0.01,0.02,0.00...

  1. #1

    Default how to tell apt-get upgrade to not upgrade a package?

    I've got a patched version of 'slrn' that I made a .deb package
    for. Since I've done that, apt-get upgrade overwrites it. How
    do I stop that?

    --
    Troy Piggins
    ,-o
    o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org
    `-o uptime: 15:39:51 up 17 days,8:35,2 users,load average:0.01,0.02,0.00
    Troy Guest

  2. #2

    Default Re: how to tell apt-get upgrade to not upgrade a package?

    On 2006-10-21, Troy Piggins wrote: 

    If you don't want it to be considered part of the package system,
    install it in /usr/local instead.

    --
    Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
    Shell Scripting Recipes: | My code in this post, if any,
    A Problem-Solution Approach | is released under the
    2005, Apress | GNU General Public Licence
    Chris Guest

  3. #3

    Default Re: how to tell apt-get upgrade to not upgrade a package?

    * Chris F.A. Johnson wrote: 
    >
    > If you don't want it to be considered part of the package system,
    > install it in /usr/local instead.[/ref]

    Hi Chris. It *is* installed in /usr/local/bin.

    What I did was download the source, applied a patch, ./configure
    and make, then used 'checkinstall make install' to create a deb
    package and install it. It still gets overwritten bu apt-get
    upgrade.

    --
    Troy Piggins
    ,-o
    o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org
    `-o uptime: 23:45:25 up 17 days,16:40,1 user,load average:0.04,0.02,0.00
    Troy Guest

  4. #4

    Default Re: how to tell apt-get upgrade to not upgrade a package?

    On Sat, 21 Oct 2006 15:41:20 +1000, Troy Piggins
    <com> wrote:
     

    I think what you need to do is called "pinning". I've not tried this
    myself, but I've read about it. Here's some links I found that
    describes it a little. Go to any linux help forum and I'm sure you can
    find lots of info on how to do it right. The first link sound like
    exactly what you want to do.


    http://www.ubuntuforums.org/showthread.php?t=150077

    http://jaqque.sbih.org/kplug/apt-pinning.html

    http://www.ubuntuforums.org/showthread.php?t=216469

    Good luck!
    quincy Guest

  5. #5

    Default Re: how to tell apt-get upgrade to not upgrade a package?

    * quincy wrote: 
    >
    > I think what you need to do is called "pinning". I've not tried this
    > myself, but I've read about it. Here's some links I found that
    > describes it a little. Go to any linux help forum and I'm sure you can
    > find lots of info on how to do it right. The first link sound like
    > exactly what you want to do.
    >
    > http://www.ubuntuforums.org/showthread.php?t=150077
    >
    > http://jaqque.sbih.org/kplug/apt-pinning.html
    >
    > http://www.ubuntuforums.org/showthread.php?t=216469
    >
    > Good luck![/ref]

    Thanks I'll look into it.

    --
    Troy Piggins
    ,-o
    o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org
    `-o uptime: 08:51:16 up 18 days,1:46,1 user,load average:0.00,0.00,0.00
    Troy Guest

  6. #6

    Default Re: how to tell apt-get upgrade to not upgrade a package?

    On 2006-10-21, Troy Piggins wrote: 
    >>
    >> If you don't want it to be considered part of the package system,
    >> install it in /usr/local instead.[/ref]
    >
    > Hi Chris. It *is* installed in /usr/local/bin.
    >
    > What I did was download the source, applied a patch, ./configure
    > and make, then used 'checkinstall make install' to create a deb
    > package and install it. It still gets overwritten bu apt-get
    > upgrade.[/ref]

    Then don't install it with apt-get. Uninstall it and install from
    the compile directory.

    --
    Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
    Shell Scripting Recipes: | My code in this post, if any,
    A Problem-Solution Approach | is released under the
    2005, Apress | GNU General Public Licence
    Chris Guest

Similar Threads

  1. upgrade to 6.10
    By Hadron in forum Ubuntu
    Replies: 8
    Last Post: October 20th, 03:38 PM
  2. Can't Upgrade from 7.0 Std to 7.0 Pro
    By Sean_Mills@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 1
    Last Post: September 3rd, 03:27 AM
  3. upgrade 4.1 --> 5.0
    By Frances in forum MySQL
    Replies: 0
    Last Post: June 6th, 02:47 PM
  4. Can you upgrade using a previous version upgrade disk?
    By Craig Lakey in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 5
    Last Post: August 20th, 04:54 PM
  5. aptitude upgrade - I don't want a select package(s)
    By Rodney D. Myers in forum Debian
    Replies: 2
    Last Post: August 5th, 10:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139