Questions tagged [aptitude]
148 questions
255
votes
10 answers
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 from Testing?
Gareth
- 8,413
- 13
- 43
- 44
45
votes
4 answers
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 an aptitude option to show me that (or apt/dpkg);…
Sam Brightman
- 745
- 1
- 7
- 12
41
votes
12 answers
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
- 747
- 2
- 10
- 13
17
votes
2 answers
How to version lock packages in Ubuntu?
On CentOS exists the yum versionlock option, where you can lock a package to a specific version, so it is never upgraded past that.
I would like that
puppet-server-2.7.19-1
puppet-2.7.19-1
stays on 2.7, and never upgraded to 3.0. Puppet Labs have…
Sandra
- 9,973
- 37
- 104
- 160
14
votes
1 answer
How to check postfix server using telnet
I have postfix email server on Ubuntu 11.04 version. I upgraded installed packages using the following command
sudo aptitude update && sudo aptitude safe-upgrade
Once I update those packages, I couldn't connect my email from my client machine. So I…
Smith Dwayne
- 249
- 1
- 2
- 5
14
votes
4 answers
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 that I need? On RPM based systems they have the…
ejunker
- 293
- 5
- 11
11
votes
5 answers
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?
Edit:
Thanks for the replys so far. I already tried:
aptitude show ~i | grep…
casper
- 499
- 2
- 5
- 12
10
votes
1 answer
apt-get install -t testing appX VS apt-get install appX/testing
I've been trying to understand the difference between these two commands and noticed that I get different results.
apt-get install -t testing appX
apt-get install appX/testing
Background
I setup my sources lists and pinning config as per…
eugenevd
- 419
- 5
- 12
10
votes
3 answers
What is the easiest way to create a virtual package in debian?
What is the 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 (otherwise they will also try to install mysql...). I…
Markus
- 847
- 2
- 10
- 13
10
votes
2 answers
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 lists all installed packages for which there exists a…
thomasrutter
- 2,437
- 1
- 25
- 34
9
votes
1 answer
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 use it, to get my bug fix used locally?
The…
John McAleely
- 356
- 5
- 13
9
votes
3 answers
How to install packages with APT without user interaction?
I have a script that downloads and replaces kernel headers in Debian squeeze.
function fixHeaders(){
#Replace the kernel headers from OVH with standard kernel headers...
aptitude -y install linux-image-2.6.32-5-amd64
sed…
에이바
- 612
- 4
- 11
- 34
9
votes
3 answers
Debian - "WARNING: untrusted versions of the following packages will be installed!"
When i try to install or update any packages I get:
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
I strongly suspect this is related to…
user1794469
- 217
- 2
- 6
7
votes
1 answer
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 file?
Daniel C. Sobral
- 5,563
- 5
- 32
- 48
6
votes
7 answers
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 not use the other because they don't work the same…
e-satis
- 409
- 5
- 17