Questions tagged [aptitude]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
885 views

Using aptitude to install extra php modules (after php has already been installed)?

I recently setup an Ubuntu Server 10.04 LTS server for a client which uses a PHP based forum. It's all gone well, but now it seems I need to install a new php module to enable spell checking in the ...
littlejim84's user avatar
2 votes
1 answer
198 views

Getting date of last aptitude upgrade

I updated the packages on a debian server a while back using aptitude but I cant remember the exact date when that happened. Is there a way to determine this?
domino's user avatar
  • 215
0 votes
1 answer
2k views

"aptitude -f install" fails

using debian lenny and trying to do a "aptitude -f install" I get this error message: Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encod ing.pm line 16. Use ...
yas4891's user avatar
  • 195
6 votes
1 answer
8k views

How to Get a List of All Root / Main Installed Packages on Debian

Is there a way to get all "main" packages that were installed via aptitude in Debian? By "main" I mean the package names that were given to aptitude via the install command. The equivalent of a Gentoo ...
Elmar Weber's user avatar
3 votes
2 answers
520 views

Generating a record of the full(-ish) package management state

I'm about to make some system changes and I'd like to have a record of my current happy system state. Is there a convenient way to create a record of this? I'd like to keep track of info like ...
intuited's user avatar
  • 415
1 vote
1 answer
61 views

Aptitude - find new versions of packages

How do I find out if new versions of installed packages exist without installing them via aptitude in non-interactive mode? Is there anything comparable to the MacPorts port outdated command?
tamm0r's user avatar
  • 13
3 votes
3 answers
4k views

How to upgrade ClamAV on Ubuntu Hardy Heron 8.04 LTS?

I'm running a server on Ubuntu Hardy Heron 8.04 LTS, and when I installed ClamAV via aptitude, it installed version 0.94. That version has now been EOL'ed, but when I run "aptitude upgrade", it doesn'...
user avatar
2 votes
5 answers
3k views

apt-get, aptitude package version

How can I find out package versions available from repositories?
Andrey Kuznetsov's user avatar
0 votes
2 answers
889 views

E: Internal Error, Could not perform immediate configuration (2) on libattr1 ? in Ubuntu

I am working with Ubuntu latest version. While installing via apt-get install i tried to abort that by pressing Ctrl+Z. It terminate successfully ;). But next time when i tried to use apt-get, i got ...
user avatar
2 votes
4 answers
6k views

Aptitude command on fedora

linux newbie here. I'm running Fedora 12 and I have a script for Ubuntu installing a bunch of packages using aptitude. I tried installing the packages using yum, but most of them aren't available. ...
user37974's user avatar
  • 123
0 votes
2 answers
3k views

Update php 5.2.0 to 5.2.4 with aptitude

I would like to update my php 5 in my server. At this moment, I use php 5.2.0 so I want to update it to php 5.2.4 (not php 5.3). I tried to do this: aptitude update aptitude upgrade 63 packets were ...
Kiva's user avatar
  • 155
2 votes
1 answer
546 views

Unrespected pinning in Ubuntu with aptitude

I'm running an Ubuntu 9.10 (Karmic) system, but would like the beta Lucid repositories enabled for some packages I need bleeding-edge versions of. I'm trying to use apt-pinning so that they will ...
user avatar
1 vote
2 answers
437 views

Is it prudent to ignore all kernel updates on Amazon EC2 instances?

Given that it's impossible to "aptitude update" your way to a new kernel on an Amazon EC2 instance, I was wondering if it ever makes sense to apply kernel updates. My guess is no, and that I should ...
Mike Conigliaro's user avatar
1 vote
1 answer
2k views

How do I install the latest Sun Java JRE on Ubuntu Server 9.10?

Unfortunately, if I try to install sun-java via apt-get, it's not found in the repositories. # apt-get install sun-java6-jre Reading package lists... Done Building dependency tree Reading ...
damon's user avatar
  • 171
0 votes
2 answers
1k views

What does apt's "failed in buffer_write(fd)" error message mean?

I have a server and am trying to do an apt-get upgrade, and get the following error message. What does it mean? E: /var/cache/apt/archives/linux-ubuntu-modules-2.6.24-27-generic_2.6.24-27.45_i386.deb:...
Amandasaurus's user avatar
  • 32.3k
10 votes
2 answers
9k views

How can I list all installed packages from lenny-backports?

In Debian or one of its derivatives, how can I list all packages which I have installed from lenny-backports? The closest I've come up with is: aptitude search ~i~Alenny-backports However, that ...
thomasrutter's user avatar
  • 2,596
6 votes
1 answer
3k views

How do I specify the MySQL root password non-interactively when installing via Aptitude?

aptitude install mysql-server while throw up a prompt asking for me to set the root password. I'd like to avoid this by specifying the password in the initial command. How do I do this?
pr1001's user avatar
  • 225
0 votes
3 answers
2k views

Is it possible to use aptitude on a redhat machine?

We're having to manage a server for a client that is running RHEL 4. Is it possible to run aptitude on this server to install/manage packages?
Montana Harkin's user avatar
0 votes
2 answers
759 views

Why can't I uninstall mysql completely? look! it's still there

root@db2:/var/log/mysql# aptitude remove mysql-server --purge Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing ...
Alex's user avatar
  • 8,591
0 votes
3 answers
3k views

Cannot install MYSQL using aptitude...can anyone tell me why?

It just stops and freezes after this. The following packages will be upgraded: libmysqlclient15off mysql-client mysql-client-5.0 mysql-common 4 packages upgraded, 4 newly installed, 0 to ...
Alex's user avatar
  • 8,591
1 vote
2 answers
1k views

apt-get install giving 404

I'm something of a ubuntu newb. I'm trying to get subversion, so I enter: apt-get install subversion I'm getting a 404 on subversion and all its dependencies. E.g. Failed to fetch http://us.archive....
pondermatic's user avatar
56 votes
5 answers
58k views

How do I show the actions that installing a .deb package will take?

I would like to be able to view the scripts/triggers associated with a package due for upgrade so that I can tell, for example, whether it will result in the web server being restarted. I can't find ...
Sam Brightman's user avatar
2 votes
3 answers
1k views

How can I list which packages are from experimental?

I have a system which is a mishmash of testing and unstable and some from experimental. How can I get a list of which packages I've installed from experimental?
peje's user avatar
  • 131
6 votes
7 answers
1k views

It is true that I shouldn't run apt-get and aptitude on the same machine?

I have been using apt-get for some years on Ubuntu now, and tried aptitude a few times. I have read in some blogs that once you have used one of the tools on your system, you should stick to it and ...
Bite code's user avatar
  • 409
1 vote
5 answers
4k views

Fedora, apt-get & aptitude

I am used to working on Ubuntu based systems. I have several DEBIAN repositories for distributing my software. Now, I'd like to know if it is common for Fedora users to use "apt-get" and DEBIAN ...
jldupont's user avatar
  • 1,879
0 votes
3 answers
935 views

apt-get install and upgrade fails on debian

I've got a strange error preventing me from installing anything on my Debian box. When I run apt-get upgrade (or apt-get install) it produces this error message: # apt-get upgrade E: dpkg was ...
fiskah's user avatar
  • 233
1 vote
2 answers
200 views

Make Aptitude respect get-selections list

We are several admins working on hundreds of debian servers. Some are using aptitude, some are using apt-get. To mark packages on hold, some use "echo $package hold | dpkg --set-selections", some use "...
Falken's user avatar
  • 1,742
1 vote
3 answers
1k views

Is there an Ubuntu server package for PHP 5.3

It's been some time now since the release of PHP 5.3. I can't wait to work with it, but the Ubuntu developers have decided not to include it in the APT repository until 10.04. I don't want to wait ...
Bart van Heukelom's user avatar
1 vote
3 answers
10k views

After I change /etc/apt/sources.list...why doesn't it take effect?

Do I have to restart something? Edit: sudo apt-get update has no effect. When I search this on another machine with the SAME sources.list, it works. But, it still doesn't work on this machine. ...
Alex's user avatar
  • 8,591
0 votes
3 answers
2k views

Why can't I install Java via "sudo aptitude" in Ubuntu?

$ sudo aptitude install sun-java6-jdk [sudo] password for fal: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing ...
Alex's user avatar
  • 8,591
0 votes
1 answer
313 views

How to install JAVA via aptitude?

One of the open source web crawlers (Heritrix) requires Java to run. I have to install this on my CENTOS via the command line (aptitude). How?
Alex's user avatar
  • 8,591
6 votes
5 answers
5k views

Disable/Remove Apt(-get)

Is there anyway to disable/remove apt-get on a debian based server. I'd prefer to use aptitude, and don't want the other users to be installing packages with apt-get, to avoid package/database issues.
DeadlyCreampuff's user avatar
1 vote
2 answers
6k views

