APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

Debian Squeeze apt-get update issue with HWRAID repositories

I'm running an inherited Debian Squeeze server (read: I just got this new job and the server was setup by the last guy), and I'm having an issue on the apt-get. The error at the end that comes up when ...
1
vote
2answers
738 views

apt-get purge does not uninstall completely

I have installed emacs with apt-get. I tried to remove it later on, but the binary is left. root@ionian:/home/gauthier# apt-get --purge remove emacs Reading package lists... Done Building dependency ...
0
votes
1answer
46 views

How to upgrade Magic Box?

I'm running Magic Box on Virtualbox. Magic Box is a portuguese Linux System, based off of SuSE. At least, that's what it said on the Linux Family Tree. The version I have is V.12. There's the most ...
1
vote
5answers
5k views

How to install php5-memcached on Debian 7 with PHP 5.5?

My attempts to install the PHP 5 Memcached module on my Debian 7 VirtualBox VM failed: root@testvm:~# apt-get install php5-memcached Reading package lists... Done Building dependency tree ...
0
votes
2answers
466 views

Unresolved dependencies though the packages are installed (Debian 6 Sqeeze)

I'm working with a VirtualBox 4.2.14 VM and Debian 6 Sqeeze as guest system and want to install some PHP modules: root@devmv:~# apt-get install php5-fpm Reading package lists... Done Building ...
0
votes
2answers
372 views

apt-get failed to fetch package

I want to install curl on my ubuntu: sudo apt-get install curl It gave the following error: Err http://it.archive.ubuntu.com/ubuntu/ maverick/main curl i386 7.21.0-1ubuntu1 404 Not Found [IP: ...
1
vote
1answer
657 views

Troubles with unresolved dependencies on Debian 6 Sqeeze

I'm working with a VirtualBox 4.2.14 VM and Debian 6 Sqeeze as guest system and trying to (re-)install Nginx, but it's not working: root@devmv:~# apt-get install nginx Reading package lists... Done ...
1
vote
1answer
150 views

Ubuntu LTS : best practice for installing gems

Ubuntu 12.04 LTS Server I'm relatively new to Unix/Ubuntu. I need to install the ruby gem libopenssl-ruby. I know that Ubuntu LTS versions maintain lists of authorized package versions. apt-get ...
0
votes
1answer
188 views

Installing libxml2 on secure Debian box

