FC1 upgrade from rh8, but running 2.6.7 kernels
Satish Balay
balay at fastmail.fm
Sat Jul 10 16:40:48 UTC 2004
On Sat, 10 Jul 2004, Gene Heskett wrote:
> Got it, but rpm claimed it was already installed so I used the --force
> to freshen it.
Force is always bad. You could have done the following to make
sure you had the correct one.
rpm -q apt
rpm -qV apt
And one needs 'apt-get update' before 'apt-get upgrade'. Perhaps
'apt-get -f dist-upgrade' does a better job - not sure..
BTW: What do you have for 'cat /etc/redhat-release' ?
> And what will the -f option do, the manpages are in an odd location
> I've not added to my $MANPATH settings yet.
--fix-broken. I've noticed it primarily processes obsoletes (as in
pine is obsolteted in FC1 - and upgrade should remove pine)
you could do google on 'man apt-get'
> [root at coyote dlds-rpms]# apt-get update
> Get:1 http://ayo.freshrpms.net redhat/8.0/i386 release [1174B]
> Fetched 1174B in 0s (1849B/s)
> Hit http://ayo.freshrpms.net redhat/8.0/i386/os pkglist
you have bad listing in sources.list
> [root at coyote etc]# ls -lR apt*
> apt:
> total 32
> -rw-rw-r-- 1 root root 690 Mar 4 15:35 apt.conf
> drwxr-xr-x 2 root root 4096 Apr 30 12:56 apt.conf.d
> -rw-r--r-- 1 root root 150 Apr 30 12:49 rpmpriorities
> -rw-r--r-- 1 root root 1854 Apr 8 07:22 sources.list
> -rw-rw-r-- 1 root root 1812 Apr 25 2003 sources.list~
> drwxr-xr-x 2 root root 4096 Apr 30 12:56 sources.list.d
> -rw-rw-r-- 1 root root 2339 Apr 30 12:33 sources.list.rpmnew
> -rw-r--r-- 1 root root 146 Sep 27 2002 vendors.list
Since sources.list was modified - it wasn't updated when you reinstalled apt. You could do:
mv sources.list.rpmnew sources.list
(alternatively reinstall apt completely)
rpm -e apt
ls -R /etc/apt
rm -rf /etc/apt
rpm -ivh apt...rpm
I'm guesing you did 'yum update' instead of 'yum upgrade' to upgrade to
FC1 from RHL9 - hence some of these issues..
Satish
More information about the fedora-list
mailing list