Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
On Mon, 2006-11-13 at 13:07 -0500, Edward Diener wrote:
Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
There is a version of apt and synaptic for i386 in the extras repository... however I would not recommend it. There are many plugins for yum that work with yem/yumex that do not work for apt (fastest mirror, protectbase, etc.,)
So, things like 3rd Party repos and the like become more dangerous in apt that with yum on CentOS.
Also, apt is ONLY for 1386 distro as the version we have does not do multilib arches.
Johnny Hughes wrote:
On Mon, 2006-11-13 at 13:07 -0500, Edward Diener wrote:
Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
There is a version of apt and synaptic for i386 in the extras repository... however I would not recommend it. There are many plugins for yum that work with yem/yumex that do not work for apt (fastest mirror, protectbase, etc.,)
So, things like 3rd Party repos and the like become more dangerous in apt that with yum on CentOS.
Also, apt is ONLY for 1386 distro as the version we have does not do multilib arches.
The reason I asked is because YumeEx 1.02 does not show the packages which depend on a given package when I specify a package I want to remove. In Synaptic when I specify that I want to remove a package I am immediately shown the packages which depend on it and if I proceed to remove it, Synaptic automatically removes those packages, but I can choose to Cancel the removal immediately.
It may be that in YumEx, after adding a package to be removed to the Queue, does prompt one about the other packages which depend on that package and automatically removes when I process the Queue, letting me back out of the removal once I am prompted, but I did not try it for fear that I might remove a package needed by other packages.
In general I try to keep packages at a minimum for what I will actually be using on a Linux system, and after an installation I go through the packages installed and remove any extraneous ones. YumEx appears to make this much harder than Synaptic. That is why I was hoping that I could use Synaptic instead.
On Mon, 2006-11-13 at 17:07 -0500, Edward Diener wrote:
Johnny Hughes wrote:
On Mon, 2006-11-13 at 13:07 -0500, Edward Diener wrote:
Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
There is a version of apt and synaptic for i386 in the extras repository... however I would not recommend it. There are many plugins for yum that work with yem/yumex that do not work for apt (fastest mirror, protectbase, etc.,)
So, things like 3rd Party repos and the like become more dangerous in apt that with yum on CentOS.
Also, apt is ONLY for 1386 distro as the version we have does not do multilib arches.
The reason I asked is because YumeEx 1.02 does not show the packages which depend on a given package when I specify a package I want to remove. In Synaptic when I specify that I want to remove a package I am immediately shown the packages which depend on it and if I proceed to remove it, Synaptic automatically removes those packages, but I can choose to Cancel the removal immediately.
It may be that in YumEx, after adding a package to be removed to the Queue, does prompt one about the other packages which depend on that package and automatically removes when I process the Queue, letting me back out of the removal once I am prompted, but I did not try it for fear that I might remove a package needed by other packages.
In general I try to keep packages at a minimum for what I will actually be using on a Linux system, and after an installation I go through the packages installed and remove any extraneous ones. YumEx appears to make this much harder than Synaptic. That is why I was hoping that I could use Synaptic instead.
Yum can not remove items that are needed by other programs ... it will fail the dependency checks.
One should not remove packages (IMHO) with any GUI tool. Heck, I don't even remove packages with yum, but individually and from the command line. I could tell you about a machine where I used yum to remove a file and it's dependencies, didn't pay attention to the file list, and it tried to remove glibc ... and I can duplicate that same problem in apt. (A machine will break part of the way though removing glibc and it is not pretty :P)
Removing packages with auto dependency resolution is dangerous (IMHO) and should be avoided.
What do other think about this?
On Tue, 14 Nov 2006, Johnny Hughes wrote:
On Mon, 2006-11-13 at 17:07 -0500, Edward Diener wrote:
Johnny Hughes wrote:
On Mon, 2006-11-13 at 13:07 -0500, Edward Diener wrote:
Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
There is a version of apt and synaptic for i386 in the extras repository... however I would not recommend it. There are many plugins for yum that work with yem/yumex that do not work for apt (fastest mirror, protectbase, etc.,)
So, things like 3rd Party repos and the like become more dangerous in apt that with yum on CentOS.
Also, apt is ONLY for 1386 distro as the version we have does not do multilib arches.
The reason I asked is because YumeEx 1.02 does not show the packages which depend on a given package when I specify a package I want to remove. In Synaptic when I specify that I want to remove a package I am immediately shown the packages which depend on it and if I proceed to remove it, Synaptic automatically removes those packages, but I can choose to Cancel the removal immediately.
It may be that in YumEx, after adding a package to be removed to the Queue, does prompt one about the other packages which depend on that package and automatically removes when I process the Queue, letting me back out of the removal once I am prompted, but I did not try it for fear that I might remove a package needed by other packages.
In general I try to keep packages at a minimum for what I will actually be using on a Linux system, and after an installation I go through the packages installed and remove any extraneous ones. YumEx appears to make this much harder than Synaptic. That is why I was hoping that I could use Synaptic instead.
Yum can not remove items that are needed by other programs ... it will fail the dependency checks.
One should not remove packages (IMHO) with any GUI tool. Heck, I don't even remove packages with yum, but individually and from the command line. I could tell you about a machine where I used yum to remove a file and it's dependencies, didn't pay attention to the file list, and it tried to remove glibc ... and I can duplicate that same problem in apt. (A machine will break part of the way though removing glibc and it is not pretty :P)
Removing packages with auto dependency resolution is dangerous (IMHO) and should be avoided.
What do other think about this?
I agree completely. Yum is great for installing packages and their dependencies. It is dangerous to remove packages with yum. I only remove with "rpm -e".
Barry
On Monday 13 November 2006 22:44, Johnny Hughes wrote:
I could tell you about a machine where I used yum to remove a file and it's dependencies, didn't pay attention to the file list, and it tried to remove glibc ... and I can duplicate that same problem in apt. (A machine will break part of the way though removing glibc and it is not pretty :P)
Were you working with an extremely lean system? I would imagine glibc being included in the removal list would trigger a whole slew of dependencies on it's own removal, causing the list of what's to be removed to be quite big (and therefore noticeable). Or is it just assumed in most RPMs that glibc will exist?
I know from experience in trying to get an install to the minimal set of RPMs needed for an embedded system that the dependency list is a mess when you get to the core set of RPMs (the minimal install size listed in the install program is NOT the real minimum size for an install, many RPMs are included due to unneeded dependencies).
Any chance in getting the procedure for reproducing this? It has piqued my interest.
Johnny Hughes wrote:
Removing packages with auto dependency resolution is dangerous (IMHO) and should be avoided.
What do other think about this?
Na, it only becomes dangerous, when you set it to "auto pilot" - like "yum -y remove glibc".
Otherwise yum spits out a set of packages it will remove. Yes, I'd like to think of users as being halfway smart. And able to learn, so that they only do it once.
Removing them one by one with rpm makes you use "--force" or "--nodeps" pretty soon ...
Cheers,
Ralph
Johnny Hughes wrote:
On Mon, 2006-11-13 at 17:07 -0500, Edward Diener wrote:
Johnny Hughes wrote:
On Mon, 2006-11-13 at 13:07 -0500, Edward Diener wrote:
Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
There is a version of apt and synaptic for i386 in the extras repository... however I would not recommend it. There are many plugins for yum that work with yem/yumex that do not work for apt (fastest mirror, protectbase, etc.,)
So, things like 3rd Party repos and the like become more dangerous in apt that with yum on CentOS.
Also, apt is ONLY for 1386 distro as the version we have does not do multilib arches.
The reason I asked is because YumeEx 1.02 does not show the packages which depend on a given package when I specify a package I want to remove. In Synaptic when I specify that I want to remove a package I am immediately shown the packages which depend on it and if I proceed to remove it, Synaptic automatically removes those packages, but I can choose to Cancel the removal immediately.
It may be that in YumEx, after adding a package to be removed to the Queue, does prompt one about the other packages which depend on that package and automatically removes when I process the Queue, letting me back out of the removal once I am prompted, but I did not try it for fear that I might remove a package needed by other packages.
In general I try to keep packages at a minimum for what I will actually be using on a Linux system, and after an installation I go through the packages installed and remove any extraneous ones. YumEx appears to make this much harder than Synaptic. That is why I was hoping that I could use Synaptic instead.
Yum can not remove items that are needed by other programs ... it will fail the dependency checks.
That is good to know.
One should not remove packages (IMHO) with any GUI tool.
I do not agree with this. In Synaptic I am always told which other packages will be removed if I attempt to remove a given package, and I am given the opportunity to back out of removing the package. OK, YumEx does not have this functionality. It would be nice if it were addded, but that is OK.
But leaving off our diagreement, how to I find out from yum itself what other packages are dependent on a given package ? I could not find a simple yum command which will tell me this for a given package. The only related yum command seems to tell me what packages a given package depends on, but that is not the same thing about which I am asking.
On Tue, 2006-11-14 at 06:49 -0500, Edward Diener wrote:
Johnny Hughes wrote:
On Mon, 2006-11-13 at 17:07 -0500, Edward Diener wrote:
Johnny Hughes wrote:
On Mon, 2006-11-13 at 13:07 -0500, Edward Diener wrote:
Can Synaptic be used successfully on CentOS 4.4 instead of YumEx ? Are there any issues using Synaptic with the CentOS 4.4 repositories ?
There is a version of apt and synaptic for i386 in the extras repository... however I would not recommend it. There are many plugins for yum that work with yem/yumex that do not work for apt (fastest mirror, protectbase, etc.,)
So, things like 3rd Party repos and the like become more dangerous in apt that with yum on CentOS.
Also, apt is ONLY for 1386 distro as the version we have does not do multilib arches.
The reason I asked is because YumeEx 1.02 does not show the packages which depend on a given package when I specify a package I want to remove. In Synaptic when I specify that I want to remove a package I am immediately shown the packages which depend on it and if I proceed to remove it, Synaptic automatically removes those packages, but I can choose to Cancel the removal immediately.
It may be that in YumEx, after adding a package to be removed to the Queue, does prompt one about the other packages which depend on that package and automatically removes when I process the Queue, letting me back out of the removal once I am prompted, but I did not try it for fear that I might remove a package needed by other packages.
In general I try to keep packages at a minimum for what I will actually be using on a Linux system, and after an installation I go through the packages installed and remove any extraneous ones. YumEx appears to make this much harder than Synaptic. That is why I was hoping that I could use Synaptic instead.
Yum can not remove items that are needed by other programs ... it will fail the dependency checks.
That is good to know.
One should not remove packages (IMHO) with any GUI tool.
I do not agree with this. In Synaptic I am always told which other packages will be removed if I attempt to remove a given package, and I am given the opportunity to back out of removing the package. OK, YumEx does not have this functionality. It would be nice if it were addded, but that is OK.
But leaving off our diagreement, how to I find out from yum itself what other packages are dependent on a given package ? I could not find a simple yum command which will tell me this for a given package. The only related yum command seems to tell me what packages a given package depends on, but that is not the same thing about which I am asking.
If you run the command:
yum remove package_name
It will tell you what else it wants to remove and ask for conformation. Yum will not leave requires not meet.
Example:
"yum remove postgresql"
Result:
Loading "fastestmirror" plugin Loading "changelog" plugin Loading "priorities" plugin Loading "downloadonly" plugin Setting up Remove Process Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package postgresql.i386 0:8.1.4-1.centos.1 set to be erased --> Running transaction check Setting up repositories dag 100% |=========================| 1.1 kB 00:00 fasttrack 100% |=========================| 951 B 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 kbs-CentOS-Extras 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Determining fastest mirrors Reading repository metadata in from local files Excluding Packages from Dag-EL4 Finished 1225 packages excluded due to repository priority protections Excluding Packages from Dag-EL4 Finished 0 packages excluded due to repository priority protections --> Processing Dependency: postgresql for package: freeradius-postgresql --> Processing Dependency: postgresql = 8.1.4-1.centos.1 for package: postgresql-pl --> Processing Dependency: postgresql = 8.1.4-1.centos.1 for package: postgresql-devel --> Processing Dependency: postgresql = 8.1.4-1.centos.1 for package: postgresql-contrib --> Processing Dependency: postgresql = 8.1.4-1.centos.1 for package: postgresql-test --> Processing Dependency: postgresql = 8.1.4-1.centos.1 for package: postgresql-server --> Processing Dependency: postgresql = 8.1.4-1.centos.1 for package: postgresql-docs --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package postgresql-test.i386 0:8.1.4-1.centos.1 set to be erased ---> Package postgresql-pl.i386 0:8.1.4-1.centos.1 set to be erased ---> Package postgresql-server.i386 0:8.1.4-1.centos.1 set to be erased ---> Package postgresql-devel.i386 0:8.1.4-1.centos.1 set to be erased ---> Package postgresql-contrib.i386 0:8.1.4-1.centos.1 set to be erased ---> Package freeradius-postgresql.i386 0:1.0.1-3.RHEL4.3 set to be erased ---> Package postgresql-docs.i386 0:8.1.4-1.centos.1 set to be erased --> Running transaction check
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Removing: postgresql i386 8.1.4-1.centos.1 installed 10 M Removing for dependencies: freeradius-postgresql i386 1.0.1-3.RHEL4.3 installed 6.8 k postgresql-contrib i386 8.1.4-1.centos.1 installed 1.0 M postgresql-devel i386 8.1.4-1.centos.1 installed 3.5 M postgresql-docs i386 8.1.4-1.centos.1 installed 13 M postgresql-pl i386 8.1.4-1.centos.1 installed 133 k postgresql-server i386 8.1.4-1.centos.1 installed 9.6 M postgresql-test i386 8.1.4-1.centos.1 installed 4.7 M
Transaction Summary ============================================================================= Install 0 Package(s) Update 0 Package(s) Remove 8 Package(s) Total download size: 0 Is this ok [y/N]: N +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
That will remove pacakges (or tell you what depends on the package you try to remove.