Saturday, June 15, 2019

apt - Package management system corrupted. Cannot install or remove packages. U12.04LTS

Having read other posts, I believe that this may be less about samba than about update system.


Below is the log file of the failed installation of Samba. I have been trying without success to install/outstall samba so that I could install anything else ...
I cannot either install or remove samba using either update-manager or apt-get (nor indeed Software Centre).
One of the errors that I have had to correct is the presence after "removal" (failed) of /usr/share/system-config-samba directory which finally allowed itself to be deleted. That, however was then ...

I have U12.04LTS. running on release 63 because I allowed the upgrade to 64 this morning which fell over - no output to monitor - obviously even less support for my graphic chip than I am suffering already (see other posts in this forum).

According to my interpretation of the dpkg returned errors there may be some problem with the package files, but if this is the case then it is on servers 'main', 'nantes uni fr' and 'best fr' at the very least if not everywhere.

The suggestions offered at Package operation failed and elsewhere have not worked for me. This linked post suggests that a similar error is present in other packages, or that the error is in the 'update system'

I have tried ...
sudo apt-get remove samba
... autoremove
... install samba
... clean
... update
-f all of the above
In update-manager I have tried the "reload packages list" which fails to terminate
because of the error.
I have tried to install and remove samba from the software centre ... :(
I am at a loss ...
I need help, please! Firstly to recover my apt-get/update-manager/Software Centre so that I can at least carry on with my continuing installation - up to communicating with home network hence need for samba - which brings me to my second requirement ... samba.


PS is the issue about "MaxReports" associated or apart?



Thanks for any and all help!!




installArchives() failed:
Preconfiguring packages ...
... snip
(Reading database ...
... snip
(Reading database ... 184858 files and directories currently installed.)
Unpacking samba (from .../samba_2%3a3.6.3-2ubuntu2.10_i386.deb) ...
dpkg-deb (subprocess): data: internal gzip read error: ': data error'
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing /var/cache/apt/archives/samba_2%3a3.6.3-2ubuntu2.10_i386.deb (--unpack):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package system-config-samba.
Unpacking system-config-samba (from .../system-config-samba_1.2.63-0ubuntu5_all.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Processing triggers for man-db ...
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/samba_2%3a3.6.3-2ubuntu2.10_i386.deb
Error in function:
dpkg: dependency problems prevent configuration of system-config-samba:
system-config-samba depends on samba; however:
Package samba is not installed.
dpkg: error processing system-config-samba (--configure):
dependency problems - leaving unconfigured


UPDATE
After failed Chromium-browser install yesterday I got an update of chromium-browser in update-manager. This errored too but following the instructions Everything (EVERYTHING!!) cleared up - have finished install of wine and samba. I cannot use Chrome due to my graphics card problem no doubt, but I shall pursue that elsewhere. Too the problem with 3.2.0-64-generic-pae has not gone away but again, elsewhere ...

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...