Author Topic: What does apt mean by "is not installable"?  (Read 3015 times)

Offline Kaboosh

  • Jr. Member
  • **
  • Posts: 29
What does apt mean by "is not installable"?
« on: February 10, 2011, 07:51:38 AM »
I've recently put together an RPM to install libreoffice using synaptic.  I put the package (task-libreoffice) into a repository with all it's dependencies but I get a very weird error (below):
Code: [Select]
[root@localhost ~]# apt-get install task-libreoffice
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or that some of the repositories
in use are in an inconsistent state at the moment.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  task-libreoffice: Depends: libobasis3.3-base-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-binfilter-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-calc-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core01-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core02-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core03-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core04-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core05-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core06-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-core07-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-draw-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-base-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-binfilter-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-calc-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-help-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-math-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-res-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-en-US-writer-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-extension-mediawiki-publisher-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-extension-nlpsolver-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-extension-pdf-import-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-extension-presentation-minimizer-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-extension-presenter-screen-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-extension-report-builder-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-gnome-integration-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-graphicfilter-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-images-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-impress-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-javafilter-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-kde-integration-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-math-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-ogltrans-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-ooofonts-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-ooolinguistic-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-pyuno-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-testtool-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-writer-3.3.0-6.i586.rpm but it is not installable
                    Depends: libobasis3.3-xsltfilter-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3.3-mandriva-menus-3.3-6.noarch.rpm but it is not installable
                    Depends: libreoffice3-base-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-calc-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-dict-en-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-dict-es-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-dict-fr-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-draw-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-en-US-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-impress-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-math-3.3.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-ure-1.7.0-6.i586.rpm but it is not installable
                    Depends: libreoffice3-writer-3.3.0-6.i586.rpm but it is not installable
E: Broken packages

It would be nice if apt could tell me why these packages are not installable because as it stands now google and I are at a loss.  My specfile is below:
Code: [Select]
[kaboosh@localhost SPECS]$ cat Task-LibreOffice.spec
%define release %mkrel 1
%define version 1.0
%define name    task-libreoffice

Summary:        Install all LibreOffice packages
Name:           %{name}
Version:        %{version}
Release:        %{release}
Group:          Tasks
URL:            http://www.pclinuxos.com
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch
Requires:       libobasis3.3-base-3.3.0-6.i586.rpm, libobasis3.3-binfilter-3.3.0-6.i586.rpm, libobasis3.3-calc-3.3.0-6.i586.rpm, libobasis3.3-core01-3.3.0-6.i586.rpm, libobasis3.3-core02-3.3.0-6.i586.rpm, libobasis3.3-core03-3.3.0-6.i586.rpm, libobasis3.3-core04-3.3.0-6.i586.rpm, libobasis3.3-core05-3.3.0-6.i586.rpm, libobasis3.3-core06-3.3.0-6.i586.rpm, libobasis3.3-core07-3.3.0-6.i586.rpm, libobasis3.3-draw-3.3.0-6.i586.rpm, libobasis3.3-en-US-3.3.0-6.i586.rpm, libobasis3.3-en-US-base-3.3.0-6.i586.rpm, libobasis3.3-en-US-binfilter-3.3.0-6.i586.rpm, libobasis3.3-en-US-calc-3.3.0-6.i586.rpm, libobasis3.3-en-US-help-3.3.0-6.i586.rpm, libobasis3.3-en-US-math-3.3.0-6.i586.rpm, libobasis3.3-en-US-res-3.3.0-6.i586.rpm, libobasis3.3-en-US-writer-3.3.0-6.i586.rpm, libobasis3.3-extension-mediawiki-publisher-3.3.0-6.i586.rpm, libobasis3.3-extension-nlpsolver-3.3.0-6.i586.rpm, libobasis3.3-extension-pdf-import-3.3.0-6.i586.rpm, libobasis3.3-extension-presentation-minimizer-3.3.0-6.i586.rpm, libobasis3.3-extension-presenter-screen-3.3.0-6.i586.rpm, libobasis3.3-extension-report-builder-3.3.0-6.i586.rpm, libobasis3.3-gnome-integration-3.3.0-6.i586.rpm, libobasis3.3-graphicfilter-3.3.0-6.i586.rpm, libobasis3.3-images-3.3.0-6.i586.rpm, libobasis3.3-impress-3.3.0-6.i586.rpm, libobasis3.3-javafilter-3.3.0-6.i586.rpm, libobasis3.3-kde-integration-3.3.0-6.i586.rpm, libobasis3.3-math-3.3.0-6.i586.rpm, libobasis3.3-ogltrans-3.3.0-6.i586.rpm, libobasis3.3-ooofonts-3.3.0-6.i586.rpm, libobasis3.3-ooolinguistic-3.3.0-6.i586.rpm, libobasis3.3-pyuno-3.3.0-6.i586.rpm, libobasis3.3-testtool-3.3.0-6.i586.rpm, libobasis3.3-writer-3.3.0-6.i586.rpm, libobasis3.3-xsltfilter-3.3.0-6.i586.rpm, libreoffice3-3.3.0-6.i586.rpm, libreoffice3.3-mandriva-menus-3.3-6.noarch.rpm, libreoffice3-base-3.3.0-6.i586.rpm, libreoffice3-calc-3.3.0-6.i586.rpm, libreoffice3-dict-en-3.3.0-6.i586.rpm, libreoffice3-dict-es-3.3.0-6.i586.rpm, libreoffice3-dict-fr-3.3.0-6.i586.rpm, libreoffice3-draw-3.3.0-6.i586.rpm, libreoffice3-en-US-3.3.0-6.i586.rpm, libreoffice3-impress-3.3.0-6.i586.rpm, libreoffice3-math-3.3.0-6.i586.rpm, libreoffice3-ure-1.7.0-6.i586.rpm, libreoffice3-writer-3.3.0-6.i586.rpm


