GUI package manager

Red Squirrel

No Lifer
May 24, 2003
69,214
12,997
126
www.anyf.ca
In some distros it seems the GUI package manager looks for an internet connection and if it can't find it, it won't let you do anything, not even manage local packages. Is there a way to disable this internet check? I should at least be able to manage local packages and add/remove from cd. this becomes an issue in isolated test environments that have no internet access. I suppose I could packet sniff what its trying to access and emulate it, but I'm sure there's a way to just disable that check.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Uh, it depends on which program you are using.

For Synaptic you can just adjust your /etc/apt/sources.list file to not check the web at all, for others I have no clue.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
There is no Linux default one. Linux is a Kernel, not an OS. CentOS is Operating System, and it uses YUM. I don't know how YUM does it's configuration but you can poke around in /etc/yum to see if you see anything. CentOS has a GUI system called Yumex, on the left side there's a button called Repos which will let you change them as well. All of this can be found with simple google searches too, so if you get lost poke around on there.
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
Originally posted by: Crusty
There is no Linux default one. Linux is a Kernel, not an OS. CentOS is Operating System, and it uses YUM. I don't know how YUM does it's configuration but you can poke around in /etc/yum to see if you see anything. CentOS has a GUI system called Yumex, on the left side there's a button called Repos which will let you change them as well. All of this can be found with simple google searches too, so if you get lost poke around on there.

searching the *nix forums should bring up a similar request, i googled around a bit on the last one but dont feel like doing it again, yum sources arent quite as simple as apt, iirc, but browsing through the directory tree should make most of it clear enough.

usually googling "$distroname $packagname $problem" is enough to get a healthy start on anything but the most unusual of problems for any distro with a decent following.
 

Red Squirrel

No Lifer
May 24, 2003
69,214
12,997
126
www.anyf.ca
I'm not trying to use yum or gui yum programs though, since I know that yum is for getting packages online. I'm just trying to use the generic add/remove programs thats in every linux distro when you install a GUI. Won't let me even open it since it keeps wanting an internet connection, not sure for what since this is for local packages. (from CD)
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
There is no generic add/remove for a Linux OS. It's all dependent on which distribution you use. Yum can certainly be configured to read local sources instead of remote ones, just like Aptitude, and YAST.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I'm just trying to use the generic add/remove programs thats in every linux distro when you install a GUI.

There is no such thing. What you're running is just a wrapper around whatever package manager is used in that distro so you have to reconfigure the package manager.
 

Red Squirrel

No Lifer
May 24, 2003
69,214
12,997
126
www.anyf.ca
Hmmm really? Since its always looked the same since pre fedora redhat, figured it was all the same program and just built in the GUI.

How would I find out how what program it is and how to reconfigure it?
 

Red Squirrel

No Lifer
May 24, 2003
69,214
12,997
126
www.anyf.ca
ok just found a folder for yum repositories, theres a centos-base and centos-media one. So I want to use the centos-media one, I mounted the media to match the path in the file. how do I specify this durring yum?

I tried yum --enablerepos=[pathtoconfig] install [package]

Which erroed out, so how would I do it? Read the man page but its not clear about the syntax.