Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#129 fix for selfupdate apt bug

closed-out-of-date
Daniel Macks
None
5
2005-02-01
2005-01-31
Tristan Thiede
No

This fixes a small problem with fink's use of apt-get.

Fink's selfupdate does run 'apt-get update', but what it does is this:
updates via rsync or CVS, forgets and requires the packages, updates the
core packages, runs apt-get update, and is done. This doesn't update
Fink's apt database after running apt-get update! Fink doesn't become
aware of new or updated binary packages until the next index or selfupdate
occurs.

Here's a tiny little patch to SelfUpdate.pm that causes it to call Fink::
Package->update_aptdb() after running apt-get update (assuming apt-get
update exited successfully).

Discussion

  • Tristan Thiede
    Tristan Thiede
    2005-01-31

    selfupdate fix

     
  • Daniel Macks
    Daniel Macks
    2005-02-01

    • assigned_to: nobody --> dmacks
    • status: open --> open-out-of-date
     
  • Daniel Macks
    Daniel Macks
    2005-02-01

    Logged In: YES
    user_id=535292

    On Jan 5, a patch was applied with log msg:
    Do 'apt-get update' *before* rebuilding aptdb during
    selfupdate.

    Here's the full commit:
    http://thread.gmane.org/gmane.os.apple.fink.cvs/32297

     
  • Tristan Thiede
    Tristan Thiede
    2005-02-01

    Logged In: YES
    user_id=845701

    Aha! Well, apologies for the repeat.

     
  • Daniel Macks
    Daniel Macks
    2005-02-01

    • status: open-out-of-date --> closed-out-of-date
     
  • Daniel Macks
    Daniel Macks
    2005-02-01

    Logged In: YES
    user_id=535292

    No worries. We've been working on the next release of fink
    for a while now but unless you know to look in our CVS
    repository it's hard to know what changes have been made
    since last release (there have been >100 major commits).
    OTOH, you're completely welcome to browse our CVS repository.