The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
4answers
1k views

aptitude: list all previous recommended packages

sometimes when installing a package, aptitude recommends several other packages. Is there a way to show all previous recommended packages of all installed packages? Thanks in advance. Casper Edit: ...
0
votes
2answers
196 views

Purge every package with a given string in its name

What I want do is to purge (via aptitude purge) every package installed with a given string in its name. E.g. apache2. I've got several packages with the string apache2 in their name installed on a ...
1
vote
1answer
2k views

Debian squeeze kernel backports upgrade - moving forward?

It was suggested to update my Debian Squeeze kernel to something more recent. We chose 2.6.38 and used Debian Backports to install linux-image-2.6.38-bpo.2-amd64 following these instructions ...
1
vote
2answers
75 views

Does Debian or Ubuntu have a means of logging apt/aptitude commands?

Does Debian or Ubuntu have a means of logging apt/aptitude commands? I could also ask the same about yum commands in Redhat? Do they have a history file?
4
votes
3answers
2k views

Getting an error while installing supervisord on ubuntu 11.04. Any way to fix this?

# aptitude install supervisor The following NEW packages will be installed: python-medusa{a} python-meld3{a} supervisor 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need ...
1
vote
1answer
137 views

Cent OS. Removed yum packages with apt-get. Server at work is down

I ran: sudo apt-get --fix-broken install and ended up removing: MySQL-client (5.0.92-0.glibc23) MySQL-server (5.0.92-0.glibc23) bandmin (1.6.1-1_newinit) exim (4.69-30_cpanel_maildir) mdadm ...
1
vote
2answers
543 views

Debian etch apt-get issues

I'm new to this area of Linux. I have a linux box which says kernel version is 2.6.18-4-amd64. It's been working as it for a long time. I needed to install subversion on the box, hence I tried ...
1
vote
1answer
72 views

How to install apache2 while not removing apache on debian etch?

I'm looking to do an upgrade from apache1.3 to apache2.2. My plan was to install apache2 with aptitude, but that tells me apache and related packages will be removed, which obviously I don't want as ...
2
votes
1answer
185 views

Debian aptitude: determine which repository a package is coming from? [closed]

In Aptitude, how can I tell where a package is coming from? I've set up my apt sources.list and preferences files for pinning, but I just want to make sure I'm not unknowingly upgrading to packages ...
2
votes
1answer
82 views

Ubuntu compare original package and installed parameters

I'd like to compare the actual config files for, let's say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I ...
0
votes
1answer
393 views

Ubuntu: How to scan and reinstall lost files from installed packages?

Recently, my Ubuntu server had a disk failure, after a LiveCD & fsck.ext4, it seems many inodes are lost. Most of them should be program files of installed apt packages. Before I'm going to ...
7
votes
2answers
415 views

What is the most easiest way to create a virtual package in debian?

1.) What is the most easiest way to create a "virtual package" in debian? My problem: I have compiled/installed mysql from source and now need to tell other packages that mysql is already installed ...
2
votes
1answer
4k views

Problems installing PHP libevent PECL Package

On my Ubuntu 11.04 development machine I have PHP installed (via aptitude). I want to experiment with the libevent PHP extension but I can't seem to get it working: root@alix-laptop:~# pecl install ...
1
vote
1answer
57 views

Debian - Upgrade cpp-4.3 to cpp-4.4

I have Debian Squeeze and I have cpp-4.3 which sits on it: I want to know if I can remove cpp-4.3 and others and install something like cpp-4.4 or higher. And why does aptitude does not upgrade ...
4
votes
2answers
137 views

how do I find where apt-get installs files belonging to a package

I installed a package with apt-get, and now I need to locate where these files have been placed. I tried: sudo apt-cache show <package> and, sudo find / -name <package> but it did ...
2
votes
3answers
755 views

Upgrade from Debian Lenny to Squeeze with apt-get

I just upgraded my system from Lenny to Squeeze following the steps posted here. I followed all the steps using apt-get (in the upgrade from Etch to Lenny i used aptitude as suggested) and the upgrade ...
3
votes
4answers
914 views

Debian = aptitude how to deselect/disable automatic packages when installing software?

i want to install subversion. But I have already (manually) installed mysql. And it seems that aptitude will again try to intall mysql mysql-common{a}. How can I deselect the mysql installation when ...
7
votes
1answer
2k views

How do I generate a response file to be used with apt-get or aptitude?

I need to install exim4 through puppet. Because this installation requires interactive configuration, I need a response file, but I don't know how to generate one. So, how do I generate a response ...
1
vote
3answers
2k views

How do I check to see if an apt lock file is locked?

I am writing a script to do some apt commands, but I am running into potential issues of the apt/dpkg databases being locked so my script bails. I want to check the lock files (i.e. ...
-1
votes
1answer
354 views

404 when doing safe-upgrade in lucid 64 box?

Why I see 404 when doing sudo aptitude safe-upgrade in my lucid 64 box? deploy@li167-251:~$ sudo aptitude safe-upgrade Reading package lists... Done Building dependency tree Reading state ...
1
vote
2answers
959 views

How to include Debian repository from different architecture

I am running AMD64 Debian. I need to install software from external vendor which supports i386 architecture only. While I can add their repository to sources.list, those i386 packages do not appear ...
0
votes
3answers
811 views

unable to install anything on ubuntu 9.10 with aptitude

Earlier i could install software by using the 'sudo aptitude install ' command. Today when i tried to install rkhunter i am getting errors. It is not just rkhunter, i am not able to install anything. ...
0
votes
1answer
282 views

How to get rid of grub error on aptitude safe-upgrade

This is a new ubuntu 10.04 root server at the hoster. I did the initial sudo aptitude update && sudo aptitude safe-upgrade Now I am confronted with this message each time I run sudo ...
1
vote
2answers
842 views

Aptitude update 404

All I get are the errors below. How can I debug / what might be wrong? I don't know when this happend, probably just some days ago. Nothing has been changed in the system, that I know of. The only ...
0
votes
2answers
2k views

How to permanently ignore grub-pc package for aptitude?

I'm running Ubuntu 10.4 virtualized under Xen and the grub-pc package is broken and apt-get notifies me every time I run it. I just want to configure apt-get / aptitude to ignore this package ...
1
vote
2answers
976 views

aptitude 404 Not Found [IP: 64.50.233.100 80] error

ím trying to install, remove, update some packages in my debian box: todasana:~# cat /proc/version Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-18etch1) (waldi@debian.org) (gcc version 4.1.2 ...
1
vote
1answer
821 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 ...
2
votes
1answer
144 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?
0
votes
1answer
1k 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
397 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 ...
1
vote
1answer
44 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?
3
votes
3answers
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 ...
2
votes
5answers
3k views

apt-get, aptitude package version

How can I find out package versions available from repositories?
0
votes
2answers
764 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 ...
2
votes
4answers
2k 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. ...
0
votes
2answers
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 ...
2
votes
1answer
470 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 ...
1
vote
2answers
273 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 ...
1
vote
1answer
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 ...
0
votes
2answers
799 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: ...
3
votes
2answers
4k 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 ...
6
votes
1answer
2k 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?
0
votes
3answers
794 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?
0
votes
2answers
522 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 ...
0
votes
3answers
2k 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 ...
1
vote
2answers
827 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 ...
12
votes
3answers
5k 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 ...
1
vote
3answers
573 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?
6
votes
7answers
589 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 ...