apt-get bug in version detection?
Daniel Resare
yellowdog-general@lists.terrasoftsolutions.com
Sat Jul 27 01:21:01 2002
fre 2002-07-26 klockan 22.44 skrev R Shapiro:
> I see that YDL posted a new update today, for qt. When I try to use
> apt-get to get it, it says:
>
> > sudo apt-get install qt
> Processing File Dependencies... Done
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, qt is already the newest version
> 0 packages upgraded, 0 newly installed, 0 to remove(replace) and 2 not
> upgraded.
>
> The two packages in question are qt and qt-devel (I don't use any
> other qt- packages). The versions I have installed are 3.0.3-11. The
> versions in the update are 3.0.3-11a. Apparently apt-get doesn't
> think this is a newer version. Why not?
>
I think you're missing that getting hold of newly published packages
with apt-get is a two-step process. First you need to update your local
package lists with 'apt-get update', then apt-get knows that there are
new files and you can run 'apt-get upgrade' or 'apt-get install xxx' to
get hold of them.
Good luck!
/noa
ps. I always run 'apt-get update && apt-get upgrade' periodically