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

[magnus@burgsvik.se: Feature request: 'dpkg-divert --rename --remove' with Aptitude]

  This sounds more like a feature request for dpkg than for apt.  (it
also sounds like a bug in nvidia-glx to me, but registering which package
a given diversion belongs to also seems like a good idea to me)

  Ccing this to bug #45480 since it seems to be relevant.


----- Forwarded message from Magnus Berg <magnus@burgsvik.se> -----

Date: Wed, 09 Aug 2006 14:43:23 +0200
From: Magnus Berg <magnus@burgsvik.se>
Subject: Feature request: 'dpkg-divert --rename --remove' with Aptitude
To: dburrows@debian.org


I have a little feature request (or see it as a bugfix ;-)) for Aptitude. I 
resently installed Etch and realised that Aptitude does a great job renaming 
files with help of dpkg-divert but hten you purge that package Aptitude 
doesn't remove that diverted name. So then you are going to install a new 
package with such file you get an error message like this (in Swedish, but 
I'm sure you totaly understand that it says:

(Läser databasen ... 56282 filer och kataloger installerade.)
Packar upp nvidia-glx (från .../nvidia-glx_1.0.8762-2_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/xorg/modules/extensions/libGLcore.a 
to /usr/lib/nvidia/libGLcore.a.xlibmesa by nvidia-glx' clashes with 
`diversion of /usr/lib/xorg/modules/extensions/libGLcore.a 
to /usr/lib/nvidia/libGLcore.a.xlibmesa by nvidia-glx-legacy'
dpkg: fel vid hantering 
av /var/cache/apt/archives/nvidia-glx_1.0.8762-2_i386.deb (--unpack):
 underprocess pre-installation script gav felkod 2
Fel uppstod vid hantering:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ett paketinstallation misslyckades.  Försöker att lösa problemet:
Tryck Return för att fortsätta.

Today I learned to use:
# dpkg-divert --rename --remove /usr/bin/example.foo
but I should recomend you to built in this function in Aptitude so it remove 
the deverted names on files that being removed or purged.

Best wishes
Magnus Berg

Magnus Berg                             

0498-29 04 10

Bäckströms väg 47
623 35 Burgsvik
www.burgsvik.se - Information och mötesplats för boende och besökande i 
Burgsvik ['buschvick].

----- End forwarded message -----

Attachment: signature.asc
Description: Digital signature

Reply to: