Results 1 to 5 of 5

Thread: Manual install packages and letting zypper and yast know about it.

  1. #1

    Default Manual install packages and letting zypper and yast know about it.

    Hello,
    I was curious if zypper and yast can somehow know about manually installed packages. For example I usually manually install kernel updates so that I can check the new kernel will work on a workstation and/or server. If I have a problem, I can revert back to the old kernel. I wanted to have zypper and yast be aware that I installed these package and have their caches updated. Is there a way? Thanks!

    Jose

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Manual install packages and letting zypper and yast know about it.

    What do you mean when you say you "manually installed" them? What procedure are you using?

  3. #3

    Default Re: Manual install packages and letting zypper and yast know about it.

    If your installing using an rpm then zypper and yast will know.

    If installing from source and the source has a spec file, then you can build an rpm from the source archive using the following command:
    rpmbuild -ta source.tar.gz

    If not you'll have t make a spec file, I suggest borrowing the one from the kernel source rpm for your suse dist and editing it appropriately.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Manual install packages and letting zypper and yast know about it.

    If you are running 11.2 there is a way to have multiple kernels installed at the same time, just edit /etc/zypp/zypp.conf and set

    multiversion = kernel-default,kernel-desktop

    where you list the kernels you want to retain multiple versions of. When an update happens, the old one will not be removed and will be available in GRUB to boot from. Naturally you have to clean up old kernels yourself with this setting enabled.

  5. #5
    Join Date
    Oct 2008
    Location
    Lakeland, Florida
    Posts
    235

    Default Re: Manual install packages and letting zypper and yast know about it.

    If you're compiling from source you can run checkinstall instead of make install.
    P5N-E SLI, Core2Duo E6850 @ 3GHZ, 2 GB DDR2 800MHZ
    EVGA 8800GTS 320MB, 2x320GB HDD
    Arctic Cooling Freezer 7 Pro

Posting Permissions

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