meld installation issue
8,855
I just tried installing Meld on my 12.04 installation, using sudo apt-get install meld
, and it worked with no problems.
Try this. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install meld
If that dosen't work, try installing the latest python
sudo apt-get install python3
Related videos on Youtube
Author by
txmystic
Updated on September 18, 2022Comments
-
txmystic almost 2 years
I am trying to install the meld diff viewer on Ubuntu 12.04 LTS. When I run
sudo apt-get install meld
I get the following output:
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgtksourceview2.0-0 libgtksourceview2.0-common python-glade2 python-gnome2 python-gtksourceview2 python-pyorbit Suggested packages: python-gtk2-doc python-gnome2-doc libgtksourceview2.0-dev python-pyorbit-dbg The following NEW packages will be installed: libgtksourceview2.0-0 libgtksourceview2.0-common meld python-glade2 python-gnome2 python-gtksourceview2 python-pyorbit 0 upgraded, 7 newly installed, 0 to remove and 57 not upgraded. Need to get 0 B/1,048 kB of archives. After this operation, 5,255 kB of additional disk space will be used. Do you want to continue [Y/n]? Y Selecting previously unselected package libgtksourceview2.0-common. (Reading database ... 60%dpkg: unrecoverable fatal error, aborting: reading files list for package 'python-aptdaemon.gtk3widgets': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)
Is there something wrong with the package
libgtksourceview2.0-common
? Is there a way to get a better update, or another way to get meld installed? I am uncertain how to proceed...-
Radu Rădeanu about 11 yearsDid you tried with
aptitude
:sudo aptitude install meld
? -
txmystic about 11 yearsYour command syntax is unfamiliar to me. Normally when using the advanced package tool it is "apt-get". Can you elaborate?
-
grimpitch about 11 yearsTry
sudo apt-get install --reinstall python-aptdaemon.gtk3widgets
-
txmystic about 11 yearsreinstallation of the package gives the same error again.
-
Radu Rădeanu about 11 yearsPossible duplicate: Unable to install any updates through update manager/apt-get upgrade
-
Dan Dascalescu about 7 yearsNote that the Meld package in the Ubuntu repos is about 2 years behind the current version.
-
-
txmystic about 11 yearsThanks. I should have mentioned I had already run update. I re-ran update but still the same error as described above.
-
txmystic about 11 yearsI read the other post. My take is that although aptitude has some advantages, it did not seem to be a universal preference. Regardless, the upgrade itself failed with the same error (see comment in Mitch's answer)
-
txmystic about 11 yearsThe upgrade failed with the same error (at 60% dpkg: unrecoverable fatal error). And I do not want to install python3 yet, I'm doing a project that requires 2.7 and I already have a side installation of 3.3.1. Is there any way to exploit that?
-
Dan Dascalescu about 7 yearsNote that the Meld package in the Ubuntu repos is about 2 years behind the current version.
-
Dan Dascalescu about 7 yearsYou may not want to "just use
sudo aptitude install meld
. The Meld package in the Ubuntu repos is about 2 years behind the current version. -
Dan Dascalescu about 7 years2017 update: note that the Meld package in the Ubuntu 16 (Xenial) repos is about 2 years behind the current version.