DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm interested in being able to download source packages from debian repos but see that aptitude doesn't handle this (am I wrong). Ive only been using aptitude but am now thinking about switching to apt completely. Will this cause problems on my system? If so, is there a way to switch that is safe.
i`ve read that nowadays it wouldn`t be a problem and one could even use
both (in fact i sometimes use aptitude, while most of the time apt-get, without further problems). i wouldn`t rely on this and wait till one might tell you for sure/confirm.
greetings
Yes. You can think of synaptic, aptitude, apt-get as on a higher level, as front-ends for the lower level dpkg system. Aptitude and apt-get coexist, and I use both.
If you have Synaptics installed (it is by default in Ubuntu releases), it is probably the easiest to use. Make sure you have all the repositories you want in your /etc/apt/sources.list. You can find a lot more software in the multiverse and universe repositories for your release (but don't mix release levels in this list). But if you find an article that gives instructions using apt-get, you can do that on the command line in a terminal.
I've used both aptitude and apt-get in the past. I've always have the best luck with apt-get. As previously pointed out, most external articles refer to apt-get, as does some "missing commands". If I required more information, I dig using dpkg tools.
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Rep:
Quote:
Originally Posted by parent's_basement
Hello,
I'm interested in being able to download source packages from debian repos but see that aptitude doesn't handle this (am I wrong). Ive only been using aptitude but am now thinking about switching to apt completely. Will this cause problems on my system? If so, is there a way to switch that is safe.
Many Thanks,
pb
just make sure you have the source repos in /etc/apt/sources.list
i use aptitude for both binary debs as well as source debs.
I am under the impression that it is not in the best interest of the user to mix package managers. There are differences in how both apt and aptitude handle issues, with respect to removing packages in the dist-upgrade option for one. You should choose your preferred package manager upon install, and stick with it. I do have synaptic installed on my debian sid system for quick reference of installed packages and information, however, use apt solely for maintaining the ever-changing sid/unstable environment.
You are always encouraged to research it if you have any hesitation, if you break your system you can keep both parts. Aptitude vs Apt has been a bone of contention forever, everyone has their opinion......................
Thanks for your reply Donald. I'm using Debian testing pinning unstable, not Ubuntu.
Cheers,
pb
Ubuntu is Debian-based, sort of Debian on steroids. I should have mentioned that. I assumed that you knew that. Sorry! Most of what you can do in one you can do in the other, except for the leading-edge stuff in Ubuntu.
I don't know if you have Synaptic installed by default or not. It certainly will work in Debian, though!
I got the impression from the Wiki that Synaptic is not installed by default, but you can add it at any time if I read the Wiki correctly.
Unless you're really tied to Debian for some reason, you might consider switching to Ubuntu, at least the last LTS version (they are about 18 months apart). They have great help forums and it is a very popular distro, possibly the most popular among home users. This isn't to say that others are not as good, they're just different. But since you're already familiar with Debian commands, you wouldn't have to learn new ways of doing things, at least for most things. And you can get it with Gnome or KDE set up by default, too, as well as one other desktop that takes less system resources than the other two (but isn't as pretty to look at or as useful). I think the other is XFCE or something like that. There is Ubuntu (Gnome), Kubuntu (KDE), and Xubuntu available. I prefer Gnome, but Xubuntu seems more like Windows (to me, anyway) and some people like that.
Ubuntu really shines where hardware support comes in. I haven't tried Debian since Ubuntu IS Debian, sort of. I will bur a live Lenny CD and see how it is with wireless networking support, which is where some people seem to have difficulties with some distros. I'd also like to see what Ubuntu is really based on, without all the niceties and conveniences added. (The latest version supports the EXT4 file system, by the way.)
i use aptitude for both binary debs as well as source debs.
I haven't tried installing a source package lately, but in Etch there was no way to install source packages with aptitude (except the kernel source). There wasn't any apt-get source blahblah equivalent for aptitude in Etch.
I haven't tried installing a source package lately, but in Etch there was no way to install source packages with aptitude (except the kernel source). There wasn't any apt-get source blahblah equivalent for aptitude in Etch.
The Gdebi package installer (installed by default in Ubuntu) is available for Debian. I believe it resolves dependencies, etc., as does the Synaptic package manager, which also allows you to browse for software in the repositories you enable.
You still would have to "get" the package to your installation somehow, but if you downloaded a *.deb package, you would open it with Gdebi and it would install it for you. It's not flawless, but it works for most things I've installed that way, like Crossover Office for Linux (as one example).
I prefer the Synaptic package manager over all other methods of getting software, but there are some packages that aren't in any of the repositories and you have to get them yourself. That's then Gdebi comes in handy.
Thanks for the email. Yes I'm aware that Ubuntu is a Debian derivative and I have used Ubuntu in the recent past. Ubuntu at once attempts to appeal to a broader audience by throwing in all the bells and whistles which may be good for the beginner, but leaves an often bloated system with items that you may not need. As you know, Debian maintains different release paths (Stable, Testing and Unstable proper) and even the testing branch is more stable than many distros. That being said, in my humble experience, there is absolutely nothing behind-the-times or bland about the distro. There is nothing that you can't install on Debian, I'm using the latest Open Office, Flash and Firefox/Thunderbird for example. Its just not right out of the box, which is the way I prefer it. I get only what I need at first and then install the nifty bleeding edge programs that I want, on my own. Keeps it from being Mac or Windowsish that way. Another drawback especially for beginners, is that if everything "just works" you aren't challenged with as many learning opportunities. Most of my knowledge of Linux and Unix has come about because I've had to figure out how to do something unfamiliar- these are golden opportunities that may be missed if everything is done for you.
My original question was about switching the dpkg interface. I know in the past that they have used different databases to track dependencies and just wanted to know if mixing apt and aptitude would screw with global dependency tracking. It seems you are very happy with your Ubuntu and I wish more people would try it as an alternative to proprietary OSs. For me, I can't think of using anything besides Debian at this point, with the exception perhaps of FreeBSD.
Cheers,
pb
Last edited by parent's_basement; 05-14-2009 at 10:38 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.