
Craig Sanders writes:
On Sat, Jun 20, 2015 at 08:37:46AM +1000, zlinw@mcmedia.com.au wrote:
IMPORTANT point here apt and dselect use different package lists both these need to be updated separately to keep the system in sync.
please stop saying this because it's not true.
apt-get, aptitude, dselect, dpkg and even the GUI versions of same *ALL* use /var/lib/dpkg/status and /var/lib/dpkg/available.
I beg to differ here, on my systems apt-get update does ___not___ touch /var/lib/dpkg/status and /var/lib/dpkg/available. Also after such an update dselect does ___not___ show any change, but after doing "dselect update", the /var/lib/dpkg/available but status remains as it was.
the only way dselect and apt could use different package lists is if you have dselect configured to use, say, cd-rom or multi-cd or one of the other methods while apt's sources.list files point to different sources.
(and even then, they're not really using different package lists - they're constantly replacing the package lists with what their configuration tells them is correct, i.e. they've been configured to conflict with each other)
you can make sure this is NOT the case by running dselect, choosing option 0 [A]ccess, and selecting 'apt' as the update method.
then, when you need to switch between a CD source and an http source (or whatever), change the /etc/apt/sources.list file.
try this and then run:
dselect update ; apt-get -V -d -u dist-upgrade
and then to actually perform the upgrade, either 'apt-get -u dist-upgrade' or 'apt-get -u upgrade'
craig
-- craig sanders <cas@taz.net.au> _______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main
Many thanks for the reply, you have given a good deal of info in both posts which will take some time to rationalise, but in fact I do use the apt method for dselect, even then it __always__ fetch's its own lists, ie it ___does__not__ use the local apt lists. See my previous post (the email system willing of course). Debian is great, I certainly believe the current package system is way to complex, and debian unfortunately does have something of a blind spot for those of us that have poor intenet access (thats not just my opinion, I have talked this issue over with two debian developers both acknowledged this as a weakness). Lindsay