Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Exim4 problem cant install mailserver

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Exim4 problem cant install mailserver

#1 Post by zoxovsky »

hello

I cant install exim4 on Debian 8 Jessie it gives me this errors :

Code: Select all

root@nsxxxxxx:~# apt-get install exim4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package exim4 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 'exim4' has no installation candidate
I have ovh repository (SYS dedicated server)

Can any1 help me? :(

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#2 Post by zoxovsky »

Any1? pls

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Exim4 problem cant install mailserver

#3 Post by GarryRicketson »

Look at what the error message says:
This may mean that the package is missing, has been obsoleted, or
is only available from another source
The package is not available from the source you are using.

Please, give us some more information,. for example:
what your /etc/apt/sources.list file has in it.


exim4 on Debian 8 Jessie

https://wiki.debian.org/Exim
Installation
Exim generally comes with default Debian installation. If you need to use ACL and other features you may need to install exim4-daemon-heavy
So some details on how you installed Debian ? It should have been included,
unless it was a very minimal install,..I can not guess at that, please give details.

There is more details here:
https://packages.debian.org/jessie/exim4

I know, somebody will probably jump in , and tell me I should not try to answer
this , because I can't,...the main reason is because the OP does not include enough
details, but since no one else seems to be willing to try to help , I figure at least
it may help them to know more details are needed.
Or a little search "foo", on how to install packages on Debian, etc. and the OP might be able to figure it out on their own.
I apologize, for not knowing the exact answer, and for what probably is just another use less post on my part.
If any body else has a better answer, I am sure the OP will appreciate it.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Exim4 problem cant install mailserver

#4 Post by GarryRicketson »

That is what the wiki says, and also on my systems it was installed be default.
I would try using a different source, like the error message says.

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#5 Post by zoxovsky »

The problem is i purge this package and cant install it back =/

Code: Select all

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
 
# jessie-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian/ jessie-updates main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-updates main
 
# jessie-backports, previously on backports.debian.org
deb http://debian.mirrors.ovh.net/debian/ jessie-backports main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-backports main
 
deb http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free
deb-src http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free

#jessie repository
deb http://ftp.de.debian.org/debian jessie main 

User avatar
Zill
Posts: 19
Joined: 2011-03-25 16:16
Location: Lincolnshire, UK

Re: Exim4 problem cant install mailserver

#6 Post by Zill »

zoxovsky: It could just be that your chosen mirror was down when you ran the install command. I suggest you post the output of the following two commands:

Code: Select all

sudo apt-get update
sudo apt-get -s upgrade
Note that the "-s" in the last command is a simulation just to show what can be upgraded. Unless you have a reason not to upgrade one or more packages then it is generally best to keep a Debian stable system fully upgraded.

If the above shows the "four zeros", indicating that your system is up to date, then I suggest you post the output of the following two commands:

Code: Select all

sudo apt-get install exim4
apt-cache policy exim4

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#7 Post by zoxovsky »

Zill wrote:zoxovsky: It could just be that your chosen mirror was down when you ran the install command. I suggest you post the output of the following two commands:

Code: Select all

sudo apt-get update
sudo apt-get -s upgrade
Note that the "-s" in the last command is a simulation just to show what can be upgraded. Unless you have a reason not to upgrade one or more packages then it is generally best to keep a Debian stable system fully upgraded.

If the above shows the "four zeros", indicating that your system is up to date, then I suggest you post the output of the following two commands:

Code: Select all

sudo apt-get install exim4
apt-cache policy exim4
srsly this cant help me =/

Code: Select all

# sudo apt-get -s upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

sudo apt-get install exim4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package exim4 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 'exim4' has no installation candidate

Code: Select all

# apt-cache policy exim4
exim4:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.84.2-2+deb8u3 0
        100 /var/lib/dpkg/status
Im srsly done with it.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Exim4 problem cant install mailserver

#8 Post by GarryRicketson »

Postby Zill » 2017-03-07 13:33
zoxovsky: It could just be that your chosen mirror was down when you ran the install

Either try using some different sources,...or wait, I just noticed this:
http://debian.mirrors.ovh.net/debian/
[DIR] Parent Directory -
[ ] Archive-Update-in-Progress-debian.mirrors.ovh.net 07-Mar-2017 20:04 6
[ ] README
It appears there is a archives update , in progress,..when that is done it may work better.

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#9 Post by zoxovsky »

GarryRicketson wrote:
Postby Zill » 2017-03-07 13:33
zoxovsky: It could just be that your chosen mirror was down when you ran the install

Either try using some different sources,...or wait, I just noticed this:
http://debian.mirrors.ovh.net/debian/
[DIR] Parent Directory -
[ ] Archive-Update-in-Progress-debian.mirrors.ovh.net 07-Mar-2017 20:04 6
[ ] README
It appears there is a archives update , in progress,..when that is done it may work better.
So what i should change in my source.list? Can you paste ready to write? :D

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Exim4 problem cant install mailserver

#10 Post by GarryRicketson »

https://wiki.debian.org/SourcesList
Example sources.list

Below is an example of a sources.list for Debian 8/Jessie.

Code: Select all

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main 
Note , it is intended as a example, but you should be ok with it..it would be best to read the page
on the wiki, for more details.
I am assuming you know how to edit the /etc/apt/sources.list

===== just in case=====
You can use this: # in front of the sources you have, the # sign will comment them out,...that way, later if you want to use them, just remove the #.
You need to use 'su' or 'sudo' to edit, any editor is ok, but nano, or vi are preferred.
===== edit====
There also a list of many others, here :
https://www.debian.org/mirror/list
Last edited by GarryRicketson on 2017-03-07 20:32, edited 1 time in total.

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#11 Post by zoxovsky »

GarryRicketson wrote:https://wiki.debian.org/SourcesList
Example sources.list

Below is an example of a sources.list for Debian 8/Jessie.

Code: Select all

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main 
Note , it is intended as a example, but you should be ok with it..it would be best to read the page
on the wiki, for more details.
I am assuming you know how to edit the /etc/apt/sources.list
Holy **** the same errors, im just crying there. :cry:

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#12 Post by zoxovsky »

No way haha my file sources.list was "sources.list~" Cant believe that!!!!!!! HAHA :D

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Exim4 problem cant install mailserver

#13 Post by GarryRicketson »

Ooops :D
No way haha my file sources.list was "sources.list~"

zoxovsky
Posts: 19
Joined: 2017-02-27 20:42

Re: Exim4 problem cant install mailserver

#14 Post by zoxovsky »

SO better keep sources from debian than OVH?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Exim4 problem cant install mailserver

#15 Post by GarryRicketson »

I think with OVH it is just temporary, it is listed as valid sources/mirrors, for Debian.
I use the 'redirect" ones mostly , myself .

taised
Posts: 1
Joined: 2019-03-13 20:56

Re: Exim4 problem cant install mailserver

#16 Post by taised »

Zill wrote:zoxovsky: It could just be that your chosen mirror was down when you ran the install command. I suggest you post the output of the following two commands:

Code: Select all

sudo apt-get update
sudo apt-get -s upgrade
Note that the "-s" in the last command is a simulation just to show what can be upgraded. Unless you have a reason not to upgrade one or more packages then it is generally best to keep a Debian stable system fully upgraded.

If the above shows the "four zeros", indicating that your system is up to date, then I suggest you post the output of the following two commands:

Code: Select all

sudo apt-get install exim4
apt-cache policy exim4
Sorry to bother but i have exact same problem, but not able to solve it:

Code: Select all

# sudo apt-get -s upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

# sudo apt-get install exim4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package exim4 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 'exim4' has no installation candidate
My version table is empty

Code: Select all

~# apt-cache policy exim4
exim4:
  Installed: (none)
  Candidate: (none)
  Version table:
i've tried to edit the sources.list file adding some of those found here and elsewhere but no success. Any other idea? Thanks in advance for help

Edit: i'm using Debian 8

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Exim4 problem cant install mailserver

#17 Post by Head_on_a_Stick »

taised wrote:i've tried to edit the sources.list file adding some of those found here and elsewhere
That sounds ominous...

Please post the output of

Code: Select all

apt policy
grep -v '^#\|^$' /etc/apt/sources.list{,.d/*}
deadbang

Post Reply