1
vote
0answers
31 views

What can prevent apt from installing higher version

I'm trying to install a specific version of a package (python-neutronclient), but apt is failing to do that due to old packages. This happens even though new packages are available. Aptitude also ...
0
votes
2answers
327 views

How can I exorcise a specific Ubuntu package that crashes on a postinstall script?

I have a libssl-dev package installed, possibly because I am not sure if I bypassed the package manager, and it's visible from the package manager but won't go away. ...
1
vote
1answer
754 views

Debian removed /var/lib/dpkg/info/, is there a way to save the system?

Removed accidentally /var/lib/dpkg/info/, now I am having problems with installing/removing packages, it prompts errors, cause can not find the info about installed packages. Is there any way to ...
4
votes
2answers
655 views

How to version lock packages in Ubuntu? [duplicate]

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 ...
0
votes
2answers
69 views

How can I make aptitude show me the files that will be installed for a given package

On ubuntu I would like to know which files that will be installed when running sudo aptitude install ruby-rvm. So first I do sudo aptitude download ruby-rvm. Now I can do aptitude show ruby-rvm, but ...
0
votes
1answer
78 views

Reconfigure a Debian or Ubuntu package

I need to reconfigure my debian or ubuntu postfix package. How can I do this? NOTE: I am answering my own question
1
vote
1answer
588 views

Unknown error executing gpgv

I have a single deb entry: # cat /etc/apt/sources.list deb ftp://debian.uchicago.edu/debian testing main contrib non-free I get this glitch when I update: #aptitude update ... W: GPG error: ...
2
votes
2answers
97 views

After installing something, command not found

Whenever I follow a step by step guide, I have this problem: $ sudo apt-get install something $ sudo something No 'something' command found Something is installed, and I can find it with 'locate' ...
0
votes
2answers
179 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 ...
7
votes
2answers
364 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 ...
1
vote
1answer
56 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
132 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 ...
1
vote
1answer
42 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?
0
votes
2answers
742 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. ...
1
vote
2answers
269 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 ...
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
2answers
519 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
5answers
3k 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 ...
0
votes
3answers
721 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 ...
1
vote
2answers
137 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 ...
0
votes
3answers
396 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. ...
1
vote
1answer
82 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' ...
59
votes
7answers
52k 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 ...
4
votes
7answers
24k 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 ...
17
votes
9answers
6k 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?
2
votes
2answers
215 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 ...