%description
This package will install LibreOffice including
support packages.


%files
%defattr(-,root,root)


%changelog
* Sun Feb 02 2011 kaboosh 1.0-1pclos2010
- initial package

What's even more odd is that installing the libreoffice packages directly works...so clearly they're "installable" but some ridiculous apt semantic is getting in the way:
Code: [Select]
[root@localhost ~]# apt-get install libreoffice3-writer
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libobasis3.3-core01 libobasis3.3-core02 libobasis3.3-core03 libobasis3.3-core04 libobasis3.3-core05 libobasis3.3-core06
  libobasis3.3-core07 libobasis3.3-images libobasis3.3-writer libreoffice3 libreoffice3-ure
The following NEW packages will be installed:
  libobasis3.3-core01 libobasis3.3-core02 libobasis3.3-core03 libobasis3.3-core04 libobasis3.3-core05 libobasis3.3-core06
  libobasis3.3-core07 libobasis3.3-images libobasis3.3-writer libreoffice3 libreoffice3-ure libreoffice3-writer
0 upgraded, 12 newly installed, 0 removed and 240 not upgraded.
Need to get 109MB of archives.
After unpacking 256MB of additional disk space will be used.
Do you want to continue? [Y/n]

Have any of the packagers here run into this?  Do you know why this happens?  Even some possibilities would be handy at this point...
« Last Edit: April 16, 2012, 06:46:09 PM by Old-Polack »

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: What does apt mean by "is not installable"?
« Reply #1 on: February 10, 2011, 08:07:58 AM »
Remove the -3.3.0-6.i586.rpm in the Requires

Requires:       libobasis3.3-base, libobasis3.3-binfilter,


Thanks to everyone who donates. You keep the servers running.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: What does apt mean by "is not installable"?
« Reply #2 on: February 10, 2011, 08:44:23 AM »
I've recently put together an RPM to install libreoffice using synaptic.  I put the package (task-libreoffice) into a repository with all it's dependencies but I get a very weird error (below):

We have lomanager already, which does a great job of installing Libre Office. So why this? ???

Offline Kaboosh

  • Jr. Member
  • **
  • Posts: 29
Re: What does apt mean by "is not installable"?
« Reply #3 on: February 10, 2011, 02:26:29 PM »
I've recently put together an RPM to install libreoffice using synaptic.  I put the package (task-libreoffice) into a repository with all it's dependencies but I get a very weird error (below):

We have lomanager already, which does a great job of installing Libre Office. So why this? ???


Lomanager is a workaround, even if it is a rather good one.  I can't imagine that Texstar's end goal is to build a package manager for each piece of software that needs installing.

For me personally I just need to do automated deployments on friend/family machines (i.e. no GUI interaction) so this was the easiest way.

Offline Kaboosh

  • Jr. Member
  • **
  • Posts: 29
Re: What does apt mean by "is not installable"?
« Reply #4 on: February 10, 2011, 02:29:28 PM »
Remove the -3.3.0-6.i586.rpm in the Requires

Requires:       libobasis3.3-base, libobasis3.3-binfilter,



