PDA

View Full Version : Error messages in both YUM and APT


svarreby
16th March 2004, 09:35 PM
I just tried to upgrade my FC2. I started with apt-get. That resulted in an error halfway the line, saying there's problem downloading some packages, and the upgrade stops.

I then tried adding --fix-missing. That one wasn't a success either.
Error messages about unsigned packages (almost everyone).

Well, why quit :) I kick-started yum. Almost immediately I got an error about some headers missing or something like that, wich (of course) resulted in a halted process.

I am now D/L at full throttels with up2date :)

My question is this; why do I get errors about unsigned packages? Do they ALL need to be signed? Do I have to import it's (the repositorys/package maintainer) keys?

yum doesn't work at all. There's always a hick-up saying that some headers are damaged or missing ...

How do I solve this? Should I just point to another repository?

gonzalo76
17th March 2004, 05:20 AM
Take a look at this page

http://fedoranews.org/jorge/howto/howto02.shtml

http://fedoranews.org/ghenry/apt/

About the unsigned packages, read this page

http://fedora.artoo.net/faq/#GPGSig

If you don't want apt to check the gpg keys, you have to edit your /etc/apt/apt.conf and edit this line: GPG-Check "true"; adding // at the beggining, like this: //GPG-Check "true"; or GPG-Check "false";

Make sure you check your /etc/apt/sources.list to see if all the repos are ok.

Good Luck

mhelios
17th March 2004, 07:01 AM

If you don't want apt to check the gpg keys, you have to edit your /etc/apt/apt.conf and edit this line: GPG-Check "true"; adding // at the beggining, like this: //GPG-Check "true"; or GPG-Check "false";

gonzalo76,
I'm not sure if you mistakenly specified "//" as the comment or different, but the correct syntax for a comment in that file is the pound character "#".

gonzalo76
17th March 2004, 05:17 PM
Nop, I use apt-0.5.15cnc5-0.fdr.10.1.i386 version and this is my /etc/apt/apt.conf

// User customizable configuration

RPM
{
// Uncomment to disable GPG-signature checking for packages
// GPG-Check "false";
// Uncomment to prevent kernel being handled along with (dist-)upgrade
// Upgrade-Kernel "false";
// Uncomment to hold packages with modified config files in (dist-)upgrade
// Preserve-Config "true";
};

// Options for the downloading routines
Acquire
{
// Retries "1";
// http::Proxy "http://user:password@proxy-server.domain.tld:port/";
// http::Proxy "http://proxy-server.domain.tld:port/";
};

// Automatically written by your friendly first-time druid...
Apt::State::FirstRun "false";


So, if you don't want apt to check the gpg keys, you have to edit your /etc/apt/apt.conf and comment this line GPG-Check "true"; or delete // at the beggining, like this:

// GPG-Check "true";
or changing the parameter true x false
GPG-Check "false";

Thank you mhelios anyway !!!

Greetings :)

kai_t
19th March 2004, 11:27 PM
svarreby,

Regarding your problem with yum, you could try running yum clean (or rm -rf /var/cache/yum/*).

It's certainly a good idea to use mirror servers: http://fedorafaq.org/faq/#SlowUpdateServers

vorte[x]
23rd March 2004, 01:59 PM
Hi svarreby,

Has this been resolved?

- V