I have a very stripped Debian distro on a small custom computer that I purchased (don't know much about this distro as it was recommended on some site). The name is 'sid' and runs 2.6.37.1 kernel. ...
2
votes
1answer
3k views

Are Ubuntu PPA Repositories usable on Debian wheezy?

I'm using Debian wheezy and i wonder are Ubuntu PPAs hosted at Launchpad safe to be added & used on Debian?
3
votes
2answers
2k views

How to install Cherokee web server on Debian Wheezy?

I'm trying to install Cherokee webserver on Debian Wheezy. All the docs and websites that I've visited suggest that apt-get install cherokee will do it, but when I do that, I see: $ apt-get install ...
1
vote
2answers
4k views

Failing on apt-get update

Very recently when I have been attempting to check for updates on my laptop (Ubuntu 12.04), the check fails. sudo apt-get update: W: GPG error: http://us.archive.ubuntu.com precise Release: The ...
2
votes
2answers
163 views

What is the equivalent of apt-file in portage, if any? [duplicate]

Hunting for dependencies when compiling software from the scratch is practically unavoidable. In Debian-based Linux distributions which use the apt-get utility to manage packages, there is also a nice ...
1
vote
1answer
1k views

How to use zypper in bash scripts for someone coming from apt-get?

I have a few questions about moving from apt-get to zypper in bash scripts. What is the equivalent of this? sudo apt-get install curl --assume-yes (where curl could be any package) I found the ...
2
votes
1answer
410 views

Can't Install netflix-desktop in Debian…Aptitude Has Unmet/Broken Dependencies

I'm trying to install the netflix-desktop package in Debian 'jessie'. I was able to get this to work on my laptop running Debian 'wheezy' a few months ago, but on my desktop I keep running into these ...
2
votes
1answer
194 views

apt-get can not detect correct python version when using update-alternatives for python

I have installed different python versions on my Linux Mint DE. I used the update-alternatives --set statement to easily switch between the different versions. Unfortunately sometimes apt-get install ...
2
votes
1answer
129 views

apt-get purge <packages> works fine, aptitude still has <packages> marked as installed and reinstalls them

I've created a Rubygem to help with removing old kernels that have built up over years and are eating disk space. (My laptop had 19 kernels on it alone, and on a small SSD...) I want to use apt-get ...
1
vote
1answer
81 views

Why is this apt-cache dumpavail with overrides not working?

I am trying to list available packages from a remote repository without accessing /etc/apt or /var.The following command doesn't return anything and exits with code zero. apt-cache dumpavail -o ...
-4
votes
1answer
1k views

Equivalent of these commands in the following distros [closed]

These commands: dpkg -i apt-get install apt-get update apt-get remove apt-get dist-upgrade apt-get purge in these distros: Opensuse, Fedora, Gentoo, Arch, Slackware.
0
votes
2answers
66 views

apt config file location

I have my / mounted as read-only (and my /root as well). Every time I start aptitude, it complains that it cannot write to /root/.aptitude/. Is it possible to tell aptitude to use another directory ...
3
votes
1answer
3k views

How to deal with a package “not upgraded” using aptitude?

I'm (still) on Debian Squeeze. When I try to upgrade the system, here's what I get: [09:20]/root# aptitude upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly ...
2
votes
1answer
46 views

How can I know the dependency packages for an installed package?

Let's say I installed foo. The foo package depends on bar, so bar was installed to satisfy foo's dependency. How can I get Ubuntu/APT/dpkg to tell me that bar is installed because foo is installed? ...
0
votes
1answer
482 views

Lotus Note installation on Linux Mint 14?

I'm trying to install IBM Lotus Note 8.5.3 on Linux Mint 14 using terminal. Problem is that it's not installing and showing following error sudo apt-get install ibm-lotus-notes-8.5.3.i586.deb Reading ...
0
votes
1answer
608 views

Why is my shell script hanging on `apt-get -y upgrade`?

Ubuntu : sudo DEBIAN_FRONTEND=noninteractive apt-get -y update sudo DEBIAN_FRONTEND=noninteractive apt-get -y upgrade sudo reboot Script is always interrupted after upgrade and then it will stay on ...
5
votes
1answer
694 views

Noninteractive script running over ssh is interrupted as apt-get finishes

When I run the following non interactive script on Ubuntu Server 13.04 it's interrupted when lxc-docker package finishes installation. Script : ssh -o StrictHostKeychecking=no -t -t -i $CERT ...
4
votes
2answers
3k views

Reinstalling all Debian packages

I killed by mistake a dpkg process running in the background and I would like to reinstall all packages to be sure everything is allright. First, I tried to get a list of all packages and reinstall ...
4
votes
2answers
4k views

Can I rollback an apt-get upgrade if something goes wrong?

Is there a way, before starting an aptitude upgrade or apt-get upgrade, to set up something so that you can "easily" rollback your system to the "apt" state it was before the actual upgrade, if ...
1
vote
2answers
1k views

Debian - install missing man pages?

I run RaspBMC - a distro based on Raspbian, that's a custom minimal Debian for the Raspberry Pi. If I recall correctly, the man utility is NOT installed by default with RaspBMC (although I may be ...
2
votes
1answer
181 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
1
vote
1answer
93 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
4
votes
1answer
3k views

apt-get via ssh-tunnel if only port 22 is allowed

I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers). I want to install some packages via apt-get on this server. Can I achive ...
2
votes
1answer
2k views

error while using apt-get install for any package

I have tried to install texlive-full with apt-get and the installation stopped due to some errors. Later I removed all folders and files related to texlive, texmf manually. Since then I get the ...
3
votes
2answers
280 views

How do I remove persistent config data from APT?

When I remove packages from my system with APT-based programs, they often leave behind some kind of residue (referred to as "residual config") that seems to serve no purpose other than annoying me. ...
3
votes
2answers
435 views