Change the locale/language of apt-get/aptitude

I have a Debian system on which aptitude produces German messages although I set the default locale to en_US.utf8. Is there a way to change that? I would prefer English messages. Andre
Andre's user avatar
  • 123
9 votes
1 answer
1k views

How should I create a local fork of a debian package?

I wish to maintain a local fork of a debian package. I need to patch a bug which will eventually be fixed in the official package, but not for some time. How do I create a .deb package, and how do I ...
John McAleely's user avatar
5 votes
2 answers
17k views

How to completely remove a package in Debian?

I tried to use this: aptitude remove denyhosts And it seemed successfully but after a reboot after I use: ps aux | grep "denyhosts" I see denyhosts is still loaded after startup. So what am I ...
datasn.io's user avatar
  • 279
1 vote
2 answers
1k views

How to install a local .deb file

I'm trying to install the last version of maatkit in debian Lenny. I couldn't find a repository with the last version, so I got the .deb file. The problem is How to I install this file? man aptitude ...
The Disintegrator's user avatar
1 vote
3 answers
2k views

Ubuntu 8.04 (Hardy): How to automatically apt-get / aptitude upgrade packages for bugs/security?

I have a lab full of workstations running Ubuntu 8.04 (Hardy Heron). My predecessors made a hackish bit of cron script to update, upgrade, and clean daily. I like the fact that it requires zero ...
Phil Miller's user avatar
  • 1,765
5 votes
3 answers
4k views

/etc/cron.daily/apt and /etc/cron.daily/aptitude on ubuntu hardy

I am a sys admin newb, otherwise I would figure this out on my own. I have a slicehost slice and I noticed that there are a couple scripts that get run (the ones I mentioned in my question title) ...
user18536's user avatar
  • 151
0 votes
2 answers
1k views

How can I prevent aptitude from upgrading me past lenny? (Debian Linux)

I can't seem to stop aptitude from upgrading all my packages to testing or beyond. I'm running Debian lenny, and generally I want to stick with packages from lenny unless I explicitly say otherwise. ...
Norman Ramsey's user avatar
1 vote
1 answer
93 views

What is the best method for Meta-managing Debian Package Profiles?

Over the last 5 years or so, I've been seeing more and more techniques to sync things from browsers, to ide's. Now I'm keen on setting up something similar for 'meta-managing apt package profiles' ...
heymatthew's user avatar
0 votes
5 answers
2k views

MySQL install on Ubuntu

I have install mysql cluster on one of our linux machines, we did a pilot and decided to use replication instead. Now I want to remove it and install mysql-server. I have removed all the old files as ...
Brian G's user avatar
  • 375
15 votes
5 answers
10k views

How do I find the package that contains a given program on Ubuntu?

Frequently I know the name of the command line program that I need but I don't know the name of the package that provides the program. How do I find the name of the package that contains the program ...
ejunker's user avatar
  • 303
262 votes
11 answers
273k views

How can I run Debian stable but install some packages from testing?

Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two. What's the best way of installing only certain packages ...
Gareth's user avatar
  • 8,593
4 votes
7 answers
29k views

What is the fastest way to install Python 2.6 on an Ubuntu 8.04 server?

I just got an Ubuntu server set up, and it seems to have come with Python 2.5. I've been developing my app in Python 2.6, but apt-cache search ^python seems to not contain 2.6. What is the fastest way ...
Andrey Fedorov's user avatar
42 votes
12 answers
37k views

Find last time update was performed with apt-get

I need to find the last time that the apt-get update command was run on my server. How can I determine this information?
Mark Roddy's user avatar
3 votes
5 answers
3k views

Broken upgrade of debian, causing perl issues

So I stuffed an upgrade of debian, both upgrade and dist-upgrade. I am more used to yum but thats no excuse. Now things are being silly. The majority of things work, however, my bugzilla install ...
Christian's user avatar
  • 789
3 votes
3 answers
4k views

What is the format of specifying 'http' repositories in /etc/apt/sources.list?

After specifying the url of the repository, what do the tags like 'stable','non-free' mean in the entries of /etc/apt/sources.list ? If we know the url of a repository, how do we decide about these ...
2 votes
2 answers
251 views

Aptitude / apt-get. Any way to only show non-X dependant apps in a search?

It just occured to me that it would be good to do an 'aptitude search blah' and only have non-graphical applications shown. I know it's not a biggy but the docs don't seem to mention it and I would ...
Gareth's user avatar
  • 8,593

1 2
3