Click to See Complete Forum and Search --> : Source list for Conectiva 6.0?


chadm1967
01-22-2001, 04:46 PM
I just installed Conectiva 6 and want to try out the apt-get function. I checked out the /etc/apt/sources.list file and all that is listed are the 4 CD's. Where can find a list of sources that I can add to sources.list? I checked out the Conectiva site but didn't have any luck.

Thanks for the help.

ColdPack
01-22-2001, 06:39 PM
Looking at their site I found this on one of their mirrors. I'll bet it you look at their other mirrors you will find similar README files there, too.
Here's what I got from one of them:
To use ftp.nl.linux.org as a source for apt-get, add the following lines to the top of /etc/apt/sources.list, if you cannot get the GPG signed packages to work, just use the non-signed packages...

# ftp.nl.linux.org Conectiva Linux 6.0 mirror (with GPG key)
rpm [cncbr] ftp://ftp.nl.linux.org/pub/conectiva 6.0/conectiva main extra
rpm-src [cncbr] ftp://ftp.nl.linux.org/pub/conectiva 6.0/conectiva main extra
# ftp.nl.linux.org Conectiva Linux updates (with GPG key)
rpm [cncbr] ftp://ftp.nl.linux.org/pub/conectiva/atualizacoes 6.0/conectiva updates
rpm-src [cncbr] ftp://ftp.nl.linux.org/pub/conectiva/atualizacoes 6.0/conectiva updates

# ftp.nl.linux.org Conectiva Linux 6.0 repository
rpm ftp://ftp.nl.linux.org/pub/conectiva 6.0/conectiva main extra
rpm-src ftp://ftp.nl.linux.org/pub/conectiva 6.0/conectiva main extra
# ftp.nl.linux.org Conectiva Linux updates
rpm ftp://ftp.nl.linux.org/pub/conectiva/atualizacoes 6.0/conectiva updates
rpm-src ftp://ftp.nl.linux.org/pub/conectiva/atualizacoes 6.0/conectiva updates

------------------
What if everything is an illusion and nothing exists?
In that case, I definitely overpaid for my carpet.
-- Woody Allen, "Without Feathers"

chadm1967
01-22-2001, 09:24 PM
Hey, thanks!

How the heck did I miss that?

http://www.linuxnewbie.org/ubb/smile.gif

chadm1967
01-23-2001, 08:48 AM
Well, I checked out the site, entered everything I think I need into my /etc/apt/sources.list file and ran apt-get update. At first, it seemed as if it was going to work. Then, I receieved an error that stated that the key was invalid (something like that).

Now I'm starting to get confused......

Thanks

ColdPack
01-23-2001, 10:23 AM
Originally posted by chadm1967:
Well, I checked out the site, entered everything I think I need into my /etc/apt/sources.list file and ran apt-get update. At first, it seemed as if it was going to work. Then, I receieved an error that stated that the key was invalid (something like that).

Now I'm starting to get confused......

Thanks

Do you have a GPG key?
If not, just use the sources that don't require a key (the ones without the "[cncbr]" in them). Simple enough.
The first thing I would do when you get it working is apt-get update and apt-get install apt to get the latest version.
It will create a brand new sources.list for you and save the one you've created as /etc/apt/sources.list.rpmsave (or something close... can't quite remember...)
So, go into your newly created /etc/apt/sources.list and comment out the lines with [cncbr] and uncomment the others, run apt-get update one more time and you will be up and running pretty smoothly.
It's working better every week as they work on it.

------------------
What if everything is an illusion and nothing exists?
In that case, I definitely overpaid for my carpet.
-- Woody Allen, "Without Feathers"

chadm1967
02-04-2001, 08:18 AM
After upgrading apt, every line in my new /etc/apt/sources.list has a [cncbr] in it.

I'm not sure what to do. I removed the [cncbr] from the lines that I want to use but get an error that states the line is malformed.

Thanks for all the help, ColdPack.


:)

[ 04 February 2001: Message edited by: chadm1967 ]

chadm1967
02-04-2001, 09:12 AM
I forgot to post my sources.list

http://distro.conectiva.com.br/apt/sources.list will always have the
# most current version of this file
# qui dez 7 13:35:19 EST 2000
#
# Make sure to use appropriate repositories for your own distribution.
#
# Official Conectiva 6.0 package repositories. If these are busy, please
# use a mirror near you.
#
# signed repositories have a [cncbr]
# if you remove it, no digital signature check will be made!
#
rpm [cncbr] ftp://ftp.conectiva.com/pub/conectiva 6.0/conectiva main extra
#rpm-src [cncbr] ftp://ftp.conectiva.com/pub/conectiva 6.0/conectiva main
extra

# updates
rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates
#rpm-src [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates

#
# Conectiva 6.0 Mirrors
#
# If the official site is too slow or is full, you may find it better
# to use the mirrors below

# only main (cd1, cd3) and extra (cd2, cd4)
#rpm [cncbr] ftp://rpmfind.net/linux/conectiva 6.0/conectiva main extra
#rpm-src [cncbr] ftp://rpmfind.net/linux/conectiva 6.0/conectiva main extra

# main, extra and updates
#rpm [cncbr] ftp://ftp.nl.linux.org/pub/conectiva 6.0/conectiva main extra
#rpm-src [cncbr] ftp://ftp.nl.linux.org/pub/conectiva 6.0/conectiva main extra
#rpm [cncbr] ftp://ftp.nl.linux.org/pub/conectiva/atualizacoes 6.0/conectiva
updates
#rpm-src [cncbr] ftp://ftp.nl.linux.org/pub/conectiva/atualizacoes
6.0/conectiva updates

ColdPack
02-04-2001, 11:50 PM
When it installs the new sources.list, it moves the old one over to /etc/apt/sources.list_old (or something like that... just look in your /etc/apt directory. Simply move the new one to, say, /etc/apt/sources-old.list and move the previous one you used back to /etc/apt/sources.list.
Pretty simple, really. It backed up your old sources.list for you, so you just need to swap the old and the new around. :eek:
Works pretty well for me!

chadm1967
02-05-2001, 10:06 AM
Thanks for the help. It was just a stupid mistake on my part. When removing the [cncbr], I left one too many spaces after rpm.

Apt is working very well on Conectiva. I ran apt-get update and apt-get upgrade and it worked with no errors (even upgraded KDE2 from pre to 2.01). Also, installing packages with apt-get install works very well.

I wonder how long it's going to take the other RPM based distributions to start using apt? This is wonderful!

Thanks again for all the help!

:) :cool:

ColdPack
02-05-2001, 12:22 PM
Originally posted by chadm1967:
Thanks for the help. It was just a stupid mistake on my part. When removing the [cncbr], I left one too many spaces after rpm.

Apt is working very well on Conectiva. I ran apt-get update and apt-get upgrade and it worked with no errors (even upgraded KDE2 from pre to 2.01). Also, installing packages with apt-get install works very well.

I wonder how long it's going to take the other RPM based distributions to start using apt? This is wonderful!

Thanks again for all the help!

:) :cool:

Yeah, it works pretty well with Conectiva (since they're the ones working on developing it the most) but the issues will remain for quite a while that it works only somewhat with other distros. There are so many differences between Mandrake 7.0 and RedHat 6.2 and Suse 6.4 and so on that using one repository won't work like it does for Debian (whether it's pure Debian, Stormix, Libranet, Progeny...). Again, dpkg and apt were designed to work like they do from the beginning... rpm was not, so tailoring it to function the same way is never really going to happen. There will still be many "fragments" of rpm repositories like there are rpm-based distros.
But I agree that apt for Conectiva works very well with itself. It gets better every week!