Automatic Update Script using Cron, Exit Codes, and Logging

I'm managing multiple machines running Debian, Raspian, and Mint. On some of the machines I want to have updating and upgrading automatically. I've drafted a script that I want to do this and log if ...
0
votes
1answer
367 views

apt-get dist-upgrade wants to remove too much packages

I'm upgrading from Mint 13 to Mint 15 using apt-get dist-upgrade. It want to remove 277 packages, which I find quite a lot. Among those packages are acroread, xmlcopyeditor, wine1.4, skype and others. ...
4
votes
2answers
178 views

apt-get: install modified package with dependencies

I have downloaded a Debian package lxde, together with all its dependencies: apt-get install --no-install-recommends lxde --download-only So now, I have all packages in my /var/cache/apt/archives. ...
1
vote
1answer
443 views

Apt-get dist-upgrade fails

I'm trying to upgrade from Mint 13 to Mint 15, but receive the following error: Calculating upgrade... Failed The following packages have unmet dependencies: mate-media : Depends: ...
2
votes
1answer
216 views

apt installing more packages than specified as dependencies

I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it. ...
5
votes
2answers
151 views

How to install Suggests dependencies of a package

If I want to install a package and its Suggests dependencies, I run: $ sudo apt-get --install-suggests install <package name> However, if <package name> is already installed, and not ...
2
votes
1answer
340 views

Why I was able to fix a broken package with aptitude but I could not with either apt-get or synaptic?

Yesterday I upgraded my Debian Testing and Audacious stopped to work. Troubleshooting I found that the problem was that it was updated to a recent version but the needed plugins were not. I tried to ...
3
votes
2answers
76 views

How do I find out where the contents of a package are installed?

I ran into this bug, where Cantor can't find the sage backend if both are installed through the ubuntu package system. I can get around this bug if I know the path to the sage executable, but even ...
2
votes
0answers
199 views

Including pending update list in motd

How would you include the list and / or count of pending updates in the welcome banner? Eg. username: User password: ***** Hi 'User', welcome on 'localhost' There are 8 pending updates, you need to ...
2
votes
0answers
55 views

Generating a list of alternative packages with apt tools

Given a package how can I list all possible packages that are alternatives to this package? In the alternate, how can I tell if a package or one of it's alternates is installed? Using something in ...
8
votes
2answers
735 views

hook a script to apt-get

I have /tmp on a separate partition, and mounted with noexec. I am using Debian. The installation of some packages fails, because the post-installation scripts of some packages need to run from /tmp. ...
7
votes
1answer
14k views

Unable to install ia32-libs in Debian Wheezy

I was trying to install ia32-libs in Debian Wheezy. I got the error The following packages have unmet dependencies: ia32-libs : Depends: ia32-libs-i386 but it is not installable E: Unable to correct ...
3
votes
3answers
169 views

Install using synaptic ignoring dependencies

I was trying to install texmaker a latex editor in my debian system from synaptic. It shows in the dependency list texlive-base, texlive-common. etc as dependencies. But I have already installed ...
2
votes
1answer
195 views

apt-get error 503

I tried installing pyqt4-dev-tools on my machine using the following command: sudo apt-get install pyqt4-dev-tools after a few prompts the installation is aborted with the following message: Err ...
0
votes
1answer
49 views

Is there a clang-snapshot?

I've just discovered the wonderful gcc-snapshot package for Ubuntu. I don't see a clang-snapshot or llvm-snapshot package though. Is there an equivalent for clang?
1
vote
1answer
3k views

Unable to install skype on LMDE,how to resolve these dependencies?

I have downloaded "multiarch" .deb file for latest skype and unable to install it on latest version of LMDE (linux mint debian edition Xfce x86_64). e.g step one : sudo dpkg -i ...
3
votes
2answers
357 views

Finding yum equivalents of apt repositories?

I have code to setup an Ubuntu server that relies on apt-get. It has lots of packages as documented on our project wiki, for example these: development environment and the ruby dependencies. However, ...