News for hackers. Stuff that matters.
Re:Shutting down Ubuntu One file services by cones688 on Wednesday April 02, 2014 @11:15AM (#7516088)
> I would but I love APT

As a near 100% RHEL/Fedora user I am always wondering if there is anything but a material difference between apt and yum?

From using Ubuntu extensively a few years ago they seem to have near identical feature set?

Re:Shutting down Ubuntu One file services by pjc50 on Wednesday April 02, 2014 @11:37AM (#7516260)
Both have a dependency system, but they are quite different in how they work and resolve dependencies.

Apt/dpkg is also a lot more careful about its treatment of configuration files. Debian packages generally ask questions during preconfigure, build a config file, and then run out of the box. But if you already have a config file it will either be left alone or ask you to resolve the merge.

http://unix.stackexchange.com/questions/634/what-are-the-pro...

Re:Shutting down Ubuntu One file services by Crito on Wednesday April 02, 2014 @11:51AM (#7516368)
Only differences that I have noticed and cared about as a home user: Yum lets you do `yum search` but Apt splits that off with `apt-cache` (this is annoying because with yum I can just swap out that 'search' with my line editor). Apt tends to be faster for equivalent operations.
Re:Shutting down Ubuntu One file services by dspillett on Wednesday April 02, 2014 @01:14PM (#7517105)
If you use aptitude instead of apt* you get most of the features rolled into one command, and it also provides a curses based interface if you prefer that to the command line but are in a situation where a full GUI is not available to you can use an X based tool. I'm not sure about Ubuntu but it has been standard issue in Debian for some time.
Re:Shutting down Ubuntu One file services by ZenoArrow on Wednesday April 02, 2014 @04:52PM (#7518916)
I hope one day there's a command line package manager that works with both DPKG and RPM. Something tells me that will expose the real reason people stick with one over the other; remembering the package manager syntax. I feel no great allegiance to one side or the other, there's nothing of real merit I can differentiate them on, the only real result of the split is package maintainers duplicating work.
Re:Shutting down Ubuntu One file services by twic on Thursday April 03, 2014 @05:44AM (#7521806)
I have a set of shell scripts which wrap apt, yum, and macports, so i only have to remember one set of commands. They only cover a small fraction of what those tools can do, but they cover 90% of what i do day to day. They were not at all hard to write.
Re:Shutting down Ubuntu One file services by bashinator on Wednesday April 02, 2014 @01:15PM (#7517118)

    dpkg -S /some/file # tells you what package provides that file  
    dpkg -L some-package # lists all the files provided by a package
    apt-get search <regex> # lists all package names matching <regex>
Re:Shutting down Ubuntu One file services by cben on Thursday April 03, 2014 @02:32AM (#7521286)
$ apt-get search foo E: Invalid operation search

It's apt-cache search, and it searches full descriptions, not just package names.

Re:Shutting down Ubuntu One file services by bashinator on Thursday April 03, 2014 @01:49PM (#7524629)
My bad - I meant `aptitude search`
Re:Shutting down Ubuntu One file services by dorfsmay on Wednesday April 02, 2014 @10:37PM (#7520579)
Use aptitude.
Re:Shutting down Ubuntu One file services by sharpneli on Thursday April 03, 2014 @06:18AM (#7521905)
There used to be a massive difference. Mostly because debian had apt-get and Redhat had just rpm. That's why we still have sites like rpmfind. Nowadays there is not that big of a difference from end user point of view.

As a dev I still love dpkg-buildpackage way more than rpmbuild.

Re:Shutting down Ubuntu One file services by dec0dedab0de on Wednesday April 02, 2014 @02:14PM (#7517710)
As a near 100% RHEL/Fedora user I am always wondering if there is anything but a material difference between apt and yum?

Atleast some of it is momentum from being first. APT was the main reason I jumped ship from Redhat, but that was before yum.