After removing the file it said it couldn't overwrite and trying again, I get this from the terminal:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libasprintf0c2:i386 libcroco3:i386 libgomp1:i386 libgsoap2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
virtualbox-4.2
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/59.8 MB of archives.
After this operation, 132 MB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 236658 files and directories currently installed.)
Unpacking virtualbox-4.2 (from .../virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb (--unpack):
trying to overwrite '/usr/share/virtualbox/VBoxGuestAdditions.iso', which is also in package virtualbox-guest-additions-iso 4.1.18-1
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for ureadahead ...
Processing triggers for shared-mime-info ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@marcus-p7-1254:/home/marcus# sudo apt-get install virtualbox-4.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libasprintf0c2:i386 libcroco3:i386 libgomp1:i386 libgsoap2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
virtualbox-4.2
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/59.8 MB of archives.
After this operation, 132 MB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 236658 files and directories currently installed.)
Unpacking virtualbox-4.2 (from .../virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb (--unpack):
trying to overwrite '/usr/share/virtualbox/VBoxGuestAdditions.iso', which is also in package virtualbox-guest-additions-iso 4.1.18-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for ureadahead ...
Processing triggers for shared-mime-info ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bookmarks