The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the ...
3
votes
0answers
47 views
How can I apt-pin stable?
I changed my mind some time after install, and would prefer stable to testing for this particular system. Unfortunately, I currently have packages at old testing versions. I need to force a downgrade ...
1
vote
1answer
21 views
APT: Public Key is missing? How to fix?
I updated my sources.list with
deb http://repo.percona.com/apt squeeze main
deb-src http://repo.percona.com/apt squeeze main
and called
gpg --keyserver subkeys.pgp.net --recv-keys ...
0
votes
1answer
58 views
installing rsync stops with error in subprocess
I tried to install rsync on my vserver which is running on Debian Squeeze.
After calling apt-get install rsync the installer stops working with the following output:
$ apt-get install rsync
Reading ...
2
votes
2answers
41 views
Is there a tool available to pull down a debian package and all of the packages it depends on?
I manage a few apps that depend on specific versions of some packages. To make sure that I always have the correct versions, I created my own Apt repository. Now, I'm concerned that some of the ...
5
votes
1answer
51 views
Why won't this apt pinning stick?
I'd like to prefer the installation in nginx from squeeze-backports over that in mainline stable. I've got the backports repository enabled. I have this preference file:
# ...
0
votes
1answer
40 views
How can I block a package installation on Debian?
For Debian, I'd like to block packages from installation. For instance, I'd like puppet and superusers to be unable to install ruby1.8, even if a package with ruby1.8 in its dependency list is ...
2
votes
4answers
79 views
How to install MySQL Server so it doesn't “go away” after reboot?
All Good:
Mysql server installed just fine by using the following command:
sudo apt-get install mysql-server
During installation I was prompted to choose a root password. After install I was able ...
1
vote
1answer
72 views
apt-get update 404
apt-get update yields a 404 error.
I'm using the default mirrors for for Ubuntu 9.10. That version hasn't reached end of life yet so I don't see why this would be happening.
1
vote
2answers
31 views
Debian: how to remove a package with its configs?
I'm not sure what to make of this on my Debian server
aptitude install apache2
ls /etc/apache2
You would expect to see configs, right?
aptitude remove apache2
It should remove everything, right?
...
2
votes
3answers
38 views
Why doesn't the installation of the mysql-server package create a root account?
It's not the Why? that matters. It's the How can I do it myself?
I'm using Ubuntu 10.04 LTS Server. I just want to install a MySQL server, but for some reason it wont let me.
When I run apt-get ...
0
votes
1answer
38 views
remove squid clearly
I'm hardly trying to remove squid completly, to reinstall it clearly. (Debian 6).
So i used as root:
apt-get remove --purge squid
apt-get remove --purge squid3
but
find / -name squid*
returns
...
1
vote
3answers
125 views
I accidentally deleted /etc/nginx, reinstalling nginx won't recover it
I'm on Ubuntu and I was trying to recover the original settings of /etc/nginx/sites-enabled/default when I accidentally deleted the entire folder. Uninstalling and reinstalling nginx through apt-get ...
1
vote
2answers
80 views
How do I ask apt-get to skip all post-install configuration steps?
When installing some packages (like RabbitMQ) on Debian/Ubuntu machines, the post-install step defaults to starting the service.
While this is great in most cases, in some cases (when you already ...
0
votes
1answer
44 views
How to configure apticron to just report security / critical updates?
We're going to try out apticron, but we don't want to know about every package that could be updated -- only the security / critical updates. How do we configure apticron to do this?
PS -- yes, we ...
8
votes
2answers
216 views
Odd behavior of apt-get with post-inst instructions, and .desktop files
We have a number of hand-built (with fpm and jenkins) .deb files in a local Apt repository (reprepro).
These .debs contain a .desktop file that will be picked up by xdg-desktop in a post-inst script.
...
0
votes
0answers
12 views
AppArmor profile changes and package updates
I added another pdf viewers to the firefox AppArmor profile
/usr/bin/xpdf Uxr,
/usr/bin/gv Uxr,
My problem is that firefox receives a lot of updates and on every update the AppArmor profile gets ...
1
vote
1answer
54 views
Unable to reinstall Nagios
I installed nagios messed up the configuration and uninstalled it. Now I am trying to reinstall but I get errors and cant install.
jason@jason-VirtualBox:/etc$ sudo apt-get install nagios3
Reading ...
-1
votes
2answers
53 views
Debian Linux missing a lot of config files and packages
Is there a way to reconfigure Debian so that it could install the essential packages and configuration files? The files/packages that are missing includes the sudoer file, tcpdump, nano and a lot ...
2
votes
3answers
254 views
Enabling apt-get on a default Amazon EC2 instance which has yum installed
I'd like to call something like:
sudo yum install apt
to enable me to use apt-get as well as yum for installation.
However this doesn't work. I get the following back:
Loaded plugins: ...
0
votes
0answers
219 views
apt-get install from ppa.launchpad.net repository
Some time ago I installed zfs from ppa.launchpad.net repository for Ubuntu Server Oneric 11.10 by
add-apt-repository ppa:zfs-native/stable
apt-get update
apt-get install spl-linux ubuntu-zfs ...
1
vote
1answer
110 views
Upgrading linux-headers-server and linux-image-server fails
apt-get upgradetold me that packages linux-headers-server linux-image-server were kept back, and thus this answer lead me to run apt-get install linux-headers-server linux-image-server.
However, the ...
3
votes
1answer
101 views
Add image support to GD on Debian
I've recently replaced our aging (386) monitoring machine with something a bit more recent and because I had driver issues with CentOS I decided to use Debian 6 (Squeeze) instead. While in the past ...
1
vote
1answer
61 views
How to deal with custom repositories and apt-mirror?
We're running an internal debian package mirror via apt-mirror and this is working fine for the official debian package repositories. However, now I would like to add custom repositories which ...
0
votes
2answers
54 views
Using a self-signed SSL cert for an HTTPS-based internal APT repository
I've set up a Debian repository (Ubuntu actually) for internal use with some private packages, and now want to make it available over the web to some specific servers. I would like apt-get / aptitude ...
1
vote
1answer
32 views
MySQL update fatal error on AWS Ubuntu server
I was just browsing the system logs on my alestic Ubuntu 10.04 AWS EC2 production server, and found this:
daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: /usr/bin/mysqlcheck: Got ...
0
votes
1answer
45 views
How to install libnss-ldap in Ubuntu 10.04 without graphical interface setup?
I'm using Ubuntu 10.04. And I want to install libnss-ldap by apt-get
sudo apt-get install libnss-ldap
And during installation, a graphical interface setup appears.
Because I want to install it on ...
0
votes
0answers
46 views
apt-get, older package versions and dependency resolution
I'm trying to install a slightly older version of puppet (2.7.8 as opposed to 2.7.9) for consistency purposes among a cluster of servers I manage. However, when I attempt to do so, apt-get throws a ...
0
votes
1answer
160 views
apt-get update can not connect
i run a dedicated ubuntu 10.04 server.
i use kvm/libvirt/virsh to run a virtual machine that's also ubuntu 10.04.
i bridged the network (1 of 2 IPs is routed via NAT to the LAN, where my VM ...
3
votes
4answers
461 views
Debian. How can I securely get debian-archive-keyring, so that I can do an apt-get update? NO_PUBKEY
I have a catch 22 trying to:
# apt-get update
[... good lines omitted]
W: GPG error: http://backports.debian.org lenny-backports Release: The following signatures couldn't be verified ...
0
votes
1answer
65 views
Ubuntu upgrade multiple versions at once
I need an Ubuntu 11.10 server, but for reasons beyond my understanding, our host only preinstalls Ubuntu 10.04 LTS. So I decided to get a 10.04 server and use Ubuntu's do-release-upgrade to get to ...
3
votes
1answer
268 views
Why does 'aptitude safe-upgrade' cause Ubuntu's boot to hang on “Waiting for root file system”?
I launched an Ubuntu EBS instance on Amazon EC2 using the Ubuntu's very own latest AMI for 10.04 Lucid, ami-ad36fbc4`
After getting the instance up, I ran the command sudo aptitude safe-upgrade ...
0
votes
1answer
54 views
Invalid operation dist-ugprade [closed]
i'm running Apache 2 on Debian at my VPS. Naturally i have problem with restricted GD-library of my php package and i need to fix it (i need imagerotate() function). Before installing php-gd pugin ...
0
votes
1answer
79 views
apt-get update error after removing apt-key
After running apt-get update (output below) on ubuntu 10.04 server, I found this issue. Before this I had removed apt-key. Where can I get this apt-key to add it again?
Get:1 ...
0
votes
1answer
39 views
Apt Issue in ubuntu
When I run this command, its not installing the packages, as indicated on the last line below.
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... ...
1
vote
1answer
237 views
Applications not installing due to unmet dependencies
I was running Apache on Linode. I recently shifted to Lighttpd and removed apache, now whenever I try to install any application I get the following error.
ivineet:~# apt-get install subversion
...
0
votes
3answers
48 views
ERROR: Can't find the archive-keyring
I'm trying to upgrade my Debian Lenny to Squeeze. I've replaced the word lenny to squeeze in sources.list and ran
apt-get clean
apt-get update
apt-get dist-upgrade
But after a while, I get this ...
2
votes
2answers
175 views
Cannot create Java VM on OpenVZ
I'm constantly encountering an error related to Java and certificates on my Ubuntu server running in OpenVZ when installing things from apt-get. I'm pretty sure it has to do with how Java allocates ...
0
votes
3answers
71 views
Using apt-get fails due to improperly configured dav_svn.conf file?
We're working on updating one of our internal development servers (running an older version of Ubuntu, 8 or 9 I'd guess), and are encountering errors when upgrading/installing packages using apt-get. ...
1
vote
2answers
104 views
apt-get error: “locale: Cannot set LC_CTYPE to default locale: No such file or directory”
When running apt-get I receive error locale: Cannot set LC_CTYPE to default locale: No such file or directory. What can I do to fix this error?
I am connecting from a box running Mac OS X.
1
vote
2answers
47 views
Debian keeps grabbing packages from sid despite no sid in /etc/apt/sources.list
I have a machine with Debian Lenny installed. Somehow, when I do apt-get update, I receive this output:
sudo apt-get update
Get:1 http://ftp.de.debian.org lenny Release.gpg [1034B]
Ign ...
0
votes
1answer
292 views
Ubuntu upgrade fails something about kernel?
Im running an ubuntu server version 10.04 LTS.
I did a "sudo apt-get upgrade" on my server today and it failed with the following:
Setting up linux-image-2.6.32-318-ec2 (2.6.32-318.38) ...
Running ...
1
vote
0answers
44 views
How do I upgrade OpenSSH Server on Ubuntu Hardy (8.04) from v4.7 to CURRENT?
I tried to add backports to my apt sources but that does not make any newer version of OpenSSH show up as being available to upgrade to. See: https://help.ubuntu.com/community/UbuntuBackports
Any ...
0
votes
1answer
65 views
apt-get install doesn't get the package
I've installed ubuntu server on a VirtualBox virtual machine and now I'm trying to follow a tutorial that says I need to install a package called csh. When I type this line
sudo apt-get install csh
...
0
votes
1answer
94 views
simple-cdd : including custom deb files
I can create a custom CD with simple-cdd wich install by default severals packages (I want apache and mysql for example), but I have a problem when I want to add custom deb files (first one is nammed ...
0
votes
1answer
84 views
Ubuntu LTS + backports + ppa vs Normal?
Is Ubuntu LTS + a few backports + a few ppa apps better than normal Ubuntu server for production? Specifically, if the backports and ppa apps you are including are satisfied by a more recent normal ...
1
vote
2answers
67 views
apt-get update getting 400 URI Failure message
I have setup my ubuntu vps recently, but suddenly I keep getting this error message when I try to do apt-get update
E: Method gave invalid 400 URI Failure message
I have try to comment out 2 by ...
-2
votes
2answers
78 views
Need help updating PHP 5.2 to 5.3 (on Debian Lenny)
I need to update 5.2 to 5.3 in one of our servers urgently. My unix skills are limited so please be as specific as possible.
Is there any way to do this easily with apt-get upgrade ?
5
votes
3answers
293 views
best way to install package from wheezy on squeeze
I want to use doxygen on my Debian Squeeze server, but I need the version from Debian Wheezy because this apparently contains the bugfix I need.
It's not in backports -- check ...
1
vote
2answers
47 views
Does Debian or Ubuntu have a means of logging apt/aptitude commands?
Does Debian or Ubuntu have a means of logging apt/aptitude commands?
I could also ask the same about yum commands in Redhat?
Do they have a history file?
1
vote
1answer
121 views
Apt-get gives HTTP 403
I've been given access to a server that no one uses... I've stated previously we are a research group that has no SA, therefore we blindly manage the servers ourselves... generally we break them or do ...