Re: Moving_Installed_Files

2004-09-03 Thread Cousin Stanley
> On Thu, Sep 02, 2004 at 06:59:11PM +, 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 <[EMAIL PROTECTED]> 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Moving_Installed_Files

2004-09-02 Thread Cousin Stanley
On 2004-09-02, Stefan O'Rear <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 02, 2004 at 06:59:11PM +, Cousin Stanley wrote:

>>   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 ?
>>   

> man dpkg-divert
>

Stefan  

  Thanks for the *super-fast* reply 
  
  dpkg-divert seems to be exactly what I need ...


-- 
Cousin Stanley
Human Being
Phoenix, Arizona


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Moving_Installed_Files

2004-09-02 Thread Stefan O'Rear
On Thu, Sep 02, 2004 at 06:59:11PM +, 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 ?
>   
>   For example, I've installed the  python2.3-qt3  package
>   under Debian/Sarge and moved all of the associated files
>   into a  NEW  dir within the  /usr/lib/python2.3/site-packages  dir 
>   and added a necessary  .pth  file to compliment the python 
>   search rules 
>   
>   So far, this seems to function as expected in the  python/qt  zone,
>   e.g., all of the  python/qt  demos still work, but I'm wondering
>   how to deal with future updates/upgrades 

man dpkg-divert

-- 
The world's most effective spam filter:
ln -sf /dev/full /var/mail/$USER


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Moving_Installed_Files

2004-09-02 Thread Cousin Stanley
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 ?
  
  For example, I've installed the  python2.3-qt3  package
  under Debian/Sarge and moved all of the associated files
  into a  NEW  dir within the  /usr/lib/python2.3/site-packages  dir 
  and added a necessary  .pth  file to compliment the python 
  search rules 
  
  So far, this seems to function as expected in the  python/qt  zone,
  e.g., all of the  python/qt  demos still work, but I'm wondering
  how to deal with future updates/upgrades 
  

-- 
Cousin Stanley
Human Being
Phoenix, Arizona


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]