Ubuntu :: Difference Between Apt-Get And Aptitude?
Sep 25, 2010What's the difference between apt-get and aptitude? Could I use either to effectively update my system? (ie. do "apt-get update" and "aptitude update" do the same thing?)
View 4 RepliesWhat's the difference between apt-get and aptitude? Could I use either to effectively update my system? (ie. do "apt-get update" and "aptitude update" do the same thing?)
View 4 RepliesI am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies View RelatedIs there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?
View 1 Replies View RelatedI need to run Opencv 1.1 or lower to be compatible with the systems at my University where most of my work is done. 9.10 allowed 1.1 through apt, but before that I remember all kinds of nightmares getting OpenCV to run with FFMPEG. If I go back to self-installing 1.1, am I going to have a repeat of those nightmares? I guess a better way to phrase it, is there any way to get opencv 1.1 through aptitude?
View 2 Replies View RelatedI read somewhere that it's not a good idea to mix the use of apt-* (eg. apt-get, apt-file, etc.) and "aptitude". I guess they're not using the same database to keep track of things.Problem is, they don't offer the same features:"apt-get safe-upgrade" doesn't exist, so have to use "aptitude safe-upgrade"."aptitude show/list mypackage" doesn't show the files that an uninstalled package (ie. still in depot) contains, so have to use "apt-file show mypackage".
View 9 Replies View RelatedI'm having problems with apt-get / aptitude / synaptic. When I run apt-get update or upgrade error i get following error message:
Reading package lists... Error!
E: Unable to seek to 18446744071846088703
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
I've runned apt-get clean cmd, but it didn't help. Pc is pretty new with 8 GB ram etc. Synaptic and aptitude gives this error when you open those.
After executing:
$sudo aptitude install package_name
I am no longer asked for a confirmation before downloading and installing the pkg.
Is is safe to assume that if I have Lucid's 64 bit server installed and then type apt-get install ubuntu-desktop, the 64 bit desktop will be installed?
View 1 Replies View Relatedwhenever i try to install anything from tasksel, it gives me that error... aptitude failed (100) what does that mean?
View 7 Replies View RelatedSo, aptitude has been remove from Maverick. I realise I can just install it if I wish to use it over apt-get, but is this this a sign that I should really be using apt-get now instead?
View 4 Replies View RelatedI have a server that just recently started doing something that I have never seen before. I am running 10.04 and connecting over ssh.
Code:
root@www:~# aptitude full-upgrade
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
[Code]....
I am trying to install postfix but there seems to be an old install of qmail hanging on to port 25. I cannot see qmail in aptitude and I can't see any way to uninstall it.
result from:
# ps auxww | grep qmail
root 4907 0.0 0.0 3724 416 ? S 09:08 0:00 supervise qmail-qmqpd
[Code].....
It seems to be "tcpserver" which is listing on port 25.
Is there any way I can free port 25 and allow postfix to listen on it?
Code:
karthick@Ubuntu-desktop:~$ sudo aptitude update
Hit http://in.archive.ubuntu.com lucid Release.gpg
Ign http://in.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_IN
[Code]....
W: GPG error: [URL] lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1E5D5E8D66AE0775
Manual says: Forgets all internal information about what packages are �new�
What does it mean in plain English?
Aptitude a next to package status?
View 1 Replies View RelatedHow do I use apt-get or aptitude to tell me what updated packages are available for my system? I'm moving over from Gentoo where I had a cron job that would run a command whose output was a list of available updates. I had this and other system related info emailed to me. I'd like to duplicate that under Ubuntu, but I can't find a way get the available updates.
View 2 Replies View RelatedSince 11.04 was released, I've used it in Gnome and now also KDE, and this problem is in both. Aptitude is completely unusable. The main issue is that when downloading packages, it disconnects every minute if not every half a minute, making package installing a very hard process and making the configuration of a new OS take days (just to install 1GB of packages). Ontop of the disconnections, aptitude doesn't even want to go full speed when it IS connected.
The other issues involve repositories. Whether it's the official Ubuntu package servers, ANY of its many mirrors, or even my own custom PPAs, connecting to ANY repository when I reload my packages is a hit-or-miss, and it's completely impossible to get them all in one refresh (in fact, I don't think I've been able to access the main server since upgrading. Ever. I've been on the US server). This makes installing all of my packages take even LONGER. Also, to add insult to injury, the list files in /var/lib/apt/lists constantly corrupt themselves and make themselves unusable, ESPECIALLY the PPA lists (anything that uses launchpad has to be disabled at all times unless I have to update its program, or else I have to delete those list files every day).
Googling any of these issues separately gets me nowhere, so I'm making a topic, and it better not be the millionth topic I've made here that never got solved. The problem can't be my router or modem because my brother runs aptitude just fine on his 11.04 laptop. This issue is within my computer.
I meant apt-get. You mean they aren't the same program with two ways to run them? Yes, apt-get is the problemed one. I never actually type "aptitude" into the Terminal. As a consequence, Synaptic and KPackageKit and any other apt-get-using program is messed up as well.
I've been trying for a long while to figure out why aptitude overwrites /etc/sudoers ? Each time I run
$ sudo aptitude safe-upgrade
my /etc/sudoers is reset. This is really annoying because I have it setup so that mythtv can shutdown and restart automatically. The line in /etc/sudoers that gets deleted is:
%mythtv ALL = NOPASSWD: /usr/bin/mythshutdown, /bin/sh, /usr/bin/setwakeup.sh, /
sbin/reboot, /sbin/shutdown
When the line is missing my Ubuntu 10.04 does not shut down at all because of missing rights to do so. Does anyone have a clue why this is happening? I thought /etc-files were sacred for others than root, but it seems I'm wrong. Of course I have edited sudoers with visudo.
I'm trying to install Apache2+PHP5+MySQL-cluster on a Ubuntu 10.10 server. I've done many installs like this but with just plain MySQL so this is my first time using mysql-cluster. After getting mysql-cluster working I went back and installed the packages for apache and php5, but somehow I forgot to install the php5-mysql package (not sure how I missed that!) so when I got back to install it it tells me it wants to uninstall mysql-cluster. The "error" I see is:
mysql-cluster-client will be automatically removed because of dependency errors:
* mysql-cluster-client depends on mysql-cluster-client-5.1 [universe]
I put a lot of time in to get mysql-cluster working and don't want to lose it. How do I tell aptitude to just leave it alone and install the php5-mysql package?
i installed a package with dpkg --install and told it to ignore an unmet dependency because the package it depended on could not be installed with apt-get (it was a perl module) and i have manually installed the perl module, it works... however every time i do "apt-get upgrade" or anything like that it wants to remove the package i forced to install because it still thinks there are unmet dependencies, is there a way to either tell it to ignore that the package has unmet dependencies (i mean ignore that always, not something i will have to add every time i use aptitude) or is there a way to convince it that the package it thinks is missing (the unmet dependency) is actually met.
View 3 Replies View RelatedI'm currently experiencing a problem when trying to upgrade my system through aptitude (apt-get *). I can install programs, but whenever it tries do anything with the kernel I get this error:
E: linux-image-2.6.32-24-generic: subprocess installed post-installation script returned error exit status 2
This started about a month ago when I was trying to install some upgrade (with apt) which stalled and I unknowingly shut down the comp while it was running.
In accordance with aptitude doc:
Code:
As a special case, install with no arguments will act on any stored/pending actions..."
OK, let's try:
[Code].....
I was wondering if anyone knew how to get long package descriptions which searching for packages with aptitude.my search results have package descriptions that are truncated even if the terminal is expanded to allow longer one-line package descriptions.
View 1 Replies View RelatedI stopped using ubuntu for a while at 9.04 (went to mint and came back) because it was not installing properly. I thought it had aptitude in it then, but I did not have it after installing 10.10 (installed it twice it is not on either). I am just wondering why, even debian includes aptitude.
View 3 Replies View RelatedThe following packages have been automatically kept back:
The following packages have been kept back:
Did a fresh install of 10.04 Desktop 86_64 this weekend. One of the first issues I noticed right away was that apt was not function properly. Say for example you install the packages tor and vidalia (assume I'm running everything from root). #apt-get install tor vidalia This command will check and install necessary dependencies, for example 'privoxy'. Now if you decide that you don't want to use privoxy and instead use polipo, you would probably feel inclined to remove privoxy. Well I found that apt-get autoremove, apt-get remove, apt-get purge WILL NOT remove all the files/directories associated with the package. You'll find that after running each of these commands, there will still be directories, scripts, etc. in /etc/init, /etc, and /etc/rc*.d. The only solution I've found to completely removing a package is aptitude purge [package].
View 1 Replies View RelatedIs Aptitude Package Manager good as Synpatic?
View 5 Replies View RelatedIn Ubuntu 10.10 am trying to install Aptitude and have been through installing and un-installing but keep getting the same msg
Failed to execute child process "su-to-root" (No such file or directory)
how to resolve this issue.
I saw this post [URK] and I'm having the same problem up to the point of installing/updating aptitude. Here is the background: I logged in and just recently added another monitor and used Multiple Monitors from the software downloader to manage them. Last night they worked great and I was using the extended desktop. When I logged in this morning they were cloned and I couldn't get the buttons "clone or extend" to not be grayed out. I couldn't have cared less since I was just logging on to check email and things so I looked around for a second in the settings and was sidetracked by the display/window options. I was scrolling through the different themes and colors and then all of a sudden BAM! back to the login screen. I was using the arrow down key to scroll and like I said, immediate toss to the login screen. I made O.o? that face and tried to login and then I kept getting kicked back the same as the post I linked above. So...
I press ctrl+alt+f2 and log in. I see Welcome to Ubuntu! back to the aptitude step, when I run sudo aptitude update && sudo aptitude reinstall gdm I return sudo: aptitude: command not found. So when I do: sudo apt-get install aptitude I return E: unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I lost my ssh connection to Ubuntu 10.10 server during the configuration update stage of an aptitude full-upgrade for a few month's worth of updates.From the following ps ax list, can anyone tell me how I might reconnect to the screen which is prompting whether to keep the existing samba version, or use the distribution conf version?
Failing that, what's the safest sequence top kill these processes and start again? This time I'll remember to use screen to prevent connection loss.