1 (edited by web2works 2010-03-31 01:23:27)

Topic: Dovecot - the following packages cannot be authenticated!

I have been having a few issues recently with installing iRedMail (maybe half of it is from me not reading the guide properly) but I have finally cracked it and thought I would write it here encase it helps anybody else out.

Right from the: Start iRedMail Installation

I found that I needed to install dovecot manually using apt-get when I ran the bash get_all.sh is was complaining that it needed to authenticate to packages which you cant do thought the script.

WARNING: The following packages cannot be authenticated!
  dovecot-common dovecot-imapd dovecot-pop3d

My process of installation was a follows in the order

# cd /path/to/iRedMail-x.y.z/pkgs/
# bash get_all.sh

#apt-get install ca-certificates openssl dovecot-common dovecot-pop3d dovecot-imapd 

#apt-get autoremove

#apt-get update

#apt-get upgrade

Also another issue to watch out for is after I had run the get_all.sh it has inserted the local file:// on the same line as the deb item I had added earlier. Simple manually put this onto a new line and run apt-get update again

W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/Release  Unable to find expected entry  maindeb/binary-i386/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.

Hope this helps.

2

Re: Dovecot - the following packages cannot be authenticated!

seem your source setting have some problem.

Hit [url]http://http.us.debian.org[/url] lenny/contrib Packages
W: Failed to fetch [url]http://http.us.debian.org/debian/dists/lenny/Release[/url]  Unable to find expected entry  non-freedeb/binary-i386/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.

read the document,
http://code.google.com/p/iredmail/wiki/ … _on_Debian

deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free