Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: mpnegro on April 04, 2014, 12:52:36 am

Title: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 12:52:36 am
So today i install a 3.2 server and after the updates the Zentyal-printer can't be instaled. Anyone with the same problem?

Message from the server:
Alguns pacotes não puderam ser instalados. Isso pode significar que
você solicitou uma situação impossível ou se você está a usar a
distribuição unstable em que alguns pacotes pedidos ainda não foram
criados ou foram movidos do Incoming.
A seguinte informação pode ajudar a resolver a situação:

Os pacotes a seguir têm dependências não satisfeitas:
zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 11:31:52 am
Hello: Could you paste the result of:

apt-cache policy zentyal-samba
apt-get install -s zentyal-samba

Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 12:32:53 pm
Hello: Could you paste the result of:

apt-cache policy zentyal-samba
apt-get install -s zentyal-samba

Hi Javier,
The info requested
# apt-cache policy zentyal-samba
zentyal-samba:
  Instalado: 3.2.15
  Candidato: 3.2.15
  Tabela de Versão:
 *** 3.2.15 0
        500 http://ppa.launchpad.net/zentyal/3.2/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
     2.3.3 0
        500 http://pt.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

 apt-get install -s zentyal-samba
A ler as listas de pacotes... Pronto
A construir árvore de dependências       
A ler a informação de estado... Pronto
zentyal-samba já está na versão mais recente.
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
  linux-headers-3.8.0-35 libnet-cups-perl linux-headers-3.8.0-35-generic libexporter-cluster-perl
Utilize 'apt-get autoremove' para os remover.
0 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 2 não actualizados.

Regards

Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 12:36:16 pm
Hello again: And what is the output of apt-get -s install zentyal-printers ?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 12:39:21 pm
Hello again: And what is the output of apt-get -s install zentyal-printers ?

Hi again

apt-get -s install zentyal-printers
A ler as listas de pacotes... Pronto
A construir árvore de dependências       
A ler a informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isso pode significar que
você solicitou uma situação impossível ou se você está a usar a
distribuição unstable em que alguns pacotes pedidos ainda não foram
criados ou foram movidos do Incoming.
A seguinte informação pode ajudar a resolver a situação:

Os pacotes a seguir têm dependências não satisfeitas:
 zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
E: Não foi possível corrigir problemas, você tem pacotes mantidos (hold) estragados.

This what it gives me
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 12:54:33 pm
Hello:


And does dpkg -C  show any output?

What's the content of /etc/apt/preferences?
What does apt-cache show zentyal-printers=3.2 shows?
What does apt-get install -s zentyal-printers=3.2 shows?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 01:00:25 pm
Hello:


And does dpkg -C  show any output?

What's the content of /etc/apt/preferences?
What does apt-cache show zentyal-printers=3.2 shows?
What does apt-get install -s zentyal-printers=3.2 shows?
Hi
# apt-cache show zentyal-printers=3.2
Package: zentyal-printers
Priority: optional
Section: web
Installed-Size: 114
Maintainer: Zentyal Packaging Maintainers <pkg-team@zentyal.com>
Architecture: all
Version: 3.2
Depends: zentyal-core (>= 3.2), zentyal-core (<< 3.3), zentyal-samba, cups, libexporter-cluster-perl, libnet-cups-perl, foomatic-db, foomatic-db-engine, foomatic-filters, adduser, hplip
Pre-Depends: mysql-server
Filename: pool/main/z/zentyal-printers/zentyal-printers_3.2_all.deb
Size: 16678
MD5sum: 10513f5b1d131d8dbb24289ee5fe368f
SHA1: e356c7ba79ee83ee178d959801e8606d172e10fe
SHA256: b532d13f3e42a428b603a125cdc3dcf2a362cea9a6fb69d4f06a7b4e6aec8444
Description-en: Zentyal - Printer Sharing Service
 Zentyal is a Linux small business server that can act as
 a Gateway, Unified Threat Manager, Office Server, Infrastructure
 Manager, Unified Communications Server or a combination of them. One
 single, easy-to-use platform to manage all your network services.
 .
 This module adds a printer sharing capabilities using CUPS and Samba.

apt-get install -s zentyal-printers=3.2
A ler as listas de pacotes... Pronto
A construir árvore de dependências       
A ler a informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isso pode significar que
você solicitou uma situação impossível ou se você está a usar a
distribuição unstable em que alguns pacotes pedidos ainda não foram
criados ou foram movidos do Incoming.
A seguinte informação pode ajudar a resolver a situação:

Os pacotes a seguir têm dependências não satisfeitas:
 zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
E: Não foi possível corrigir problemas, você tem pacotes mantidos (hold) estragados.

I don't understand the how to apply the first to requests from you, can you give me the precise command?
Tks in advance
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 01:12:56 pm
dpkg -C. It should print if you have any broken deb package, if it does not, the it should not print anything...
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 01:14:52 pm
dpkg -C. It should print if you have any broken deb package, if it does not, the it should not print anything...
It don't print anithyng
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 01:39:02 pm
Could you please enclose /etc/apt/preferences ?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 01:43:38 pm
Could you please enclose /etc/apt/preferences ?

