[Pkg-owncloud-maintainers] Bug#742174: owncloud: dpkg postinst exits with error code (1)

Link Porterfield debbug+2014 at qpg.us
Thu Mar 20 07:49:05 UTC 2014


Package: owncloud
Version: 6.0.2+dfsg-1
Severity: normal

Dear Maintainer,

I upgraded owncloud with 

apt-get updgrade owncloud
`
E: Sub-process /usr/bin/dpkg returned an error code (1)

/etc/apache2/conf-available/owncloud.conf does not exist on my system. The owncloud config is in virtual host container in /etc/apache2/sites-available.

/var/lib/dpkg/info/owncloud.postinst had references to /etc/apache2/conf-available/ so I copied /etc/apache2/conf-available/owncloud.conf from another host and reran apt-get upgrade.
 
It then completed succesfully, but has the side effect of enabling access to my owncloud installation on every virtual host on my server at the URL format of http://vhost.example.com/owncloud. I worked around this with a2disconf owncloud && service apache2 reload

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages owncloud depends on:
ii  apache2                      2.4.7-1
ii  apache2-bin [httpd]          2.4.7-1
ii  apache2-mpm-prefork [httpd]  2.4.7-1
ii  fonts-font-awesome           4.0.3~dfsg-1
ii  libjs-chosen                 0.9.11-1
ii  libjs-dojo-dojox             1.7.2+dfsg-1
ii  libjs-jcrop                  0.9.12+dfsg-1
ii  libjs-jquery                 1.7.2+dfsg-3
ii  libjs-jquery-minicolors      1.2.1-1
ii  libjs-jquery-mousewheel      9-1
ii  libjs-jquery-timepicker      1.2-1
ii  libjs-pdf                    0.8.37+dfsg-1
ii  libphp-pclzip                2.8.2-2
ii  libphp-phpmailer             5.1-1
ii  mediawiki                    1:1.19.12+dfsg-1
ii  mediawiki-classes            1:1.19.12+dfsg-1
ii  owncloud-doc                 0~20140228-1
ii  php-doctrine-common          2.3.0-1
ii  php-dompdf                   0.6.0~beta3+dfsg0-1
ii  php-getid3                   1.9.7-1
ii  php-patchwork-utf8           1.1.7-1
ii  php-pear                     5.5.9+dfsg-1
ii  php-phpdocx                  3.0+dfsg-1
ii  php-sabre-dav                1.7.6+dfsg-2
ii  php-sabre-vobject            2.0.7-1
ii  php-symfony-console          2.3.1+dfsg-1
ii  php-symfony-routing          2.0.19-1
ii  php-xml-parser               1.3.4-6
ii  php5                         5.5.9+dfsg-1
ii  php5-gd                      5.5.9+dfsg-1
ii  php5-json                    1.3.3-1
ii  php5-mysql                   5.5.9+dfsg-1
ii  php5-sqlite                  5.5.9+dfsg-1
ii  zendframework                1.12.3-1

Versions of packages owncloud recommends:
pn  libav-tools                     <none>
ii  liboauth-php                    0~svn1262-1
pn  libreoffice                     <none>
ii  php-aws-sdk                     2.5.3-1
ii  php-crypt-blowfish              1.1.0~RC2-1
pn  php-dropbox                     <none>
ii  php-google-api-php-client       0.6.2-1
ii  php-irods-prods                 3.3.0~beta1-1
pn  php-opencloud                   <none>
ii  php-seclib                      0.3.6-1
ii  php-services-json               1.0.3-1
ii  php5-apcu                       4.0.3-1
ii  php5-cli                        5.5.9+dfsg-1
ii  php5-curl                       5.5.9+dfsg-1
pn  php5-imagick                    <none>
ii  php5-intl                       5.5.9+dfsg-1
ii  php5-ldap                       5.5.9+dfsg-1
ii  php5-mcrypt                     5.5.9+dfsg-1
ii  postfix [mail-transport-agent]  2.10.2-1
ii  smbclient                       2:4.1.6+dfsg-1

Versions of packages owncloud suggests:
ii  libapache2-mod-xsendfile                 0.12-2
ii  mysql-server                             5.5.35+dfsg-2
ii  mysql-server-5.5 [virtual-mysql-server]  5.5.35+dfsg-2

-- Configuration Files:
/etc/apache2/conf-available/owncloud.conf [Errno 2] No such file or directory: u'/etc/apache2/conf-available/owncloud.conf'
/etc/owncloud/htaccess changed [not included]

-- no debconf information



More information about the Pkg-owncloud-maintainers mailing list