Re: Moving_Installed_Files
> On Thu, Sep 02, 2004 at 06:59:11PM +0000, Cousin Stanley wrote:
>> Greetings ....
>>
>> If I move installed files from their original
>> apt-get install target locations, is there a
>> a simple way to redirect the package managers
>> to cope with these path changes for future
>> updates/upgrades of a particular package ?
>>
On 2004-09-02, Stefan O'Rear <stefanor@cox.net> wrote:
> man dpkg-divert
>
From a shell script I used a set of the following commands
which added the moved file list to /var/lib/dpkg/diversions ....
dpkg-divert --divert new_path --add old_path
dpkg -L package-name .... lists the old and new
diverted file paths {ok}
Viewing the package in aptitude looks normal,
e.g. flags it as installed, not broken ....
However, the KPackage Files tab still flags
each of the moved files with a red X ....
I've never actually used KPackage for installs,
but find it convenient and useful for viewing
and information ....
Is it necessary to try to sync KPackage
against the diversions ?
--
Cousin Stanley
Human Being
Phoenix, Arizona
Reply to: