bvargo
July 27th, 2018, 05:53 PM
Somehow Evolution broke. I don't use/want a local email/calendar/contact client/server, not the least of which is Evolution. I have no idea if I have previously tried to get rid of it but in any case, it is broken and now so is APT.
I don't know how to get rid of it (I'm very much hoping it isn't integral to the functioning of Ubuntu e.g. some Windows applications like IE) and now I cannot use APT:
:~$ ver
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
evolution-data-server : Depends: libcamel-1.2-54 (= 3.18.5-1ubuntu1) but 3.18.5-1ubuntu1.1 is to be installed
Depends: libedata-cal-1.2-28 (>= 3.17) but it is not going to be installed
Depends: evolution-data-server-common (= 3.18.5-1ubuntu1) but 3.18.5-1ubuntu1.1 is to be installed
E: Broken packages
:~$ sudo apt purge evolution-data-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
evolution-data-server
0 upgraded, 0 newly installed, 1 to remove and 46 not upgraded.
12 not fully installed or removed.
After this operation, 1,860 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 280818 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Errors were encountered while processing:
evolution-data-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libedata-cal-1.2-28 signon-plugin-password
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
evolution-data-server evolution-data-server-online-accounts
0 upgraded, 0 newly installed, 2 to remove and 46 not upgraded.
14 not fully installed or removed.
After this operation, 2,162 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 280800 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Removing evolution-data-server-online-accounts (3.18.5-1ubuntu1.1) ...
dpkg: error processing package evolution-data-server-online-accounts (--remove):
cannot remove '/usr/lib/evolution-data-server/credential-modules': Permission denied
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
evolution-data-server
evolution-data-server-online-accounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt install evolution-data-server-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
evolution-data-server-common is already the newest version (3.18.5-1ubuntu1.1).
The following packages were automatically installed and are no longer required:
bogofilter bogofilter-bdb bogofilter-common libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcryptui0a libedata-cal-1.2-28 libedataserverui-1.2-1 libpst4 libytnef0 seahorse-daemon signon-plugin-password
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
evolution-data-server evolution-data-server-online-accounts
0 upgraded, 0 newly installed, 2 to remove and 46 not upgraded.
24 not fully installed or removed.
After this operation, 2,162 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 281041 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Removing evolution-data-server-online-accounts (3.18.5-1ubuntu1.1) ...
dpkg: error processing package evolution-data-server-online-accounts (--remove):
cannot remove '/usr/lib/evolution-data-server/credential-modules': Permission denied
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
evolution-data-server
evolution-data-server-online-accounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt install evolution-data-server
evolution-data-server evolution-data-server-common evolution-data-server-dbg evolution-data-server-dev evolution-data-server-doc evolution-data-server-online-accounts
:~$ sudo apt install evolution-data-server-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bogofilter bogofilter-bdb bogofilter-common libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcryptui0a libedata-cal-1.2-28 libedataserverui-1.2-1 libpst4 libytnef0 seahorse-daemon signon-plugin-password
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnspr4-dev libnss3-dev
The following packages will be REMOVED:
evolution-data-server evolution-data-server-online-accounts
The following NEW packages will be installed:
evolution-data-server-dev libnspr4-dev libnss3-dev
0 upgraded, 3 newly installed, 2 to remove and 46 not upgraded.
24 not fully installed or removed.
Need to get 556 kB of archives.
After this operation, 676 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4-dev amd64 2:4.13.1-0ubuntu0.16.04.1 [213 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-dev amd64 2:3.28.4-0ubuntu0.16.04.3 [230 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 evolution-data-server-dev amd64 3.18.5-1ubuntu1.1 [113 kB]
Fetched 556 kB in 0s (2,764 kB/s)
(Reading database ... 281041 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Removing evolution-data-server-online-accounts (3.18.5-1ubuntu1.1) ...
dpkg: error processing package evolution-data-server-online-accounts (--remove):
cannot remove '/usr/lib/evolution-data-server/credential-modules': Permission denied
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
evolution-data-server
evolution-data-server-online-accounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt install evolution
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
evolution-data-server evolution-plugins libevolution
Suggested packages:
evolution-ews evolution-plugins-experimental evolution-data-server-dbg
The following NEW packages will be installed:
evolution evolution-plugins libevolution
The following packages will be upgraded:
evolution-data-server
1 upgraded, 3 newly installed, 0 to remove and 46 not upgraded.
24 not fully installed or removed.
Need to get 0 B/2,958 kB of archives.
After this operation, 9,530 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package evolution-data-server.
(Reading database ... 281043 files and directories currently installed.)
Preparing to unpack .../evolution-data-server_3.18.5-1ubuntu1.1_amd64.deb ...
Unpacking evolution-data-server (3.18.5-1ubuntu1.1) over (3.18.5-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/evolution-data-server_3.18.5-1ubuntu1.1_amd64.deb (--unpack):
unable to create '/usr/lib/evolution/evolution-user-prompter.dpkg-new' (while processing './usr/lib/evolution/evolution-user-prompter'): Permission denied
Preparing to unpack .../libevolution_3.18.5.2-0ubuntu3.2_amd64.deb ...
Unpacking libevolution (3.18.5.2-0ubuntu3.2) ...
dpkg: error processing archive /var/cache/apt/archives/libevolution_3.18.5.2-0ubuntu3.2_amd64.deb (--unpack):
unable to create '/usr/lib/evolution/evolution-backup.dpkg-new' (while processing './usr/lib/evolution/evolution-backup'): Permission denied
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../evolution_3.18.5.2-0ubuntu3.2_amd64.deb ...
Unpacking evolution (3.18.5.2-0ubuntu3.2) ...
dpkg: error processing archive /var/cache/apt/archives/evolution_3.18.5.2-0ubuntu3.2_amd64.deb (--unpack):
error creating directory './usr/lib/evolution/plugins': Permission denied
Preparing to unpack .../evolution-plugins_3.18.5.2-0ubuntu3.2_amd64.deb ...
Unpacking evolution-plugins (3.18.5.2-0ubuntu3.2) ...
dpkg: error processing archive /var/cache/apt/archives/evolution-plugins_3.18.5.2-0ubuntu3.2_amd64.deb (--unpack):
error creating directory './usr/lib/evolution/plugins': Permission denied
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/evolution-data-server_3.18.5-1ubuntu1.1_amd64.deb
/var/cache/apt/archives/libevolution_3.18.5.2-0ubuntu3.2_amd64.deb
/var/cache/apt/archives/evolution_3.18.5.2-0ubuntu3.2_amd64.deb
/var/cache/apt/archives/evolution-plugins_3.18.5.2-0ubuntu3.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So if someone could, please help me figure out how I may get rid of Evolution, evolution data server, camel, and all the rest so I can use apt again?
I don't know how to get rid of it (I'm very much hoping it isn't integral to the functioning of Ubuntu e.g. some Windows applications like IE) and now I cannot use APT:
:~$ ver
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
evolution-data-server : Depends: libcamel-1.2-54 (= 3.18.5-1ubuntu1) but 3.18.5-1ubuntu1.1 is to be installed
Depends: libedata-cal-1.2-28 (>= 3.17) but it is not going to be installed
Depends: evolution-data-server-common (= 3.18.5-1ubuntu1) but 3.18.5-1ubuntu1.1 is to be installed
E: Broken packages
:~$ sudo apt purge evolution-data-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
evolution-data-server
0 upgraded, 0 newly installed, 1 to remove and 46 not upgraded.
12 not fully installed or removed.
After this operation, 1,860 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 280818 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Errors were encountered while processing:
evolution-data-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libedata-cal-1.2-28 signon-plugin-password
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
evolution-data-server evolution-data-server-online-accounts
0 upgraded, 0 newly installed, 2 to remove and 46 not upgraded.
14 not fully installed or removed.
After this operation, 2,162 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 280800 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Removing evolution-data-server-online-accounts (3.18.5-1ubuntu1.1) ...
dpkg: error processing package evolution-data-server-online-accounts (--remove):
cannot remove '/usr/lib/evolution-data-server/credential-modules': Permission denied
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
evolution-data-server
evolution-data-server-online-accounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt install evolution-data-server-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
evolution-data-server-common is already the newest version (3.18.5-1ubuntu1.1).
The following packages were automatically installed and are no longer required:
bogofilter bogofilter-bdb bogofilter-common libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcryptui0a libedata-cal-1.2-28 libedataserverui-1.2-1 libpst4 libytnef0 seahorse-daemon signon-plugin-password
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
evolution-data-server evolution-data-server-online-accounts
0 upgraded, 0 newly installed, 2 to remove and 46 not upgraded.
24 not fully installed or removed.
After this operation, 2,162 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 281041 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Removing evolution-data-server-online-accounts (3.18.5-1ubuntu1.1) ...
dpkg: error processing package evolution-data-server-online-accounts (--remove):
cannot remove '/usr/lib/evolution-data-server/credential-modules': Permission denied
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
evolution-data-server
evolution-data-server-online-accounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt install evolution-data-server
evolution-data-server evolution-data-server-common evolution-data-server-dbg evolution-data-server-dev evolution-data-server-doc evolution-data-server-online-accounts
:~$ sudo apt install evolution-data-server-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bogofilter bogofilter-bdb bogofilter-common libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcryptui0a libedata-cal-1.2-28 libedataserverui-1.2-1 libpst4 libytnef0 seahorse-daemon signon-plugin-password
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnspr4-dev libnss3-dev
The following packages will be REMOVED:
evolution-data-server evolution-data-server-online-accounts
The following NEW packages will be installed:
evolution-data-server-dev libnspr4-dev libnss3-dev
0 upgraded, 3 newly installed, 2 to remove and 46 not upgraded.
24 not fully installed or removed.
Need to get 556 kB of archives.
After this operation, 676 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4-dev amd64 2:4.13.1-0ubuntu0.16.04.1 [213 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-dev amd64 2:3.28.4-0ubuntu0.16.04.3 [230 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 evolution-data-server-dev amd64 3.18.5-1ubuntu1.1 [113 kB]
Fetched 556 kB in 0s (2,764 kB/s)
(Reading database ... 281041 files and directories currently installed.)
Removing evolution-data-server (3.18.5-1ubuntu1) ...
dpkg: error processing package evolution-data-server (--remove):
cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
Removing evolution-data-server-online-accounts (3.18.5-1ubuntu1.1) ...
dpkg: error processing package evolution-data-server-online-accounts (--remove):
cannot remove '/usr/lib/evolution-data-server/credential-modules': Permission denied
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
evolution-data-server
evolution-data-server-online-accounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt install evolution
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
evolution-data-server evolution-plugins libevolution
Suggested packages:
evolution-ews evolution-plugins-experimental evolution-data-server-dbg
The following NEW packages will be installed:
evolution evolution-plugins libevolution
The following packages will be upgraded:
evolution-data-server
1 upgraded, 3 newly installed, 0 to remove and 46 not upgraded.
24 not fully installed or removed.
Need to get 0 B/2,958 kB of archives.
After this operation, 9,530 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package evolution-data-server.
(Reading database ... 281043 files and directories currently installed.)
Preparing to unpack .../evolution-data-server_3.18.5-1ubuntu1.1_amd64.deb ...
Unpacking evolution-data-server (3.18.5-1ubuntu1.1) over (3.18.5-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/evolution-data-server_3.18.5-1ubuntu1.1_amd64.deb (--unpack):
unable to create '/usr/lib/evolution/evolution-user-prompter.dpkg-new' (while processing './usr/lib/evolution/evolution-user-prompter'): Permission denied
Preparing to unpack .../libevolution_3.18.5.2-0ubuntu3.2_amd64.deb ...
Unpacking libevolution (3.18.5.2-0ubuntu3.2) ...
dpkg: error processing archive /var/cache/apt/archives/libevolution_3.18.5.2-0ubuntu3.2_amd64.deb (--unpack):
unable to create '/usr/lib/evolution/evolution-backup.dpkg-new' (while processing './usr/lib/evolution/evolution-backup'): Permission denied
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../evolution_3.18.5.2-0ubuntu3.2_amd64.deb ...
Unpacking evolution (3.18.5.2-0ubuntu3.2) ...
dpkg: error processing archive /var/cache/apt/archives/evolution_3.18.5.2-0ubuntu3.2_amd64.deb (--unpack):
error creating directory './usr/lib/evolution/plugins': Permission denied
Preparing to unpack .../evolution-plugins_3.18.5.2-0ubuntu3.2_amd64.deb ...
Unpacking evolution-plugins (3.18.5.2-0ubuntu3.2) ...
dpkg: error processing archive /var/cache/apt/archives/evolution-plugins_3.18.5.2-0ubuntu3.2_amd64.deb (--unpack):
error creating directory './usr/lib/evolution/plugins': Permission denied
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/evolution-data-server_3.18.5-1ubuntu1.1_amd64.deb
/var/cache/apt/archives/libevolution_3.18.5.2-0ubuntu3.2_amd64.deb
/var/cache/apt/archives/evolution_3.18.5.2-0ubuntu3.2_amd64.deb
/var/cache/apt/archives/evolution-plugins_3.18.5.2-0ubuntu3.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So if someone could, please help me figure out how I may get rid of Evolution, evolution data server, camel, and all the rest so I can use apt again?