LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-02-2014, 04:08 PM   #1
MartyJay
Member
 
Registered: Oct 2005
Location: Newmarket, On
Distribution: Debian Squeeze
Posts: 55

Rep: Reputation: 15
cannot install package because it is not installed?


Debian Wheezy

I am at a loss here, I tried everything I could think off, but nothing solved my problem so far.

What happened is that I somehow screwed up my installation of Koha (it used to run fine), so I decided to remove it and start from scratch. When trying to run the Koha Makefile.PL it told me it needed a specific version of Net-Z3950-ZOOM-1.16 (the installed version is newer) So I tried the manual way. Then it says it wants libyaz-dev.

Now it gets funny.

marty@debian:~$ sudo aptitude install libyaz5-dev
[sudo] password for marty:
The following NEW packages will be installed:
libicu-dev{a} libyaz5{ab} libyaz5-dev
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,184 kB of archives. After unpacking 37.7 MB will be used.
The following packages have unmet dependencies:
libyaz5 : Depends: libicu44 (>= 4.4.1-1) but it is not installable.
Depends: libmemcached5 (>= 0.33) which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) libyaz5 [Not Installed]
2) libyaz5-dev [Not Installed]



Accept this solution? [Y/n/q/?] .

*** No more solutions available ***

It is asking me to keep the packages that I want to install that are not installed??? I tried it all different ways, and it keeps telling me I held broken packages. I am out of ideas.

I have tried;
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get -f install
sudo apt-get -u dist-upgrade
sudo apt-get -o Debug:kgProblemResolver=yes dist-upgrade

and some aptitude things, but have found no solution
 
Old 03-02-2014, 04:46 PM   #2
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
So you've tried apt-get everything except apt-get install libyaz5-dev?
 
Old 03-02-2014, 06:54 PM   #3
MartyJay
Member
 
Registered: Oct 2005
Location: Newmarket, On
Distribution: Debian Squeeze
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by replica9000 View Post
So you've tried apt-get everything except apt-get install libyaz5-dev?
Yes, I have tried that first, but it tells me I have held broken packages, which is probably true, but I do not seem to be able to correct the problem

Last edited by MartyJay; 03-02-2014 at 07:05 PM.
 
Old 03-02-2014, 07:09 PM   #4
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I would find out why libicu44 isn't installable. Is it not available? Or does it not have dependencies that can't be met. Is your /etc/apt/sources.list still using Squeeze (old stable), as that was the last release that included that package.

Code:
apt-get update
apt-get install libicu44
 
Old 03-02-2014, 07:18 PM   #5
MartyJay
Member
 
Registered: Oct 2005
Location: Newmarket, On
Distribution: Debian Squeeze
Posts: 55

Original Poster
Rep: Reputation: 15
I think what happened was that the original installation of koha was done on Debian Squeeze, I later upgraded to Wheezy, and so there might have been some things left from Squeeze maybe?

marty@debian:~$ sudo apt-get install libicu44
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu44 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu44' has no installation candidate
 
Old 03-02-2014, 07:31 PM   #6
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
You could either go here, manually download the file, and use dpkg -i to install it (assuming that you have the dependencies already installed). Or add the Squeeze repository back to your sources.list, so libicu44 will be available to apt-get (or aptitude).

Remember you can always "apt-get -s install <name of package>" to see what would happen before actually doing it.
 
Old 03-02-2014, 08:21 PM   #7
MartyJay
Member
 
Registered: Oct 2005
Location: Newmarket, On
Distribution: Debian Squeeze
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks, I added Squeeze repositories back to sources.list, and that seems to have helped, at least it is installing packages now.
Thank you very much, it seems rather simple in retrospect, but I was not thinking about that.
 
Old 03-03-2014, 02:26 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
https://packages.debian.org/wheezy/libicu48
https://packages.debian.org/wheezy/libyaz4-dev
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiled and installed gpg, how to tar or package it and install on another Liuuxbox? 2007fld Linux - Software 1 11-23-2010 02:30 PM
How can I install a rpm package and get the dependencies installed automatically? sceadu Fedora 10 01-06-2006 04:10 PM
How to uninstall package installed with make install dhirsolo Linux - Software 3 07-29-2005 02:11 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
How to install sharutils package after the linux has been installed pwangee Linux - Hardware 2 03-26-2004 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration