Ketchup command in linux?

This is a discussion on Ketchup command in linux? within the Tech Board forums, part of the Community Boards category; Hey Im really new to ketchup on linux i jsut downloaded it to try and update a lnux kernel and ...

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    192

    Ketchup command in linux?

    Hey Im really new to ketchup on linux i jsut downloaded it to try and update a lnux kernel and its pretty frustrating I thought it was suppose to be simple and i got an error im not really sure how to fix exactly but i thougth this output would help but i cant understand it.
    Code:
    [root@vmfedora linux-2.6.x]# ketchup -r 2.6.20
    2.6.17-bfrx1 -> 2.6.20
    Traceback (most recent call last):
      File "/usr/bin/ketchup", line 737, in <module>
        transform(a, b)
      File "/usr/bin/ketchup", line 502, in transform
        apply_patch(a, 1)
      File "/usr/bin/ketchup", line 389, in apply_patch
        p = get_patch(ver)
      File "/usr/bin/ketchup", line 368, in get_patch
        f = patch_path(ver)
      File "/usr/bin/ketchup", line 310, in patch_path
        return os.path.join(archive, os.path.basename(version_urls(ver)[0]))
      File "/usr/bin/ketchup", line 292, in version_urls
        i = find_info(ver)[1]
      File "/usr/bin/ketchup", line 288, in find_info
        return version_info[s]
    KeyError: '2.6-bfrx'
    Was wondering if anyone knows like where to look for the error. I know the bfrx doesnt below it was my bosses name he made up to clarify the linux but im thinking thats the reason it wont work.

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Looks like the last version of ketchup was 4 years ago, meaning it is unmaintained. Not that this means it shouldn't work, but it is a pretty obscure utility...to be honest it does not sound like it does much anyway. Why do you need to upgrade the kernel?

    It ain't hard to do manually, just the LDP for some reason gave up on the "how-to" a while ago and no one has replaced it with anything. Someone should, hmmm. Anyway, if you want some simple instructions on kernel installation, just ask. It is not a particularly dangerous activity as the old kernel is never overwritten and will appear on your boot menu, so even if the new one is a total disaster it is easy to switch back.

    Quote Originally Posted by kiros88 View Post
    I know the bfrx doesnt below it was my bosses name he made up to clarify the linux but im thinking thats the reason it wont work.
    Possibly if this kernel was build with an alternate suffix, and ketchup uses that to look for the src directory. That would be a very major oversight in ketchup if so, since it is not unusual to add such a suffix.
    Last edited by MK27; 04-17-2010 at 06:14 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  3. #3
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    I see you are on Fedora (meh) but in Debian-land doing the kernel and handling multiple versions/dealing with bleeding-edge features is a lot easier IMHO...Google for the "debian way" of kernel construction/upgrades..
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  4. #4
    Registered User
    Join Date
    Aug 2009
    Posts
    192
    Quote Originally Posted by MK27 View Post
    , since it is not unusual to add such a suffix.
    Hi Mk okay so if its not unusual could i ask where do u actually do that in the linux folder like how to do u change the suffix so that the linux name could match the src linux in kernel.org

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    The suffix was added to the kernel name at build time, so the correct source directory will be the name sans the suffix. For "2.6.17-bfrx1", that's 2.6.17.

    So you could try adding a softlink. If the source directory is "/usr/local/src/linux-2.6.17", do a:

    cd /usr/local/src/
    ln -s linux-2.6.17 linux-2.6.17-bfrx1


    The later is now a symbolic link to the former.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  2. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 11:03 AM
  3. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 04:17 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 04:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21