1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Checking for pitfalls before updating ports

Discussion in 'Installation and Maintenance of Ports or Packages' started by mariourk, May 8, 2012.

  1. mariourk

    mariourk New Member

    Messages:
    155
    Likes Received:
    0
    I understand it is adviced to check /usr/ports/UPDATING to see if any package needs special attention when updating it. The thing is, /usr/ports/UPDATING is basicly a huge textfile, with a lot of information. And humans (myself in particular ;)) are not your best choice to process huge piles of information. It's easy to miss something important.

    I was wondering if there is an easier way to check this information. Maybe some tool that crawls through this file, compares it to the ports that need updating and only shows the relevant information?
     
  2. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,392
    Likes Received:
    7
    pkg_updating(1)
     
  3. mariourk

    mariourk New Member

    Messages:
    155
    Likes Received:
    0
    Ah, thanks!

    Is there any way to determine when the last updates were installed?

    Does this command also show information about packages that are not installed? And thus is irrelevant information? :\. Or can I filter this somehow?
     
  4. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,392
    Likes Received:
    7
    Not that I know.

     
  5. mariourk

    mariourk New Member

    Messages:
    155
    Likes Received:
    0
    Oops, I missed that description. See why I wanted the least possible amount of information from pkg_updating? :r

    This seems straightforward enough though. Thanks for your feedback! :beer
     
  6. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,205
    Likes Received:
    15
    % ls -ltr /var/db/pkg | tail -n1
    shows the latest changed package. It's not foolproof, but gives an idea.