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 > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-05-2008, 05:38 AM
David Dartnall
 
Default Hardy update libnspr4-0d

Not sure if this the right place to report but no doubt I'll be told!

All Hardy upgrade notices to date have been installed without hitch.

Update 'libnspr4-0d' returned the following error message:

/var/cache/apt/archives/libnspr4-0d_4.7.1+1.9-0ubuntu0.8.04.2_i386.deb:
trying to overwrite `/usr/lib/libnspr4.so', which is also in package
libnspr4

Can this just be ignored?
And if so how do I tell the little upgrade icon to also ignore it?

regards
Dave Dartnall (very happy Ubuntu user)

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-07-2008, 02:05 PM
Derek Broughton
 
Default Hardy update libnspr4-0d

David Dartnall wrote:

> Not sure if this the right place to report but no doubt I'll be told!
>
> All Hardy upgrade notices to date have been installed without hitch.
>
> Update 'libnspr4-0d' returned the following error message:
>
> /var/cache/apt/archives/libnspr4-0d_4.7.1+1.9-0ubuntu0.8.04.2_i386.deb:
> trying to overwrite `/usr/lib/libnspr4.so', which is also in package
> libnspr4
>
> Can this just be ignored?

Maybe :-)

I can't see just why we have an libnspr4-0d and libnspr4 (I have both
installed too, even though they seem to do the same thing). It looks as if
the -0d package has superceded the other, as I don't have anything that
depends on libnspr4, so I'd try first just uninstalling libnspr4. If that
doesn't want to remove anything else, then you should be able to complete
the upgrade.

Otherwise you can either do:

# sudo dpkg --force-overwrite -i /var/cache/apt/archives/libnspr4-0d*.deb

which will allow the package to be installed despite the conflict, or wait
for somebody to fix the package to force it to either replace libnspr4
(which may never happen, if there's a good reason to allow both to exist)
or to use a different .so file.
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-07-2008, 09:07 PM
Jim Smith
 
Default Hardy update libnspr4-0d

David Dartnall wrote:
> Not sure if this the right place to report but no doubt I'll be told!
>
> All Hardy upgrade notices to date have been installed without hitch.
>
> Update 'libnspr4-0d' returned the following error message:
>
> /var/cache/apt/archives/libnspr4-0d_4.7.1+1.9-0ubuntu0.8.04.2_i386.deb:
> trying to overwrite `/usr/lib/libnspr4.so', which is also in package
> libnspr4
>
> Can this just be ignored?
> And if so how do I tell the little upgrade icon to also ignore it?
>
> regards
> Dave Dartnall (very happy Ubuntu user)
>
>
It reportedly is fixed upstream in Debian. I used Synaptic to remove
libnspr4 then ran the upgrade and all was fine. I usually hold my breath
when doing that kind of fix as the possibilities of hosing one's system
are many.

Still working though.

YMMV

Jim

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-08-2008, 12:09 AM
Derek Broughton
 
Default Hardy update libnspr4-0d

Jim Smith wrote:

> It reportedly is fixed upstream in Debian. I used Synaptic to remove
> libnspr4 then ran the upgrade and all was fine. I usually hold my breath
> when doing that kind of fix as the possibilities of hosing one's system
> are many.
>
They're really not. What could conceivably go wrong? If you try to
_remove_ libnspr4, you find out immediately (before anything is actually
done) whether anything else depends on it, and if you decide to use
the "dpkg -i --force-overwrite" method, the worst that can happen is that
it turns out you need to reinstall the original library (again with
the --force-overwrite option). The possibilities of _really_ hosing your
system are small if you just pay attention to warnings, unless the library
happens to be libc6...
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-08-2008, 05:03 AM
Jim Smith
 
Default Hardy update libnspr4-0d

Derek Broughton wrote:
> Jim Smith wrote:
>
>
>> It reportedly is fixed upstream in Debian. I used Synaptic to remove
>> libnspr4 then ran the upgrade and all was fine. I usually hold my breath
>> when doing that kind of fix as the possibilities of hosing one's system
>> are many.
>>
>>
> They're really not. What could conceivably go wrong? If you try to
> _remove_ libnspr4, you find out immediately (before anything is actually
> done) whether anything else depends on it, and if you decide to use
> the "dpkg -i --force-overwrite" method, the worst that can happen is that
> it turns out you need to reinstall the original library (again with
> the --force-overwrite option). The possibilities of _really_ hosing your
> system are small if you just pay attention to warnings, unless the library
> happens to be libc6...
>
That is what actually happened. I first ran remove against libnspr4-0d
and saw all of the things that depended on it. After deciding to leave
that one alone, I then ran remove on the older libnspr4 and found that
nothing depended on it (any longer), thus it looked safe to remove.
Thanks for that answer, it made me feel a bit better. Still a relative
greenhorn, but learning.

Jim

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




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

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