Thank you, Tex.  You sir are a gentleman and a scholar!

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: What does apt mean by "is not installable"?
« Reply #5 on: February 10, 2011, 02:40:42 PM »
lomanager was created as a way to maximize our allotted storage space/bandwidth as we can pull those packages externally instead of hosting them on our own servers.

Thanks to everyone who donates. You keep the servers running.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: What does apt mean by "is not installable"?
« Reply #6 on: February 10, 2011, 02:51:05 PM »
I've recently put together an RPM to install libreoffice using synaptic.  I put the package (task-libreoffice) into a repository with all it's dependencies but I get a very weird error (below):

We have lomanager already, which does a great job of installing Libre Office. So why this? ???

Lomanager is a workaround, even if it is a rather good one. 

You are mistaken. LOManager is not a workaround. It is a well scripted install application.

Quote
I can't imagine that Texstar's end goal is to build a package manager for each piece of software that needs installing.

Our package manager is Synaptic. LOManager, getvirtualbox and addlocale are applications created to perform a specific task. They are not package managers.

Quote
For me personally I just need to do automated deployments on friend/family machines (i.e. no GUI interaction) so this was the easiest way.

I see. You want to use the cli.

Offline Kaboosh

  • Jr. Member
  • **
  • Posts: 29
Re: What does apt mean by "is not installable"?
« Reply #7 on: February 10, 2011, 08:17:27 PM »
xxxxxx Neal - I'm hating myself for taking your bait!

Quote
You are mistaken. LOManager is not a workaround. It is a well scripted install application.

Tex just admitted above that it was created as a workaround for bandwidth shortages.

Quote
Our package manager is Synaptic. LOManager, getvirtualbox and addlocale are applications created to perform a specific task. They are not package managers.

No, they are just well scripted "install applications"...but what is an "install application" if not a euphamism for "package manager limited to managing one specific set of packages".

Quote
I see. You want to use the cli.

Yes.  User interaction with RPMs is strongly discouraged because it makes automated install problematic.  This is referenced by packaging guides and gurus:
http://www.gurulabs.com/downloads/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF  (see page 12-32)
http://www.linux-archive.org/rpm-package-manager/67818-rpm-user-input.html
http://www.oldrpm.org/hintskinks/interactive/

I've noticed that PCLinuxOS mitigates this where necessary by having all dialogs appear near the end of the installation process and not blocking the install process while waiting for input dialogs unless absolutely necessary.  Sadly those guidelines don't apply to Lomanager which caused my initial problem   ;)
« Last Edit: April 16, 2012, 06:45:36 PM by Old-Polack »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: What does apt mean by "is not installable"?
« Reply #8 on: February 11, 2011, 04:11:20 AM »
This is a family forum, Kaboosh.

LOManager is not a package manager for RPMs. It is an app that installs Libre Office. That is why it behaves in a different manner than Synaptic or other package managers for RPM.


Offline Kaboosh

  • Jr. Member
  • **
  • Posts: 29
Re: What does apt mean by "is not installable"?
« Reply #9 on: February 11, 2011, 07:40:09 PM »
Sorry Neal, I had no intention of upsetting the kids.  As for this discussion I think the only ending in sight is for us to agree to disagree, no?

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: What does apt mean by "is not installable"?
« Reply #10 on: February 12, 2011, 02:33:14 PM »
What I do to supply all home-pc's here with e.g. LibreOffice,
is installing once with the 'lomanager' script; keeping the downloaded .rpm - files in /tmp/loffice (or something like that: the script says where it stores this)

Then I copy that directory, (and following the same thing I learned with GetOpenOffice)
and on another machine, I go into the right directory (e.g. "cd /media/usb-device/loffice", and then I run:
Code: [Select]
su -c 'apt-get install *.rpm'=> this works just fine, and the advantage of the lomanager-script, is that I can have my LibreOffice in Dutch with just one click  :)

So....
Hope this helps a bit
« Last Edit: February 15, 2011, 12:59:52 PM by Rubenum Parvus MCMXCI »

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: What does apt mean by "is not installable"?
« Reply #11 on: February 15, 2011, 12:56:55 PM »
Tex just admitted above that it was created as a workaround for bandwidth shortages.

Tex never admitted any such thing.  He said:
lomanager was created as a way to maximize our allotted storage space/bandwidth as we can pull those packages externally instead of hosting them on our own servers.

It maximizes available resources.  It's not a compensation for a lack of them.

... :(
Yes, it's pedantic, but it's true.