Questions tagged [apt]
APT, the Advanced Packaging Tool, is Debian's high-level package management system. It is also used by several other Linux-based and Debian-based operating systems.
1,156
questions
3
votes
1
answer
215
views
uninstall extras installed by apt-get install
I ran apt-get install gnome-terminal and apt-get install gnome-desktop on my linux box. It was just a command line box before that. Both of these things had like around 100mb of files to install - I ...
22
votes
1
answer
19k
views
Can I have two versions of the same package in an apt repository?
I'm running Ubuntu 10.04 across my entire environment. To make code deploys easier, we are implementing a private apt repository where we can deploy builds of our code.
One of the requirements of ...
8
votes
1
answer
4k
views
Why does reprepro complain about the "all" architecture?
I started setting up a deb repository today for some of our applications. Given that they are interpreted scripts, I went with "all" architecture (from conf/distributions):
Codename: lucid
...
0
votes
1
answer
2k
views
Ubuntu kernel downgrade
Is there a way to downgrade Ubuntu kernel version by using apt-get package management tools? Is there Ubuntu repository with older kernel versions available?
There are HW specific reasons I need to ...
1
vote
1
answer
6k
views
How do I ignore unmet dependencies when using apt-get -f install?
I'm trying to use apt-get to install imagick. Should be simple enough. This is my command.
apt-get install imagemagick libmagickcore-dev libmagickwand-dev
However instead of installing it keeps ...
2
votes
1
answer
36
views
Virtuell Packages keept back when updating
the one or other might have seen this message when working with apt:
The following packages have been kept back:
some-package
The usual solution to this problem is to manually install the ...
3
votes
2
answers
102
views
When using a Ubuntu LTS release, ramifications of updating source list
From what I understand, LTS releases for servers are meant to be stable releases.
Now say I am running Ubuntu Lucid 10.04 LTS, if I get a particular package, like say puppet, it will load 0.25 or ...
1
vote
1
answer
1k
views
Ubuntu Server 11.04 apt-get not functioning after several fresh installs
Apt-get update errors
I have been searching for hours to try and bring an end to these errors.
sudo apt-get update
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu....
62
votes
5
answers
85k
views
How do you use apt-get to only install critical security updates on ubuntu?
How do you use apt-get to only install critical security updates on ubuntu?
We'd like to only upgrade packages that need to be upgraded for security reasons, without upgrading all other packages.
4
votes
1
answer
2k
views
ubuntu server: SSH banner telling to update packages but nothing to update
When I connect to my Ubuntu 10.04.2 LTS server I get the following banner:
25 packages can be updated.
15 updates are security updates.
However if I run package upgrades/updates nothing comes up:
$ ...
0
votes
3
answers
845
views
Apt getting wrong nginx source
I'm working on updating Nginx on my server from 0.7.65 (Ubuntu 10.04 repo) to 1.0.2 (from the PPA). I installed it just fine, but I would like to add/activate some modules. I found this tutorial for ...
1
vote
3
answers
1k
views
package won't install correctly using apt-get
Hey there, I'm currently having problems installing proftpd correctly.
At some point the pakage was already installed but when I try to install don't get a selection screen to preconfigure the server ...
3
votes
3
answers
3k
views
Roll back to clean debian
I have a remote server, which is like a "sandbox", where I'm testing all new software before installing them on production servers. I wanted to clean up a little bit this system, but accidentally ...
3
votes
1
answer
5k
views
apt Package is not configured yet
When running apt-get I get the following output:
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to ...
0
votes
1
answer
3k
views
How to install apt-get
I checked my OS install using this command
uname -a
and got this result
Linux uc3-dev 2.6.32.27-0.2-default #1 SMP 2010-12-29 15:03:02 +0100 x86_64 x86_64 x86_64 GNU/Linux
I am on a new server ...
57
votes
2
answers
94k
views
Ubuntu Server message says packages can be updated, but apt-get does not update any [duplicate]
Possible Duplicate:
updates in amazon-ec2 ubuntu 10.04 server
When I log into an Ubuntu 10.04.2 LTS server, I see the message:
42 packages can be updated.
18 updates are security updates.
But ...
2
votes
1
answer
146
views
how to interpret messages with package dependencies problems using apt
I'm having some problems to install some packages in a Debian box. The problem is more related with the error message interpretation. I'm trying to install the libssl-dev. So I fired a shell and I ...
1
vote
3
answers
1k
views
Moving away from Dreamhost's Debian archive to Debian proper
This is currently the sources.list file with a hosted Dreamhost account running Debian
# Generated by ndn-autoupdate
deb http://debian.di.newdream.net/ lenny ndn
deb http://debian.newdream.net/ ...
3
votes
4
answers
274
views
What's the best way to manage package updates on an office full of Ubuntu desktop machines?
We have two offices full of Ubuntu desktop machines. Because our net connection is slow, we'd like to have our own internal package server for each machine to grab and install its updates from on a ...
1
vote
1
answer
927
views
Ubuntu 10.10 apt-get
Alright, I've been having this issue for a while now, and I've done a ton of googling for it but nothing has helped fix my issue yet. I've tried a bunch of things, some of them including, making sure ...
0
votes
2
answers
602
views
apt-get fails to, well, apt-get
I'm working on a virgin debian 5 image on a VPS. To be honest, this may not be the brightest VPS provider in the world and I suspect their image isn't perfect.
apt-get fails for everything:
# apt-...
1
vote
2
answers
3k
views
debian dependencies (libssl-dev and libncurses5)
I'm trying to install under RVM the Ruby Enterpise (REE) under debian
My debian is squeeze (uname -r)
2.6.18-194.26.1.el5.028stab070.14xen
i did try to install ree but it complains that it is ...
2
votes
3
answers
518
views
How do I see the original version of a config file installed with apt-get?
I have a server running Ubuntu and a program which was installed with apt-get install and I'd like to see the unmodified config file (e.g. /etc/foo/foo.cfg) so that I can diff it against the current ...
25
votes
2
answers
31k
views
Automatically keep current version of config files when apt-get install
I need to automatically install a package with its config file already present on the server.
I'm looking for something like:
apt-get install --yes --force-yes --keep-current-confs mysql-server
...
1
vote
2
answers
282
views
Why does apt-get install also upgrade unrelated packages?
I entered apt-get install sysstat, and not only was sysstat installed, but it also upgraded my version of Hbase.
Am I missing something basic here, shouldn't apt-get install only install or upgrade ...
0
votes
1
answer
107
views
Help Upgrading Apache2 using apt-get
I have an old Ubuntu server (dapper) running apache 2.0.x that I need to upgrade. I want to upgrade apache to the latest version of 2.0 and not upgrade to apache 2.2.
If I do an sudo apt-get install ...
8
votes
1
answer
6k
views
Why is Debian 6.0.1 asking for Install CD when installing stuff?
I've recently installed a Debian 6.0.1 and when i issue the simple apt-get, when finishing (99% says) ask for the install CD.
Cambio de medio: Por favor, inserte el
disco etiquetado como «Debian
...
18
votes
4
answers
47k
views
Unable to install mysql-server in Ubuntu
I am unable to install mysql-server on my ubuntu 9.10 server machine.
When using apt-get install mysql-server the output is :
# apt-get install mysql-server
Reading package lists... Done
Building ...
0
votes
2
answers
286
views
How to find service dependencies for package updates on Ubuntu?
This question is similar to this one.
When installing package updates, it's easy to find out package dependencies with apt-cache depends, however, I don't know how to find out what services may be ...
2
votes
1
answer
695
views
Want to run asp.net 4 website on Ubuntu. Is it this simple?
Hello I'm a Windows guy and would like to build a small, portable, mini ITX web servers with free software.
My application is ready. It's ASP.NET 4.0 connected to MySql 5. It runs on my Windows ...
106
votes
6
answers
130k
views
list all packages from a repository in ubuntu / debian
is there a command to see what packages are available from a certain ppa repository?
1
vote
3
answers
806
views
Problem with locales after git installation
Some days ago i tried to install git on my Debian system.
The instalation aborted and since this moment i get a locales error everytime i try do install/remove something via apt -.-
apt-get remove ...
1
vote
1
answer
86
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 cpp ...
138
votes
13
answers
310k
views
How do I get apt-get to ignore some dependencies?
How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
1
vote
2
answers
1k
views
Unattended upgrades on Ubuntu, for *all* packages (from any repository)
I'd like to have my Ubuntu system automatically upgrade all packages. I added to my /etc/apt/apt.conf.d/10periodic:
APT::Periodic::Unattended-Upgrade "1";
However, I still need to maintain the list ...
2
votes
4
answers
2k
views
Should I update the kernel on a Linux machine?
As I understand it, updating to a new kernel (with the normal linux-image... package, not by rolling my own) requires a server restart.
However, one of our servers (Ubuntu 10.04) is running several ...
2
votes
1
answer
3k
views
Specify ubuntu repository from which a package is installed?
I want to install ffmpeg from mediubuntu. I've installed the repository per the instructions on:
http://medibuntu.org/repository.php
My conf.d repository listing:
/etc/apt/sources.list.d# less ...
1
vote
1
answer
495
views
I want to build an debian apt site for local LAN updates
I have downloaded all debian's DVD disks, and I have set up apache httpd service.
I combined all dvd disk 's file, but I found the .gpg file I need and I can't create it. it looks like source's ...
1
vote
3
answers
177
views
apt-get installed
how to get a list of all installed packages from apt-get?
0
votes
1
answer
481
views
Can't re-install Postgresql in Debian Squeeze
I just installed Debian Squeeze to work as a Postgresql server, but when I try to recover a backup something went wrong. After a search, I deleted the cluster (data dir) and uninstalled Postgresql. ...
3
votes
2
answers
4k
views
dpkg error installing on Ubuntu 10.04
I'm trying to install the nginx on ppa:nginx/stable on Lucid after removing the one that comes from the default sources but I get this error:
` Setting up nginx-common (0.8.54-4ppa13~lucid) ...
dpkg: ...
70
votes
3
answers
269k
views
How do I enable non-free packages on Debian?
How can I enable non-free packages on Debian? I want to install Sun's Java JDK but it's not available to me.
7
votes
6
answers
6k
views
Unable to force Debian to do unattended install... libc6 wants interactive confirm
I'm trying to create a script that forces a Debian Lenny install to install the latest version of CRAN R. During the install it appears libc6 is upgraded and the install wants interactive confirm that ...
22
votes
2
answers
5k
views
How to find files in a Debian system not installed or created by dpkg?
I've installed some things manually in the past and would like to weed out all related files. So, I need a way to automatically find all the files (in /usr, for example) that are not included in any ...
1
vote
1
answer
2k
views
Install Ruby gems via gems or using apt-get on Debian
I would like to install gitorious on my Debian squeeze server. For doing so I have to install some gems like the ruby database driver for MySQL.
I have the choice of using a Debian package and ...
2
votes
3
answers
1k
views
How secure are third party Ubuntu (APT) repository mirrors
We use local Ubuntu repository mirrors, because our external traffic is not free. Whenever I apt-get install "program" it gets from that repository.
The question is... can the maintainers of the ...
0
votes
3
answers
15k
views
How can I repair apt / dpkg?
Apt keeps crashing when I try to run
apt-get upgrade
xxx@xxx:/root/# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following ...
1
vote
1
answer
292
views
Is apt-pinning considered bad practice? If so, why?
A few of my colleagues and I were discussing ways to maintain older versions of PHP (mostly 5.2.x) on newer Ubuntu releases. Being that the only versions in the repositories on 10.04+ are 5.3.x, the ...
2
votes
2
answers
695
views
How to run Postgresql 8.2 on Debian lenny?
We are running a legacy application which requires PostgreSQL 8.2 on Debian Etch. Since Debian dropped support for etch, we're seriously considering to upgrade to Debian Lenny. However, we are stuck ...
2
votes
2
answers
2k
views
dist-upgrade to squeeze wants to remove apt
why does dist-upgrade to squeeze want to remove apt and how can I fix it?
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
...