Debian package manager

learn more… | top users | synonyms

3
votes
2answers
335 views

How to run a command after apt-get upgrade

Recently I came across the nice checkrestart tool, that checks if running processes use an outdated version of a recently updated library and would need a restart to load them with the updated lib. At ...
1
vote
2answers
331 views

aptitude remove pkg_name* not working like apt-get

I have uninstalled (aptitude purge) the qt-sdk package but there is still a lot of qt4* and libqt* packages on my system. Is there a way to remove all these packages with aptitude remove/purge ...
3
votes
1answer
2k views

How do I fix these broken dependencies?

aptitude tells me I have some packages with broken dependencies: kmiller@debian-dev-box:~$ sudo aptitude search '.*' | grep ^.B iB console-setup-linux - Linux specific part of ...
1
vote
1answer
73 views

Understanding aptitude's behavior on a machine with multiple archives enabled

I'm having to deal with a Debian server, which initially was Squeeze, I believe, but where administrator enabled several distributions: deb http://mirror.yandex.ru/debian/ stable main contrib ...
1
vote
2answers
178 views

Aptitude doesn't remove automatically installed packages

It seems aptitude doesn't remove automatically installed packages that are not depended on if these packages are suggested by any other (manually installed) ones. root@host:/# aptitude install ...
2
votes
1answer
37 views

Start installation of a package, when the working one is finished

Suppose I install a package on a debian based system via sudo aptitude install mypackage. Suppose the package is big and it takes long to download and install it. When I notice that I want to ...
1
vote
1answer
245 views

Ubuntu Could not purge package

I've tried to install oracle-java7-installer package from custom repository onto Ubuntu 12. It was failed during executing some post-installation script. So. I want just to rollback it and proceed ...
2
votes
1answer
144 views

Aptitude Search reports package installed, while Aptitude Show reports it not installed - how is that possible?

me@friedly_server:~$ aptitude search samba-tools i samba-tools - Samba testing utilities me@friendly_server:~$ aptitude show samba-tools ...
3
votes
1answer
535 views

Trying to use multiple Debian repositories

General situation: I need to port a Qt project from MS Visual Studio 2010 to Linux (Debian). In VS 2010 I have Qt v.4.8.1, but in Debian it is Qt v.4.6.1. This difference prevents me from porting, as ...
2
votes
2answers
173 views

Automatic package is installed, but aptitude doesn't find any rdependencies. What am I doing wrong?

I have a package lm-sensors automatically installed on my Ubuntu 10.04, but can't find packages, that depend on it: $ aptitude show lm-sensors Package: lm-sensors New: yes State: installed ...
5
votes
1answer
1k views

How to safely resume an aptitude dist-upgrade after SSH timeout?

I started aptitude dist-upgrade over SSH on my local network. At some point the session timed out but the upgrade was not finished (it was left at one of those accept software agreement screens-- I ...
3
votes
1answer
62 views

Installed using apt-get, then ran out of storage

I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck. When I attempt to remove any packages I get the following error: E: dpkg was ...
4
votes
2answers
995 views

Configure MC and aptitude color schemes

I'm using Ubuntu, and I'm having trouble reading text in MC and Aptitude because of the color scheme. Is there any way to change it?
14
votes
2answers
521 views

Why do package names contain version numbers?

While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number. For example, Apache: apache2 Tomcat: tomcat7 PHP: ...
1
vote
1answer
200 views

How to purge package in debian without affecting other packages?

I had mysql-server-5.1 installed, then upgraded to mysql-server-5.5 and now upgraded to percona server (package percona-server-server-5.5). So now I have 2 mysql-server packages removed, but not ...
4
votes
4answers
162 views

Is it possible to determine what is inside Debian package without installing it?

I need a markdown library for development - based on package names I could not understand which one I should install... den@playground:~$ sudo aptitude search markdown p html2markdown ...
4
votes
1answer
4k views

How to remove gnome-games package without removing other packages?

So I want to remove (more exactly purge) some packages like gnome-games from Debian 6. As already expected and know by research Aptitude also wants to remove in example the meta-package gnome, as ...
7
votes
1answer
523 views

Debian: How to delay configuration when installing/upgrading?

One of my Debian systems is rarely upgraded. So when it is time to upgrade, there are loads of packages. Right now I basically have to monitor the upgrade, because every 50 packages or so there is a ...
1
vote
2answers
881 views

Replace yum with apt

I have used Ubuntu for like two years now. I am very comfortable with the aptitude package manager. I recently switched to Fedora(16)[I still have ubuntu on my other drive :) ] I am behind a ...
1
vote
0answers
263 views

