[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg -i does not install all files in a package



Micha Feigin <michf@math.tau.ac.il> writes:

> I have had some problems with a package, so I tried to remove some off
> the files and reinstall with dpkg -i to regenrate the files.

Are they configuration files (to a first approximation, "files in
/etc")?  If so, dpkg considers deleting the file as a valid
configuration option, and will preserve this across upgrades.  If you
purge the package ('dpkg --purge') and then reinstall it, you'll get
back the default configuration files.  (Generally you don't want to
use a --force option at all in Debian, but this is the exception that
proves the rule; 'dpkg --purge --force-depends xlibs-data' is actually
reasonable to do if you're doing it with the intention of immediately
reinstalling the package.)

> The package in question is:
>
> xlibs-data_4.3.0-0ds3v1_all.deb
> xlibs-data_4.3.0-0ds4_all.deb

These aren't official packages, are they?  (XFree86 4.3.0 just
appeared in the 'experimental' release ["possibly too broken for
unstable"] and with a different version number than this.)

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: