From: David Tarrant <davetaz AT ecs.soton.ac.uk>
Date: Fri, 12 Mar 2010 12:37:01 +0000
| Threading: | ↑ [EP-tech] ubuntu setup from kminov AT gmail.com • This Message |
This is my error, for which I apologise, to resolve:
edit
/var/lib/dpkg/info/eprints.postrm
and ensure the case "$1" in part reads as follows,
case "$1" in
purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
rm -f /etc/apache2/sites-enabled/eprints3
update-rc.d -f epindexer remove
rm -f /etc/init.d/epindexer
deluser eprints
if [ `grep "eprints" /etc/group` ]; then
delgroup eprints
fi
apache2ctl restart
;;
Then re-run the command and it should work without damaging your package ↵
manager.
Apologies, but this should be fixed in new versions.
Dave T
On 12 Mar 2010, at 11:39, Konstantin Minov wrote:
> i get this weird error on the latest ubuntu server
>
>
> apt-get install eprints
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer ↵
required:
> libconvert-binhex-perl linux-headers-2.6.31-14-generic-pae ↵
libxml-rss-perl libglib-perl libsoap-lite-perl linux-headers-2.6.31-14 ↵
traceroute libnet-xmpp-perl
> libjs-scriptaculous libclass-container-perl libconvert-asn1-perl ↵
libcrypt-ssleay-perl libdatetime-locale-perl liblog-log4perl-perl ↵
libipc-sharelite-perl libnet-arp-perl
> libsys-cpu-perl libnet-ssleay-perl libparams-validate-perl rrdtool clamav ↵
libsys-cpuload-perl slapd clamav-freshclam libintl-perl ↵
libproc-processtable-perl libreadonly-xs-perl
> libdbd-pg-perl libmail-rfc822-address-perl libcache-cache-perl ↵
libexception-class-perl gconf2 libfile-copy-recursive-perl librrd4 libslp1 ↵
liberror-perl clamav-base
> libproc-process-perl postgresql-client-8.4 libclamav6 libossp-uuid-perl ↵
libapache-singleton-perl libfilesys-df-perl libmime-tools-perl libebox ↵
libnet-ldap-perl ddclient
> libcrypt-smbhash-perl wwwconfig-common unixodbc libossp-uuid15 ↵
libgconf2-4 liblog-dispatch-perl libnet-jabber-perl libreadonly-perl ↵
libhtml-mason-perl libdigest-md4-perl
> odbcinst1debian1 libio-stringy-perl libdevel-stacktrace-perl ↵
libipc-shareable-perl libfile-tail-perl libcrypt-rijndael-perl clamav-daemon ↵
libnet-pcap-perl libnet-ip-perl
> libdatetime-perl libauthen-sasl-perl vlan libidl0 postgresql ↵
libgd-gd2-perl libfile-mmagic-perl libxml-stream-perl dansguardian libjson-perl ↵
libchart-perl libfile-slurp-perl
> gconf2-common libdatetime-format-w3cdtf-perl ldap-utils libfcgi-perl ↵
postgresql-client-common libperl6-junction-perl liborbit2 libjson-xs-perl ↵
librrds-perl libclone-perl
> javascript-common libpq5 libtommath0 libgnome2-gconf-perl ↵
libclass-data-inheritable-perl libdatetime-format-mail-perl libjs-prototype ↵
libio-socket-ssl-perl dbus-x11
> libdatetime-timezone-perl libreadline5 liblist-moreutils-perl ↵
postgresql-common jnettop postgresql-8.4 libclass-singleton-perl ↵
libdigest-sha1-perl libyaml-tiny-perl
> libnet-libidn-perl
> Use 'apt-get autoremove' to remove them.
> The following NEW packages will be installed:
> eprints
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/2,113kB of archives.
> After this operation, 10.8MB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
> eprints
> Install these packages without verification [y/N]? y
> (Reading database ... 92115 files and directories currently installed.)
> Unpacking eprints (from .../archives/eprints_3.2.0_all.deb) ...
> dpkg: error processing /var/cache/apt/archives/eprints_3.2.0_all.deb ↵
(--unpack):
> subprocess new pre-installation script returned error exit status 1
> Removing any system startup links for /etc/init.d/epindexer ...
> Removing user `eprints' ...
> Warning: group `eprints' has no more members.
> Done.
> Errors were encountered while processing:
> /var/cache/apt/archives/eprints_3.2.0_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/