Koha installation Problem
Dear All, Greetings from Mohammad Joynal Abdin Today I want to share with you all one thing that, Yesterday I tried to setup koha on Debian 6.0.1. But when I enter the command apt-get install koha it returns error like below. I added the line deb http://debian.koha-community.org/koha squeeze main in the /etc/apt/sources.list. It can be mentioned that apt-get update command executed successfully and it reports that Reading package lists...... Done. What's wrong? How can I proceed? Please suggest me. ERROR root@koha:/home/koha# apt-get install koha Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: koha : Depends: koha-common but it is not going to be installed Depends: dbconfig-common but it is not installable Depends: mysql-server but it is not installable E: Broken packages Thanking you in advance -- *With Warm Regards* Mohammad Joynal Abdin MA in ISLM, DU MCSA, MCSE Assistant Library Officer Daffodil International University Cell: 01811458896 Ext. 152
Greetings, [snipped and edited a bit]
But when I enter the command "apt-get install koha"
Actually it is "sudo apt-get install koha-common". [snipped and edited a bit]
I added the line "deb http://debian.koha-community.org/koha squeeze main" in the /etc/apt/sources.list [file].
First, it is a bad idea to touch the default repository file! You likely messed up your repositories. The instructions you should follow are found at http://wiki.koha-community.org/wiki/Koha_3.8_on_Debian_Squeeze Those instructions say it is supposed to be "/etc/apt/sources.list.d/koha.list" that is affected. The command you should use to set up for 3.8.x in a fresh Debian (or Ubuntu -- for those lurking in the background) install is: $ echo "deb http://debian.koha-community.org/koha squeeze main" | sudo tee /etc/apt/sources.list.d/koha.list Okay, but did you do the following as well? $ wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - --- BEGIN EXAMPLE GIVEN --- ERROR root@koha:/home/koha# apt-get install koha Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: koha : Depends: koha-common but it is not going to be installed Depends: dbconfig-common but it is not installable Depends: mysql-server but it is not installable E: Broken packages --- END EXAMPLE GIVEN --- Those dependencies are in the default repositories. You likely messed yours up or the server from which you would normally pull the updates is not reachable. To check which is true attempt the following command: $ sudo apt-get update If it has a whole bunch of error messages, then it is unreachable. If the list is very short (only the debian.koha-community.org repository), then you messed up your repositories. If it is some other case, you will need to post the output for someone else to be able to help you. My gut feeling is you messed yours up. Given that I don't have Debian, I can not provide you with a clean copy. Though, you may wish to re-install Debian OR visit http://debgen.simplylinux.ch/ *IF* you did mess it up. Reinstallation is my preference and recommendation, if there are no other systems affected. Hope this helps somehow. #include <stddisclaimer.h> GPML, Mark Tompsett
Greetings, [snipped and edited a bit]
But when I enter the command "apt-get install koha"
Actually it is "sudo apt-get install koha-common". [snipped and edited a bit]
I added the line "deb http://debian.koha-community.org/koha squeeze main" in the /etc/apt/sources.list [file].
First, it is a bad idea to touch the default repository file! You likely messed up your repositories. The instructions you should follow are found at http://wiki.koha-community.org/wiki/Koha_3.8_on_Debian_Squeeze Those instructions say it is supposed to be "/etc/apt/sources.list.d/koha.list" that is affected. The command you should use to set up for 3.8.x in a fresh Debian (or Ubuntu -- for those lurking in the background) install is: $ echo "deb http://debian.koha-community.org/koha squeeze main" | sudo tee /etc/apt/sources.list.d/koha.list Okay, but did you do the following as well? $ wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - --- BEGIN EXAMPLE GIVEN --- ERROR root@koha:/home/koha# apt-get install koha Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: koha : Depends: koha-common but it is not going to be installed Depends: dbconfig-common but it is not installable Depends: mysql-server but it is not installable E: Broken packages --- END EXAMPLE GIVEN --- Those dependencies are in the default repositories. You likely messed yours up or the server from which you would normally pull the updates is not reachable. To check which is true attempt the following command: $ sudo apt-get update If it has a whole bunch of error messages, then it is unreachable. If the list is very short (only the debian.koha-community.org repository), then you messed up your repositories. If it is some other case, you will need to post the output for someone else to be able to help you. My gut feeling is you messed yours up. Given that I don't have Debian, I can not provide you with a clean copy. Though, you may wish to re-install Debian OR visit http://debgen.simplylinux.ch/ *IF* you did mess it up. Reinstallation is my preference and recommendation, if there are no other systems affected. Hope this helps somehow. #include <stddisclaimer.h> GPML, Mark Tompsett
participants (2)
-
Mark Tompsett -
Mohammad Joynal Abdin