crossplatformui error in Mint 11

Whenever I try to install something in my system it generally installs but shows some error related to "crossplatformui". I don't know what it is and how to remove it. I am printing here a sample ...
5
votes
2answers
640 views

How do I find installed packages that have no install candidate?

I'd like to retrieve a list of installed packages that have no install candidate (e.g., because I removed an apt source file entry). How would I do that on Debian-based systems?
4
votes
3answers
147 views

Using apt or aptitude to get version information about an uninstalled package?

I'm looking to install a package, but I'd like to make sure that I can't get a more recent version than, e.g., a PPA. Is there an aptitude or apt-get command that will enable me to input a package ...
5
votes
6answers
5k views

Can I use `apt-get` to upgrade to the latest version of Nagios?

At the time of this writing the latest version of Nagios is 3.3.1. I am running Ubuntu 10.04 and have used apt-get update; apt-get install nagios3 to end up with version 3.2.0. I know there are a lot ...
2
votes
1answer
372 views

How can I regenerate the default '/etc/' config files?

I've removed nagios3 with apt-get remove nagios3 and then removed the files in by using the command sudo rm -R /etc/nagios* Now when I run apt-get install nagios3 the config files (/etc/nagios3/*) ...
9
votes
4answers
749 views

How can I reliably “hold” a package in Debian?

I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
5
votes
2answers
2k views

How to make apt-get accept new config files in an unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our repo, it is a software package with one of Debian's marked config files. Is there any option that I can pass to ...
3
votes
4answers
7k views

debian: Remove or reinstall package in a very bad inconsistent state

I'm having a package management problem: At some point, I must have interrupted an update or something, because the bluez package has broken. I've tried removing and/or reinstalling, but I get ...
10
votes
2answers
392 views

How to list files and folders that are not maintained by any DEB package

I am in the process of moving my files from one Debian machine to another so that I can use the old machine for a different purpose. I do not want to miss any file because I will be formatting the ...
4
votes
1answer
318 views

Apt/Aptitude: how to filter packages that are impossible to install?

Especially when running Sid, there are many packages that become non-installable as the dependencies change ABI versions, or the dependencies themselves may have been dropped. It'd be good to know how ...
4
votes
2answers
255 views

How do I hide packages from appearing in apt system?

The list of uninstalled packages appearing in my aptitude is massive, but is full of packages that I'm very sure I will never ever install. E.g. my laptop is using intel graphics, so it doesn't make ...
3
votes
1answer
316 views

Aptitude: What is the filter for virtual packages that has been provided?

The ~v flag will display all virtual packages, but even if they are already provided by installed packages, adding ~i will make the list empty as virtual packages can never have i flag. So how do I ...
2
votes
2answers
541 views

'less' width issues

I'm connecting to my Linux boxes (primarily Debian Squeeze) using Putty for Windows. Whenever I run a 'less' command, e.g. on an aptitude search, less truncates the listing to much less than my ...
6
votes
1answer
4k views

How to install some packages from “unstable” Debian on a computer running “stable” Debian?

On a computer running "stable" Debian, when trying to install a package which is in the unstable list on the Debian web site using the "aptitude install /unstable" command, I get output similar to ...
7
votes
4answers
15k views

Removing broken packages

Recently in a bout of frustration with getting phpmyadmin setup, I decided to start from scratch. Unfortunately, during the uninstall phase, I was prompted with the root password for mysql which I ...
75
votes
3answers
92k views

Check package version using apt-get/aptitude?

Before I install a package I'd like to know what version i would get. How do I check the version before installing using apt-get or aptitude on debian or ubuntu?
115
votes
9answers
33k views

What is the real difference between “apt-get” and “aptitude”? (How about “wajig”?)

I know that both apt-get and aptitude are command line package management interfaces on Debian derived Linux, with different options, but I'm still somewhat confused. Under the hood, aren't they ...
0
votes
0answers
388 views

apt-get or aptitude [duplicate]

Possible Duplicate: What is the real difference between “apt-get” and “aptitude”? (How about “wajig”?) I'm new in Linux (Ubuntu) world. When I need to ...