l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Mar 07 15:44

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] jay and dselect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] jay and dselect

jay, i just had a thought.

did you _just_ install the system?

in debian, sometimes a package won't fully set up because of a
dependency issue, just like with rpm.

unlike rpm, dpkg is very intelligent about such things.  it'll set the
package up for installation as much as it can before bailing.

then when the dependency works itself out, the partially configured
package will automatically configure itself.

very often, the dependency works itself out in the same session.  kind
of like this:

bar is not installed on the system.
foo depends on bar
you start a session to install a bunch of packages including foo and bar.
for some reason (another dependency, perhaps) dpkg tries to install foo
   before bar.
in the same apt-get session, bar gets installed
at this point, foo COULD be installed, but you need to start another
next time you start an apt-get session, foo will be configured since bar
   is fully installed and configured.

this is why, when you upgrade from potato to woody, very often you need
to do something like this:

cat /etc/apt/sources.list | sed -e 's/stable/testing/g' > tmp
mv tmp /etc/apt/sources.list
dselect update
apt-get dist-upgrade
while (error messages) {
	apt-get dist-upgrade

in other words, you keep doing apt-get dist-upgrade until no more error
messages about dependencies appear.  dpkg is smart enough that they WILL
get worked out.  it might take 3-5 tries to fully complete.

btw, dependencies aren't the only thing that can cause this.  a full
/var partition can also cause this sort of thing.  in that case, you can
do an

apt-get clean

to remove packages that were downloaded to your system but have already
been installed.


ps- and for heaven's sake, stop reinstalling your system!   :-)
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!