Aptitude is a quite powerful package manager leveraging CLI and an ncurses-style interface.
1
vote
0answers
3k views
Update manager generates 404 error while attempting update. Will not update [duplicate]
Possible Duplicate:
How can I fix a 404 Error using a PPA?
While running update manager in Ubuntu 11.10 Oneric Ocelot I receive this list of errors.
> W:Failed to fetch
> ...
85
votes
9answers
3k views
What's the difference between package managers?
I know Ubuntu/Kubuntu has several programs that can be used to install packages, such as apt-get, aptitude, and synaptic (and perhaps others). What are the differences between them, and which one is ...
63
votes
4answers
12k views
Is aptitude still considered superior to apt-get?
When I first started with Ubuntu using aptitude was the 'in-thing', with some stated improvements over apt-get. Am I correct in saying that apt-get has now 'caught up' with aptitude, and it makes ...
15
votes
5answers
3k views
How do I figure out what package something is in without resorting to Google?
I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me:
$ make html
sphinx-build -b djangohtml -d _build/doctrees . ...
26
votes
3answers
6k views
How can I remove the Translation entries in apt?
This is the output of aptitude update:
Ign http://archive.canonical.com natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://dl.google.com stable InRelease
Ign ...
4
votes
3answers
2k views
Backup Software Sources
In Ubuntu 10.04, when I goto System > Administration > Software Sources and goto the Authentication tab, I can view all of my keys allowing me to download from third party sources.
How would I back ...
8
votes
1answer
3k views
Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?
When running apt-get -y install <packages ...> on Ubuntu 10.04 I would like apt-get (or aptitude if that makes it easier) to not prompt me when installing additional dependencies (behavior of -y ...
11
votes
1answer
4k views
Restoring all data and dependencies from dpkg --set-selections '*'
So I can run on one machine:
dpkg --get-selections '*' > selection.txt
On another machine:
dpkg --set-selections < selection.txt
... followed by either of the following:
aptitude install
...
8
votes
1answer
2k views
Assign highest priority to my local repository
Summary
How can I make apt-get prefer local repository packages instead of downloading again the same package version from official repositories? The local repository is signed and trusted. We've ...
3
votes
2answers
169 views
How can I set up aptitude-curses so that it doesn't automatically select *recommended* packages?
When I select a package for installation using aptitude-curses, sometimes a huge list of extra packages appear selected under "Packages being automatically installed to satisfy dependencies". When I ...
4
votes
1answer
730 views
Why does aptitude want to remove a bunch of files?
Recently I encountered dependencies resolve issues when using APTITUDE (it is my favorite).
Nevertheless, I started to feel that APTITUDE does not behave as it is supposed to be in 64 bits systems ...
1
vote
1answer
3k views
packages been kept back
I tried both aptitude -y safe-upgrade and apt-get upgrade -f but in both cases, I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following ...
0
votes
1answer
2k views
Which INPUT rules do I need to add to iptables so apt (apt-get, aptitude) can work (update, upgrade, search, install)?
I need to use aptitude to update and install software but it fails. It says...
0% [Connecting to archive.ubuntu.com]
...and halts. I need to type CTRL-C to move out. I'm using Ubuntu Server 10.04 ...
18
votes
4answers
467 views
Is it possible to tell what packages I've installed that aren't in the vanilla install?
I've upgraded Ubuntu on my laptop all the way from 7.04 to 10.04 without ever wiping the disk. I have a sneaking suspicion that means I have a bunch of crufty packages that I don't use and that are ...
10
votes
7answers
4k views
Generating list of manually installed packages and querying individual packages
I'd like to get a list of packages installed manually by apt or aptitude and be able to find out whether a foobar package was installed manually or automatically. Is there any neat way of doing that ...
6
votes
9answers
2k views
Install .deb on from CD-ROM while offline with default applications only
I have an application with a .deb package to install it. If the user is online, everything works fine. However, I need to support installing on offline computers from a CD-ROM, and I can only assume ...
16
votes
3answers
3k views
apt-get vs. aptitude .vs synaptic compatibility
I had been a Debian user for almost 3 years... but memories have gone really fuzzy...
I "kind of" remember that I should only use one of the package managers...
Either apt-get, aptitude, or synaptic, ...
5
votes
1answer
486 views
Can I see more details of an aptitude dist-upgrade?
When I type
aptitude dist-upgrade
I get for example:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
...
23
votes
4answers
1k views
Why was aptitude removed in favor of apt-get?
Why was aptitude removed in favor of apt-get by default? I read it somewhere, but forgot - anyone bother to clear it up? And doesn't Debian prefer aptitude and Canonical apt-get?
Update
From the ...
11
votes
2answers
386 views
Possible problems in mixed use of apt-get, aptitude and synaptic
Even though aptitude and synaptic are both front-end to the APT (and I myself
stick only with apt-get), peculiarities in each of the available dpkg/APT
frontends seem to cause problems and confusions ...
5
votes
2answers
129 views
How exactly does Synaptic keep track of “New in repository” packages?
Is this info part of APT cache or does it create a separate file to compare with new cache?
Where is it stored then?
11
votes
5answers
4k views
How to see packages installed on a given date using aptitude
Does anyone know if there's an easy way to find a list of packages installed, sorted by date, when using aptitude (or apt-get)?
I was installing a bunch of packages to try something new, and it ...
8
votes
3answers
547 views
Is there a way to check if a program is available in the repository by commandline?
When i find a interesting program i want to test and install in ubuntu i first check if it's available in the repository. For that i use the software center.
But does a possibility exist to check it ...
6
votes
2answers
1k views
Is there a safe way to reinstall via the package manager?
Assume, I have a system with all the packages installed, which I want, and all configuration files set up as desired. However, the files on the file system could have become corrupted or missing due ...
6
votes
3answers
2k views
Why does update-mime-database complain about uri/rtspt and other unusual types?
When running update-mime-database - usually automatically launched by apt-get - why do I reliably get complaints like:
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
...
6
votes
3answers
1k views
What is the equivalent apt-get or aptitude command
Is there an equivalent to the yum "whatprovides" option in apt-get?
For example on CentOS
yum whatprovides /usr/share/gdm/themes/TreeFlower/background.png
Tells me
...
5
votes
4answers
5k views
Why does apt-get fail when automated with cron?
I'm trying to use cron to automate my system updates. You can see my crontab, commands, and resulting errors below.
When I run upgrades.sh as root, the script runs fine. When cron runs it, apt-get -y ...
3
votes
1answer
12k views
Unable to correct problems, you have held broken packages
After upgrading from 10.04 to 12.04 I am trying to install different packages.
For instance ia32-libs and skype (4.0).
When trying to install these, I am getting the 'Unable to correct problems, you ...
3
votes
1answer
3k views
Using sudo aptitude/apt-get update does not work
Trying to update via terminal via aptitude or apt-get is not working. There is no other package management program running in the background or any other user.
I tried both, sudo aptitude update ...
3
votes
2answers
2k views
How do I pin a particular MySQL version to avoid unnecessary upgrades?
I'm running a MySQL server, and want to keep it up to date with regular apt-upgrades. I don't want this to cause MySQL to upgrade unless I'm doing it during scheduled downtime! How do I alter my ...
2
votes
2answers
347 views
How to install a package from a PPA and ignore the official one?
How do I tell aptitude to grab a package specifically from a PPA and ignore the one from official repository?
1
vote
0answers
253 views
Running 'apt-get upgrade' on Amazon EC2 AMI twice in succession upgrades very different packages
When I run apt-get upgrade the first time on a freshly created Precise 64-bit AMI (ami-a29943cb), I get the following:
The following packages have been kept back:
linux-image-virtual linux-virtual
...
3
votes
1answer
95 views
Show available/installed version in the output of aptitude search
Is it possible to make aptitude show the available/installed version of a package in an output of aptitude search mypackage?
I know that I can show the version via aptitude show mypackage, but I want ...
2
votes
2answers
3k views
How to remove warnings like `Unknown media type …`
Each time apt-get tries to process triggers for shared-mime-info, it reports warnings like:
...
Processing triggers for shared-mime-info...
Unknown media type in type 'all/all'
Unknown media type in ...
1
vote
1answer
30 views
How do I find which packages could be set as automatically installed?
I am having a hard time understand who depends on who using apt-cache depends and apt-cache rdepends. I am keeping a long list of packages that I installed to solve a number of dependency problems.
I ...
1
vote
0answers
108 views
Rollback instead of completing dpkg-configure -a?
On a new VPS, aptitude dist-upgrade hangs during /usr/sbin/grub.
Now, aptitude is in a bad state:
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I ...
1
vote
1answer
3k views
How do I install missing dependencies on my system?
I was fooling around trying to fix this problem, and I removed some important packages. When I realized that it was cleaning out more things that I had intended, I just rebooted, rather than try to ...
0
votes
1answer
112 views
how safe is deb http://debian.nfgd.net/debian unstable main?
How safe is it to install these two packages?
root@dur:/home/thufir#
root@dur:/home/thufir# tail /etc/apt/sources.list
## This software is not part of Ubuntu, but is offered by third-party
## ...
