Hello, I am installing Koha on Ubuntu 18.04 LTS Bionic Beaver (Fresh Installation). However, I have experienced the following error when I run "sudo apt-get install koha-common" The following packages have unmet dependencies: koha-common : Depends: libmarc-charset-perl but it is not installable Depends: libmarc-xml-perl but it is not installable E: Unable to correct problems, you have held broken packages. Workaround: sudo apt-get install libmarc-record-perl sudo apt-get install libxml-sax-perl wget http://ftp.br.debian.org/debian/pool/main/libm/libmarc-charset-perl/libmarc-charset-perl_1.35-2_amd64.deb wget http://ftp.br.debian.org/debian/pool/main/libm/libmarc-xml-perl/libmarc-xml-perl_1.0.3-1_all.deb sudo dpkg -i libmarc-charset-perl_1.35-2_amd64.deb libmarc-xml-perl_1.0.3-1_all.deb sudo apt-get install koha-common
The files are missing in Ubuntu 18.04, but they are in the Koha community repository and should be pulled automatically during installation. Could you please give the output of apt-cache policy libmarc-charset-perl and apt-cache policy libmarc-xml-perl
Which version of Koha are you trying to install?
I tried to install koha-common:all/stable 17.11.05-1
This is not a bug then but user error. Right now - Koha stable is 18.05.00 - Koha oldstable is 17.11.06 You have likely not done apt-get update before trying to upgrade. Your package sources are out of date. If you update the source list and apt config contains stable, you will get 18.05.00. If you wish to stay on 17.11 branch, check your apt configuration to use 'oldstable' or '17.11'. Closing this as it is not a bug.
It's still valid. Selecting 'stable' or '19.11' those packages are not found. Using oldstable yes.
(In reply to Bernardo Gonzalez Kriegel from comment #5) > It's still valid. > > Selecting 'stable' or '19.11' those packages are not found. > Using oldstable yes.
> > Selecting 'stable' or '19.11' those packages are not found. > > Using oldstable yes. My workaround was to configure 'olstable' first and install, then configure 'stable' or '19.11' and upgrade. I suppose those files are missing on the new 'stable' repo.
Any chance you might be able to take a look at this one Mason.. I'm still struggling to get hold of Mirko at the moment.. hope he's OK.
As of 12/13/2019, this bug (20808) is keeping me from completing a new installation of "stable" on Ubuntu 18.04 LTS (Bionic Beaver). I am new to installing Koha; is the best solution to modify the source to an older version, then get *just* the missing dependencies, and then re-modify the source back to "stable"? What file and location contains the source info?
For the record, changing the source does allow updating and installing the missing files, but the installation of "stable" will still not proceed. I have installed oldstable successfully and will try to update that, as suggested above.
On a clean (vagrant) Ubuntu 18.04 I did (as root) wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - echo deb http://debian.koha-community.org/koha oldstable main | sudo tee /etc/apt/sources.list.d/koha.list apt update apt install koha-deps koha-perldeps echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list apt update apt install koha koha-deps koha-perldeps and finished with (dpkg -l | egrep koha) ii koha 19.11.00-1 all integrated (physical) library management system ii koha-common 19.11.00-1 all integrated (physical) library management system ii koha-deps 19.11.00-1 all Other dep. for koha ii koha-perldeps 19.11.00-1 all Perl dep. for koha Searching for missing modules gives PERL5LIB=/usr/share/koha/lib perl koha_perl_deps.pl -m -u Installed Required Module is Module Name Version Version Required -------------------------------------------------------------------------------------------- HTTPD::Bench::ApacheBench 0 * 0.73 No Net::OAuth2::AuthorizationServer 0 * 0.16 No Selenium::Remote::Driver 0 * 1.27 No Test::DBIx::Class 0 * 0.42 No Text::CSV::Unicode 0 * 0.40 No -------------------------------------------------------------------------------------------- Total modules reported: 5 * Module is missing or requires an upgrade So seems to be Ok
(In reply to Paul from comment #0) > Hello, > > I am installing Koha on Ubuntu 18.04 LTS Bionic Beaver (Fresh Installation). > However, I have experienced the following error when I run "sudo apt-get > install koha-common" > > The following packages have unmet dependencies: > koha-common : Depends: libmarc-charset-perl but it is not installable > Depends: libmarc-xml-perl but it is not installable > E: Unable to correct problems, you have held broken packages. > hi folks i've fixed this issue on the new 19.11 branch run 'sudo apt update' to pull the new changes some further info from a fresh Ubuntu 18.04.3 system below... --------------------------- # cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS" # cat /etc/apt/sources.list.d/koha.list deb http://debian.koha-community.org/koha stable main # apt-cache policy koha-common koha-common: Installed: (none) Candidate: 19.11.00-1 Version table: *** 19.11.00-1 500 500 http://debian.koha-community.org/koha stable/main amd64 Packages 100 /var/lib/dpkg/status # apt-cache policy libmarc-charset-perl libmarc-charset-perl: Installed: (none) Candidate: 1.35-2~koha+1 Version table: 1.35-2~koha+1 500 500 http://debian.koha-community.org/koha stable/main amd64 Packages # apt-cache policy libmarc-xml-perl libmarc-xml-perl: Installed: (none) Candidate: 1.0.3-1~koha+1 Version table: 1.0.3-1~koha+1 500 500 http://debian.koha-community.org/koha stable/main amd64 Packages