Would anybody here know how to fix broken pakages on ubuntu 10.04?
i get a message that only a partial update can be done..
![]() ![]() |
sudo aptitude update && sudo aptitude install gtkorphan
sudo aptitude update && sudo aptitude upgrade
sudo aptitude -f
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
Vibuntu: HI
I got the same problem after ubuntu 10.04 locked during installation of some packages. I tried to install MySql stuff and those did not make it trough the process. I tried with aptitude but I got this message.
(Reading database ... 170261 files and directories currently installed.)
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.41-3ubuntu12.6_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libmysqlclient16_5.1.41-3ubuntu12.6_i386.deb (--unpack):
trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libmysqlclient16_5.1.41-3ubuntu12.6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libqt4-sql-mysql:
libqt4-sql-mysql depends on libmysqlclient16 (>= 5.1.21-1); however:
Package libmysqlclient16 is not installed.
dpkg: error processing libqt4-sql-mysql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libqt4-sql-mysql
Press return to continue.
So any suggestions what to do next? I think the aptitude command helped installing some packages that also had failed before.
I'm a novice to linux so any help would be great!
-Vibuntu
sudo rm '/var/cache/apt/archives/libmysqlclient16_5.1.41-3ubuntu12.6_i386.deb'
sudo aptitude update
sudo aptitude upgrade
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
Phaedrus:
Update: I see LennonNZ has posted much the same and is a faster typist than me, it's worth noting you may need to precede all commands with 'sudo' (eg. sudo apt-get update) assuming you're not actually logged in as root. It'll ask for root's password of course.
Cheers, P.
Vibuntu: It finaly worked but...
After I ran an upgrade on the installation it would not boot again. This was before I tried your solution. So i reinstalled ubuntu. I was "lucky" cause I got the same problem with the new installation.
After i deleted the file you asked me to I had to go to synaptic pack updater and completely remove the installition, cuase it still said the package was broken after I tried your fix.
Off topic-
On the update, what I think was the reason for my first install of ubuntu to not boot, was an message that there was some problem with installing some grub thing that I ignored... does this make sense?
I'm as I said new to linux, and has not had much time to play around with it... but my experience so far, is that I've had problems, and big once after installing packages or updated the system. this is the third time I had major issues with booting after upgrading. the first two was with ubuntu 9.04
Thanx for the help.
And I used my user pass when prompted :)
I usually open terminal and goes sudo bash and types my commands from there.
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
![]() ![]() |