The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
1
vote
3answers
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 ...
0
votes
3answers
431 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. ...
0
votes
3answers
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 ...
0
votes
1answer
243 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?
5
votes
5answers
2k 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. ...
0
votes
2answers
2k 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
4
votes
1answer
383 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 ...
5
votes
2answers
7k 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 ...
1
vote
2answers
756 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 ...
1
vote
3answers
1k 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 ...
5
votes
3answers
3k 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) ...
0
votes
2answers
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. ...
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' ...
0
votes
5answers
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 ...
4
votes
4answers
438 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 ...
68
votes
7answers
58k 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 ...
19
votes
9answers
7k 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?
3
votes
5answers
2k 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 ...
3
votes
3answers
1k 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
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 ...