Like you see preferences don't exist
ls -la
total 56
drwxr-xr-x   6 root root  4096 Abr  3 18:08 .
drwxr-xr-x 118 root root  4096 Abr  3 23:48 ..
drwxr-xr-x   2 root root  4096 Abr  3 17:20 apt.conf.d
drwxr-xr-x   2 root root  4096 Jul 16  2013 preferences.d
-rw-r--r--   1 root root  3984 Abr  3 18:08 sources.list
-rw-r--r--   1 root root     0 Abr  3 08:50 sources.list~
drwxr-xr-x   2 root root  4096 Jul 16  2013 sources.list.d
-rw-------   1 root root  1200 Abr  3 08:50 trustdb.gpg
-rw-r--r--   1 root root 10684 Abr  3 08:50 trusted.gpg
-rw-r--r--   1 root root  9478 Abr  3 08:50 trusted.gpg~
drwxr-xr-x   2 root root  4096 Jul 16  2013 trusted.gpg.d
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 01:46:42 pm
Hello:

Is there any content under preferences.d?

Moreover could you please enclose your sources.list?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 01:51:13 pm
Hello:

Is there any content under preferences.d?

Moreover could you please enclose your sources.list?

hi
preferences.d is empty in apt

/etc/apt/preferences.d# ls -la
total 8
drwxr-xr-x 2 root root 4096 Jul 16  2013 .
drwxr-xr-x 6 root root 4096 Abr  3 18:08 ..

My source list
cat sources.list
#

# deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ precise extras main restricted

#deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ precise extras main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://pt.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pt.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://pt.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise universe
deb http://pt.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://pt.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://pt.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://pt.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://ppa.launchpad.net/zentyal/3.2/ubuntu precise main

deb http://archive.zentyal.org/zentyal 3.2 main extra

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

regards

Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 03:26:43 pm
This is quite strange. WOuld you mind issuing:

apt-get clean
apt-get update
apt-get -s install zentyal-printers


?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 03:35:08 pm
I did that and
 apt-get -s install zentyal-printers
A ler as listas de pacotes... Pronto
A construir árvore de dependências       
A ler a informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isso pode significar que
você solicitou uma situação impossível ou se você está a usar a
distribuição unstable em que alguns pacotes pedidos ainda não foram
criados ou foram movidos do Incoming.
A seguinte informação pode ajudar a resolver a situação:

Os pacotes a seguir têm dependências não satisfeitas:
 zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
E: Não foi possível corrigir problemas, você tem pacotes mantidos (hold) estragados.
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 03:43:32 pm
dpkg --get-selections | grep zentyal-samba
dpkg --get-selections | grep hold

?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 03:53:07 pm
dpkg --get-selections | grep zentyal-samba
dpkg --get-selections | grep hold

?

dpkg --get-selections | grep zentyal-samba
zentyal-samba               install

dpkg --get-selections | grep hold

return nothing
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 03:54:54 pm
Hello mpnegro:

I deffinitely I'm afraid that cannot find an explanation for your issue. Would be a reinstall a trouble for you? I have not been able to reproduce your issue (nor find, with the commands you have issued any reason that might explain this)
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 03:57:34 pm
Hello mpnegro:

I deffinitely I'm afraid that cannot find an explanation for your issue. Would be a reinstall a trouble for you? I have not been able to reproduce your issue (nor find, with the commands you have issued any reason that might explain this)

Javier,
Yes reinstall is a problem.
Another thing i notive is this:
apt-get upgrade
A ler as listas de pacotes... Pronto
A construir árvore de dependências       
A ler a informação de estado... Pronto
Serão actualizados os seguintes pacotes:
  ubuntu-keyring zenbuntu-core
2 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não actualizados.
É necessário obter 24,2 kB de arquivos.
Após esta operação, serão utilizados 4096 B adicionais de espaço em disco.
Deseja continuar [Y/n]?

This don't appear in the webinterface, may this be related?
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 04, 2014, 03:59:43 pm
And for some clarification: before zentyal-printers have ben installed, but with the last update this appedns  (another server with 3.2)

This is a fresh and clean install that I made yesterday, but already are with load
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 04:17:08 pm
Could you please define step by step what you did to try reproducing it once again? Another interesting thing if this has been installed with an already downloaded ISO or with a freshly downloaded one



Best regards
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: jbahillo on April 04, 2014, 07:24:50 pm
Hello :
It seems that lastest zentyal-samba included a dependency conflict requiring a version of zentyal-printers which had not yet been published:


Breaks: zentyal-printers (<< 3.2.1)

We will publish such zentyal-printers version as soon as possible, thanks for noticing it


Best regards
Title: Re: Zentyal-printers : Depende: zentyal-samba mas não vai ser instalado
Post by: mpnegro on April 07, 2014, 09:23:17 pm
Hello :
It seems that lastest zentyal-samba included a dependency conflict requiring a version of zentyal-printers which had not yet been published:


Breaks: zentyal-printers (<< 3.2.1)

We will publish such zentyal-printers version as soon as possible, thanks for noticing it


Best regards

Hi,
Its solved!
Regards