[PlanetCCRMA] RH 8.0 Upgrade

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Fri Jan 24 16:03:01 2003


> I looked at the apt.conf file and it looked ident to the one on the 
> site, but I replaced it anyway and got the same:
> 
> [root@tauzin carrlane]# apt-get update
> E: The method driver /usr/lib/apt/methods/http could not be found.

Then it must be the other way around. What version of apt do you have?
(rpm -q apt), the apt.conf file has to be for the version you have.
There are two, 0.3.19 (very old) and the current one (0.5.4). 

If you have 0.3 then after the update you should have 0.5.4 and you will
have to swap apt.conf again :-)

-- Fernando

PS: here's the apt.conf that I now think will work:

=== cut here ===
Dir
{
    Bin
    {
	Methods "/usr/lib/apt";
    }
}

APT
{
    Get 
    {
	Show-Upgraded "true";
    }
}

Debug
{
    pkgRPMPM "false";
}

Acquire::CDROM::Copy "true";

RPM 
{
   // Leave list empty to disable
   AllowedDupPkgs {"^kernel$"; "^kernel-up"; "^kernel-smp";
"^kernel-debug";
                   "^kernel-enterprise"; "^kernel-source";
"^kernel-source-headers";};
   HoldPkgs {"kernel-source"; "kernel-headers"; };
}
=== cut here ===