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

Re: WordPerfect 8.0



(having nothing to contribute to that Corel/SCO/whoever issue, I'll
try to answer the original question...;)

On Thu, Nov 17, 2005 at 06:33:25PM +0000, Ken Heard wrote:
> (...)
> 	Debian being Debian, surely there is a way to install xlib6g without 
> having to remove all 175 of those other packages.  As the name is 
> unique, and no other package besides the WP 8.0 one depends on it, 
> presumably its presence will not affect adversely any of those others.
> 
> 	This package, xlib6g, contains many small files which it would 
> 	install in subfolders in the /usr/X11R6/include/X11/ folder.  Most of these 
> files would be put into two subfolders which do not now exist in my box, 
> /xkb/ and /locale/.
> 
> 	The others would be put in the /bitmaps/ folder.  Many but not all 
> 	of the files to be put there have the same names and sizes as files already 
> there.  Since these are bitmap files, surely the files already there 
> could be safely overwritten -- unless there is a way to prevent 
> overwriting on installation of xlib6g.
> 
> 	I short, can I install xlib6g in such a way that it does not remove 
> 	175 other packages I need and use?  If so, how do I do it?

To install only specific parts of a debian package, you can always
proceed as follows.  That's somewhat low-level, no doubt -- but why
not, if it helps... 

Use "dpkg-deb --fsys-tarfile xlib6g.deb" to dump the contents of the
package in tar format, on stdout.  That way you can use any facilities
tar provides, e.g. to only extract specific subdirectories, etc.

The contents section of debian packages is typically packaged
_relative_ to the root directory, so the following commands (run as
root) should install just the two subdirectories you mentioned above:

$ cd /
$ dpkg-deb --fsys-tarfile /path/to/xlib6g.deb | tar xv ./usr/X11R6/include/X11/xkb/ ./usr/X11R6/include/X11/locale/

(simply modify as required -- in case of doubt, use "tar tv" to check
what would be unpacked)

However, note that, from a package management point of view, this is
no better that unpacking tarballs, 'cos that's essentially what you're
doing here.  IOW, use with care (!) to not mess up your installation...

Good luck,
Almut



Reply to: