FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-07-2008, 06:27 PM
"Carlos Parada"
 
Default Weird error while upgrading fglrx-glx.

Hi, I've got the following error when performing an apt-get dist-upgrade. Can you help me?

Unpacking fglrx-glx (from .../fglrx-glx_1%3a8-4-1_i386.deb) ...
Removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'

dpkg-divert: `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-glx' clashes with `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'

dpkg: error processing /var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb (--unpack):
*subprocess pre-installation script returned error exit status 2
Preparing to replace fglrx-driver 8.476-1 (using .../fglrx-driver_1%3a8-4-1_i386.deb) ...

Stopping atieventsd: done.
Unpacking replacement fglrx-driver ...
dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb (--unpack):
*trying to overwrite `/usr/lib/libfglrx_dm.a', which is also in package fglrx-driver-dev

dpkg-deb: subprocess paste killed by signal (Broken pipe)
update-rc.d: warning: /etc/init.d/atieventsd missing LSB style header
Starting atieventsd: done.
Processing triggers for man-db ...
Processing triggers for menu ...

Errors were encountered while processing:
*/var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb
*/var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 06-08-2008, 01:11 PM
"Carlos Parada"
 
Default Weird error while upgrading fglrx-glx.

Anyone knows who happens with this ??

Thanks

On Sat, Jun 7, 2008 at 8:27 PM, Carlos Parada <parlamca@gmail.com> wrote:

Hi, I've got the following error when performing an apt-get dist-upgrade. Can you help me?

Unpacking fglrx-glx (from .../fglrx-glx_1%3a8-4-1_i386.deb) ...
Removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'


dpkg-divert: `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-glx' clashes with `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'


dpkg: error processing /var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb (--unpack):
*subprocess pre-installation script returned error exit status 2
Preparing to replace fglrx-driver 8.476-1 (using .../fglrx-driver_1%3a8-4-1_i386.deb) ...


Stopping atieventsd: done.
Unpacking replacement fglrx-driver ...
dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb (--unpack):
*trying to overwrite `/usr/lib/libfglrx_dm.a', which is also in package fglrx-driver-dev


dpkg-deb: subprocess paste killed by signal (Broken pipe)
update-rc.d: warning: /etc/init.d/atieventsd missing LSB style header
Starting atieventsd: done.
Processing triggers for man-db ...
Processing triggers for menu ...


Errors were encountered while processing:
*/var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb
*/var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 06-08-2008, 01:43 PM
"Damon L. Chesser"
 
Default Weird error while upgrading fglrx-glx.

On Sun, 2008-06-08 at 15:11 +0200, Carlos Parada wrote:
> Anyone knows who happens with this ??
>
> Thanks
>
> On Sat, Jun 7, 2008 at 8:27 PM, Carlos Parada <parlamca@gmail.com>
> wrote:
> Hi, I've got the following error when performing an apt-get
> dist-upgrade. Can you help me?
>
> Unpacking fglrx-glx (from .../fglrx-glx_1%
> 3a8-4-1_i386.deb) ...
> Removing `diversion of /usr/lib/libGL.so.1.2
> to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'
> dpkg-divert: `diversion of /usr/lib/libGL.so.1.2
> to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-glx'
> clashes with `diversion of /usr/lib/libGL.so.1.2
> to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'
> dpkg: error processing /var/cache/apt/archives/fglrx-glx_1%
> 3a8-4-1_i386.deb (--unpack):
> subprocess pre-installation script returned error exit status
> 2
> Preparing to replace fglrx-driver 8.476-1
> (using .../fglrx-driver_1%3a8-4-1_i386.deb) ...
> Stopping atieventsd: done.
> Unpacking replacement fglrx-driver ...
> dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%
> 3a8-4-1_i386.deb (--unpack):
> trying to overwrite `/usr/lib/libfglrx_dm.a', which is also
> in package fglrx-driver-dev
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> update-rc.d: warning: /etc/init.d/atieventsd missing LSB style
> header
> Starting atieventsd: done.
> Processing triggers for man-db ...
> Processing triggers for menu ...
> Errors were encountered while processing:
> /var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb
> /var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

See this part

dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%
3a8-4-1_i386.deb (--unpack):
trying to overwrite `/usr/lib/libfglrx_dm.a', which is also in package
fglrx-driver-dev ? That is your problem.

When you see this come up on any package, the next thing to do is:

apt-get -f install

If that does not work do this:

dpkg -i --force-overwrite /var/cache/apt/archives/fglrx-driver_1%
3a8-4-1_i386.deb or run dpkg -i
--force-overwrite /path/stated/in/apt-get -f install/

The problem is another package "owns" the file dpkg is trying to
overwrite and by default dpkg will not do that. This is a badly
packaged .deb (or the one that owns it is).

You will run into this problem when you do a dist-upgrade from stable to
testing or from testing to stable. This work-around does not fix
anything, it just forces dpkg to ignore some other package is using this
file as a config and dpkg will write to it.

Anytime you run into issued during a dist-upgrade that do not allow the
progression of installed programs to keep going, just run apt-get -f
install, then aptitude update, then aptitude upgrade, then aptitude
dist-upgrade to continue. It may take several attempts to get it. In
fact at some point, you might even have to reboot to continue (due to
low level packages having been replaced and the old ones running in
memory no longer have any config files).

HTH
--
Damon L. Chesser
damon@damtek.com
http://www.linkedin.com/in/dchesser
 
Old 06-08-2008, 01:49 PM
Chris Bannister
 
Default Weird error while upgrading fglrx-glx.

On Sun, Jun 08, 2008 at 03:11:20PM +0200, Carlos Parada wrote:
> Anyone knows who happens with this ??
>
> Thanks
>
> On Sat, Jun 7, 2008 at 8:27 PM, Carlos Parada <parlamca@gmail.com> wrote:
>
> > Hi, I've got the following error when performing an apt-get dist-upgrade.
> > Can you help me?
> >
> > Unpacking fglrx-glx (from .../fglrx-glx_1%3a8-4-1_i386.deb) ...
> > Removing `diversion of /usr/lib/libGL.so.1.2 to
> > /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'
> > dpkg-divert: `diversion of /usr/lib/libGL.so.1.2 to
> > /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-glx' clashes with `diversion
> > of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/diversions/libGL.so.1.2 by
> > fglrx-driver'
> > dpkg: error processing /var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb
> > (--unpack):
> > subprocess pre-installation script returned error exit status 2
> > Preparing to replace fglrx-driver 8.476-1 (using
> > .../fglrx-driver_1%3a8-4-1_i386.deb) ...
> > Stopping atieventsd: done.
> > Unpacking replacement fglrx-driver ...
> > dpkg: error processing
> > /var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb (--unpack):
> > trying to overwrite `/usr/lib/libfglrx_dm.a', which is also in package
> > fglrx-driver-dev

Any bugs reported against fglrx-glx or fglrx-driver-dev? Otherwise
report one.

--
Chris.
======
"One, with God, is always a majority, but many a martyr has been burned
at the stake while the votes were being counted." -- Thomas B. Reed


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-08-2008, 03:44 PM
"Carlos Parada"
 
Default Weird error while upgrading fglrx-glx.

I solved the issue with your feeback, Damon.* You rule, man. Thanks so much.


Carlos

On Sun, Jun 8, 2008 at 3:43 PM, Damon L. Chesser <damon@damtek.com> wrote:

On Sun, 2008-06-08 at 15:11 +0200, Carlos Parada wrote:


> Anyone knows who happens with this ??

>

> Thanks

>

> On Sat, Jun 7, 2008 at 8:27 PM, Carlos Parada <parlamca@gmail.com>

> wrote:

> * * * * Hi, I've got the following error when performing an apt-get

> * * * * dist-upgrade. Can you help me?

>

> * * * * Unpacking fglrx-glx (from .../fglrx-glx_1%

> * * * * 3a8-4-1_i386.deb) ...

> * * * * Removing `diversion of /usr/lib/libGL.so.1.2

> * * * * to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'

> * * * * dpkg-divert: `diversion of /usr/lib/libGL.so.1.2

> * * * * to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-glx'

> * * * * clashes with `diversion of /usr/lib/libGL.so.1.2

> * * * * to /usr/lib/fglrx/diversions/libGL.so.1.2 by fglrx-driver'

> * * * * dpkg: error processing /var/cache/apt/archives/fglrx-glx_1%

> * * * * 3a8-4-1_i386.deb (--unpack):

> * * * * *subprocess pre-installation script returned error exit status

> * * * * 2

> * * * * Preparing to replace fglrx-driver 8.476-1

> * * * * (using .../fglrx-driver_1%3a8-4-1_i386.deb) ...

> * * * * Stopping atieventsd: done.

> * * * * Unpacking replacement fglrx-driver ...

> * * * * dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%

> * * * * 3a8-4-1_i386.deb (--unpack):

> * * * * *trying to overwrite `/usr/lib/libfglrx_dm.a', which is also

> * * * * in package fglrx-driver-dev

> * * * * dpkg-deb: subprocess paste killed by signal (Broken pipe)

> * * * * update-rc.d: warning: /etc/init.d/atieventsd missing LSB style

> * * * * header

> * * * * Starting atieventsd: done.

> * * * * Processing triggers for man-db ...

> * * * * Processing triggers for menu ...

> * * * * Errors were encountered while processing:

> * * * * */var/cache/apt/archives/fglrx-glx_1%3a8-4-1_i386.deb

> * * * * */var/cache/apt/archives/fglrx-driver_1%3a8-4-1_i386.deb

> * * * * E: Sub-process /usr/bin/dpkg returned an error code (1)



See this part



dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%

3a8-4-1_i386.deb (--unpack):

*trying to overwrite `/usr/lib/libfglrx_dm.a', which is also in package

fglrx-driver-dev ? *That is your problem.



When you see this come up on any package, the next thing to do is:



apt-get -f install



If that does not work do this:



dpkg -i --force-overwrite /var/cache/apt/archives/fglrx-driver_1%

3a8-4-1_i386.deb or run dpkg -i

--force-overwrite /path/stated/in/apt-get -f install/



The problem is another package "owns" the file dpkg is trying to

overwrite and by default dpkg will not do that. *This is a badly

packaged .deb (or the one that owns it is).



You will run into this problem when you do a dist-upgrade from stable to

testing or from testing to stable. *This work-around does not fix

anything, it just forces dpkg to ignore some other package is using this

file as a config and dpkg will write to it.



Anytime you run into issued during a dist-upgrade that do not allow the

progression of installed programs to keep going, just run apt-get -f

install, then aptitude update, then aptitude upgrade, then aptitude

dist-upgrade to continue. *It may take several attempts to get it. *In

fact at some point, you might even have to reboot to continue (due to

low level packages having been replaced and the old ones running in

memory no longer have any config files).



HTH

--

Damon L. Chesser

damon@damtek.com

http://www.linkedin.com/in/dchesser
 
Old 06-08-2008, 03:59 PM
"Damon L. Chesser"
 
Default Weird error while upgrading fglrx-glx.

On Sun, 2008-06-08 at 17:44 +0200, Carlos Parada wrote:
> I solved the issue with your feeback, Damon. You rule, man. Thanks so
> much.

Your welcomed. I learned that the same way you just did, ony it was
S.Keeling, Ron Johnston, Paul Johnson and the like telling me. Welcome
to Open Source. Pass it along.
>
>
> Carlos
>
> On Sun, Jun 8, 2008 at 3:43 PM, Damon L. Chesser <damon@damtek.com>
> wrote:
>
> On Sun, 2008-06-08 at 15:11 +0200, Carlos Parada wrote:
> > Anyone knows who happens with this ??
> >
> > Thanks
> >
> > On Sat, Jun 7, 2008 at 8:27 PM, Carlos Parada
> <parlamca@gmail.com>
> > wrote:
> > Hi, I've got the following error when performing an
> apt-get
> > dist-upgrade. Can you help me?
> >
> > Unpacking fglrx-glx (from .../fglrx-glx_1%
> > 3a8-4-1_i386.deb) ...
> > Removing `diversion of /usr/lib/libGL.so.1.2
> > to /usr/lib/fglrx/diversions/libGL.so.1.2 by
> fglrx-driver'
> > dpkg-divert: `diversion of /usr/lib/libGL.so.1.2
> > to /usr/lib/fglrx/diversions/libGL.so.1.2 by
> fglrx-glx'
> > clashes with `diversion of /usr/lib/libGL.so.1.2
> > to /usr/lib/fglrx/diversions/libGL.so.1.2 by
> fglrx-driver'
> > dpkg: error
> processing /var/cache/apt/archives/fglrx-glx_1%
> > 3a8-4-1_i386.deb (--unpack):
> > subprocess pre-installation script returned error
> exit status
> > 2
> > Preparing to replace fglrx-driver 8.476-1
> > (using .../fglrx-driver_1%3a8-4-1_i386.deb) ...
> > Stopping atieventsd: done.
> > Unpacking replacement fglrx-driver ...
> > dpkg: error
> processing /var/cache/apt/archives/fglrx-driver_1%
> > 3a8-4-1_i386.deb (--unpack):
> > trying to overwrite `/usr/lib/libfglrx_dm.a', which
> is also
> > in package fglrx-driver-dev
> > dpkg-deb: subprocess paste killed by signal (Broken
> pipe)
> > update-rc.d: warning: /etc/init.d/atieventsd missing
> LSB style
> > header
> > Starting atieventsd: done.
> > Processing triggers for man-db ...
> > Processing triggers for menu ...
> > Errors were encountered while processing:
> > /var/cache/apt/archives/fglrx-glx_1%
> 3a8-4-1_i386.deb
> > /var/cache/apt/archives/fglrx-driver_1%
> 3a8-4-1_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code
> (1)
>
>
> See this part
> 
> dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%
> 3a8-4-1_i386.deb (--unpack):
> trying to overwrite `/usr/lib/libfglrx_dm.a', which is also
> in package
>
> fglrx-driver-dev ? That is your problem.
>
> When you see this come up on any package, the next thing to do
> is:
>
> apt-get -f install
>
> If that does not work do this:
>
> dpkg -i
> --force-overwrite /var/cache/apt/archives/fglrx-driver_1%
> 3a8-4-1_i386.deb or run dpkg -i
> --force-overwrite /path/stated/in/apt-get -f install/
>
> The problem is another package "owns" the file dpkg is trying
> to
> overwrite and by default dpkg will not do that. This is a
> badly
> packaged .deb (or the one that owns it is).
>
> You will run into this problem when you do a dist-upgrade from
> stable to
> testing or from testing to stable. This work-around does not
> fix
> anything, it just forces dpkg to ignore some other package is
> using this
> file as a config and dpkg will write to it.
>
> Anytime you run into issued during a dist-upgrade that do not
> allow the
> progression of installed programs to keep going, just run
> apt-get -f
> install, then aptitude update, then aptitude upgrade, then
> aptitude
> dist-upgrade to continue. It may take several attempts to get
> it. In
> fact at some point, you might even have to reboot to continue
> (due to
> low level packages having been replaced and the old ones
> running in
> memory no longer have any config files).
>
> HTH
> --
> Damon L. Chesser
> damon@damtek.com
> http://www.linkedin.com/in/dchesser
>
--
Damon L. Chesser
damon@damtek.com
http://www.linkedin.com/in/dchesser
 

Thread Tools




All times are GMT. The time now is 12:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org